/* ============================================================
   Ludo Clash — Game Landing Page
   Palette: Emerald + Gold primary · Ruby/Sapphire/Amethyst accents
   ============================================================ */

:root {
  --navy:      #0F172A;
  --slate:     #111827;
  --slate-2:   #0B1220;
  --green:     #22C55E;
  --green-br:  #4ADE80;
  --gold:      #FBBF24;
  --gold-br:   #FCD34D;
  --red:       #EF4444;
  --blue:      #3B82F6;
  --purple:    #A855F7;
  --white:     #FFFFFF;
  --ink-1:     #E5E7EB;
  --ink-2:     rgba(229,231,235,0.66);
  --ink-3:     rgba(229,231,235,0.42);

  --glass:        rgba(255,255,255,0.045);
  --glass-strong: rgba(255,255,255,0.075);
  --hair:         rgba(255,255,255,0.10);
  --hair-soft:    rgba(255,255,255,0.06);

  --grad-green: linear-gradient(120deg, #22C55E 0%, #16A34A 100%);
  --grad-gold:  linear-gradient(120deg, #FBBF24 0%, #F59E0B 100%);
  --grad-rainbow: linear-gradient(100deg, #EF4444, #FBBF24 30%, #22C55E 55%, #3B82F6 78%, #A855F7);

  --shadow-card: 0 26px 64px -30px rgba(0,0,0,0.9);
  --glow-green: 0 0 60px -12px rgba(34,197,94,0.55);
  --glow-gold:  0 0 70px -10px rgba(251,191,36,0.55);

  --maxw: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body); background: var(--navy); color: var(--ink-1);
  line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
::selection { background: rgba(34,197,94,0.35); color: #fff; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { position: relative; padding: clamp(72px, 10vw, 140px) 0; }
.page { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 800;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-2);
  padding: 8px 16px; border-radius: 100px; background: var(--glass); border: 1px solid var(--hair);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }
.eyebrow.gold::before { background: var(--gold); box-shadow: 0 0 12px var(--gold); }

.section-head { max-width: 720px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(32px, 5vw, 56px); margin-top: 20px; }
.section-head p { margin-top: 18px; color: var(--ink-2); font-size: clamp(16px, 1.4vw, 19px); }

.text-green { color: var(--green-br); }
.text-gold  { color: var(--gold-br); }
.grad-gold-text { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.grad-rainbow-text { background: var(--grad-rainbow); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 15.5px; padding: 16px 30px;
  border-radius: 14px; color: #fff; overflow: hidden; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s;
}
.btn svg { width: 18px; height: 18px; }
.btn-green { background: var(--grad-green); box-shadow: 0 14px 38px -14px rgba(34,197,94,0.7); }
.btn-green:hover { transform: translateY(-3px); box-shadow: 0 22px 50px -16px rgba(34,197,94,0.9); }
.btn-gold { background: var(--grad-gold); color: #1a1205; box-shadow: 0 14px 38px -14px rgba(251,191,36,0.7); }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 22px 50px -16px rgba(251,191,36,0.9); }
.btn-ghost { background: var(--glass-strong); border: 1px solid var(--hair); color: var(--ink-1); }
.btn-ghost:hover { transform: translateY(-3px); background: rgba(255,255,255,0.11); border-color: rgba(255,255,255,0.22); }
.btn-shine::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.4) 50%, transparent 70%);
  transform: translateX(-130%); transition: transform .8s var(--ease);
}
.btn-shine:hover::after { transform: translateX(130%); }

/* ---------- Background atmosphere ---------- */
#particles { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0.85; }
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 60px 60px; mask-image: radial-gradient(ellipse 75% 55% at 50% 0%, #000, transparent 75%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(72px); pointer-events: none; z-index: 0; }
.orb-green { background: radial-gradient(circle, rgba(34,197,94,0.40), transparent 65%); }
.orb-gold  { background: radial-gradient(circle, rgba(251,191,36,0.32), transparent 65%); }
.orb-blue  { background: radial-gradient(circle, rgba(59,130,246,0.34), transparent 65%); }
.orb-purple{ background: radial-gradient(circle, rgba(168,85,247,0.32), transparent 65%); }

/* ---------- Loader ---------- */
#loader {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
  background: var(--navy); transition: opacity .6s var(--ease), visibility .6s;
}
#loader.done { opacity: 0; visibility: hidden; }
.loader-die {
  width: 72px; height: 72px; border-radius: 16px; background: var(--grad-green);
  display: grid; grid-template-columns: repeat(3,1fr); grid-template-rows: repeat(3,1fr);
  padding: 12px; gap: 4px; box-shadow: var(--glow-green); animation: spinDie 1.3s var(--ease) infinite;
}
.loader-die i { background: #fff; border-radius: 50%; opacity: 0; }
.loader-die i:nth-child(1), .loader-die i:nth-child(5), .loader-die i:nth-child(9) { opacity: 1; }
.loader-txt { font-family: var(--font-display); font-weight: 800; letter-spacing: 0.3em; font-size: 12px; color: var(--ink-3); margin-top: 24px; text-transform: uppercase; }
@keyframes spinDie { 0% { transform: rotate(0) scale(1); } 50% { transform: rotate(180deg) scale(1.1); } 100% { transform: rotate(360deg) scale(1); } }

/* ============================================================
   NAV
   ============================================================ */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background .4s, border-color .4s, backdrop-filter .4s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(10,15,28,0.74); backdrop-filter: blur(18px) saturate(140%); border-bottom: 1px solid var(--hair-soft); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { height: 44px; width: auto; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 18px; }
.brand-name b { color: var(--green-br); } .brand-name i { color: var(--gold-br); font-style: normal; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { font-weight: 600; font-size: 14.5px; color: var(--ink-2); padding: 10px 14px; border-radius: 10px; transition: .25s; }
.nav-links a:hover { color: #fff; background: var(--glass); }
.nav-cta { margin-left: 10px; }
.nav-cta .btn { padding: 11px 20px; font-size: 14px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; background: var(--glass); border: 1px solid var(--hair); align-items: center; justify-content: center; }
.nav-toggle span { width: 18px; height: 2px; background: #fff; position: relative; display: block; transition: .3s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: #fff; transition: .3s; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav.open .nav-toggle span { background: transparent; }
.nav.open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav.open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 70px; overflow: hidden; }
.hero .orb-green { width: 560px; height: 560px; top: -160px; left: -160px; }
.hero .orb-gold  { width: 480px; height: 480px; bottom: -200px; right: -120px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(36px, 5vw, 72px); align-items: center; position: relative; z-index: 2; }
.hero h1 { font-size: clamp(38px, 5.6vw, 74px); margin-top: 22px; text-wrap: balance; }
.hero p.lead { margin-top: 22px; color: var(--ink-2); font-size: clamp(16px, 1.45vw, 18.5px); max-width: 540px; text-wrap: pretty; }
.hero-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; margin-top: 28px; max-width: 520px; }
.feat-check { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.feat-check .tick { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: rgba(34,197,94,0.16); border: 1px solid rgba(34,197,94,0.4); flex-shrink: 0; }
.feat-check .tick svg { width: 13px; height: 13px; stroke: var(--green-br); }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.social-proof { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 34px; }
.social-proof span { white-space: nowrap; font-size: 12.5px; font-weight: 600; color: var(--ink-2); padding: 7px 13px; border-radius: 100px; background: var(--glass); border: 1px solid var(--hair); }

/* phone carousel */
.hero-stage { position: relative; display: flex; justify-content: center; align-items: center; min-height: 600px; }
.phone {
  position: relative; width: 290px; aspect-ratio: 9 / 19.7; border-radius: 42px; z-index: 2;
  background: linear-gradient(160deg, #1c2540, #0a0f1e); border: 2px solid rgba(255,255,255,0.14);
  padding: 9px; box-shadow: var(--shadow-card), var(--glow-green);
}
.phone::before { content: ""; position: absolute; top: 15px; left: 50%; transform: translateX(-50%); width: 80px; height: 21px; border-radius: 12px; background: #05070e; z-index: 5; }
.phone .screen { width: 100%; height: 100%; border-radius: 33px; overflow: hidden; position: relative; background: var(--slate-2); }
.carousel { width: 100%; height: 100%; position: relative; }
.carousel .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s var(--ease); }
.carousel .slide.active { opacity: 1; }
.carousel .slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-dots { position: absolute; bottom: -34px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 4; }
.carousel-dots button { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.25); transition: .3s; }
.carousel-dots button.on { background: var(--green-br); width: 22px; border-radius: 4px; }

/* placeholder screen */
.ph-screen {
  width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,0.035) 0 12px, rgba(255,255,255,0.012) 12px 24px), var(--slate-2);
}
.ph-screen .pl { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 11px; letter-spacing: 0.1em; color: rgba(255,255,255,0.5); border: 1px dashed rgba(255,255,255,0.22); border-radius: 9px; padding: 8px 12px; }

/* floating dice */
.die {
  position: absolute; border-radius: 22%; display: grid; padding: 0.16em; gap: 0.09em; z-index: 1;
  grid-template-columns: repeat(3,1fr); grid-template-rows: repeat(3,1fr);
  box-shadow: 0 20px 40px -14px rgba(0,0,0,0.7), inset 0 0 0 2px rgba(255,255,255,0.18);
  will-change: transform;
}
.die i { background: rgba(255,255,255,0.95); border-radius: 50%; opacity: 0; align-self: center; justify-self: center; width: 100%; height: 100%; }
.die.d-red { background: linear-gradient(150deg, #f87171, #dc2626); }
.die.d-green { background: linear-gradient(150deg, #4ade80, #16a34a); }
.die.d-blue { background: linear-gradient(150deg, #60a5fa, #2563eb); }
.die.d-gold { background: linear-gradient(150deg, #fcd34d, #f59e0b); }
/* pip patterns */
.die.p1 i:nth-child(5) { opacity: 1; }
.die.p2 i:nth-child(1), .die.p2 i:nth-child(9) { opacity: 1; }
.die.p3 i:nth-child(1), .die.p3 i:nth-child(5), .die.p3 i:nth-child(9) { opacity: 1; }
.die.p5 i:nth-child(1), .die.p5 i:nth-child(3), .die.p5 i:nth-child(5), .die.p5 i:nth-child(7), .die.p5 i:nth-child(9) { opacity: 1; }
.die.p6 i:nth-child(1), .die.p6 i:nth-child(3), .die.p6 i:nth-child(4), .die.p6 i:nth-child(6), .die.p6 i:nth-child(7), .die.p6 i:nth-child(9) { opacity: 1; }

/* ============================================================
   GAME MODES
   ============================================================ */
.modes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.mode {
  position: relative; padding: 38px 32px 40px; border-radius: 24px; background: var(--glass);
  border: 1px solid var(--hair); backdrop-filter: blur(14px); overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s, background .4s; display: flex; flex-direction: column;
}
.mode:hover { transform: translateY(-8px); background: var(--glass-strong); }
.mode .m-ic { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; border: 1px solid var(--hair); margin-bottom: 24px; }
.mode .m-ic svg { width: 32px; height: 32px; }
.mode.classic .m-ic { background: linear-gradient(160deg, rgba(59,130,246,0.2), rgba(34,197,94,0.12)); }
.mode.quick .m-ic { background: linear-gradient(160deg, rgba(168,85,247,0.2), rgba(59,130,246,0.12)); }
.mode.battle .m-ic { background: linear-gradient(160deg, rgba(251,191,36,0.24), rgba(239,68,68,0.16)); }
.mode h3 { font-size: 26px; }
.mode > p { margin-top: 14px; color: var(--ink-2); font-size: 15.5px; }
.mode .m-list { margin-top: 20px; display: flex; flex-direction: column; gap: 9px; }
.mode .m-list li { list-style: none; display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--ink-1); }
.mode .m-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.mode.battle {
  border-color: rgba(251,191,36,0.4); background: linear-gradient(170deg, rgba(251,191,36,0.10), rgba(239,68,68,0.05));
  box-shadow: var(--glow-gold);
}
.mode.battle::after { content: ""; position: absolute; inset: 0; border-radius: 24px; padding: 1.5px; background: var(--grad-gold); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0.7; }
.badge-pop { position: absolute; top: 22px; right: 22px; font-family: var(--font-display); font-weight: 800; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: #1a1205; background: var(--grad-gold); padding: 6px 12px; border-radius: 100px; z-index: 2; }

/* ============================================================
   BOARD SKINS
   ============================================================ */
.skins .orb-purple { width: 520px; height: 520px; top: -100px; right: -180px; }
.skins-rail { display: flex; gap: 16px; overflow-x: auto; padding: 6px 4px 24px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.skin-card { flex: 0 0 220px; scroll-snap-align: start; border-radius: 18px; overflow: hidden; border: 1px solid var(--hair); background: var(--slate); transition: transform .4s var(--ease), border-color .4s; }
.skin-card:hover { transform: translateY(-6px); border-color: var(--hair); }
.skin-board { aspect-ratio: 1; position: relative; display: grid; place-items: center; }
.skin-board .ph-board { position: absolute; inset: 0; opacity: 0.4; }
.skin-meta { padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; }
.skin-meta h4 { font-size: 18px; }
.skin-meta .lock { white-space: nowrap; font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 100px; }
.lock.free { color: var(--green-br); background: rgba(34,197,94,0.14); border: 1px solid rgba(34,197,94,0.34); }
.lock.gold { color: var(--gold-br); background: rgba(251,191,36,0.14); border: 1px solid rgba(251,191,36,0.34); }

/* mini ludo board placeholder (pure CSS quadrants) */
.mini-board { width: 78%; aspect-ratio: 1; border-radius: 14px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; box-shadow: var(--shadow-card); border: 3px solid rgba(255,255,255,0.9); }
.mini-board span { position: relative; }
.mini-board span::after { content: ""; position: absolute; inset: 22%; border-radius: 8px; background: rgba(255,255,255,0.92); }
.mini-board .q1 { background: var(--red); } .mini-board .q2 { background: var(--green); }
.mini-board .q3 { background: var(--blue); } .mini-board .q4 { background: var(--gold); }

.unlock-panel { margin-top: 40px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; padding: 36px; border-radius: 24px; background: var(--glass); border: 1px solid var(--hair); }
.unlock-panel h3 { font-size: 26px; }
.unlock-panel p { color: var(--ink-2); margin-top: 12px; }
.unlock-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.unlock-tags span { font-size: 13px; font-weight: 600; padding: 7px 13px; border-radius: 10px; background: var(--glass-strong); border: 1px solid var(--hair); }
.progress-demo { display: flex; flex-direction: column; gap: 14px; }
.progress-row { }
.progress-row .pr-top { display: flex; justify-content: space-between; font-size: 13.5px; margin-bottom: 8px; }
.progress-row .pr-top b { font-family: var(--font-display); }
.bar { height: 10px; border-radius: 6px; background: rgba(255,255,255,0.08); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 6px; background: var(--grad-green); width: 0; transition: width 1.4s var(--ease); }
.bar.gold > i { background: var(--grad-gold); }

/* ============================================================
   SOCIAL GAMING
   ============================================================ */
.social .orb-blue { width: 500px; height: 500px; top: 0; left: -180px; }
.social-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.social-card { position: relative; padding: 34px; border-radius: 22px; background: var(--glass); border: 1px solid var(--hair); backdrop-filter: blur(14px); overflow: hidden; transition: transform .4s var(--ease), background .4s; }
.social-card:hover { transform: translateY(-6px); background: var(--glass-strong); }
.social-card.wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 0.9fr; gap: 30px; align-items: center; }
.social-card h3 { font-size: 23px; }
.social-card h3 .tag { font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-br); background: rgba(34,197,94,0.14); border: 1px solid rgba(34,197,94,0.3); padding: 4px 9px; border-radius: 100px; margin-left: 8px; vertical-align: middle; }
.social-card p { margin-top: 12px; color: var(--ink-2); font-size: 15px; }
.social-list { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 9px; }
.social-list span { font-size: 13.5px; font-weight: 600; padding: 8px 14px; border-radius: 10px; background: var(--glass-strong); border: 1px solid var(--hair); }

/* friend bubbles mockup */
.bubble-stage { position: relative; min-height: 260px; border-radius: 18px; background: radial-gradient(circle at 50% 40%, rgba(34,197,94,0.10), transparent 70%), var(--slate-2); border: 1px solid var(--hair); overflow: hidden; }
.bubble { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 6px; animation: floaty 6s ease-in-out infinite; }
.bubble .av { width: 58px; height: 58px; border-radius: 50%; border: 2px solid; position: relative; overflow: hidden; background: linear-gradient(150deg, #334155, #1e293b); }
.bubble .av img { width: 100%; height: 100%; object-fit: cover; }
.bubble .dot { position: absolute; bottom: 22px; right: -2px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--slate-2); }
.bubble .nm { font-size: 11px; font-weight: 600; color: var(--ink-2); }
.dot.on { background: var(--green); } .dot.play { background: var(--gold); }

/* ============================================================
   RANKS & LEADERBOARDS
   ============================================================ */
.ranks .orb-gold { width: 500px; height: 500px; top: -120px; right: -160px; }
.ladder { display: flex; gap: 10px; overflow-x: auto; padding: 10px 4px 26px; scrollbar-width: thin; }
.rank-step { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 96px; padding: 20px 12px; border-radius: 18px; background: var(--glass); border: 1px solid var(--hair); transition: transform .3s; }
.rank-step:hover { transform: translateY(-5px); }
.rank-badge { width: 52px; height: 52px; display: grid; place-items: center; clip-path: polygon(50% 0, 100% 28%, 100% 72%, 50% 100%, 0 72%, 0 28%); font-family: var(--font-display); font-weight: 800; color: #0b1220; font-size: 18px; }
.rank-badge-img { width: 64px; height: 64px; object-fit: contain; filter: drop-shadow(0 8px 20px rgba(0,0,0,0.4)); }
.rank-step .rn { font-size: 13px; font-weight: 700; }
.rank-step .ri { font-size: 11px; color: var(--ink-3); }
.boards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.board { padding: 28px; border-radius: 20px; background: var(--glass); border: 1px solid var(--hair); }
.board h4 { font-size: 19px; display: flex; align-items: center; gap: 10px; }
.board h4 .bd-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--hair); }
.board > p { color: var(--ink-2); font-size: 14.5px; margin-top: 10px; }
.lb-rows { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.lb-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--glass-strong); }
.lb-row .rk { font-family: var(--font-display); font-weight: 800; width: 22px; color: var(--ink-2); font-size: 14px; }
.lb-row.top .rk { color: var(--gold-br); }
.lb-row .av-sm { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(150deg, #334155, #1e293b); overflow: hidden; flex-shrink: 0; }
.lb-row .av-sm img { width: 100%; height: 100%; object-fit: cover; }
.lb-row .who { font-size: 13.5px; font-weight: 600; flex: 1; }
.lb-row .pts { font-size: 13px; font-weight: 700; color: var(--gold-br); font-family: var(--font-display); }

/* ============================================================
   FAIR PLAY
   ============================================================ */
.fair .orb-green { width: 480px; height: 480px; top: 0; left: -160px; }
.fair-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 64px); align-items: center; }
.fair-checks { display: grid; gap: 12px; margin-top: 8px; }
.fair-checks .fc { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; background: var(--glass); border: 1px solid var(--hair); font-weight: 600; }
.fair-checks .fc .tick { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(34,197,94,0.16); border: 1px solid rgba(34,197,94,0.4); flex-shrink: 0; }
.fair-checks .fc .tick svg { width: 14px; height: 14px; stroke: var(--green-br); }
.fair-shield { position: relative; display: grid; place-items: center; min-height: 360px; }
.shield-vis { width: 220px; height: 240px; display: grid; place-items: center; clip-path: polygon(50% 0, 100% 18%, 100% 60%, 50% 100%, 0 60%, 0 18%); background: linear-gradient(160deg, rgba(34,197,94,0.18), rgba(251,191,36,0.1)); border: 1px solid var(--hair); position: relative; }
.shield-vis::before { content: ""; position: absolute; inset: 0; clip-path: polygon(50% 0, 100% 18%, 100% 60%, 50% 100%, 0 60%, 0 18%); padding: 2px; background: var(--grad-green); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.shield-vis svg { width: 80px; height: 80px; stroke: var(--green-br); }
.notice { margin-top: 30px; padding: 26px 28px; border-radius: 18px; background: linear-gradient(150deg, rgba(239,68,68,0.08), rgba(251,191,36,0.05)); border: 1px solid rgba(251,191,36,0.28); }
.notice h4 { font-size: 17px; color: var(--gold-br); display: flex; align-items: center; gap: 10px; }
.notice p { margin-top: 10px; color: var(--ink-2); font-size: 14.5px; }

/* ============================================================
   REWARDS
   ============================================================ */
.rewards .orb-gold { width: 520px; height: 520px; bottom: -160px; left: -140px; }
.rewards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.reward { position: relative; padding: 32px 26px; border-radius: 20px; background: var(--glass); border: 1px solid var(--hair); backdrop-filter: blur(14px); overflow: hidden; transition: transform .4s var(--ease), border-color .4s; }
.reward:hover { transform: translateY(-8px); border-color: rgba(251,191,36,0.34); }
.reward .r-ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(160deg, rgba(251,191,36,0.2), rgba(34,197,94,0.1)); border: 1px solid var(--hair); margin-bottom: 22px; }
.reward .r-ic svg { width: 28px; height: 28px; }
.reward h4 { font-size: 19px; }
.reward p { margin-top: 12px; color: var(--ink-2); font-size: 14.5px; }

/* ============================================================
   SCREENSHOTS GALLERY
   ============================================================ */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.shot { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--hair); aspect-ratio: 9 / 17; background: var(--slate-2); cursor: pointer; transition: transform .4s var(--ease), border-color .4s; }
.shot:hover { transform: translateY(-6px) scale(1.02); border-color: rgba(34,197,94,0.4); }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; font-size: 12.5px; font-weight: 700; background: linear-gradient(transparent, rgba(8,12,22,0.92)); }
.shot .ph-screen .pl { font-size: 10px; }

/* lightbox */
#lightbox { position: fixed; inset: 0; z-index: 500; display: none; place-items: center; background: rgba(5,8,16,0.92); backdrop-filter: blur(8px); padding: 30px; }
#lightbox.open { display: grid; }
#lightbox img { max-height: 86vh; max-width: 90vw; border-radius: 22px; border: 1px solid var(--hair); box-shadow: var(--shadow-card); }
#lightbox .lb-close { position: absolute; top: 24px; right: 28px; width: 46px; height: 46px; border-radius: 12px; background: var(--glass-strong); border: 1px solid var(--hair); color: #fff; font-size: 22px; }
#lightbox .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%; background: var(--glass-strong); border: 1px solid var(--hair); color: #fff; font-size: 22px; display: grid; place-items: center; }
#lightbox .lb-prev { left: 24px; } #lightbox .lb-next { right: 24px; }

/* ============================================================
   DOWNLOAD CTA
   ============================================================ */
.download { position: relative; }
.dl-panel { position: relative; border-radius: 32px; overflow: hidden; padding: clamp(48px, 8vw, 96px) 32px; text-align: center; background: linear-gradient(160deg, rgba(34,197,94,0.12), rgba(251,191,36,0.06)); border: 1px solid var(--hair); }
.dl-panel .orb-green { width: 460px; height: 460px; top: -200px; left: -100px; }
.dl-panel .orb-gold { width: 420px; height: 420px; bottom: -220px; right: -100px; }
.dl-panel .inner { position: relative; z-index: 2; max-width: 720px; margin-inline: auto; }
.dl-panel h2 { font-size: clamp(34px, 5vw, 60px); margin-top: 18px; }
.dl-panel p { margin-top: 20px; color: var(--ink-2); font-size: clamp(16px, 1.5vw, 19px); }
.dl-actions { display: flex; gap: 16px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.store-btn { display: inline-flex; align-items: center; gap: 12px; padding: 13px 24px 13px 20px; border-radius: 14px; background: var(--slate-2); border: 1px solid var(--hair); transition: transform .35s var(--ease), border-color .35s; }
.store-btn:hover { transform: translateY(-3px); border-color: rgba(255,255,255,0.25); }
.store-btn svg { width: 27px; height: 27px; flex-shrink: 0; }
.store-btn .st { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-btn .st small { font-size: 10.5px; letter-spacing: 0.06em; color: var(--ink-3); text-transform: uppercase; }
.store-btn .st strong { font-family: var(--font-display); font-size: 16px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--hair-soft); background: var(--slate-2); padding: 64px 0 34px; position: relative; z-index: 1; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.footer .brand img { height: 50px; }
.footer-blurb { color: var(--ink-2); font-size: 14.5px; max-width: 320px; margin-top: 16px; }
.footer-col h4 { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--ink-2); font-size: 14.5px; padding: 7px 0; transition: .25s; }
.footer-col a:hover { color: #fff; transform: translateX(4px); }
.footer-bottom { margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--hair-soft); display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; color: var(--ink-3); font-size: 13.5px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--glass); border: 1px solid var(--hair); transition: .3s; }
.footer-social a:hover { transform: translateY(-3px); background: var(--glass-strong); }
.footer-social svg { width: 17px; height: 17px; }

/* ============================================================
   Reveal + anim
   ============================================================ */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes orbDrift { 0%,100% { transform: translate(0,0); } 50% { transform: translate(36px,-28px); } }
.orb-green, .orb-blue { animation: orbDrift 17s ease-in-out infinite; }
.orb-gold, .orb-purple { animation: orbDrift 20s ease-in-out infinite reverse; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; } html { scroll-behavior: auto; } }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-stage { order: -1; min-height: 540px; }
  .hero-feats, .hero p.lead { margin-inline: auto; }
  .hero-actions, .social-proof { justify-content: center; }
  .modes-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .boards { grid-template-columns: 1fr; }
  .rewards-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .fair-grid { grid-template-columns: 1fr; }
  .fair-shield { order: -1; min-height: 280px; }
  .social-card.wide { grid-template-columns: 1fr; }
  .unlock-panel { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-links { display: flex; position: absolute; top: 76px; left: 16px; right: 16px; flex-direction: column; align-items: stretch; gap: 4px; padding: 16px; background: rgba(10,15,28,0.97); border: 1px solid var(--hair); border-radius: 18px; backdrop-filter: blur(20px); }
  .nav.open .nav-links a { padding: 14px 16px; }
  .nav.open .nav-cta .btn { width: 100%; }
  .hero { padding: 50px 0; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-stage { order: -1; min-height: 450px; }
  .hero h1 { font-size: 26px; }
  .hero-feats { grid-template-columns: 1fr; }
  .hero-actions { justify-content: center; }
  .hero-actions .btn { flex: 1; min-width: 140px; }
  .social-grid { grid-template-columns: 1fr; }
  .modes-grid { grid-template-columns: 1fr; }
  .skins-rail { gap: 12px; }
  .skin-card { flex: 0 0 180px; }
  .rewards-grid, .gallery-grid { grid-template-columns: 1fr; }
  .boards { grid-template-columns: 1fr; }
  .ladder { gap: 8px; padding: 8px 2px 20px; }
  .rank-step { min-width: 80px; padding: 14px 8px; gap: 8px; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .phone { width: 220px; }
  .hero-stage { min-height: 420px; }
}
}

.footer-address { margin-top: 20px; font-style: normal; font-size: 13.5px; line-height: 1.7; color: var(--ink-2); display: flex; flex-direction: column; gap: 4px; }
.footer-address strong { font-family: var(--font-display); color: var(--ink-1); letter-spacing: 0.03em; font-size: 13px; }
.footer-address a { color: var(--green-br); }
.footer-address a:hover { text-decoration: underline; }
