/* ============================================================
   PlayDen — Compete. Win. Rise.
   Premium esports landing. Indigo/blue brand on near-black.
   ============================================================ */

:root {
  /* Canvas — brand near-black + panels */
  --bg:        #0A0A0F;
  --bg-2:      #0E0E15;
  --bg-pure:   #060609;
  --surface:   #1A1A22;
  --surface-2: #24242E;

  /* Ink */
  --text:  #FFFFFF;
  --muted: #9CA3AF;
  --faint: #6B7280;

  /* Accents — indigo primary, blue secondary, green = win, amber = rating */
  --violet:        #6366F1; /* brand primary (indigo) */
  --violet-bright: #818CF8; /* lighter indigo */
  --violet-deep:   #4338CA; /* deep indigo */
  --blue:          #3B82F6; /* brand secondary */
  --blue-bright:   #60A5FA;
  --lime:          #22C55E; /* success — wins / prizes / points */
  --lime-deep:     #16A34A;
  --amber:         #F59E0B; /* ratings */
  --danger:        #EF4444;

  /* Lines / glass */
  --line:    color-mix(in oklch, var(--text) 9%, transparent);
  --line-2:  color-mix(in oklch, var(--text) 16%, transparent);
  --glass:   color-mix(in oklch, var(--surface) 62%, transparent);

  --radius:   22px;
  --radius-sm: 14px;
  --radius-lg: 34px;

  --shell: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  position: relative;
}

/* Ambient page glows */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 40% at 78% -4%, color-mix(in oklch, var(--violet) 26%, transparent), transparent 70%),
    radial-gradient(50% 36% at 6% 8%, color-mix(in oklch, var(--violet-deep) 20%, transparent), transparent 72%);
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--violet); color: white; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: 28px;
}

section { position: relative; z-index: 1; }

/* ---------- Typography helpers ---------- */
.kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--violet-bright);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker::before {
  content: "";
  width: 22px; height: 1px;
  background: currentColor;
  opacity: 0.7;
}

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

.h-sec {
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 700;
}
.lead {
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 19px);
  max-width: 52ch;
}

.grad-text {
  background: linear-gradient(100deg, var(--text) 30%, var(--violet-bright) 75%, var(--lime));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: 999px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(180deg, var(--violet-bright), var(--violet));
  color: white;
  box-shadow: 0 10px 30px -8px color-mix(in oklch, var(--violet) 70%, transparent),
              inset 0 1px 0 color-mix(in oklch, white 35%, transparent);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px -10px color-mix(in oklch, var(--violet) 85%, transparent),
              inset 0 1px 0 color-mix(in oklch, white 45%, transparent);
}
.btn-ghost {
  background: var(--glass);
  border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover { background: var(--surface); transform: translateY(-2px); }

/* store buttons */
.stores { display: flex; gap: 14px; flex-wrap: wrap; }
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px 11px 16px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}
.store:hover { transform: translateY(-3px); border-color: var(--line-2); background: var(--surface-2); }
.store svg { width: 26px; height: 26px; flex: none; }
.store-tx { display: flex; flex-direction: column; line-height: 1.1; }
.store-tx small { font-size: 10.5px; color: var(--faint); letter-spacing: 0.04em; }
.store-tx b { font-family: var(--font-display); font-size: 16px; font-weight: 700; }

/* ---------- Glass card ---------- */
.glass {
  background: linear-gradient(180deg,
    color-mix(in oklch, var(--surface) 70%, transparent),
    color-mix(in oklch, var(--bg-2) 70%, transparent));
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-radius: var(--radius);
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* Spring variant — gentle overshoot for stats, cards, badges */
.reveal.spring {
  transform: translateY(20px) scale(0.94);
  transition: opacity 0.6s var(--ease), transform 0.7s var(--spring);
}
.reveal.spring.in { transform: none; }

/* Per-child stagger: parent gets .stagger, children inherit incremental delay */
.stagger > * { opacity: 0; }
.stagger.in > * { opacity: 1; animation: rise-in 0.7s var(--spring) both; }
.stagger.in > *:nth-child(1) { animation-delay: 0.04s; }
.stagger.in > *:nth-child(2) { animation-delay: 0.10s; }
.stagger.in > *:nth-child(3) { animation-delay: 0.16s; }
.stagger.in > *:nth-child(4) { animation-delay: 0.22s; }
.stagger.in > *:nth-child(5) { animation-delay: 0.28s; }
@keyframes rise-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

/* Stat number pop when count lands */
.stat-num { font-variant-numeric: tabular-nums; display: inline-block; will-change: transform; }
.stat-num.pop { animation: num-pop 0.5s var(--spring); }
@keyframes num-pop {
  0%   { transform: scale(1); }
  35%  { transform: scale(1.12); }
  100% { transform: scale(1); }
}

/* Progress / xp bars fill from zero (JS sets target when in view) */
.xp-bar i { transition: width 1.1s var(--ease); transition-delay: 0.15s; }

/* Idle float for feature-section phones + breathing glow */
@media (prefers-reduced-motion: no-preference) {
  .feat .phone { animation: float 6s ease-in-out infinite; }
  .phone-glow { animation: breathe 5s ease-in-out infinite; }
  .live-dot { animation: pulse-dot 1.6s ease-in-out infinite; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
@keyframes breathe {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.05); }
}

/* Live pulse dot */
.live-dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--lime); margin-right: 7px; vertical-align: middle;
  box-shadow: 0 0 0 0 color-mix(in oklch, var(--lime) 70%, transparent);
}
@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 color-mix(in oklch, var(--lime) 65%, transparent); }
  70%  { box-shadow: 0 0 0 7px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .reveal.spring { transform: none; }
  .stagger > * { opacity: 1; }
  .stagger.in > * { animation: none; }
  .stat-num.pop { animation: none; }
  .xp-bar i { transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in oklch, var(--bg-2) 72%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.nav-in {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.brand-logo { height: 28px; width: auto; display: block; }
footer .brand-logo { height: 30px; }
/* legacy mark (used only in press asset tiles fallback) */
.brand .mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(150deg, var(--violet-bright), var(--violet-deep));
  display: grid; place-items: center;
  box-shadow: 0 6px 18px -6px color-mix(in oklch, var(--violet) 80%, transparent), inset 0 1px 0 rgba(255,255,255,.4);
  position: relative;
}
.brand .mark::after {
  content: "";
  position: absolute;
  width: 12px; height: 12px;
  border-radius: 3px 9px 3px 9px;
  background: white;
  transform: rotate(45deg);
  box-shadow: 0 0 12px rgba(255,255,255,.6);
}
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a {
  font-size: 14.5px; font-weight: 600; color: var(--muted);
  padding: 9px 14px; border-radius: 10px;
  transition: color 0.25s, background 0.25s;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }

/* ---------- Tactile hover lifts ---------- */
.step, .tcard, .reward-card, .feat-item .ic {
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s, background 0.35s, color 0.35s;
}
.step:hover, .tcard:hover, .reward-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  box-shadow: 0 22px 50px -24px color-mix(in oklch, var(--violet) 55%, transparent);
}
.feat-item:hover .ic {
  transform: translateY(-2px);
  color: var(--text);
  background: var(--violet);
  border-color: transparent;
  box-shadow: 0 10px 24px -10px color-mix(in oklch, var(--violet) 80%, transparent);
}
.store svg, .btn svg { transition: transform 0.35s var(--spring); }
.store:hover svg { transform: translateY(-1px) scale(1.06); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; }

/* ---------- Mobile nav (hamburger + drawer) ---------- */
.nav-toggle {
  width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line-2); background: var(--glass);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  transition: background 0.25s;
}
.nav-toggle:hover { background: var(--surface); }
.nav-toggle span {
  display: block; width: 19px; height: 2px; border-radius: 2px; background: var(--text);
  transition: transform 0.35s var(--ease), opacity 0.25s;
}
.nav.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0;
  flex-direction: column;
  padding: 14px 28px 26px;
  background: color-mix(in oklch, var(--bg-2) 95%, transparent);
  -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
}
.mobile-menu a.m-link {
  padding: 15px 6px; font-family: var(--font-display); font-weight: 600; font-size: 19px;
  letter-spacing: -0.01em; color: var(--text);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
}
.mobile-menu a.m-link::after { content: "›"; color: var(--faint); font-size: 22px; }
.mobile-menu .m-cta { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.mobile-menu .m-cta .btn { width: 100%; padding: 16px; font-size: 16px; }
.nav.menu-open .mobile-menu {
  display: flex;
  animation: menu-drop 0.35s var(--ease) both;
}
@keyframes menu-drop {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: none; }
}

@media (max-width: 940px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
}
@media (prefers-reduced-motion: reduce) {
  .nav.menu-open .mobile-menu { animation: none; }
  .nav-toggle span { transition: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(60px, 9vw, 120px); overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 7px 7px 16px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--line-2);
  font-size: 13px; color: var(--muted);
  margin-bottom: 26px;
}
.hero-badge b { color: var(--text); font-weight: 700; }
.hero-badge .pill {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  letter-spacing: 0.05em;
  background: color-mix(in oklch, var(--lime) 20%, transparent);
  color: var(--lime);
  padding: 4px 10px; border-radius: 999px;
}
.hero h1 {
  font-size: clamp(48px, 8.2vw, 104px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.045em;
  margin-bottom: 24px;
}
.hero h1 .l2 { color: var(--violet-bright); }
.hero h1 .l3 {
  background: linear-gradient(95deg, var(--violet-bright), var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: clamp(16px, 1.5vw, 20px); margin-bottom: 34px; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-stats {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}
.hstat .n {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  display: flex; align-items: baseline; gap: 2px;
}
.hstat .n .suf { color: var(--violet-bright); }
.hstat .lab { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin-top: 4px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { order: -1; }
}

/* ============================================================
   PHONE MOCKUP
   ============================================================ */
.phone-wrap { position: relative; display: grid; place-items: center; perspective: 1600px; }
.phone-glow {
  position: absolute; inset: -10% -6%;
  background: radial-gradient(46% 40% at 50% 42%, color-mix(in oklch, var(--violet) 45%, transparent), transparent 70%);
  filter: blur(20px);
  z-index: 0;
}
.phone {
  position: relative;
  z-index: 2;
  width: min(300px, 82vw);
  aspect-ratio: 300 / 620;
  border-radius: 46px;
  background: linear-gradient(160deg, oklch(0.28 0.02 292), oklch(0.16 0.015 292));
  padding: 11px;
  box-shadow:
    0 50px 90px -30px rgba(0,0,0,0.75),
    0 0 0 1.5px var(--line-2),
    inset 0 1px 2px rgba(255,255,255,0.18);
}
.phone.tilt { transform: rotateY(-14deg) rotateX(4deg) rotateZ(1deg); }
.phone-screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: var(--bg-pure);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.6);
}
.phone-notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 26px; border-radius: 999px;
  background: #000; z-index: 9;
}

/* in-app screen scaffolding */
.appscr { position: absolute; inset: 0; display: flex; flex-direction: column; font-size: 12px; }
.app-status {
  height: 46px; display: flex; align-items: flex-end; justify-content: space-between;
  padding: 0 22px 6px; font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--text);
}
.app-status .dots { display: flex; gap: 4px; align-items: center; }
.app-status .dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--text); display: block; }
.app-pad { padding: 8px 18px 0; flex: 1; overflow: hidden; }

.app-h {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px;
}
.app-h .ttl { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.app-h .sub { font-size: 11px; color: var(--faint); }
.app-av { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(140deg, var(--violet-bright), var(--violet-deep)); display: grid; place-items: center; font-weight: 800; font-size: 13px; font-family: var(--font-display); }

/* tab bar */
.app-tabs {
  height: 62px; display: flex; align-items: center; justify-content: space-around;
  border-top: 1px solid var(--line);
  background: color-mix(in oklch, var(--bg-2) 80%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.app-tab { width: 22px; height: 22px; border-radius: 7px; background: var(--surface-2); position: relative; }
.app-tab.on { background: var(--violet); box-shadow: 0 0 16px color-mix(in oklch, var(--violet) 70%, transparent); }

/* ============================================================
   MARQUEE / STAT BAND
   ============================================================ */
.band { border-block: 1px solid var(--line); background: color-mix(in oklch, var(--bg-pure) 50%, transparent); }
.band-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.band-cell { padding: 38px 24px; text-align: center; border-left: 1px solid var(--line); }
.band-cell:first-child { border-left: none; }
.band-cell .n { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -0.03em; }
.band-cell .n .suf { color: var(--lime); }
.band-cell .lab { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); margin-top: 8px; }
@media (max-width: 760px) {
  .band-in { grid-template-columns: repeat(2, 1fr); }
  .band-cell:nth-child(2) { border-left: none; }
  .band-cell:nth-child(3), .band-cell:nth-child(4) { border-top: 1px solid var(--line); }
  .band-cell:nth-child(3) { border-left: none; }
}

/* ============================================================
   FEATURE SECTIONS
   ============================================================ */
.feat { padding-block: clamp(70px, 10vw, 130px); }
.feat-head { max-width: 640px; margin-bottom: 60px; }
.feat-head .kicker { margin-bottom: 22px; }
.feat-head h2 { margin-bottom: 22px; }

.feat-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.feat-row.flip .feat-copy { order: 2; }
.feat-copy h3 { font-size: clamp(28px, 3.2vw, 42px); margin-bottom: 20px; }
.feat-copy .lead { margin-bottom: 30px; }

.feat-list { display: flex; flex-direction: column; gap: 16px; }
.feat-item { display: flex; gap: 16px; align-items: flex-start; }
.feat-item .ic {
  flex: none; width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--violet-bright);
}
.feat-item .ic svg { width: 20px; height: 20px; }
.feat-item h4 { font-family: var(--font-display); font-weight: 700; font-size: 16px; margin-bottom: 3px; letter-spacing: -0.01em; }
.feat-item p { font-size: 14px; color: var(--muted); }

.feat-visual { display: grid; place-items: center; }

@media (max-width: 860px) {
  .feat-row { grid-template-columns: 1fr; gap: 48px; }
  .feat-row.flip .feat-copy { order: 0; }
  .feat-visual { order: -1; }
}

/* ============================================================
   APP SCREEN CONTENT BITS (reused inside phones)
   ============================================================ */
.scr-card {
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 12px;
  margin-bottom: 10px;
}
.tourney {
  position: relative;
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 10px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--violet-deep), oklch(0.22 0.04 292));
  border: 1px solid var(--line-2);
}
.tourney .cover {
  position: absolute; inset: 0; z-index: 0; opacity: 0.5;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.08) 0 8px, transparent 8px 18px);
}
.tourney > * { position: relative; z-index: 1; }
.tourney .tag { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.1em; background: var(--lime); color: #11210a; padding: 3px 8px; border-radius: 6px; font-weight: 700; display: inline-block; }
.tourney h5 { font-family: var(--font-display); font-size: 15px; font-weight: 700; margin: 10px 0 4px; }
.tourney .meta { display: flex; gap: 12px; font-size: 10.5px; color: rgba(255,255,255,.78); font-family: var(--font-mono); }
.tourney .prize { font-family: var(--font-display); font-weight: 800; font-size: 18px; margin-top: 8px; }
.tourney .prize span { color: var(--lime); }

.lb-row { display: flex; align-items: center; gap: 10px; padding: 9px 4px; border-bottom: 1px solid var(--line); }
.lb-row:last-child { border-bottom: none; }
.lb-rank { font-family: var(--font-mono); font-weight: 700; font-size: 13px; width: 22px; color: var(--faint); text-align: center; }
.lb-rank.top { color: var(--lime); }
.lb-av { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 11px; flex: none; }
.lb-name { font-weight: 700; font-size: 12.5px; flex: 1; }
.lb-name small { display: block; font-weight: 500; font-size: 10px; color: var(--faint); font-family: var(--font-mono); }
.lb-pts { font-family: var(--font-mono); font-weight: 700; font-size: 12px; color: var(--violet-bright); }

/* progress / xp */
.xp-bar { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; margin-top: 8px; }
.xp-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--violet), var(--lime)); }

/* ============================================================
   STEPS
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step {
  padding: 30px;
  position: relative;
}
.step .num {
  font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--violet-bright);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 12px;
}
.step .num::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.step h4 { font-family: var(--font-display); font-size: 21px; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.02em; }
.step p { font-size: 14.5px; color: var(--muted); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ============================================================
   REWARDS
   ============================================================ */
.rewards-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; }
.reward-hero {
  padding: 44px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
  min-height: 360px;
  background:
    radial-gradient(80% 60% at 100% 0%, color-mix(in oklch, var(--violet) 30%, transparent), transparent 60%),
    linear-gradient(180deg, var(--surface), var(--bg-2));
}
.coin {
  width: 88px; height: 88px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--lime), var(--lime-deep));
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 30px; color: #18260b;
  box-shadow: 0 14px 34px -8px color-mix(in oklch, var(--lime) 60%, transparent), inset 0 2px 4px rgba(255,255,255,.5);
}
.reward-side { display: grid; gap: 24px; }
.reward-card { padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.reward-card .big { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px,3vw,42px); letter-spacing: -0.03em; }
.reward-card .big .suf { color: var(--lime); }
@media (max-width: 820px) { .rewards-grid { grid-template-columns: 1fr; } }

/* ============================================================
   COMMUNITY / TESTIMONIALS
   ============================================================ */
.tcols { columns: 3; column-gap: 22px; }
.tcard {
  break-inside: avoid;
  padding: 26px;
  margin-bottom: 22px;
}
.tcard p { font-size: 15px; color: var(--text); margin-bottom: 20px; line-height: 1.55; }
.tcard .who { display: flex; align-items: center; gap: 12px; }
.tcard .who .av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; flex: none; }
.tcard .who b { font-family: var(--font-display); font-size: 14px; display: block; }
.tcard .who small { font-size: 12px; color: var(--faint); font-family: var(--font-mono); }
.tcard .stars { color: var(--amber); font-size: 13px; margin-bottom: 14px; letter-spacing: 2px; }
@media (max-width: 900px) { .tcols { columns: 2; } }
@media (max-width: 600px) { .tcols { columns: 1; } }

/* ============================================================
   CTA
   ============================================================ */
.cta-wrap { padding-block: clamp(60px, 9vw, 120px); }
.cta {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(48px, 7vw, 92px);
  text-align: center;
  background:
    radial-gradient(70% 120% at 50% -20%, color-mix(in oklch, var(--violet) 42%, transparent), transparent 60%),
    linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line-2);
}
.cta::after {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background-image: repeating-linear-gradient(135deg, color-mix(in oklch, var(--text) 3%, transparent) 0 1px, transparent 1px 22px);
  pointer-events: none;
}
.cta > * { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(38px, 6vw, 76px); font-weight: 800; letter-spacing: -0.04em; margin-bottom: 22px; }
.cta .lead { margin: 0 auto 36px; text-align: center; }
.cta .stores { justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
footer { border-top: 1px solid var(--line); padding-block: 64px 40px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; margin-bottom: 56px; }
.foot-brand p { color: var(--muted); font-size: 14px; max-width: 30ch; margin-top: 18px; }
.foot-col h5 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); margin-bottom: 18px; }
.foot-col a { display: block; color: var(--muted); font-size: 14.5px; padding: 6px 0; transition: color 0.2s; }
.foot-col a:hover { color: var(--text); }
.foot-bot { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 28px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.foot-bot small { color: var(--faint); font-size: 13px; font-family: var(--font-mono); }
.socials { display: flex; gap: 10px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); transition: background 0.25s, transform 0.25s; }
.socials a:hover { background: var(--surface-2); transform: translateY(-2px); }
.socials svg { width: 17px; height: 17px; color: var(--muted); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .foot-grid { grid-template-columns: 1fr; gap: 30px; } }
@media (max-width: 540px) { .shell { padding-inline: 20px; } }
