/* ===========================================================
   99win login - style-c45e.css
   All custom class names use the g5ee- prefix.
   Palette: #1C2833 (bg) | #BAFFC9 (accent) | #CED4DA (text)
   =========================================================== */

:root {
  --g5ee-bg: #1C2833;
  --g5ee-bg-2: #243447;
  --g5ee-bg-3: #101a23;
  --g5ee-accent: #BAFFC9;
  --g5ee-accent-2: #6fe39b;
  --g5ee-text: #CED4DA;
  --g5ee-text-strong: #f3f7f4;
  --g5ee-muted: #8a98a6;
  --g5ee-gold: #ffd76a;
  --g5ee-danger: #ff7a7a;
  --g5ee-radius: 14px;
  --g5ee-shadow: 0 10px 26px rgba(0,0,0,.38);
  --g5ee-header-h: 60px;
  --g5ee-bottom-h: 62px;
}

* { box-sizing: border-box; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Segoe UI", "Inter", system-ui, -apple-system, "Roboto", Arial, sans-serif;
  background: radial-gradient(1200px 600px at 50% -10%, #243447 0%, var(--g5ee-bg) 55%, var(--g5ee-bg-3) 100%);
  color: var(--g5ee-text);
  line-height: 1.5;
  font-size: 1.5rem;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--g5ee-accent); text-decoration: none; }
a:hover { color: var(--g5ee-accent-2); }

.g5ee-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 14px; }
.g5ee-wrapper { padding: 16px 0; }

/* ---------- Header ---------- */
.g5ee-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--g5ee-header-h);
  background: linear-gradient(180deg, rgba(28,40,51,.96), rgba(28,40,51,.88));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(186,255,201,.12);
  z-index: 1000;
  display: flex; align-items: center;
}
.g5ee-header-inner {
  width: 100%; max-width: 430px; margin: 0 auto;
  padding: 0 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.g5ee-logo { display: flex; align-items: center; gap: 8px; color: var(--g5ee-text-strong); }
.g5ee-logo img { width: 30px; height: 30px; border-radius: 8px; }
.g5ee-logo-text { font-weight: 800; font-size: 1.6rem; letter-spacing: .3px; }
.g5ee-logo-text span { color: var(--g5ee-accent); }

.g5ee-header-actions { display: flex; align-items: center; gap: 8px; }
.g5ee-icon-btn {
  background: rgba(186,255,201,.08); color: var(--g5ee-accent);
  border: 1px solid rgba(186,255,201,.25);
  border-radius: 10px; width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1.8rem;
}
.g5ee-icon-btn:hover { background: rgba(186,255,201,.18); }

.g5ee-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px; border-radius: 10px;
  font-weight: 700; font-size: 1.35rem; cursor: pointer;
  border: none; transition: transform .15s ease, box-shadow .15s ease;
  min-height: 38px;
}
.g5ee-btn:active { transform: scale(.97); }
.g5ee-btn-login { background: transparent; color: var(--g5ee-text-strong); border: 1px solid rgba(206,212,218,.45); }
.g5ee-btn-register { background: linear-gradient(135deg, var(--g5ee-accent), var(--g5ee-accent-2)); color: #0c1a12; box-shadow: 0 6px 16px rgba(111,227,155,.35); }
.g5ee-btn-cta { background: linear-gradient(135deg, var(--g5ee-gold), #ffb13b); color: #2a1700; box-shadow: 0 8px 18px rgba(255,180,60,.35); padding: 12px 22px; font-size: 1.5rem; }

/* ---------- Mobile menu panel ---------- */
.g5ee-menu-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.55);
  opacity: 0; pointer-events: none; transition: opacity .2s ease; z-index: 9998;
}
.g5ee-backdrop-show { opacity: 1; pointer-events: auto; }
.g5ee-mobile-menu {
  position: fixed; top: 0; right: -86%;
  width: 86%; max-width: 340px; height: 100vh;
  background: var(--g5ee-bg-2); z-index: 9999;
  padding: 22px 18px; overflow-y: auto;
  transition: right .26s ease; box-shadow: var(--g5ee-shadow);
}
.g5ee-menu-open { right: 0; }
.g5ee-menu-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.g5ee-menu-head h3 { margin: 0; color: var(--g5ee-text-strong); font-size: 1.7rem; }
.g5ee-menu-link {
  display: block; padding: 12px 12px; border-radius: 10px;
  color: var(--g5ee-text); font-size: 1.5rem; font-weight: 600;
  border-bottom: 1px solid rgba(206,212,218,.08);
}
.g5ee-menu-link:hover { background: rgba(186,255,201,.08); color: var(--g5ee-accent); }

/* ---------- Layout ---------- */
.g5ee-main { padding-top: calc(var(--g5ee-header-h) + 8px); padding-bottom: 22px; }

/* ---------- Hero carousel ---------- */
.g5ee-hero { margin: 14px 0 6px; border-radius: var(--g5ee-radius); overflow: hidden; box-shadow: var(--g5ee-shadow); position: relative; }
.g5ee-slides { position: relative; }
.g5ee-slide {
  display: none; cursor: pointer; position: relative;
}
.g5ee-slide img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.g5ee-slide-active { display: block; }
.g5ee-slide-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.78));
  color: var(--g5ee-text-strong); font-weight: 700; font-size: 1.5rem;
}
.g5ee-dots { display: flex; gap: 6px; justify-content: center; padding: 8px 0 4px; }
.g5ee-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(206,212,218,.35); cursor: pointer; }
.g5ee-dot-active { background: var(--g5ee-accent); width: 22px; border-radius: 4px; }

/* ---------- Section ---------- */
.g5ee-section { margin: 22px 0; }
.g5ee-section-title {
  font-size: 1.7rem; color: var(--g5ee-text-strong);
  font-weight: 800; margin: 0 0 4px; display: flex; align-items: center; gap: 8px;
}
.g5ee-section-title i, .g5ee-section-title .material-icons, .g5ee-section-title .bi { color: var(--g5ee-accent); font-size: 2rem; }
.g5ee-section-sub { color: var(--g5ee-muted); font-size: 1.3rem; margin: 0 0 12px; }
.g5ee-h1 {
  font-size: 2.1rem; line-height: 1.25; color: var(--g5ee-text-strong);
  font-weight: 800; margin: 14px 0 6px;
}
.g5ee-h1 span { color: var(--g5ee-accent); }
.g5ee-lead { color: var(--g5ee-text); font-size: 1.4rem; margin: 0 0 12px; }

/* ---------- Category title ---------- */
.g5ee-cat-title {
  display: flex; align-items: center; gap: 10px;
  margin: 18px 0 10px; color: var(--g5ee-text-strong); font-weight: 800; font-size: 1.55rem;
  border-left: 4px solid var(--g5ee-accent); padding-left: 10px;
}

/* ---------- Game grid ---------- */
.g5ee-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.g5ee-card {
  background: var(--g5ee-bg-2); border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(186,255,201,.10);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  cursor: pointer; display: flex; flex-direction: column;
}
.g5ee-card:hover { transform: translateY(-3px); border-color: rgba(186,255,201,.4); box-shadow: var(--g5ee-shadow); }
.g5ee-card-img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #0d1620; }
.g5ee-card-name {
  padding: 8px 8px 10px; font-size: 1.2rem; font-weight: 600;
  color: var(--g5ee-text); text-align: center; line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.g5ee-card-hot { position: relative; }
.g5ee-card-hot::after {
  content: "HOT"; position: absolute; top: 6px; right: 6px;
  background: var(--g5ee-danger); color: #fff; font-size: 1rem; font-weight: 800;
  padding: 2px 6px; border-radius: 6px;
}

/* ---------- Feature / highlights ---------- */
.g5ee-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.g5ee-feature {
  background: linear-gradient(160deg, var(--g5ee-bg-2), var(--g5ee-bg-3));
  border: 1px solid rgba(186,255,201,.12); border-radius: 12px;
  padding: 14px; color: var(--g5ee-text);
}
.g5ee-feature h3 { margin: 6px 0 4px; color: var(--g5ee-text-strong); font-size: 1.45rem; }
.g5ee-feature p { margin: 0; font-size: 1.25rem; color: var(--g5ee-muted); }
.g5ee-feature .material-icons, .g5ee-feature i, .g5ee-feature .bi { color: var(--g5ee-accent); font-size: 2.2rem; }

/* ---------- RTP stat ---------- */
.g5ee-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.g5ee-stat {
  background: var(--g5ee-bg-2); border-radius: 12px; padding: 12px; text-align: center;
  border: 1px solid rgba(186,255,201,.12);
}
.g5ee-stat b { display: block; color: var(--g5ee-accent); font-size: 1.8rem; }
.g5ee-stat span { color: var(--g5ee-muted); font-size: 1.15rem; }

/* ---------- Testimonial ---------- */
.g5ee-quote {
  background: var(--g5ee-bg-2); border-left: 4px solid var(--g5ee-accent);
  padding: 12px 14px; border-radius: 10px; margin-bottom: 10px;
}
.g5ee-quote p { margin: 0 0 6px; font-size: 1.3rem; }
.g5ee-quote small { color: var(--g5ee-muted); }

/* ---------- Payment ---------- */
.g5ee-pay-row { display: flex; flex-wrap: wrap; gap: 8px; }
.g5ee-pay {
  background: var(--g5ee-bg-2); border: 1px solid rgba(206,212,218,.18);
  padding: 8px 12px; border-radius: 10px; font-size: 1.25rem; color: var(--g5ee-text);
  display: inline-flex; align-items: center; gap: 6px;
}

/* ---------- CTA banner ---------- */
.g5ee-cta-banner {
  background: linear-gradient(135deg, rgba(186,255,201,.18), rgba(111,227,155,.08));
  border: 1px solid rgba(186,255,201,.28); border-radius: var(--g5ee-radius);
  padding: 18px; margin: 18px 0; text-align: center;
}
.g5ee-cta-banner h3 { margin: 0 0 6px; color: var(--g5ee-text-strong); font-size: 1.7rem; }
.g5ee-cta-banner p { margin: 0 0 12px; color: var(--g5ee-text); font-size: 1.3rem; }

/* ---------- Winners ---------- */
.g5ee-winner {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--g5ee-bg-2); border-radius: 10px; padding: 10px 12px;
  border: 1px solid rgba(186,255,201,.10); margin-bottom: 8px;
}
.g5ee-winner b { color: var(--g5ee-gold); }

/* ---------- Article / SEO text ---------- */
.g5ee-article { font-size: 1.4rem; color: var(--g5ee-text); }
.g5ee-article h2 { color: var(--g5ee-text-strong); font-size: 1.7rem; margin: 18px 0 6px; }
.g5ee-article h3 { color: var(--g5ee-text-strong); font-size: 1.45rem; margin: 14px 0 4px; }
.g5ee-article p { margin: 0 0 10px; }
.g5ee-article ul { padding-left: 18px; margin: 0 0 10px; }
.g5ee-article li { margin-bottom: 6px; }

/* ---------- Reveal animation ---------- */
.g5ee-reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.g5ee-revealed { opacity: 1; transform: none; }

/* ---------- Footer ---------- */
.g5ee-footer {
  background: var(--g5ee-bg-3); border-top: 1px solid rgba(186,255,201,.12);
  padding: 20px 0 24px; margin-top: 26px;
}
.g5ee-footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.g5ee-footer h4 { color: var(--g5ee-text-strong); font-size: 1.35rem; margin: 0 0 6px; }
.g5ee-footer a { display: block; padding: 4px 0; color: var(--g5ee-text); font-size: 1.25rem; }
.g5ee-footer-promo { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.g5ee-footer-promo .g5ee-btn { flex: 1 1 45%; justify-content: center; }
.g5ee-footer-brand { font-size: 1.25rem; color: var(--g5ee-muted); line-height: 1.6; }
.g5ee-copy { font-size: 1.15rem; color: var(--g5ee-muted); text-align: center; padding-top: 10px; border-top: 1px solid rgba(206,212,218,.08); }

/* ---------- Bottom nav ---------- */
.g5ee-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: var(--g5ee-bottom-h);
  background: linear-gradient(180deg, rgba(28,40,51,.98), rgba(16,26,35,.99));
  border-top: 1px solid rgba(186,255,201,.18);
  display: flex; justify-content: space-around; align-items: stretch;
  z-index: 1000; padding-bottom: env(safe-area-inset-bottom);
}
.g5ee-bottom-nav-btn {
  flex: 1; min-width: 60px; min-height: 60px;
  background: transparent; border: none; color: var(--g5ee-muted);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; font-size: 1.05rem; cursor: pointer; transition: color .15s ease, transform .15s ease;
}
.g5ee-bottom-nav-btn:active { transform: scale(.92); }
.g5ee-bottom-nav-btn i, .g5ee-bottom-nav-btn .material-icons, .g5ee-bottom-nav-btn ion-icon, .g5ee-bottom-nav-btn .bi {
  font-size: 22px;
}
.g5ee-bottom-nav-btn.g5ee-nav-active { color: var(--g5ee-accent); }
.g5ee-bottom-nav-btn.g5ee-nav-promo { color: var(--g5ee-gold); }

/* Desktop behavior */
@media (min-width: 769px) {
  .g5ee-bottom-nav { display: none; }
  .g5ee-menu-toggle-desktop { display: none; }
}
@media (max-width: 768px) {
  .g5ee-main { padding-bottom: calc(var(--g5ee-bottom-h) + 18px); }
}
