/* =========================================================
   aron play - theme styles (css/theme.css)
   All custom classes use the g92c- prefix.
   Palette: #FFCC33 (gold) | #FFEBCD (cream) | #0E1621 (deep navy)
   ========================================================= */

:root {
  --g92c-primary: #FFCC33;
  --g92c-primary-dark: #e6b800;
  --g92c-cream: #FFEBCD;
  --g92c-bg: #0E1621;
  --g92c-bg-2: #131f2e;
  --g92c-bg-3: #1b2940;
  --g92c-text: #FFEBCD;
  --g92c-text-dim: #b9c4d6;
  --g92c-accent: #ff5b5b;
  --g92c-green: #2ecc71;
  --g92c-radius: 12px;
  --g92c-header-h: 56px;
  --g92c-bnav-h: 62px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--g92c-bg);
  color: var(--g92c-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--g92c-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Layout ---------- */
.g92c-wrapper { width: 100%; max-width: 430px; margin: 0 auto; position: relative; }
.g92c-container { width: 100%; padding: 0 1.2rem; }
.g92c-section { padding: 2rem 1.2rem; }
.g92c-section + .g92c-section { border-top: 1px solid rgba(255,235,205,0.06); }

/* ---------- Header ---------- */
.g92c-header {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; height: var(--g92c-header-h);
  background: rgba(14,22,33,0.96);
  border-bottom: 1px solid rgba(255,204,51,0.25);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1rem; z-index: 1000;
  backdrop-filter: blur(6px);
}
.g92c-logo { display: flex; align-items: center; gap: 0.6rem; }
.g92c-logo img { width: 30px; height: 30px; border-radius: 6px; }
.g92c-logo .g92c-brand { font-size: 1.5rem; font-weight: 800; color: var(--g92c-primary); letter-spacing: 0.5px; }
.g92c-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.g92c-menu-btn {
  background: transparent; border: 1px solid rgba(255,204,51,0.4);
  color: var(--g92c-primary); width: 38px; height: 38px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.g92c-btn {
  border: none; border-radius: 8px; padding: 0.7rem 1.1rem; font-size: 1.3rem;
  font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 0.4rem;
  min-height: 38px; transition: transform 0.15s, filter 0.15s;
}
.g92c-btn:active { transform: scale(0.96); }
.g92c-btn-primary { background: linear-gradient(135deg, var(--g92c-primary), var(--g92c-primary-dark)); color: #1a1206; }
.g92c-btn-outline { background: transparent; color: var(--g92c-primary); border: 1px solid var(--g92c-primary); }
.g92c-btn-block { width: 100%; justify-content: center; padding: 1rem; font-size: 1.5rem; }

/* ---------- Nav menu (expandable) ---------- */
.g92c-nav-menu {
  position: fixed; top: var(--g92c-header-h); left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; background: var(--g92c-bg-2);
  border-bottom: 1px solid rgba(255,204,51,0.2);
  max-height: 0; overflow: hidden; transition: max-height 0.28s ease; z-index: 999;
}
.g92c-nav-menu.g92c-nav-open { max-height: 480px; }
.g92c-nav-menu ul { list-style: none; padding: 0.6rem 1rem 1rem; }
.g92c-nav-menu li a {
  display: block; padding: 1rem 0.6rem; color: var(--g92c-text);
  border-bottom: 1px solid rgba(255,235,205,0.07); font-size: 1.4rem;
}
.g92c-nav-menu li a:hover { color: var(--g92c-primary); text-decoration: none; }

/* ---------- Main / spacing for fixed bars ---------- */
.g92c-main { padding-top: calc(var(--g92c-header-h) + 4px); padding-bottom: calc(var(--g92c-bnav-h) + 16px); }

/* ---------- Carousel ---------- */
.g92c-carousel { position: relative; width: 100%; height: 200px; overflow: hidden; border-radius: 0 0 14px 14px; }
.g92c-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease;
  display: flex; align-items: flex-end; padding: 1rem; cursor: pointer;
}
.g92c-slide.g92c-slide-active { opacity: 1; }
.g92c-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.g92c-slide-caption { position: relative; z-index: 2; background: rgba(14,22,33,0.7); padding: 0.6rem 1rem; border-radius: 8px; font-weight: 700; color: var(--g92c-primary); }
.g92c-dots { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 3; }
.g92c-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,235,205,0.4); cursor: pointer; }
.g92c-dot.g92c-dot-active { background: var(--g92c-primary); }

/* ---------- Hero / H1 ---------- */
.g92c-hero { padding: 1.6rem 1.2rem 1rem; text-align: center; }
.g92c-hero h1 { font-size: 2.2rem; line-height: 1.3; color: var(--g92c-primary); margin-bottom: 0.6rem; }
.g92c-hero p { color: var(--g92c-text-dim); font-size: 1.35rem; }
.g92c-hero .g92c-cta-row { display: flex; gap: 0.8rem; justify-content: center; margin-top: 1.2rem; }

/* ---------- Section titles ---------- */
.g92c-section-title { font-size: 1.7rem; color: var(--g92c-primary); margin-bottom: 1rem; font-weight: 800; }
.g92c-section-title i { margin-right: 0.5rem; }
.g92c-subtitle { font-size: 1.45rem; color: var(--g92c-cream); margin: 1rem 0 0.6rem; font-weight: 700; }

/* ---------- Filter chips ---------- */
.g92c-chips { display: flex; gap: 0.6rem; overflow-x: auto; padding: 0.5rem 0 1rem; }
.g92c-chip {
  flex: 0 0 auto; padding: 0.5rem 1rem; border-radius: 20px; font-size: 1.25rem;
  background: var(--g92c-bg-2); color: var(--g92c-text-dim); border: 1px solid rgba(255,235,205,0.12);
  cursor: pointer; white-space: nowrap;
}
.g92c-chip.g92c-chip-active { background: var(--g92c-primary); color: #1a1206; border-color: var(--g92c-primary); font-weight: 700; }

/* ---------- Game grid ---------- */
.g92c-game-section { margin-bottom: 1.4rem; }
.g92c-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; }
.g92c-game-card { text-align: center; cursor: pointer; background: var(--g92c-bg-2); border-radius: 10px; padding: 0.5rem 0.3rem; transition: transform 0.15s, box-shadow 0.15s; }
.g92c-game-card:active { transform: scale(0.94); }
.g92c-game-card:hover { box-shadow: 0 0 0 2px rgba(255,204,51,0.4); }
.g92c-game-card img { width: 100%; height: 56px; object-fit: cover; border-radius: 8px; margin-bottom: 0.3rem; }
.g92c-game-card .g92c-game-name { font-size: 1.05rem; color: var(--g92c-text); line-height: 1.25; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; min-height: 2.5em; }

/* ---------- Cards / panels ---------- */
.g92c-card { background: var(--g92c-bg-2); border-radius: var(--g92c-radius); padding: 1.2rem; margin-bottom: 1rem; border: 1px solid rgba(255,235,205,0.06); }
.g92c-card p { color: var(--g92c-text-dim); margin-bottom: 0.6rem; }
.g92c-card p:last-child { margin-bottom: 0; }
.g92c-card .g92c-inline-link { color: var(--g92c-primary); font-weight: 700; }
.g92c-list { list-style: none; padding: 0; }
.g92c-list li { padding: 0.5rem 0 0.5rem 1.6rem; position: relative; color: var(--g92c-text-dim); }
.g92c-list li::before { content: "▶"; position: absolute; left: 0; color: var(--g92c-primary); font-size: 1rem; }

/* ---------- RTP table ---------- */
.g92c-rtp-table { width: 100%; border-collapse: collapse; font-size: 1.25rem; }
.g92c-rtp-table th, .g92c-rtp-table td { padding: 0.6rem 0.4rem; text-align: center; border-bottom: 1px solid rgba(255,235,205,0.08); }
.g92c-rtp-table th { color: var(--g92c-primary); }
.g92c-rtp-table td { color: var(--g92c-text-dim); }
.g92c-rtp-table td.g92c-rtp-high { color: var(--g92c-green); font-weight: 700; }

/* ---------- Testimonials ---------- */
.g92c-testi { display: flex; gap: 0.8rem; padding: 0.8rem; background: var(--g92c-bg-2); border-radius: 10px; margin-bottom: 0.7rem; }
.g92c-testi .g92c-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--g92c-primary); color: #1a1206; display: flex; align-items: center; justify-content: center; font-weight: 800; flex: 0 0 auto; }
.g92c-testi .g92c-stars { color: var(--g92c-primary); font-size: 1.1rem; }

/* ---------- Payment icons ---------- */
.g92c-pay-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.g92c-pay { flex: 1 1 28%; text-align: center; background: var(--g92c-bg-2); border-radius: 8px; padding: 0.7rem 0.3rem; font-size: 1.1rem; color: var(--g92c-text-dim); }
.g92c-pay i { font-size: 1.8rem; color: var(--g92c-primary); display: block; margin-bottom: 0.2rem; }

/* ---------- Winners ---------- */
.g92c-winner { display: flex; justify-content: space-between; padding: 0.5rem 0; border-bottom: 1px dashed rgba(255,235,205,0.08); font-size: 1.25rem; }
.g92c-winner .g92c-amount { color: var(--g92c-green); font-weight: 700; }

/* ---------- App download CTA ---------- */
.g92c-app-cta { background: linear-gradient(135deg, #1b2940, #0E1621); border: 1px solid rgba(255,204,51,0.3); border-radius: var(--g92c-radius); padding: 1.4rem; text-align: center; }
.g92c-app-cta h3 { color: var(--g92c-primary); margin-bottom: 0.5rem; }
.g92c-app-cta .g92c-btn-row { display: flex; gap: 0.6rem; justify-content: center; margin-top: 1rem; }

/* ---------- Play Now CTA ---------- */
.g92c-playnow { text-align: center; padding: 2rem 1.2rem; }
.g92c-playnow h2 { color: var(--g92c-primary); margin-bottom: 0.6rem; }
.g92c-playnow p { color: var(--g92c-text-dim); margin-bottom: 1.2rem; }

/* ---------- Footer ---------- */
.g92c-footer { background: var(--g92c-bg-2); padding: 1.6rem 1.2rem calc(var(--g92c-bnav-h) + 2rem); border-top: 1px solid rgba(255,204,51,0.2); }
.g92c-footer p { color: var(--g92c-text-dim); font-size: 1.25rem; margin-bottom: 1rem; }
.g92c-footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin-bottom: 1rem; }
.g92c-footer-links a { color: var(--g92c-text); font-size: 1.2rem; }
.g92c-footer-promo { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.2rem; }
.g92c-footer-copy { font-size: 1.1rem; color: rgba(255,235,205,0.5); text-align: center; }

/* ---------- Bottom nav ---------- */
.g92c-bnav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; height: var(--g92c-bnav-h);
  background: linear-gradient(180deg, #131f2e, #0a1018);
  border-top: 1px solid rgba(255,204,51,0.3);
  display: flex; justify-content: space-around; align-items: center;
  z-index: 1000;
}
.g92c-bnav-btn {
  flex: 1; min-width: 60px; min-height: 60px; background: transparent; border: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  color: var(--g92c-text-dim); cursor: pointer; transition: color 0.15s, transform 0.15s;
}
.g92c-bnav-btn:active { transform: scale(0.9); }
.g92c-bnav-btn .g92c-bnav-icon { font-size: 22px; line-height: 1; }
.g92c-bnav-btn .g92c-bnav-label { font-size: 1rem; line-height: 1; }
.g92c-bnav-btn.g92c-bnav-current { color: var(--g92c-primary); }
.g92c-bnav-btn.g92c-bnav-promo { color: var(--g92c-primary); }

/* ---------- Reveal animation ---------- */
.g92c-reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.g92c-reveal.g92c-revealed { opacity: 1; transform: translateY(0); }

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
  body { max-width: 430px; }
  .g92c-bnav { display: none; }
  .g92c-footer { padding-bottom: 2rem; }
  .g92c-main { padding-bottom: 1.5rem; }
}
