/* =====================================================================
   PlayJeet365 — Design System & Homepage Styles
   Brand: black background + amber-gold (#FAAE15) + white
   Mobile-first, responsive, accessible.
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. Design tokens (CSS custom properties)
   --------------------------------------------------------------------- */
:root {
  /* Surfaces */
  --bg: #000000;
  --surface: #0d0d0d;
  --surface-2: #161616;
  --surface-3: #1f1f1f;
  --border: #262626;
  --border-gold: rgba(250, 174, 21, 0.25);

  /* Brand gold (sampled from logo) */
  --gold: #faae15;
  --gold-bright: #ffc64b;
  --gold-deep: #c2870a;
  --grad-gold: linear-gradient(135deg, #ffc64b 0%, #faae15 55%, #e89a0c 100%);
  --grad-gold-soft: linear-gradient(135deg, rgba(255, 198, 75, 0.16), rgba(250, 174, 21, 0.04));

  /* Text */
  --text: #ffffff;
  --text-muted: #b3b3b3;
  --text-dim: #7a7a7a;

  /* Status */
  --success: #22c55e;
  --danger: #ef4444;

  /* Typography */
  --font-display: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Radii */
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* Shadows & glows */
  --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.55);
  --shadow-gold: 0 8px 30px rgba(250, 174, 21, 0.28);
  --glow-gold: 0 0 0 1px var(--border-gold), 0 0 28px rgba(250, 174, 21, 0.18);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --transition: 0.25s ease;

  /* Sticky header height (used for scroll offset) */
  --header-h: 68px;
}

/* ---------------------------------------------------------------------
   2. Reset & base
   --------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
  /* clip (not hidden) prevents off-canvas elements from creating a
     horizontal scrollbar, without turning <html> into a scroll
     container — so position: sticky keeps working. */
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  /* Subtle gold radial ambience on the black background */
  background-image:
    radial-gradient(1100px 480px at 80% -10%, rgba(250, 174, 21, 0.10), transparent 60%),
    radial-gradient(900px 420px at -10% 8%, rgba(250, 174, 21, 0.06), transparent 55%);
  background-repeat: no-repeat;
  background-attachment: fixed;
}

img,
svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; transition: color var(--transition); }

ul { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

button { font-family: inherit; cursor: pointer; border: none; background: none; }

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: var(--gold); color: #000; }

/* ---------------------------------------------------------------------
   3. Layout helpers
   --------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(3.5rem, 8vw, 6rem); position: relative; }

.section-head { max-width: 640px; margin-bottom: 2.5rem; }
.section-head.center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.section-head.center .eyebrow::before { display: none; }

.section-title {
  font-size: clamp(1.7rem, 4.2vw, 2.6rem);
  font-weight: 800;
}
.section-title .accent { color: var(--gold); }

.section-sub {
  margin-top: 0.9rem;
  color: var(--text-muted);
  font-size: 1.02rem;
}

/* ---------------------------------------------------------------------
   4. Buttons
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-pill);
  transition: transform var(--transition), box-shadow var(--transition),
    background var(--transition), border-color var(--transition), color var(--transition);
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--grad-gold);
  color: #1a1205;
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 38px rgba(250, 174, 21, 0.45); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn-outline-gold {
  background: rgba(250, 174, 21, 0.08);
  color: var(--gold);
  border: 1px solid var(--border-gold);
}
.btn-outline-gold:hover { background: rgba(250, 174, 21, 0.16); transform: translateY(-2px); }

.btn-lg { padding: 1rem 1.9rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------------------------------------------------------------------
   5. Top announcement bar
   --------------------------------------------------------------------- */
.topbar {
  background: linear-gradient(90deg, rgba(250, 174, 21, 0.14), rgba(250, 174, 21, 0.05));
  border-bottom: 1px solid var(--border-gold);
  font-size: 0.84rem;
  color: var(--text-muted);
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding-block: 0.5rem;
  text-align: center;
}
.topbar strong { color: var(--gold); }
.topbar .age-pill {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 0.72rem;
  color: #000;
  background: var(--gold);
  border-radius: var(--radius-pill);
  padding: 0.15rem 0.5rem;
  margin-left: 0.4rem;
}

/* ---------------------------------------------------------------------
   6. Header / navigation
   --------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}
.header.scrolled {
  background: rgba(0, 0, 0, 0.9);
  border-bottom-color: var(--border);
}
.header .container {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 38px; width: auto; }

.nav { margin-left: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding-block: 0.3rem;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--text); }

.nav-actions { display: flex; align-items: center; gap: 0.7rem; flex-shrink: 0; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  transition: border-color var(--transition), color var(--transition);
}
.lang-switch:hover { border-color: var(--gold); color: var(--gold); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border);
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------------------
   7. Hero
   --------------------------------------------------------------------- */
.hero { position: relative; padding-block: clamp(3rem, 9vw, 6.5rem); overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(620px 360px at 78% 18%, rgba(250, 174, 21, 0.22), transparent 62%),
    radial-gradient(520px 320px at 12% 90%, rgba(250, 174, 21, 0.10), transparent 60%);
  pointer-events: none;
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--grad-gold-soft);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.3rem;
}
.hero h1 {
  font-size: clamp(2.3rem, 6.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero h1 .accent {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  margin-top: 1.25rem;
  font-size: clamp(1.02rem, 2.4vw, 1.2rem);
  color: var(--text-muted);
  max-width: 540px;
}
.hero-cta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero-stats {
  margin-top: 2.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.4rem, 5vw, 2.8rem);
}
.hero-stats .stat .num {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--gold);
}
.hero-stats .stat .label { font-size: 0.85rem; color: var(--text-dim); }

/* Hero visual card */
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-card {
  position: relative;
  width: min(420px, 100%);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}
.hero-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(160deg, rgba(250, 174, 21, 0.5), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.hero-card .app-icon {
  width: 92px;
  height: 92px;
  border-radius: 20px;
  margin-bottom: 1.2rem;
  box-shadow: var(--shadow-gold);
}
.hero-card h3 { font-size: 1.3rem; }
.hero-card p { color: var(--text-muted); margin-top: 0.4rem; font-size: 0.95rem; }
.hero-card .rating { display: flex; align-items: center; gap: 0.5rem; margin-top: 1rem; color: var(--gold); font-weight: 600; }
.hero-card .rating .stars { letter-spacing: 2px; }
.hero-card .card-cta { margin-top: 1.4rem; }

/* Floating star accents (echo the logo) */
.spark {
  position: absolute;
  color: var(--gold);
  opacity: 0.85;
  animation: floaty 6s ease-in-out infinite;
  pointer-events: none;
}
.spark.s1 { top: 8%; right: 4%; width: 26px; animation-delay: 0s; }
.spark.s2 { bottom: 12%; left: 2%; width: 18px; animation-delay: 1.5s; opacity: 0.6; }

@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(8deg); }
}

/* ---------------------------------------------------------------------
   8. Trust strip
   --------------------------------------------------------------------- */
.trust {
  border-block: 1px solid var(--border);
  background: var(--surface);
}
.trust .container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding-block: 1.8rem;
}
.trust-item { display: flex; align-items: center; gap: 0.85rem; }
.trust-item .ic {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--grad-gold-soft);
  border: 1px solid var(--border-gold);
  color: var(--gold);
}
.trust-item .ic svg { width: 22px; height: 22px; }
.trust-item .t { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; }
.trust-item .s { font-size: 0.8rem; color: var(--text-dim); }

/* ---------------------------------------------------------------------
   9. Generic card grid
   --------------------------------------------------------------------- */
.grid { display: grid; gap: 1.4rem; }
.grid.cols-2 { grid-template-columns: 1fr; }
.grid.cols-3 { grid-template-columns: 1fr; }
.grid.cols-4 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); border-color: var(--border-gold); box-shadow: var(--glow-gold); }

/* Category cards */
.cat-card { display: flex; flex-direction: column; gap: 0.75rem; text-align: left; }
.cat-card .ic {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--grad-gold-soft);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  font-size: 1.6rem;
}
.cat-card h3 { font-size: 1.15rem; }
.cat-card p { color: var(--text-muted); font-size: 0.9rem; }
.cat-card .count { margin-top: auto; font-size: 0.82rem; color: var(--gold); font-weight: 600; }

/* Game tiles */
.game-tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--border);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  isolation: isolate;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.game-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--tile, linear-gradient(160deg, #2a2a2a, #0d0d0d));
}
.game-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.82) 100%);
}
.game-tile:hover { transform: translateY(-5px) scale(1.01); border-color: var(--border-gold); box-shadow: var(--glow-gold); }
.game-tile .glyph { position: absolute; top: 1rem; right: 1rem; font-size: 1.6rem; z-index: 1; filter: drop-shadow(0 2px 6px rgba(0,0,0,.6)); }
.game-tile .meta { z-index: 1; }
.game-tile .meta .name { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; }
.game-tile .meta .prov { font-size: 0.78rem; color: var(--text-muted); }
.game-tile .hot {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 1;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #000;
  background: var(--gold);
  border-radius: var(--radius-pill);
  padding: 0.18rem 0.5rem;
}

/* ---------------------------------------------------------------------
   10. Promotions
   --------------------------------------------------------------------- */
.promo-card { position: relative; overflow: hidden; }
.promo-card .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(250, 174, 21, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-pill);
  padding: 0.25rem 0.7rem;
  margin-bottom: 1rem;
}
.promo-card h3 { font-size: 1.35rem; }
.promo-card .amount {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0.5rem 0;
}
.promo-card p { color: var(--text-muted); font-size: 0.92rem; }
.promo-card .btn { margin-top: 1.3rem; }

/* ---------------------------------------------------------------------
   11. Features (why choose us)
   --------------------------------------------------------------------- */
.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature .ic {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--grad-gold-soft);
  border: 1px solid var(--border-gold);
  color: var(--gold);
}
.feature .ic svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.1rem; }
.feature p { color: var(--text-muted); font-size: 0.92rem; margin-top: 0.3rem; }

/* ---------------------------------------------------------------------
   12. App download
   --------------------------------------------------------------------- */
.appdl {
  background:
    radial-gradient(600px 300px at 85% 20%, rgba(250, 174, 21, 0.12), transparent 60%),
    var(--surface);
  border-block: 1px solid var(--border);
}
.appdl-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
.appdl-list { margin-top: 1.5rem; display: grid; gap: 0.9rem; }
.appdl-list li { display: flex; align-items: center; gap: 0.7rem; color: var(--text-muted); }
.appdl-list .check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.15);
  color: var(--success);
  font-size: 0.8rem;
}
.appdl-cta { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: 0.9rem; }
.appdl-note { margin-top: 1rem; font-size: 0.8rem; color: var(--text-dim); }

.appdl-visual { display: flex; justify-content: center; }
.appdl-phone {
  width: min(260px, 80%);
  aspect-ratio: 9 / 18;
  border-radius: 34px;
  background: linear-gradient(180deg, var(--surface-3), #000);
  border: 6px solid #1c1c1c;
  box-shadow: var(--shadow-card), var(--glow-gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
  text-align: center;
}
.appdl-phone img { width: 84px; height: 84px; border-radius: 18px; }
.appdl-phone .pj-name { font-family: var(--font-display); font-weight: 700; }
.appdl-phone .pj-tag { font-size: 0.78rem; color: var(--text-dim); }

/* ---------------------------------------------------------------------
   13. Payments
   --------------------------------------------------------------------- */
.pay-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}
.pay-item {
  display: grid;
  place-items: center;
  text-align: center;
  gap: 0.4rem;
  padding: 1.1rem 0.8rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: border-color var(--transition), color var(--transition);
}
.pay-item:hover { border-color: var(--border-gold); color: var(--text); }
.pay-item .pic { font-size: 1.4rem; }

/* ---------------------------------------------------------------------
   14. FAQ
   --------------------------------------------------------------------- */
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: 0.8rem; }
.faq-item {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.3rem;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
}
.faq-q .ico {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  position: relative;
  transition: transform var(--transition);
  color: var(--gold);
}
.faq-q .ico::before,
.faq-q .ico::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 2px;
}
.faq-q .ico::before { top: 12px; left: 5px; width: 16px; height: 2px; }
.faq-q .ico::after { top: 5px; left: 12px; width: 2px; height: 16px; transition: transform var(--transition); }
.faq-item[open] .faq-q .ico::after { transform: rotate(90deg); }
.faq-a { padding: 0 1.3rem 1.2rem; color: var(--text-muted); font-size: 0.95rem; }

/* Use native <details> so it works without JS too */
.faq-item summary { list-style: none; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }

/* ---------------------------------------------------------------------
   15. CTA band
   --------------------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; }
.cta-inner {
  background: var(--grad-gold);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 6vw, 3.5rem);
  text-align: center;
  color: #1a1205;
  position: relative;
  overflow: hidden;
}
.cta-inner h2 { font-size: clamp(1.6rem, 5vw, 2.4rem); font-weight: 800; color: #160f02; }
.cta-inner p { margin-top: 0.7rem; color: #3a2a05; font-weight: 500; }
.cta-inner .btn { margin-top: 1.6rem; background: #000; color: var(--gold); }
.cta-inner .btn:hover { background: #111; transform: translateY(-2px); }

/* ---------------------------------------------------------------------
   16. Footer
   --------------------------------------------------------------------- */
.footer { background: var(--surface); border-top: 1px solid var(--border); padding-block: 3.5rem 2rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}
.footer-brand img { height: 40px; width: auto; margin-bottom: 1rem; }
.footer-brand p { color: var(--text-dim); font-size: 0.9rem; max-width: 320px; }
.footer-col h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 1rem;
}
.footer-col ul { display: grid; gap: 0.6rem; }
.footer-col a { color: var(--text-muted); font-size: 0.92rem; }
.footer-col a:hover { color: var(--gold); }

.footer-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; padding-block: 1.8rem; }
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0.45rem 0.9rem;
}
.footer-badge .age { color: var(--gold); font-weight: 800; }

.footer-disclaimer {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.7;
  padding-block: 1.5rem 1rem;
  border-top: 1px solid var(--border);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-dim);
  padding-top: 1.2rem;
}
.footer-social { display: flex; gap: 0.6rem; }
.footer-social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: var(--transition);
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }

/* ---------------------------------------------------------------------
   17. Mobile menu (overlay)
   --------------------------------------------------------------------- */
.mobile-menu {
  position: fixed;
  top: var(--header-h);
  right: 0;
  bottom: 0;
  /* explicit width (not inset/auto) — an auto-width fixed flex container
     can be sized to its content's max-content in Chromium, overflowing. */
  width: 100%;
  max-width: 100%;
  z-index: 99;
  background: rgba(0, 0, 0, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 1.5rem var(--gutter) 2rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 0.95rem 0.5rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu .btn { margin-top: 1.2rem; }
.mobile-menu .btn + .btn { margin-top: 0.6rem; }
body.menu-open { overflow: hidden; }

/* ---------------------------------------------------------------------
   18. Reveal-on-scroll animation
   --------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------------
   19. Back-to-top
   --------------------------------------------------------------------- */
.to-top {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 90;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad-gold);
  color: #000;
  box-shadow: var(--shadow-gold);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition);
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }

/* ---------------------------------------------------------------------
   20. Responsive — tablet & desktop
   --------------------------------------------------------------------- */
@media (min-width: 600px) {
  .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .pay-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (min-width: 860px) {
  .trust .container { grid-template-columns: repeat(4, 1fr); }
  .grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
  .pay-grid { grid-template-columns: repeat(6, 1fr); }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
  .appdl-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

@media (min-width: 1024px) {
  .nav-links { display: flex; }
}

/* Show hamburger / hide desktop nav on smaller screens */
@media (max-width: 1023px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-actions .btn-ghost,
  .nav-actions .lang-switch { display: none; }
}

/* ---------------------------------------------------------------------
   21. Reduced motion
   --------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* =====================================================================
   22. Data Desk components (v1.1)
   ===================================================================== */

/* Alternating section background */
.section.alt { background: var(--surface); border-block: 1px solid var(--border); }

/* Hero supporting note */
.hero-note { margin-top: 0.9rem; color: var(--text-dim); font-size: 0.95rem; max-width: 540px; }

/* Hero snapshot-preview card */
.snap-preview { padding: 1.5rem 1.5rem 1.6rem; }
.snap-preview-head { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; color: var(--text-muted); }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); animation: pulse 2s infinite; }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(250, 174, 21, 0.45); }
  70%  { box-shadow: 0 0 0 8px rgba(250, 174, 21, 0); }
  100% { box-shadow: 0 0 0 0 rgba(250, 174, 21, 0); }
}
.snap-preview-list { margin: 1.2rem 0 0.6rem; display: grid; gap: 0.7rem; }
.snap-preview-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-bottom: 0.7rem; border-bottom: 1px solid var(--border); font-size: 0.92rem; color: var(--text-muted); }
.snap-preview-list li:last-child { border-bottom: none; }
.snap-preview-list b { font-family: var(--font-display); color: var(--gold); font-size: 1.05rem; }
.snap-preview-foot { font-size: 0.78rem; color: var(--text-dim); margin-bottom: 1.1rem; }

/* What we do / refuse */
.dr-grid { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
.dr-col h3 { font-size: 1.2rem; margin-bottom: 1rem; }
.dr-does h3 { color: var(--gold); }
.dr-list { display: grid; gap: 0.9rem; }
.dr-list li { display: flex; flex-direction: column; gap: 0.15rem; padding-left: 1.4rem; position: relative; font-size: 0.95rem; }
.dr-list li b { font-weight: 600; }
.dr-list li span { color: var(--text-muted); font-size: 0.85rem; }
.dr-list li::before { content: "\203A"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.dr-list.refuse li { color: var(--text-muted); }
.dr-list.refuse li::before { content: "\2715"; color: var(--danger); }
.dr-foot { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--border); font-size: 0.88rem; color: var(--text-dim); }
@media (min-width: 860px) { .dr-grid { grid-template-columns: 1fr 1fr; } }

/* This week's snapshot grid */
.snap-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.snap-card { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.3rem; display: flex; flex-direction: column; gap: 0.5rem; transition: border-color var(--transition); }
.snap-card:hover { border-color: var(--border-gold); }
.snap-label { font-size: 0.82rem; color: var(--text-muted); font-weight: 500; }
.snap-value { font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; line-height: 1; color: var(--text); display: flex; align-items: baseline; gap: 0.3rem; }
.snap-unit { font-size: 0.9rem; font-weight: 600; color: var(--text-dim); }
.snap-trend { font-size: 0.8rem; font-weight: 600; }
.snap-trend.flat { color: var(--text-dim); }
.snap-trend.ok { color: var(--success); }
.snap-method { margin-top: auto; font-size: 0.8rem; font-weight: 600; color: var(--gold); }
.snap-method:hover { text-decoration: underline; }
.snap-stamp-card { background: var(--grad-gold-soft); border-color: var(--border-gold); }
.snap-stamp { font-size: 0.82rem; color: var(--text-muted); }
.snap-stamp b { color: var(--text); font-weight: 600; }
@media (min-width: 600px) { .snap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .snap-grid { grid-template-columns: repeat(3, 1fr); } }

/* Channel pills */
.chan-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chan { font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; color: var(--text-muted); background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 0.4rem 0.95rem; }

/* Section inline CTA link */
.sec-cta { margin-top: 1.6rem; }
.sec-cta a { font-family: var(--font-display); font-weight: 600; color: var(--gold); font-size: 0.98rem; }
.sec-cta a:hover { color: var(--gold-bright); }

/* Split layout (latency) */
.split { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.check-list { display: grid; gap: 1rem; }
.check-list li { display: flex; gap: 0.7rem; color: var(--text-muted); font-size: 0.95rem; }
.check-list .dot { color: var(--gold); font-weight: 800; }
.split-list { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }

/* Fairness number badges */
.num-h { margin-bottom: 0.7rem; }
.num-badge { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.04em; color: #1a1205; background: var(--grad-gold); border-radius: var(--radius-pill); padding: 0.3rem 0.8rem; }

/* Fake-agent fraud card */
.fraud-card { padding: 2rem; }
.flag-list { display: grid; gap: 0.9rem; }
.flag-list li { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.95rem; color: var(--text-muted); }
.flag-list li b { color: var(--text); font-weight: 600; }
.flag-list .flag { flex-shrink: 0; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; font-size: 0.8rem; font-weight: 800; }
.flag-list li.bad .flag { background: rgba(239, 68, 68, 0.15); color: var(--danger); }
.flag-list li.good .flag { background: rgba(34, 197, 94, 0.15); color: var(--success); }
.flag-list li.good { color: var(--text); }
.fraud-intake { margin-top: 1.6rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.fraud-intake p { color: var(--text-muted); font-size: 0.92rem; }
.fraud-cta { margin-top: 1.3rem; display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* Explore-the-desk cards */
.explore-card { display: block; }
.explore-card h3 { font-size: 1.08rem; display: flex; align-items: center; gap: 0.4rem; }
.explore-card h3::after { content: "\2192"; color: var(--gold); opacity: 0; transform: translateX(-4px); transition: var(--transition); margin-left: auto; }
.explore-card:hover h3::after { opacity: 1; transform: none; }
.explore-card p { color: var(--text-muted); font-size: 0.88rem; margin-top: 0.4rem; }

/* Methodology */
.method-card { padding: 2rem; border-left: 3px solid var(--gold); }

/* E-E-A-T */
.eeat-card .eeat-k { display: inline-block; font-family: var(--font-display); font-weight: 700; color: var(--gold); font-size: 0.95rem; margin-bottom: 0.5rem; }
.eeat-card p { color: var(--text-muted); font-size: 0.9rem; }

/* Responsible play */
.responsible-card { display: flex; gap: 1.3rem; align-items: flex-start; padding: 2rem; }
.responsible-card .ic-big { font-size: 2rem; flex-shrink: 0; line-height: 1.2; }
.responsible-card h2 { font-size: 1.4rem; margin-bottom: 0.6rem; }
.responsible-card p { color: var(--text-muted); font-size: 0.95rem; }
.responsible-foot { margin-top: 0.8rem; color: var(--gold) !important; }

/* =====================================================================
   23. Data Desk -> Casino site additions (v1.2)
   ===================================================================== */

/* Hero card brand row */
.hc-brand { display: flex; align-items: center; gap: 0.9rem; }
.hc-icon { width: 64px; height: 64px; border-radius: 16px; box-shadow: var(--shadow-gold); flex-shrink: 0; }
.hc-brand h3 { font-size: 1.2rem; }
.hc-brand p { color: var(--text-muted); font-size: 0.85rem; margin-top: 0.15rem; }

/* Numbered steps */
.steps { list-style: none; counter-reset: step; display: grid; gap: 1.1rem; max-width: 780px; padding: 0; }
.steps li { display: flex; gap: 1rem; align-items: flex-start; }
.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--grad-gold);
  color: #1a1205;
  font-family: var(--font-display);
  font-weight: 800; font-size: 0.95rem;
  box-shadow: var(--shadow-gold);
}
.steps li > div { padding-top: 0.45rem; color: var(--text-muted); font-size: 0.97rem; }
.steps li b { color: var(--text); font-weight: 600; }

/* "Not supported" channel pill */
.chan-no { color: var(--text-dim); border-style: dashed; }

/* Inline code in safety checklist */
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.88em; background: var(--surface-3); padding: 0.05em 0.4em; border-radius: 5px; color: var(--gold-bright); }
