/* =====================================================================
   777in — Global Stylesheet
   Theme: "Royal Gold" — premium gold & black AAA gaming identity
   One sans (Space Grotesk) + one mono (JetBrains Mono, numbers only)
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Palette — gold & black */
  --bg-base: #07070A;
  --bg-surface: #0E0E13;
  --bg-elevated: #16161D;
  --bg-raised: #1E1E27;

  --gold: #D4AF37;
  --gold-bright: #F4D27A;
  --gold-soft: #E8C468;
  --gold-deep: #A87E22;

  --primary: #D4AF37;
  --primary-bright: #F4D27A;
  --accent: #F4D27A;

  --text-primary: #F6F2E6;
  --text-secondary: #A9A294;
  --text-faint: #6E695E;

  --border-subtle: rgba(212, 175, 55, 0.12);
  --border-hair: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(212, 175, 55, 0.28);

  --gold-soft-bg: rgba(212, 175, 55, 0.08);
  --gold-soft-bg2: rgba(212, 175, 55, 0.14);

  --grad-gold: linear-gradient(135deg, #F4D27A 0%, #D4AF37 45%, #B8902A 100%);
  --grad-gold-text: linear-gradient(120deg, #F4D27A, #D4AF37);

  /* Type */
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  /* Spacing scale */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px;
  --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px; --sp-10: 128px;

  /* Radii */
  --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-xl: 24px; --r-pill: 999px;

  /* Layout */
  --maxw: 1240px;
  --maxw-read: 70ch;
  --header-h: 64px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.32s;

  --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.5);
  --shadow-elev: 0 22px 60px -24px rgba(0, 0, 0, 0.85);
  --glow-gold: 0 0 0 1px rgba(212,175,55,0.35), 0 10px 40px -12px rgba(212,175,55,0.35);
}

@media (min-width: 1024px) { :root { --header-h: 78px; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--font-sans);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.65;
  font-size: 16px;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% -8%, rgba(212,175,55,0.10), transparent 60%),
    radial-gradient(40% 40% at 100% 100%, rgba(212,175,55,0.05), transparent 70%);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }
::selection { background: rgba(212,175,55,0.25); color: #fff; }
:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; border-radius: 3px; }

/* ---------- Helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--sp-5); }
.section { padding-block: var(--sp-9); }
@media (max-width: 768px) { .section { padding-block: var(--sp-8); } }
.section-tight { padding-block: var(--sp-7); }

.mono { font-family: var(--font-mono); font-feature-settings: "tnum"; letter-spacing: -0.02em; }
.eyebrow {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--gold); display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--gold); opacity: 0.7; }
.text-muted { color: var(--text-secondary); }
.gold-text { background: var(--grad-gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.accent-line { width: 44px; height: 2px; background: var(--grad-gold); border: 0; margin: var(--sp-4) 0; border-radius: 2px; }
.lead { color: var(--text-secondary); font-size: 1.15rem; line-height: 1.75; }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.14; letter-spacing: -0.02em; }
h1 { font-weight: 800; }
h2 { font-size: clamp(1.7rem, 4vw, 2.7rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; }

.section-head { max-width: 62ch; margin-bottom: var(--sp-7); }
.section-head h2 { margin-top: var(--sp-3); }
.section-head p { color: var(--text-secondary); margin-top: var(--sp-4); font-size: 1.05rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

.prose p { color: var(--text-secondary); line-height: 1.8; margin-bottom: var(--sp-4); }
.prose p strong { color: var(--text-primary); font-weight: 500; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  min-height: 44px; padding: 0 var(--sp-5); border-radius: var(--r-pill);
  font-weight: 500; font-size: 0.95rem; letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--grad-gold); color: #15100A; font-weight: 600; box-shadow: 0 8px 24px -10px rgba(212,175,55,0.6); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--glow-gold); }
.btn-ghost { background: transparent; color: var(--text-primary); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); background: var(--gold-soft-bg); }
.btn-lg { min-height: 52px; padding: 0 var(--sp-6); font-size: 1.02rem; }
.btn-sm { min-height: 38px; padding: 0 var(--sp-4); font-size: 0.85rem; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Loading screen ---------- */
#loader {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
  background: var(--bg-base);
  transition: opacity 0.5s var(--ease), visibility 0.5s;
  animation: loaderSafety 0s linear 3s forwards; /* CSS backstop if JS never runs */
}
#loader.done { opacity: 0; visibility: hidden; }
@keyframes loaderSafety { to { opacity: 0; visibility: hidden; } }
#loader .loader-inner { display: flex; flex-direction: column; align-items: center; gap: var(--sp-4); }
#loader img { height: 52px; width: auto; opacity: 0.95; }
#loader .loader-bar { width: 140px; height: 3px; border-radius: 999px; background: var(--bg-elevated); overflow: hidden; position: relative; }
#loader .loader-bar::after { content: ""; position: absolute; inset: 0; width: 40%; background: var(--grad-gold); border-radius: 999px; animation: loadSlide 1s var(--ease) infinite; }
@keyframes loadSlide { 0% { transform: translateX(-120%); } 100% { transform: translateX(320%); } }

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 100;
  background: color-mix(in srgb, var(--bg-base) 92%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}
.site-header .container { height: 100%; display: flex; align-items: center; gap: var(--sp-5); }

.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo img { height: 36px; width: auto; }
@media (min-width: 1024px) { .logo img { height: 42px; } }

.nav-desktop { display: none; }
@media (min-width: 1100px) {
  .nav-desktop { display: flex; gap: var(--sp-5); margin-inline: auto; flex-wrap: wrap; justify-content: center; }
  .nav-desktop a {
    font-size: 0.86rem; color: var(--text-secondary); padding: var(--sp-2) 0; position: relative;
    transition: color var(--dur) var(--ease); white-space: nowrap;
  }
  .nav-desktop a::after {
    content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1.5px;
    background: var(--grad-gold); transition: width var(--dur) var(--ease);
  }
  .nav-desktop a:hover, .nav-desktop a[aria-current="page"] { color: var(--text-primary); }
  .nav-desktop a:hover::after, .nav-desktop a[aria-current="page"]::after { width: 100%; }
}

.header-actions { margin-left: auto; display: flex; align-items: center; gap: var(--sp-3); }
@media (min-width: 1100px) { .header-actions { margin-left: 0; } }
.header-actions .btn { display: none; }
@media (min-width: 1100px) { .header-actions .btn { display: inline-flex; } }
.header-actions .btn-ghost.dl-link { display: none; }
@media (min-width: 1280px) { .header-actions .btn-ghost.dl-link { display: inline-flex; } }

.menu-toggle {
  width: 44px; height: 44px; display: grid; place-items: center; background: transparent;
  border: 1px solid var(--border-subtle); border-radius: var(--r-sm);
}
@media (min-width: 1100px) { .menu-toggle { display: none; } }
.menu-toggle span { display: block; width: 18px; height: 1.5px; background: var(--gold); position: relative; transition: background var(--dur) var(--ease); }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--gold); transition: transform var(--dur) var(--ease); }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }
body.menu-open .menu-toggle span { background: transparent; }
body.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
body.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--bg-base);
  padding: calc(var(--header-h) + var(--sp-5)) var(--sp-5) var(--sp-6);
  display: flex; flex-direction: column; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}
body.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a {
  font-size: 1.3rem; font-weight: 500; letter-spacing: -0.03em; padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--border-hair); color: var(--text-primary);
  transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}
.mobile-menu a:hover { color: var(--gold-bright); padding-left: var(--sp-2); }
.mobile-menu .btn { margin-top: var(--sp-5); }
@media (min-width: 1100px) { .mobile-menu { display: none; } }

main { padding-top: var(--header-h); }

/* ---------- Breadcrumbs ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 0.82rem; color: var(--text-secondary); padding-top: var(--sp-6); }
.breadcrumb a { color: var(--text-secondary); transition: color var(--dur) var(--ease); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--text-faint); }
.breadcrumb .cur { color: var(--text-primary); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { border-top: 1px solid var(--border-subtle); background: var(--bg-surface); margin-top: var(--sp-9); }
.footer-top { display: grid; gap: var(--sp-6); padding-block: var(--sp-8); border-bottom: 1px solid var(--border-hair); }
@media (min-width: 768px) { .footer-top { grid-template-columns: 1.2fr 1fr; align-items: center; } }
.footer-statement .logo img { height: 46px; }
.footer-statement p { color: var(--text-secondary); margin-top: var(--sp-4); max-width: 44ch; }
.footer-cta { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
@media (min-width: 768px) { .footer-cta { justify-content: flex-end; } }

.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); padding-block: var(--sp-7); border-bottom: 1px solid var(--border-hair); }
@media (min-width: 768px) { .footer-links { grid-template-columns: repeat(5, 1fr); } }
.footer-links h4 { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--gold); font-family: var(--font-mono); margin-bottom: var(--sp-4); }
.footer-links a { display: block; color: var(--text-secondary); padding: var(--sp-2) 0; font-size: 0.92rem; transition: color var(--dur) var(--ease); }
.footer-links a:hover { color: var(--text-primary); }

.footer-compliance { display: flex; flex-wrap: wrap; gap: var(--sp-4); align-items: center; padding-block: var(--sp-5); border-bottom: 1px solid var(--border-hair); }
.badge-18 { font-family: var(--font-mono); font-weight: 700; font-size: 0.9rem; color: var(--gold-bright); border: 1.5px solid var(--gold); border-radius: var(--r-pill); padding: var(--sp-1) var(--sp-3); flex-shrink: 0; }
.footer-restricted { font-size: 0.92rem; color: var(--text-primary); }
.footer-restricted strong { color: var(--gold-bright); font-weight: 600; }
.footer-legal { display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5); justify-content: space-between; align-items: center; padding-block: var(--sp-5); font-size: 0.85rem; color: var(--text-secondary); }
.footer-legal a { color: var(--gold); }
.footer-disclaimer { font-size: 0.8rem; color: var(--text-faint); line-height: 1.7; padding-bottom: var(--sp-6); max-width: 90ch; }

/* =====================================================================
   SCROLL REVEAL
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  #loader .loader-bar::after { animation: none; }
}

/* =====================================================================
   GENERIC PAGE HERO (inner pages)
   ===================================================================== */
.page-hero { padding-top: var(--sp-8); padding-bottom: var(--sp-6); position: relative; }
.page-hero h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); max-width: 18ch; }
.page-hero .lead { margin-top: var(--sp-4); max-width: 60ch; }
.page-intro { max-width: 62ch; }

/* =====================================================================
   HOME
   ===================================================================== */
.home-opening { padding-top: var(--sp-9); padding-bottom: var(--sp-7); position: relative; }
.home-hero-grid { display: grid; gap: var(--sp-7); align-items: center; }
@media (min-width: 900px) { .home-hero-grid { grid-template-columns: 1.15fr 0.85fr; } }
.home-opening h1 { font-size: clamp(2.6rem, 7vw, 4.8rem); font-weight: 500; max-width: 15ch; letter-spacing: -0.04em; }
.home-opening h1 em { font-style: normal; background: var(--grad-gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.home-opening .lead { max-width: 54ch; margin-top: var(--sp-5); }
.home-opening .opening-actions { display: flex; gap: var(--sp-3); flex-wrap: wrap; margin-top: var(--sp-6); }
.home-trust { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); margin-top: var(--sp-6); font-size: 0.82rem; color: var(--text-secondary); }
.home-trust span { display: inline-flex; align-items: center; gap: 7px; }
.home-trust span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

.hero-visual { position: relative; justify-self: center; }
.hero-phone {
  width: min(300px, 78vw); border-radius: 30px; overflow: hidden; border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-elev); background: var(--bg-elevated); position: relative;
}
.hero-phone img { width: 100%; height: auto; display: block; }
.hero-badge {
  position: absolute; bottom: 18px; left: -16px; background: var(--bg-elevated); border: 1px solid var(--border-strong);
  border-radius: var(--r-md); padding: var(--sp-3) var(--sp-4); box-shadow: var(--shadow-elev);
}
.hero-badge .amt { font-family: var(--font-mono); color: var(--gold-bright); font-size: 1.1rem; }
.hero-badge .lbl { font-size: 0.72rem; color: var(--text-secondary); }

.stat-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); margin-top: var(--sp-8); padding-top: var(--sp-6); border-top: 1px solid var(--border-hair); }
@media (min-width: 640px) { .stat-strip { grid-template-columns: repeat(4, 1fr); } }
.stat-strip .stat .num { font-family: var(--font-mono); font-size: clamp(1.5rem, 4.5vw, 2.4rem); color: var(--gold-bright); display: block; letter-spacing: -0.03em; }
.stat-strip .stat .label { color: var(--text-secondary); font-size: 0.85rem; margin-top: var(--sp-1); }

/* Screenshot showcase carousel */
.showcase { background: var(--bg-surface); border-block: 1px solid var(--border-subtle); position: relative; }
.carousel { position: relative; margin-top: var(--sp-7); }
.carousel-viewport { overflow: hidden; }
.carousel-track { display: flex; gap: var(--sp-5); will-change: transform; transition: transform 0.5s var(--ease); }
.carousel-track.dragging { transition: none; cursor: grabbing; }
.shot {
  flex: 0 0 auto; width: 230px; text-align: center; user-select: none;
}
@media (min-width: 768px) { .shot { width: 250px; } }
.shot-frame {
  width: 100%; aspect-ratio: 108 / 241; border-radius: 26px; overflow: hidden;
  border: 1px solid var(--border-strong); background: #000;
  box-shadow: var(--shadow-elev); position: relative;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.shot-frame::after { content: ""; position: absolute; inset: 0; border-radius: 26px; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05); pointer-events: none; }
.shot-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot:hover .shot-frame { transform: translateY(-4px); box-shadow: var(--glow-gold); }
.shot-cap { margin-top: var(--sp-4); color: var(--text-secondary); font-size: 0.88rem; }

.carousel-nav { display: flex; align-items: center; justify-content: space-between; margin-top: var(--sp-5); gap: var(--sp-4); }
.carousel-dots { display: flex; gap: 7px; flex-wrap: wrap; }
.carousel-dots button { width: 8px; height: 8px; border-radius: 999px; border: 0; background: var(--border-strong); padding: 0; transition: width var(--dur) var(--ease), background var(--dur) var(--ease); }
.carousel-dots button.active { width: 22px; background: var(--grad-gold); }
.carousel-arrows { display: flex; gap: var(--sp-2); }
.carousel-arrows button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border-strong); background: var(--bg-elevated); color: var(--gold); display: grid; place-items: center; transition: all var(--dur) var(--ease); }
.carousel-arrows button:hover { border-color: var(--gold); background: var(--gold-soft-bg); }
.carousel-arrows button:disabled { opacity: 0.35; cursor: default; }
.carousel-arrows svg { width: 18px; height: 18px; }

/* Why cards */
.why-grid { display: grid; gap: var(--sp-4); grid-template-columns: 1fr; }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }
.why-card { padding: var(--sp-5); border: 1px solid var(--border-hair); border-radius: var(--r-md); background: linear-gradient(180deg, var(--bg-surface), var(--bg-base)); transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.why-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.why-card .ico { width: 34px; height: 34px; color: var(--gold); margin-bottom: var(--sp-4); }
.why-card h3 { font-size: 1.02rem; margin-bottom: var(--sp-2); }
.why-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; }

/* =====================================================================
   GAME CARDS / GRIDS (image-based)
   ===================================================================== */
.game-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }
@media (min-width: 560px) { .game-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 820px) { .game-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1080px) { .game-grid { grid-template-columns: repeat(5, 1fr); } }
.game-grid.cols-6 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 560px) { .game-grid.cols-6 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 820px) { .game-grid.cols-6 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1080px) { .game-grid.cols-6 { grid-template-columns: repeat(6, 1fr); } }

.game-card {
  position: relative; display: flex; flex-direction: column; background: var(--bg-surface);
  border: 1px solid var(--border-hair); border-radius: var(--r-md); overflow: hidden;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.game-card:hover { border-color: var(--border-strong); transform: translateY(-3px); box-shadow: var(--shadow-elev); }
.game-card .thumb { position: relative; aspect-ratio: 211 / 260; overflow: hidden; background: var(--bg-elevated); }
.game-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.game-card:hover .thumb img { transform: scale(1.06); }
.game-card .cat-chip { position: absolute; top: 8px; left: 8px; font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-bright); background: rgba(7,7,10,0.72); border: 1px solid var(--border-strong); border-radius: var(--r-pill); padding: 3px 8px; backdrop-filter: blur(4px); }
.game-card .play-overlay { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, rgba(7,7,10,0) 40%, rgba(7,7,10,0.85)); opacity: 0; transition: opacity var(--dur) var(--ease); }
.game-card:hover .play-overlay { opacity: 1; }
.game-card .play-overlay .pbtn { background: var(--grad-gold); color: #15100A; font-weight: 600; font-size: 0.8rem; padding: 8px 16px; border-radius: var(--r-pill); }
.game-card .meta { padding: var(--sp-3) var(--sp-4) var(--sp-4); }
.game-card .meta .name { font-size: 0.92rem; font-weight: 500; line-height: 1.3; display: block; }
.game-card .meta .sub { font-size: 0.72rem; color: var(--text-secondary); margin-top: 2px; }

.games-controls { display: flex; flex-direction: column; gap: var(--sp-4); margin-bottom: var(--sp-6); }
.search-games { position: relative; max-width: 460px; }
.search-games input { width: 100%; min-height: 48px; background: var(--bg-surface); border: 1px solid var(--border-strong); border-radius: var(--r-pill); color: var(--text-primary); padding: 0 var(--sp-5) 0 46px; font-family: inherit; font-size: 0.95rem; }
.search-games input:focus { outline: none; border-color: var(--gold); }
.search-games svg { position: absolute; left: var(--sp-4); top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text-secondary); }

.filter-bar { display: flex; gap: var(--sp-2); overflow-x: auto; padding: var(--sp-2) 0; scrollbar-width: none; }
.filter-bar::-webkit-scrollbar { display: none; }
.filter-pill { flex: 0 0 auto; min-height: 40px; padding: 0 var(--sp-4); border-radius: var(--r-pill); background: transparent; border: 1px solid var(--border-strong); color: var(--text-secondary); font-size: 0.86rem; transition: all var(--dur) var(--ease); }
.filter-pill:hover { color: var(--text-primary); border-color: var(--gold); }
.filter-pill.active { background: var(--grad-gold); color: #15100A; border-color: var(--gold); font-weight: 600; }

.game-cat { padding-top: var(--sp-7); }
.game-cat h2 { font-size: 1.5rem; display: flex; align-items: baseline; gap: var(--sp-3); }
.game-cat h2 .count { font-family: var(--font-mono); font-size: 0.85rem; color: var(--text-secondary); }
.game-cat .game-grid { margin-top: var(--sp-5); }
.no-games { display: none; padding: var(--sp-8) 0; color: var(--text-secondary); text-align: center; }
.no-games.show { display: block; }

/* Featured/trending strip */
.feat-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: var(--sp-4); margin-bottom: var(--sp-5); }

/* =====================================================================
   GAME DETAIL PAGE
   ===================================================================== */
.gd-hero { position: relative; padding-top: var(--sp-5); padding-bottom: var(--sp-7); }
.gd-hero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 360px; background: radial-gradient(80% 100% at 18% 0%, var(--gold-soft-bg2), transparent 62%); pointer-events: none; }
.gd-hero .container { position: relative; }
.gd-grid { display: grid; gap: var(--sp-7); align-items: start; margin-top: var(--sp-5); }
@media (min-width: 880px) { .gd-grid { grid-template-columns: 340px 1fr; gap: var(--sp-8); } }

/* sidebar */
.gd-aside { position: relative; }
@media (min-width: 880px) { .gd-aside { position: sticky; top: calc(var(--header-h) + var(--sp-5)); } }
.gd-poster { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border-strong); box-shadow: var(--glow-gold), var(--shadow-elev); aspect-ratio: 211 / 260; background: var(--bg-elevated); }
.gd-poster img { width: 100%; height: 100%; object-fit: cover; }
.gd-poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7,7,10,0.55)); pointer-events: none; }
.gd-poster .chip { position: absolute; top: 12px; left: 12px; z-index: 2; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: #15100A; background: var(--grad-gold); border-radius: var(--r-pill); padding: 5px 11px; font-weight: 700; }
.gd-side-cta { margin-top: var(--sp-5); display: grid; gap: var(--sp-3); }
.gd-meta-table { margin-top: var(--sp-5); border: 1px solid var(--border-subtle); border-radius: var(--r-md); overflow: hidden; background: var(--bg-surface); }
.gd-meta-table .mt-head { padding: var(--sp-3) var(--sp-4); font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); border-bottom: 1px solid var(--border-subtle); background: var(--gold-soft-bg); }
.gd-meta-table .row { display: flex; justify-content: space-between; align-items: center; padding: var(--sp-3) var(--sp-4); border-bottom: 1px solid var(--border-hair); font-size: 0.9rem; }
.gd-meta-table .row:last-child { border-bottom: 0; }
.gd-meta-table .row .k { color: var(--text-secondary); }
.gd-meta-table .row .v { color: var(--text-primary); font-family: var(--font-mono); font-weight: 500; }

/* body */
.gd-body h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.05; }
.gd-body .gd-tagline { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: var(--sp-3); border: 1px solid var(--border-strong); border-radius: var(--r-pill); padding: 5px 12px; }
.gd-subhead { color: var(--text-secondary); font-size: 1.12rem; line-height: 1.7; margin-top: var(--sp-4); max-width: 60ch; }

/* quick stats row */
.gd-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); margin-top: var(--sp-6); }
@media (min-width: 560px) { .gd-stats { grid-template-columns: repeat(4, 1fr); } }
.gd-stat { padding: var(--sp-4); border: 1px solid var(--border-hair); border-radius: var(--r-md); background: linear-gradient(180deg, var(--bg-surface), var(--bg-base)); text-align: center; }
.gd-stat .gs-v { font-family: var(--font-mono); font-size: 1.3rem; color: var(--gold-bright); display: block; letter-spacing: -0.02em; }
.gd-stat .gs-k { font-size: 0.72rem; color: var(--text-secondary); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.08em; }

.gd-section { margin-top: var(--sp-8); }
.gd-section > h2 { font-size: 1.6rem; margin-bottom: var(--sp-4); display: flex; align-items: center; gap: var(--sp-3); }
.gd-section > h2::before { content: ""; width: 4px; height: 24px; border-radius: 2px; background: var(--grad-gold); flex-shrink: 0; }
.gd-section p { color: var(--text-secondary); line-height: 1.85; margin-bottom: var(--sp-4); }

.gd-features { display: grid; gap: var(--sp-3); grid-template-columns: 1fr; }
@media (min-width: 600px) { .gd-features { grid-template-columns: 1fr 1fr; } }
.gd-feature { display: grid; grid-template-columns: 44px 1fr; gap: var(--sp-3); padding: var(--sp-5); border: 1px solid var(--border-hair); border-radius: var(--r-md); background: var(--bg-surface); transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.gd-feature:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.gd-feature .fi { width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--gold-soft-bg); display: grid; place-items: center; color: var(--gold); }
.gd-feature .fi svg { width: 22px; height: 22px; }
.gd-feature h3 { font-size: 1rem; margin-bottom: 4px; }
.gd-feature p { font-size: 0.88rem; color: var(--text-secondary); margin: 0; line-height: 1.6; }

.gd-tips { display: grid; gap: var(--sp-3); }
.gd-tips li { display: grid; grid-template-columns: 32px 1fr; gap: var(--sp-3); align-items: start; color: var(--text-secondary); line-height: 1.7; padding: var(--sp-3) 0; border-bottom: 1px solid var(--border-hair); }
.gd-tips li:last-child { border-bottom: 0; }
.gd-tips li .tn { font-family: var(--font-mono); color: var(--gold); font-size: 0.9rem; font-weight: 700; }

.gd-steps { counter-reset: gstep; display: grid; gap: var(--sp-2); }
.gd-steps li { display: grid; grid-template-columns: 38px 1fr; gap: var(--sp-4); align-items: start; padding: var(--sp-4); border: 1px solid var(--border-hair); border-radius: var(--r-md); background: var(--bg-surface); }
.gd-steps li::before { counter-increment: gstep; content: counter(gstep); font-family: var(--font-mono); color: #15100A; background: var(--grad-gold); border-radius: var(--r-sm); width: 34px; height: 34px; display: grid; place-items: center; font-size: 0.9rem; font-weight: 700; }
.gd-steps li strong { display: block; margin-bottom: 3px; font-size: 1rem; }
.gd-steps li span { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.6; }

/* mid-page CTA banner */
.gd-cta-banner { margin-top: var(--sp-8); padding: var(--sp-7); border-radius: var(--r-lg); border: 1px solid var(--border-strong); background: radial-gradient(120% 130% at 0% 0%, var(--gold-soft-bg2), transparent 55%), var(--bg-surface); display: grid; gap: var(--sp-4); align-items: center; }
@media (min-width: 640px) { .gd-cta-banner { grid-template-columns: 1fr auto; } }
.gd-cta-banner h3 { font-size: 1.4rem; }
.gd-cta-banner p { color: var(--text-secondary); margin-top: 4px; }

/* why-play trust strip */
.gd-why { display: grid; gap: var(--sp-3); grid-template-columns: 1fr; margin-top: var(--sp-4); }
@media (min-width: 560px) { .gd-why { grid-template-columns: 1fr 1fr; } }
.gd-why .gw { display: flex; gap: var(--sp-3); align-items: flex-start; padding: var(--sp-4); border-radius: var(--r-md); background: var(--bg-surface); border: 1px solid var(--border-hair); }
.gd-why .gw svg { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.gd-why .gw b { display: block; font-weight: 600; margin-bottom: 2px; }
.gd-why .gw span { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.55; }

/* =====================================================================
   ACCORDION (FAQ + game detail FAQ)
   ===================================================================== */
.accordion { border-top: 1px solid var(--border-hair); }
.acc-item { border-bottom: 1px solid var(--border-hair); }
.acc-q { width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); padding: var(--sp-5) 0; background: transparent; border: 0; color: var(--text-primary); font-size: 1.02rem; font-family: inherit; font-weight: 500; min-height: 44px; }
.acc-q .acc-ico { flex-shrink: 0; width: 20px; height: 20px; position: relative; }
.acc-q .acc-ico::before, .acc-q .acc-ico::after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: var(--gold); }
.acc-q .acc-ico::before { width: 14px; height: 1.5px; }
.acc-q .acc-ico::after { width: 1.5px; height: 14px; transition: transform var(--dur) var(--ease); }
.acc-item.open .acc-q .acc-ico::after { transform: translate(-50%, -50%) scaleY(0); }
.acc-a { overflow: hidden; max-height: 0; transition: max-height var(--dur) var(--ease); }
.acc-a-inner { padding: 0 0 var(--sp-5); color: var(--text-secondary); max-width: 74ch; line-height: 1.75; }
.acc-a-inner a { color: var(--gold); }

/* =====================================================================
   FAQ PAGE
   ===================================================================== */
.faq-search { position: relative; max-width: 560px; margin-top: var(--sp-6); }
.faq-search input { width: 100%; min-height: 52px; background: var(--bg-surface); border: 1px solid var(--border-strong); border-radius: var(--r-pill); color: var(--text-primary); padding: 0 var(--sp-5) 0 48px; font-family: inherit; font-size: 1rem; }
.faq-search input:focus { outline: none; border-color: var(--gold); }
.faq-search svg { position: absolute; left: var(--sp-4); top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text-secondary); }
.faq-jump { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-5); }
.faq-jump a { font-size: 0.82rem; color: var(--text-secondary); border: 1px solid var(--border-hair); border-radius: var(--r-pill); padding: 6px 14px; transition: all var(--dur) var(--ease); }
.faq-jump a:hover { color: var(--text-primary); border-color: var(--gold); }
.faq-group { padding-top: var(--sp-7); }
.faq-group > h2 { font-size: 1.4rem; margin-bottom: var(--sp-4); display: flex; align-items: baseline; gap: var(--sp-3); }
.faq-group > h2 .gnum { font-family: var(--font-mono); font-size: 0.8rem; color: var(--gold); }
.faq-noresult { padding: var(--sp-7) 0; color: var(--text-secondary); display: none; }
.faq-noresult.show { display: block; }

/* =====================================================================
   DOWNLOAD
   ===================================================================== */
.dl-zone { padding-block: var(--sp-7); border-top: 1px solid var(--border-hair); }
.zone-head { display: flex; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-6); }
.zone-head .os { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-bright); border: 1px solid var(--border-strong); border-radius: var(--r-pill); padding: 4px 12px; }
.zone-head h2 { font-size: 1.7rem; }
.dl-android { display: grid; gap: var(--sp-7); }
@media (min-width: 900px) { .dl-android { grid-template-columns: 1fr 1.2fr; } }
.sys-req dt { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-secondary); margin-top: var(--sp-4); }
.sys-req dd { margin: 2px 0 0; font-size: 0.98rem; }
.sys-req dd:first-of-type, .sys-req dt:first-child { margin-top: 0; }
.dl-card { background: linear-gradient(180deg, var(--bg-surface), var(--bg-base)); border: 1px solid var(--border-subtle); border-radius: var(--r-lg); padding: var(--sp-6); }
.dl-card .dl-badge { font-family: var(--font-mono); font-size: 0.72rem; color: var(--gold-bright); }
.dl-card .ver { display: flex; gap: var(--sp-5); margin: var(--sp-4) 0 var(--sp-5); flex-wrap: wrap; }
.dl-card .ver div span { font-family: var(--font-mono); font-size: 1.05rem; display: block; color: var(--gold-bright); }
.dl-card .ver div small { color: var(--text-secondary); font-size: 0.72rem; }
.install-steps { counter-reset: step; }
.install-steps li { display: grid; grid-template-columns: 28px 1fr; gap: var(--sp-4); padding: var(--sp-3) 0; align-items: start; }
.install-steps li::before { counter-increment: step; content: counter(step); font-family: var(--font-mono); color: var(--gold); font-size: 0.85rem; padding-top: 2px; }
.install-steps strong { display: block; font-weight: 500; }
.install-steps span { color: var(--text-secondary); font-size: 0.9rem; }
.ios-steps { display: flex; gap: var(--sp-4); overflow-x: auto; padding-bottom: var(--sp-4); scroll-snap-type: x mandatory; scrollbar-width: thin; }
.ios-steps::-webkit-scrollbar { height: 6px; }
.ios-steps::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 999px; }
.ios-step { flex: 0 0 240px; scroll-snap-align: start; background: var(--bg-elevated); border: 1px solid var(--border-hair); border-radius: var(--r-md); padding: var(--sp-5); }
.ios-step .ios-n { font-family: var(--font-mono); font-size: 0.78rem; color: var(--gold); }
.ios-step .ios-ico { width: 36px; height: 36px; color: var(--gold); margin: var(--sp-4) 0; }
.ios-step h3 { font-size: 1.02rem; margin-bottom: var(--sp-2); }
.ios-step p { color: var(--text-secondary); font-size: 0.88rem; }
.ios-note { margin-top: var(--sp-5); padding: var(--sp-4) var(--sp-5); background: var(--gold-soft-bg); border: 1px solid var(--border-subtle); border-radius: var(--r-md); font-size: 0.9rem; color: var(--text-primary); }

/* =====================================================================
   HOW TO PLAY — left rail tabs
   ===================================================================== */
.htp-layout { display: grid; gap: var(--sp-6); padding-bottom: var(--sp-9); }
@media (min-width: 900px) { .htp-layout { grid-template-columns: 240px 1fr; gap: var(--sp-8); align-items: start; } }
.htp-tabs { display: flex; gap: var(--sp-2); overflow-x: auto; scrollbar-width: none; }
.htp-tabs::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .htp-tabs { flex-direction: column; position: sticky; top: calc(var(--header-h) + var(--sp-5)); overflow: visible; } }
.htp-tab { flex: 0 0 auto; text-align: left; min-height: 44px; padding: var(--sp-3) var(--sp-4); background: transparent; border: 1px solid var(--border-hair); border-radius: var(--r-sm); color: var(--text-secondary); font-size: 0.95rem; transition: all var(--dur) var(--ease); }
@media (min-width: 900px) { .htp-tab { border: 0; border-left: 2px solid var(--border-hair); border-radius: 0; } }
.htp-tab:hover { color: var(--text-primary); }
.htp-tab.active { color: var(--text-primary); border-color: var(--gold); background: var(--gold-soft-bg); }
@media (min-width: 900px) { .htp-tab.active { background: transparent; border-left-color: var(--gold); } }
.htp-panel { display: none; }
.htp-panel.active { display: block; animation: fadeIn 0.4s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.htp-panel h2 { font-size: 1.8rem; margin-bottom: var(--sp-2); }
.htp-panel .htp-cat { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.htp-block { margin-top: var(--sp-6); }
.htp-block h3 { font-size: 1.05rem; color: var(--text-primary); margin-bottom: var(--sp-3); padding-bottom: var(--sp-2); border-bottom: 1px solid var(--border-hair); }
.htp-block p { color: var(--text-secondary); line-height: 1.8; }
.htp-tips { display: grid; gap: var(--sp-3); }
.htp-tips li { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-3); color: var(--text-secondary); line-height: 1.7; }
.htp-tips li::before { content: "—"; color: var(--gold); }

/* =====================================================================
   ABOUT
   ===================================================================== */
.pull-quote { font-size: clamp(1.8rem, 5vw, 3.2rem); font-weight: 500; max-width: 24ch; letter-spacing: -0.035em; line-height: 1.14; }
.pull-quote span { background: var(--grad-gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about-story { max-width: var(--maxw-read); }
.about-story p { color: var(--text-secondary); font-size: 1.08rem; line-height: 1.85; margin-bottom: var(--sp-5); }
.about-story p strong { color: var(--text-primary); font-weight: 500; }
.about-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-6) var(--sp-5); padding-block: var(--sp-8); border-block: 1px solid var(--border-hair); }
@media (min-width: 768px) { .about-stats { grid-template-columns: repeat(4, 1fr); } }
.about-stats .num { font-family: var(--font-mono); font-size: clamp(1.8rem, 5vw, 2.8rem); display: block; letter-spacing: -0.03em; color: var(--gold-bright); }
.about-stats .label { color: var(--text-secondary); font-size: 0.85rem; margin-top: var(--sp-1); }
.about-values { max-width: var(--maxw-read); }
.about-values .val { padding-block: var(--sp-6); border-bottom: 1px solid var(--border-hair); }
.about-values .val:last-child { border-bottom: 0; }
.about-values .val h3 { font-size: 1.3rem; margin-bottom: var(--sp-2); }
.about-values .val p { color: var(--text-secondary); line-height: 1.8; }
.mv-grid { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; margin-top: var(--sp-6); }
@media (min-width: 768px) { .mv-grid { grid-template-columns: 1fr 1fr; } }
.mv-card { padding: var(--sp-6); border: 1px solid var(--border-hair); border-radius: var(--r-lg); background: var(--bg-surface); }
.mv-card h3 { font-size: 1.2rem; margin-bottom: var(--sp-3); color: var(--gold-bright); }
.mv-card p { color: var(--text-secondary); line-height: 1.8; }

/* =====================================================================
   CONTACT
   ===================================================================== */
.two-col { display: grid; gap: var(--sp-7); padding-bottom: var(--sp-9); }
@media (min-width: 900px) { .two-col { grid-template-columns: 1.3fr 1fr; gap: var(--sp-8); } }
.form-field { margin-bottom: var(--sp-5); }
.form-field label { display: block; font-size: 0.85rem; color: var(--text-secondary); margin-bottom: var(--sp-2); }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 48px; background: var(--bg-surface); border: 1px solid var(--border-strong); border-radius: var(--r-sm); color: var(--text-primary); padding: var(--sp-3) var(--sp-4); font-family: inherit; font-size: 0.98rem; transition: border-color var(--dur) var(--ease); }
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--gold); }
.form-field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23A9A294' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right var(--sp-4) center; }
.form-status { margin-top: var(--sp-4); font-size: 0.9rem; color: var(--gold-bright); min-height: 1.2em; }
.method { padding: var(--sp-5); border: 1px solid var(--border-hair); border-radius: var(--r-md); background: var(--bg-surface); margin-bottom: var(--sp-4); }
.method h3 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; font-family: var(--font-mono); color: var(--text-secondary); margin-bottom: var(--sp-2); }
.method a { color: var(--gold-bright); font-size: 1.05rem; }
.method p { color: var(--text-secondary); font-size: 0.9rem; margin-top: var(--sp-1); }

/* =====================================================================
   RESPONSIBLE GAMING / LEGAL
   ===================================================================== */
.rg-page { --maxw-read: 74ch; }
.rg-section { max-width: var(--maxw-read); padding-block: var(--sp-7); border-top: 1px solid var(--border-hair); }
.rg-section h2 { font-size: 1.5rem; margin-bottom: var(--sp-4); }
.rg-section p { color: var(--text-secondary); line-height: 1.85; margin-bottom: var(--sp-4); }
.rg-section ul.plain { display: grid; gap: var(--sp-3); margin-top: var(--sp-4); }
.rg-section ul.plain li { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-3); color: var(--text-secondary); line-height: 1.7; }
.rg-section ul.plain li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-top: 0.6em; }
.callout { max-width: var(--maxw-read); margin-block: var(--sp-6); padding: var(--sp-6); border: 1px solid var(--border-subtle); border-left: 3px solid var(--gold); border-radius: var(--r-md); background: var(--gold-soft-bg); }
.callout h2 { font-size: 1.25rem; margin-bottom: var(--sp-3); color: var(--text-primary); }
.callout p { color: var(--text-primary); margin-bottom: var(--sp-2); line-height: 1.8; }
.callout .states { font-weight: 500; }
.rg-support { max-width: var(--maxw-read); padding: var(--sp-6); background: var(--bg-surface); border: 1px solid var(--border-hair); border-radius: var(--r-md); margin-top: var(--sp-6); }
.rg-support a { color: var(--gold-bright); }

.legal-top { padding-top: var(--sp-8); padding-bottom: var(--sp-5); border-bottom: 1px solid var(--border-hair); }
.legal-top h1 { font-size: clamp(2rem, 5vw, 3rem); }
.legal-top .updated { font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-secondary); margin-top: var(--sp-3); }
.legal-body { max-width: var(--maxw-read); padding-block: var(--sp-7); counter-reset: legal; }
.legal-body section { margin-bottom: var(--sp-7); counter-increment: legal; }
.legal-body h2 { font-size: 1.3rem; margin-bottom: var(--sp-3); display: flex; gap: var(--sp-3); align-items: baseline; }
.legal-body h2::before { content: counter(legal, decimal-leading-zero); font-family: var(--font-mono); font-size: 0.85rem; color: var(--gold); }
.legal-body p { color: var(--text-secondary); line-height: 1.85; margin-bottom: var(--sp-4); }
.legal-body ul.dash { display: grid; gap: var(--sp-2); margin: var(--sp-3) 0 var(--sp-4); }
.legal-body ul.dash li { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-3); color: var(--text-secondary); line-height: 1.7; }
.legal-body ul.dash li::before { content: "—"; color: var(--gold); }
.legal-body a { color: var(--gold-bright); }
.legal-callout { padding: var(--sp-5); border: 1px solid var(--border-subtle); border-left: 3px solid var(--gold); border-radius: var(--r-md); background: var(--gold-soft-bg); margin: var(--sp-5) 0; }
.legal-callout p { color: var(--text-primary); margin-bottom: 0; }
.legal-callout strong { color: var(--gold-bright); }

/* =====================================================================
   BONUSES
   ===================================================================== */
.bonus-hero-card { margin-top: var(--sp-6); padding: var(--sp-8) var(--sp-6); border-radius: var(--r-xl); border: 1px solid var(--border-strong); background: radial-gradient(120% 120% at 0% 0%, var(--gold-soft-bg2), transparent 55%), var(--bg-surface); text-align: center; position: relative; overflow: hidden; }
.bonus-hero-card .big { font-family: var(--font-mono); font-size: clamp(3rem, 12vw, 6rem); line-height: 1; background: var(--grad-gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -0.04em; }
.bonus-hero-card p { color: var(--text-secondary); margin-top: var(--sp-3); max-width: 50ch; margin-inline: auto; }
.bonus-hero-card .btn { margin-top: var(--sp-5); }
.bonus-cards { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; margin-top: var(--sp-6); }
@media (min-width: 768px) { .bonus-cards { grid-template-columns: repeat(3, 1fr); } }
.bonus-card { padding: var(--sp-6); border: 1px solid var(--border-hair); border-radius: var(--r-lg); background: var(--bg-surface); position: relative; transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.bonus-card:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.bonus-card .tag { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.bonus-card .val { font-family: var(--font-mono); font-size: 1.9rem; color: var(--gold-bright); margin: var(--sp-3) 0; letter-spacing: -0.03em; }
.bonus-card h3 { font-size: 1.1rem; margin-bottom: var(--sp-2); }
.bonus-card p { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.65; }
.bonus-card ul { margin-top: var(--sp-4); display: grid; gap: var(--sp-2); }
.bonus-card ul li { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-2); font-size: 0.86rem; color: var(--text-secondary); }
.bonus-card ul li::before { content: "✓"; color: var(--gold); }

.steps-vertical { display: grid; gap: 0; max-width: 760px; }
.steps-vertical li { display: grid; grid-template-columns: 48px 1fr; gap: var(--sp-4); padding: var(--sp-5) 0; border-bottom: 1px solid var(--border-hair); }
.steps-vertical li:last-child { border-bottom: 0; }
.steps-vertical .n { font-family: var(--font-mono); font-size: 1.1rem; color: var(--gold); border: 1px solid var(--border-strong); border-radius: var(--r-sm); width: 40px; height: 40px; display: grid; place-items: center; }
.steps-vertical h3 { font-size: 1.05rem; margin-bottom: var(--sp-1); }
.steps-vertical p { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.65; }

.table-wrap { overflow-x: auto; margin-top: var(--sp-5); border: 1px solid var(--border-hair); border-radius: var(--r-md); }
table.data { width: 100%; border-collapse: collapse; min-width: 520px; }
table.data th, table.data td { text-align: left; padding: var(--sp-3) var(--sp-4); border-bottom: 1px solid var(--border-hair); font-size: 0.9rem; }
table.data th { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
table.data td { color: var(--text-secondary); }
table.data td:first-child { color: var(--text-primary); }
table.data tr:last-child td { border-bottom: 0; }

/* =====================================================================
   REFER & EARN
   ===================================================================== */
.refer-flow { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; margin-top: var(--sp-6); }
@media (min-width: 768px) { .refer-flow { grid-template-columns: repeat(3, 1fr); } }
.refer-step { padding: var(--sp-6); border: 1px solid var(--border-hair); border-radius: var(--r-lg); background: var(--bg-surface); }
.refer-step .ri { width: 44px; height: 44px; border-radius: var(--r-md); background: var(--gold-soft-bg); display: grid; place-items: center; color: var(--gold); margin-bottom: var(--sp-4); }
.refer-step .ri svg { width: 24px; height: 24px; }
.refer-step .sn { font-family: var(--font-mono); font-size: 0.72rem; color: var(--gold); }
.refer-step h3 { font-size: 1.1rem; margin: var(--sp-2) 0; }
.refer-step p { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.7; }
.refer-calc { margin-top: var(--sp-6); padding: var(--sp-7); border-radius: var(--r-lg); border: 1px solid var(--border-strong); background: radial-gradient(120% 120% at 100% 0%, var(--gold-soft-bg2), transparent 55%), var(--bg-surface); }
.refer-calc .ex { display: flex; flex-wrap: wrap; gap: var(--sp-6); margin-top: var(--sp-4); }
.refer-calc .ex div span { font-family: var(--font-mono); font-size: 1.8rem; color: var(--gold-bright); display: block; }
.refer-calc .ex div small { color: var(--text-secondary); font-size: 0.8rem; }

/* =====================================================================
   LEADERBOARD
   ===================================================================== */
.lb-podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); margin-top: var(--sp-6); align-items: end; }
.podium { border: 1px solid var(--border-hair); border-radius: var(--r-lg); background: var(--bg-surface); padding: var(--sp-5) var(--sp-4); text-align: center; }
.podium.p1 { border-color: var(--border-strong); background: radial-gradient(120% 100% at 50% 0%, var(--gold-soft-bg2), transparent 60%), var(--bg-surface); padding-block: var(--sp-7); }
.podium .rank { font-family: var(--font-mono); font-size: 1.4rem; color: var(--gold-bright); }
.podium .who { font-weight: 500; margin-top: var(--sp-2); }
.podium .amt { font-family: var(--font-mono); color: var(--text-primary); margin-top: var(--sp-1); font-size: 0.9rem; }
.podium .medal { font-size: 1.6rem; }
.lb-table-wrap { margin-top: var(--sp-6); overflow-x: auto; border: 1px solid var(--border-hair); border-radius: var(--r-md); }
table.lb { width: 100%; border-collapse: collapse; min-width: 540px; }
table.lb th, table.lb td { padding: var(--sp-3) var(--sp-4); border-bottom: 1px solid var(--border-hair); font-size: 0.9rem; text-align: left; }
table.lb th { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
table.lb td.rk { font-family: var(--font-mono); color: var(--gold-bright); }
table.lb td.amt { font-family: var(--font-mono); color: var(--text-primary); }
table.lb tr:last-child td { border-bottom: 0; }
table.lb td { color: var(--text-secondary); }

/* =====================================================================
   BLOG
   ===================================================================== */
.blog-grid { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; margin-top: var(--sp-6); }
@media (min-width: 640px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card { display: flex; flex-direction: column; border: 1px solid var(--border-hair); border-radius: var(--r-lg); overflow: hidden; background: var(--bg-surface); transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.blog-card:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.blog-card .bimg { aspect-ratio: 3 / 2; overflow: hidden; background: #050507; position: relative; }
.blog-card .bimg img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.5s var(--ease); }
.blog-card:hover .bimg img { transform: scale(1.05); }
.blog-card .bbody { padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-2); flex: 1; }
.blog-card .bcat { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.blog-card h3 { font-size: 1.1rem; line-height: 1.3; }
.blog-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; }
.blog-card .bmeta { margin-top: auto; font-size: 0.78rem; color: var(--text-faint); display: flex; gap: var(--sp-3); padding-top: var(--sp-3); }

.article { max-width: var(--maxw-read); }
.article .bimg { aspect-ratio: 3 / 2; border-radius: var(--r-lg); overflow: hidden; margin-block: var(--sp-6); border: 1px solid var(--border-subtle); background: #050507; box-shadow: var(--shadow-elev); }
.article .bimg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.article h2 { font-size: 1.5rem; margin: var(--sp-7) 0 var(--sp-4); }
.article h3 { font-size: 1.15rem; margin: var(--sp-5) 0 var(--sp-3); }
.article p { color: var(--text-secondary); line-height: 1.85; margin-bottom: var(--sp-4); }
.article ul.dash { display: grid; gap: var(--sp-2); margin: var(--sp-3) 0 var(--sp-5); }
.article ul.dash li { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-3); color: var(--text-secondary); line-height: 1.7; }
.article ul.dash li::before { content: "—"; color: var(--gold); }
.article .article-meta { font-size: 0.82rem; color: var(--text-faint); font-family: var(--font-mono); }
.article blockquote { border-left: 3px solid var(--gold); padding-left: var(--sp-5); margin: var(--sp-5) 0; color: var(--text-primary); font-size: 1.1rem; }

/* =====================================================================
   SHARED: bonus strip, get-started, ios teaser, closing band
   ===================================================================== */
.bonus-strip { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-5) var(--sp-6); padding: var(--sp-6); border: 1px solid var(--border-strong); border-left: 3px solid var(--gold); border-radius: var(--r-md); background: linear-gradient(90deg, var(--gold-soft-bg2), transparent 60%); }
.bonus-strip .amount { font-family: var(--font-mono); font-size: clamp(2rem, 6vw, 3rem); color: var(--gold-bright); letter-spacing: -0.03em; }
.bonus-strip .copy { flex: 1; min-width: 220px; }
.bonus-strip .copy h3 { font-size: 1.1rem; }
.bonus-strip .copy p { color: var(--text-secondary); font-size: 0.88rem; margin-top: 4px; }

.ios-teaser { background: linear-gradient(180deg, var(--bg-surface), var(--bg-base)); border: 1px solid var(--border-subtle); border-radius: var(--r-lg); padding: var(--sp-7); display: grid; gap: var(--sp-5); }
@media (min-width: 768px) { .ios-teaser { grid-template-columns: 1fr auto; align-items: center; } }
.ios-teaser h2 { font-size: 1.5rem; }
.ios-teaser p { color: var(--text-secondary); margin-top: var(--sp-2); max-width: 50ch; }

.closing-band { text-align: center; padding-block: var(--sp-9); border-top: 1px solid var(--border-hair); }
.closing-band h2 { font-size: clamp(1.8rem, 5vw, 3rem); max-width: 20ch; margin-inline: auto; }
.closing-band p { color: var(--text-secondary); margin-top: var(--sp-3); max-width: 52ch; margin-inline: auto; }
.closing-band .btn { margin-top: var(--sp-6); }

/* feature list shared */
.feature-list { display: grid; gap: var(--sp-4); grid-template-columns: 1fr; }
@media (min-width: 700px) { .feature-list { grid-template-columns: 1fr 1fr; } }
.feature-list .fl-item { display: grid; grid-template-columns: 40px 1fr; gap: var(--sp-4); padding: var(--sp-5); border: 1px solid var(--border-hair); border-radius: var(--r-md); background: var(--bg-surface); }
.feature-list .fl-item .fi { width: 34px; height: 34px; color: var(--gold); }
.feature-list .fl-item h3 { font-size: 1.02rem; margin-bottom: var(--sp-2); }
.feature-list .fl-item p { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.65; }
