/* ============================================================
   DRIFT BATTLE — Landing Page Styles
   ============================================================
   SWAP GUIDE:
   - --accent-silver   : adjust the core silver tone
   - --bg-primary      : main dark background color
   - --font-game       : swap Orbitron for another game font if desired
   ============================================================ */

/* ============================================================
   VISITOR AGE GATE — 18+ confirmation modal
   ============================================================ */

/* Prevent scroll + hide skip link when gate is active */
html.age-locked { overflow: hidden; }
html.age-locked body { overflow: hidden; }

.age-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483000; /* highest — above every other modal */
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 5, 15, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-family: 'Rajdhani', sans-serif;
}

.age-gate-panel {
  position: relative;
  max-width: 440px;
  width: 100%;
  background: linear-gradient(180deg, #0a0a15 0%, #0d0d1e 100%);
  border: 1px solid rgba(0, 212, 255, 0.22);
  border-radius: 14px;
  box-shadow:
    0 0 0 1px rgba(0,212,255,0.08) inset,
    0 20px 60px rgba(0,0,0,0.6),
    0 0 40px rgba(0,212,255,0.15);
  padding: 36px 32px 28px;
  text-align: center;
  animation: ageGateIn 0.28s ease-out;
}

@keyframes ageGateIn {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

.age-gate-brand {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.28em;
  color: #ffffff;
  margin-bottom: 22px;
}
.age-gate-brand span { color: #00D4FF; }

.age-gate-heading {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 14px;
  outline: none;
}

.age-gate-body {
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.72);
  margin: 0 0 20px;
}

.age-gate-question {
  font-size: 1rem;
  color: #ffffff;
  margin: 0 0 22px;
  letter-spacing: 0.02em;
}

.age-gate-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.age-gate-btn {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 8px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.1s ease, background 0.15s ease, border-color 0.15s ease;
}

.age-gate-btn-yes {
  background: linear-gradient(90deg, #00D4FF 0%, #7B2FFF 100%);
  color: #05050f;
  border-color: rgba(0, 212, 255, 0.6);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}
.age-gate-btn-yes:hover { transform: translateY(-1px); }

.age-gate-btn-no {
  background: transparent;
  color: rgba(255,255,255,0.75);
  border-color: rgba(255,255,255,0.18);
}
.age-gate-btn-no:hover {
  color: #ffffff;
  border-color: rgba(255,255,255,0.35);
}

.age-gate-btn:focus-visible {
  outline: 2px solid #00D4FF;
  outline-offset: 3px;
}

.age-gate-legal {
  font-size: 0.68rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
  margin: 0;
}
.age-gate-legal a {
  color: rgba(0,212,255,0.75);
  text-decoration: underline;
}
.age-gate-legal a:hover { color: #00D4FF; }

/* Denied panel */
.age-gate-panel-deny {
  border-color: rgba(255, 45, 120, 0.35);
  box-shadow:
    0 0 0 1px rgba(255,45,120,0.08) inset,
    0 20px 60px rgba(0,0,0,0.6),
    0 0 40px rgba(255,45,120,0.15);
}
.age-gate-deny-icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
  filter: grayscale(30%);
}
.age-gate-deny-note {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.55;
  margin: 14px 0 0;
}

/* Reduced motion — kill the pop-in animation */
@media (prefers-reduced-motion: reduce) {
  .age-gate-panel { animation: none; }
}

/* Mobile tightening */
@media (max-width: 520px) {
  .age-gate-panel { padding: 28px 22px 22px; }
  .age-gate-heading { font-size: 1.15rem; }
  .age-gate-body { font-size: 0.88rem; }
}


/* ============================================================
   ACCESSIBILITY — WCAG 2.1 AA
   ============================================================ */

/* ── Screen-reader only utility ─────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Skip to main content link ──────────────────────────── */
/* Hidden off-screen until focused via keyboard Tab */
.skip-link {
  position: absolute;
  left: 12px;
  top: 0;
  transform: translateY(-150%);
  z-index: 9999;
  background: #00D4FF;
  color: #05050f;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 0 0 6px 6px;
  transition: transform 0.15s ease;
  outline: none;
}
.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
}

/* ── Global focus-visible ring ──────────────────────────── */
/* Remove default outlines only when we provide our own */
*:focus { outline: none; }

*:focus-visible {
  outline: 2px solid #00D4FF;
  outline-offset: 3px;
  border-radius: 3px;
}

/* Tighter ring on small circular elements */
.account-btn:focus-visible,
.ob-close:focus-visible,
.co-close:focus-visible,
.rrm-close:focus-visible {
  outline: 2px solid #00D4FF;
  outline-offset: 2px;
}

/* Buttons and links inside panels */
.ap-btn:focus-visible,
.co-btn-primary:focus-visible,
.co-btn-ghost:focus-visible,
.ob-cta:focus-visible,
.ea-btn:focus-visible,
.rrm-cta:focus-visible {
  outline: 2px solid #00D4FF;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(0,212,255,0.18);
}

/* Inputs */
.ap-input:focus-visible,
.co-input:focus-visible,
.ob-input:focus-visible,
.ea-input:focus-visible,
.up-input:focus-visible {
  outline: none; /* border-color conveys focus for inputs */
  border-color: #00D4FF;
  box-shadow: 0 0 0 2px rgba(0,212,255,0.28);
}

/* Link focus */
a:focus-visible {
  outline: 2px solid #00D4FF;
  outline-offset: 2px;
  border-radius: 2px;
}

/* ── Minimum touch targets ──────────────────────────────── */
.account-btn,
.ap-btn,
.co-close,
.ob-close,
.rrm-close,
.co-btn-primary,
.co-btn-ghost,
.ob-cta,
.ob-toggle,
.ob-quick,
.ob-pill,
.card-copy-btn,
.ea-btn {
  min-height: 44px;
}

/* ── Ensure links in disclosure notes are underlined ────── */
.ea-legal-note a,
.ob-consent-note a,
.ob-data-notice a,
.co-consent-note a,
.pm-disclosure a,
.shop-legal-note a,
.suc-disclosure a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── ARIA live regions ──────────────────────────────────── */
[aria-live] { /* ensure live regions are in normal flow */ }

/* ── Improved contrast for muted/secondary text ─────────── */
/* --text-secondary was #9a9a9a on #0F0F0F bg → ~5.2:1 ✓    */
/* --text-muted was #555555 on #0F0F0F bg → ~2.4:1 ✗         */
/* Bump muted text to at minimum #767676 (~4.5:1 on near-black) */
:root {
  --text-muted: #767676;
}

/* Panel/modal muted text lifted for better contrast */
.ap-forgot-link,
.ap-back-link,
.co-link,
.pm-sub-trust {
  color: rgba(255,255,255,0.50);
}

/* ── Reduced motion ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  /* Disable all CSS animations and transitions globally */
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  /* Disable the infinite hero grid scroll */
  .hero-grid::before {
    animation: none;
  }

  /* Disable beam animations */
  .beam {
    animation: none;
    opacity: 0;
  }

  /* Disable spinner */
  .suc-spinner {
    animation: none;
    border-top-color: rgba(0,212,255,0.5);
    border-color: rgba(0,212,255,0.5);
  }

  /* Disable fade-in-up so content is immediately visible */
  .fade-in-up {
    opacity: 1 !important;
    transform: none !important;
  }

  /* Disable SVG stroke animations */
  .ob-check-circle,
  .ob-check-mark,
  .suc-circle,
  .suc-checkmark {
    stroke-dashoffset: 0 !important;
    animation: none !important;
  }
}

/* ── High-contrast mode support ─────────────────────────── */
@media (forced-colors: active) {
  .site-header,
  .account-panel,
  .ob-overlay,
  .co-overlay,
  .rrm-overlay {
    border: 1px solid ButtonText;
  }
  .skip-link {
    forced-color-adjust: none;
    background: Highlight;
    color: HighlightText;
  }
}

/* ---- Reset ---- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Rajdhani', sans-serif;
  background: #0F0F0F;
  color: #c0c0c0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- CSS Custom Properties ---- */
:root {
  /* Base backgrounds */
  --bg-primary:        #0F0F0F;
  --bg-card:           #141414;
  --bg-card-hover:     #1c1c1c;
  --bg-track:          #2A2A2A;

  /* Text */
  --text-primary:      #f2f2f2;
  --text-secondary:    #9a9a9a;
  --text-muted:        #555555;

  /* Neon accent palette */
  --neon-blue:         #00D4FF;
  --neon-blue-dim:     #0088CC;
  --neon-pink:         #FF2D78;
  --neon-pink-dim:     #AA0055;
  --neon-purple:       #7B2FFF;
  --neon-cyan:         #00FFFF;

  /* Neon glow helpers */
  --glow-blue:         rgba(0,212,255,0.22);
  --glow-blue-hi:      rgba(0,212,255,0.45);
  --glow-pink:         rgba(255,45,120,0.22);
  --glow-purple:       rgba(123,47,255,0.22);

  /* Keep silver for body text & subtle UI */
  --silver:            #c8c8c8;
  --silver-bright:     #eeeeee;
  --silver-dim:        #7a7a7a;

  /* Borders */
  --border-dark:       rgba(255,255,255,0.05);
  --border-silver:     rgba(200,200,200,0.12);
  --border-silver-hi:  rgba(200,200,200,0.30);
  --border-neon:       rgba(0,212,255,0.28);
  --border-neon-hi:    rgba(0,212,255,0.55);
  --border-pink:       rgba(255,45,120,0.28);

  /* Typography */
  --font-game: 'Orbitron', sans-serif;
  --font-body: 'Rajdhani', sans-serif;

  /* Transitions */
  --t-fast:       0.18s ease;
  --t-med:        0.38s ease;
  --t-slow:       0.75s ease;
  --t-cinematic:  1.1s cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --max-w: 1200px;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar         { width: 5px; }
::-webkit-scrollbar-track   { background: var(--bg-primary); }
::-webkit-scrollbar-thumb   { background: #282828; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #444; }

/* ---- Container ---- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}


/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 36px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.65) 0%, transparent 100%);
  transition: background var(--t-med), padding var(--t-med);
}

/* ── Header user-state widget (shown when logged in) ───── */
.header-user-state {
  display: none; /* shown via JS */
  align-items: center;
  gap: 14px;
  order: -1; /* sits left of sound button */
}

.hus-username {
  font-family: var(--font-game);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--text-primary);
  text-transform: uppercase;
}

.hus-sep {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.hus-credits {
  font-family: var(--font-game);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--neon-cyan);
  text-shadow: 0 0 8px rgba(0,255,255,0.45);
}

.hus-dash-link {
  font-family: var(--font-body);
  font-size: 0.60rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--neon-blue-dim);
  text-decoration: none;
  border: 1px solid rgba(0,212,255,0.25);
  border-radius: 2px;
  padding: 4px 10px;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.hus-dash-link:hover {
  color: var(--neon-cyan);
  border-color: rgba(0,212,255,0.55);
}

.hus-logout {
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: none;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 2px;
  padding: 4px 10px;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.hus-logout:hover {
  color: var(--neon-pink);
  border-color: rgba(255,45,120,0.35);
}

/* ── Header right-side controls wrapper ─────────────────── */
.header-right {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto; /* push to far right */
}

/* ── Account icon button ─────────────────────────────────── */
.account-wrap {
  position: relative;
}

.account-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.18s ease, border-color 0.18s ease,
              color 0.18s ease, box-shadow 0.18s ease;
}

.account-btn svg {
  width: 18px;
  height: 18px;
  pointer-events: none;
}

.account-btn:hover {
  background: rgba(0,212,255,0.08);
  border-color: rgba(0,212,255,0.35);
  color: var(--neon-blue-dim);
}

/* Active state when logged in */
.account-btn.account-btn-in {
  border-color: rgba(0,212,255,0.5);
  background: rgba(0,212,255,0.10);
  color: var(--neon-cyan);
  box-shadow: 0 0 14px rgba(0,212,255,0.22);
}

/* ── Account dropdown panel ──────────────────────────────── */
.account-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 264px;
  background: rgba(8, 8, 22, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(0,212,255,0.18);
  border-radius: 8px;
  padding: 20px;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.75),
    0 0 30px rgba(0,212,255,0.04);
  /* Hidden by default */
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 300;
}

.account-panel.account-panel-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Panel section title */
.ap-title {
  font-family: var(--font-body);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--neon-blue-dim);
  margin-bottom: 14px;
}

/* Login form inputs */
.ap-input {
  display: block;
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.88rem;
  padding: 9px 12px;
  margin-bottom: 8px;
  outline: none;
  transition: border-color 0.18s ease;
}

.ap-input::placeholder { color: var(--text-muted); }

.ap-input:focus {
  border-color: rgba(0,212,255,0.4);
}

/* Login submit button */
.ap-btn {
  display: block;
  width: 100%;
  padding: 10px;
  background: linear-gradient(135deg, rgba(0,212,255,0.16), rgba(123,47,255,0.12));
  border: 1px solid rgba(0,212,255,0.38);
  border-radius: 4px;
  color: var(--neon-cyan);
  font-family: var(--font-game);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 4px;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.ap-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, rgba(0,212,255,0.28), rgba(123,47,255,0.20));
  border-color: rgba(0,212,255,0.65);
  box-shadow: 0 0 20px rgba(0,212,255,0.2);
}

.ap-btn:disabled {
  opacity: 0.5;
  cursor: default;
}

/* Forgot-password link (below login form) */
.ap-forgot-link {
  display: block;
  width: 100%;
  text-align: center;
  background: none;
  border: none;
  padding: 0;
  margin-top: 14px;
  color: rgba(0, 212, 255, 0.80);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}
.ap-forgot-link:hover { color: rgba(0, 212, 255, 1); }

/* Back arrow link in forgot-password sub-view */
.ap-back-link {
  display: block;
  background: none;
  border: none;
  padding: 0;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.35);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  cursor: pointer;
  text-align: left;
  transition: color 0.15s ease;
}
.ap-back-link:hover { color: rgba(255, 255, 255, 0.75); }

/* Success confirmation line (forgot-password sent) */
.ap-success {
  font-family: var(--font-body);
  font-size: 0.73rem;
  font-weight: 500;
  color: rgba(0, 255, 136, 0.85);
  line-height: 1.55;
  letter-spacing: 0.03em;
  margin-top: 12px;
}

/* Login error line */
.ap-error {
  font-size: 0.72rem;
  color: var(--neon-pink);
  letter-spacing: 0.03em;
  margin-top: 10px;
  min-height: 1rem;
  line-height: 1.4;
}

/* Logged-in panel: username */
#accountPanelUser {
  flex-direction: column;
  gap: 12px;
}

.ap-username {
  font-family: var(--font-game);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-primary);
  text-transform: uppercase;
  word-break: break-all;
}

/* Logged-in panel: logout button */
.ap-logout-btn {
  display: block;
  width: 100%;
  padding: 9px;
  background: rgba(255,45,120,0.05);
  border: 1px solid rgba(255,45,120,0.22);
  border-radius: 4px;
  color: rgba(255,45,120,0.7);
  font-family: var(--font-game);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.ap-logout-btn:hover {
  background: rgba(255,45,120,0.12);
  border-color: rgba(255,45,120,0.5);
  color: var(--neon-pink);
}

/* ── Hero welcome message ─────────────────────────────────── */
.hero-welcome {
  display: none; /* shown by JS when logged in */
  font-family: var(--font-game);
  font-size: clamp(0.65rem, 1.4vw, 0.82rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--neon-cyan);
  text-shadow: 0 0 22px rgba(0,255,255,0.45);
  margin-bottom: 14px;
  animation: fadeInDown 0.5s ease forwards;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Account summary card ─────────────────────────────────── */
.account-summary-card {
  display: none; /* shown by JS when logged in */
  background: rgba(8, 8, 20, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0,212,255,0.32);
  border-radius: 8px;
  padding: 24px 28px;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  box-shadow:
    0 0 0 1px rgba(0,212,255,0.06),
    0 16px 52px rgba(0,0,0,0.65),
    0 0 60px rgba(0,212,255,0.07);
  animation: fadeInUp 0.45s ease forwards;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.asc-label {
  font-family: var(--font-body);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--neon-blue-dim);
  margin-bottom: 18px;
}

/* Stats row: credits | divider | referrals */
.asc-stats-row {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.asc-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.asc-stat-label {
  font-family: var(--font-body);
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.asc-stat-value {
  font-family: var(--font-game);
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(90deg, #00FFFF, #00D4FF, #7B2FFF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 10px rgba(0,212,255,0.4));
}

/* VIP purchase confirmation message */
.asc-vip-confirm {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff4444;
  margin: 10px 0 0;
  padding: 7px 10px;
  border-left: 2px solid #ff4444;
  background: rgba(255, 68, 68, 0.07);
  border-radius: 0 3px 3px 0;
  line-height: 1.4;
}

.asc-divider {
  width: 1px;
  height: 38px;
  background: rgba(255,255,255,0.06);
  margin: 0 22px;
  flex-shrink: 0;
}

/* Referral link row */
.asc-ref-label {
  font-family: var(--font-body);
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.asc-ref-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,212,255,0.04);
  border: 1px solid rgba(0,212,255,0.15);
  border-radius: 5px;
  padding: 11px 14px;
}

.asc-ref-link {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--neon-blue-dim);
  letter-spacing: 0.03em;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-copy-btn {
  font-family: var(--font-game);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--neon-cyan);
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.32);
  border-radius: 3px;
  padding: 5px 13px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.card-copy-btn:hover {
  background: rgba(0,212,255,0.16);
  border-color: rgba(0,212,255,0.58);
  box-shadow: 0 0 14px rgba(0,212,255,0.18);
}

/* ============================================================
   REFERRAL PROGRESS BAR — inside account summary card
   ============================================================ */
.asc-ref-progress {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 20px;
}

.asc-rp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.asc-rp-title {
  font-family: var(--font-body);
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.asc-rp-fraction {
  font-family: var(--font-game);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--neon-blue-dim);
}

/* Track wrapper — tall enough for nodes + reward badge above */
.asc-rp-track {
  position: relative;
  height: 56px;
  margin-bottom: 10px;
}

/* Dimmed background rail */
.asc-rp-track-bg {
  position: absolute;
  top: 50%;
  left: 8px;
  right: 8px;
  height: 3px;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.07);
  border-radius: 3px;
}

/* Animated neon fill rail */
.asc-rp-track-fill {
  position: absolute;
  top: 50%;
  left: 8px;
  height: 3px;
  width: 0%;
  transform: translateY(-50%);
  background: linear-gradient(90deg, #00D4FF 0%, #7B2FFF 100%);
  border-radius: 3px;
  transition: width 0.75s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 10px rgba(0,212,255,0.55), 0 0 22px rgba(0,212,255,0.2);
}

/* Node row — spans full width, vertically centred on track */
.asc-rp-node-row {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Base node */
.asc-rp-node {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(10,12,20,0.95);
  border: 2px solid rgba(255,255,255,0.16);
  position: relative;
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  flex-shrink: 0;
  z-index: 1;
}

/* Completed node — neon blue fill + glow */
.asc-rp-node.rp-done {
  background: linear-gradient(135deg, #00D4FF, #7B2FFF);
  border-color: #00D4FF;
  box-shadow:
    0 0 10px rgba(0,212,255,0.8),
    0 0 24px rgba(0,212,255,0.35);
  animation: rpNodePulse 2.4s ease-in-out infinite;
}

@keyframes rpNodePulse {
  0%, 100% {
    box-shadow: 0 0 10px rgba(0,212,255,0.8), 0 0 24px rgba(0,212,255,0.35);
  }
  50% {
    box-shadow: 0 0 18px rgba(0,212,255,1), 0 0 40px rgba(0,212,255,0.5);
  }
}

/* Third node is slightly larger */
.asc-rp-node-last {
  width: 20px;
  height: 20px;
}

/* $5 CREDIT badge floats above node 3 */
.asc-rp-reward-badge {
  position: absolute;
  bottom: calc(100% + 7px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  pointer-events: none;
  transition: opacity 0.4s ease, filter 0.4s ease;
  opacity: 0.32;
  filter: saturate(0.3);
  white-space: nowrap;
}

.asc-rp-reward-badge.rp-unlocked {
  opacity: 1;
  filter: saturate(1);
  animation: rewardGlow 2s ease-in-out infinite;
}

@keyframes rewardGlow {
  0%, 100% { filter: saturate(1) drop-shadow(0 0 6px rgba(0,255,136,0.6)); }
  50%       { filter: saturate(1.2) drop-shadow(0 0 14px rgba(0,255,136,0.9)); }
}

.asc-rp-reward-amt {
  font-family: var(--font-game);
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1;
  color: #00ff88;
  text-shadow: 0 0 12px rgba(0,255,136,0.7);
}

.asc-rp-reward-lbl {
  font-family: var(--font-body);
  font-size: 0.42rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #00ff88;
}

/* Progress hint / microcopy */
.asc-rp-hint {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  text-align: center;
  line-height: 1.4;
}

/* ============================================================
   REFERRAL REWARD MODAL
   ============================================================ */
.rrm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  padding: 20px;
}

.rrm-overlay.rrm-visible {
  opacity: 1;
  pointer-events: auto;
}

.rrm-modal {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: rgba(8,10,18,0.92);
  border: 1px solid rgba(0,212,255,0.35);
  border-radius: 12px;
  padding: 40px 36px 32px;
  text-align: center;
  box-shadow:
    0 0 60px rgba(0,212,255,0.12),
    0 0 120px rgba(123,47,255,0.08),
    inset 0 1px 0 rgba(0,212,255,0.12);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transform: scale(0.94) translateY(10px);
  transition: transform 0.38s cubic-bezier(0.34,1.56,0.64,1), opacity 0.35s ease;
  opacity: 0;
}

.rrm-overlay.rrm-visible .rrm-modal {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Decorative top border glow */
.rrm-modal::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,0.7), rgba(123,47,255,0.7), transparent);
  border-radius: 2px;
}

.rrm-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 30px; height: 30px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, color 0.18s ease;
}
.rrm-close:hover { background: rgba(255,45,120,0.18); color: #fff; }
.rrm-close svg { width: 12px; height: 12px; }

.rrm-brand {
  font-family: var(--font-game);
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.3);
  margin-bottom: 18px;
}
.rrm-brand span { color: var(--neon-blue-dim); }

.rrm-headline {
  font-family: var(--font-game);
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  margin-bottom: 12px;
  text-shadow: 0 0 30px rgba(0,212,255,0.2);
}

.rrm-body {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-secondary, rgba(255,255,255,0.65));
  line-height: 1.55;
  margin-bottom: 28px;
}
.rrm-accent {
  color: #00ff88;
  text-shadow: 0 0 10px rgba(0,255,136,0.5);
}

/* ── Mini 3-step preview inside modal ─────────────────────── */
.rrm-preview {
  margin-bottom: 28px;
  padding: 0 8px;
}

.rrm-preview-track {
  position: relative;
  height: 50px;
  margin-bottom: 8px;
}

.rrm-preview-bg {
  position: absolute;
  top: 50%; left: 8px; right: 8px;
  height: 3px;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.07);
  border-radius: 3px;
}

/* Full fill shown in preview — it's aspirational/instructional */
.rrm-preview-fill {
  position: absolute;
  top: 50%; left: 8px;
  height: 3px;
  width: calc(100% - 16px);
  transform: translateY(-50%);
  background: linear-gradient(90deg, #00D4FF, #7B2FFF);
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(0,212,255,0.55);
  animation: previewFillPulse 3s ease-in-out infinite;
}

@keyframes previewFillPulse {
  0%, 100% { box-shadow: 0 0 10px rgba(0,212,255,0.55); }
  50%       { box-shadow: 0 0 20px rgba(0,212,255,0.9), 0 0 36px rgba(123,47,255,0.4); }
}

.rrm-preview-nodes {
  position: absolute;
  top: 50%; left: 0; right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.rrm-preview-node {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00D4FF, #7B2FFF);
  border: 2px solid #00D4FF;
  box-shadow: 0 0 10px rgba(0,212,255,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  z-index: 1;
}

.rrm-node-num {
  font-family: var(--font-game);
  font-size: 0.48rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.rrm-preview-node-prize {
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, #00ff88, #00D4FF);
  border-color: #00ff88;
  box-shadow: 0 0 12px rgba(0,255,136,0.9), 0 0 24px rgba(0,255,136,0.4);
}

/* $5 badge on prize node */
.rrm-prize-tag {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-game);
  font-size: 0.7rem;
  font-weight: 900;
  color: #00ff88;
  text-shadow: 0 0 10px rgba(0,255,136,0.8);
  white-space: nowrap;
}

/* Step labels below the preview track */
.rrm-preview-labels {
  display: flex;
  justify-content: space-between;
  padding: 0 2px;
}

.rrm-preview-labels span {
  font-family: var(--font-body);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-align: center;
  flex: 1;
}
.rrm-preview-labels span:last-child {
  color: rgba(0,255,136,0.7);
}

/* ── Modal CTA buttons ─────────────────────────────────────── */
.rrm-cta {
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, rgba(0,212,255,0.18), rgba(123,47,255,0.14));
  border: 1px solid rgba(0,212,255,0.55);
  border-radius: 6px;
  color: #00FFFF;
  font-family: var(--font-game);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  margin-bottom: 12px;
  transition: all 0.2s ease;
  text-shadow: 0 0 12px rgba(0,255,255,0.5);
}
.rrm-cta:hover {
  background: linear-gradient(135deg, rgba(0,212,255,0.28), rgba(123,47,255,0.22));
  box-shadow: 0 0 24px rgba(0,212,255,0.3), 0 0 50px rgba(123,47,255,0.15);
  border-color: #00D4FF;
  transform: translateY(-1px);
}
.rrm-cta:hover .shine-sweep { animation: shineSweep 0.55s ease forwards; }

.rrm-later {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  padding: 6px 12px;
  transition: color 0.18s ease;
  width: 100%;
}
.rrm-later:hover { color: rgba(255,255,255,0.7); }

/* Responsive */
@media (max-width: 600px) {
  .account-panel { width: 240px; }
  .asc-divider   { margin: 0 14px; }
  .rrm-modal     { padding: 32px 22px 24px; }
  .rrm-headline  { font-size: 1.22rem; }
}

@media (max-width: 600px) {
  .hus-sep,
  .hus-dash-link { display: none; }
  .hus-username  { font-size: 0.60rem; }
  .hus-credits   { font-size: 0.60rem; }
}

.site-header.scrolled {
  padding: 16px 36px;
  background: rgba(4,4,4,0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-dark);
}

.header-logo {
  font-family: var(--font-game);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.header-logo-dim {
  color: var(--silver-dim);
}

.header-nav {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  position: relative;
  transition: color var(--t-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
  transition: width var(--t-fast);
}

.nav-link:hover             { color: var(--text-primary); }
.nav-link:hover::after      { width: 100%; }

/* ---- Sound Button (removed — video asset retired) ---- */
.sound-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-silver);
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  color: var(--silver);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-fast);
  backdrop-filter: blur(8px);
  flex-shrink: 0;
}

.sound-btn:hover {
  background: rgba(0,212,255,0.08);
  border-color: var(--border-neon-hi);
  box-shadow: 0 0 18px var(--glow-blue);
  transform: scale(1.06);
}

.sound-btn svg {
  width: 17px;
  height: 17px;
}


/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 680px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #05050f 0%, #080816 45%, #060612 100%);
}

/* Deep neon colour blobs — give the scene depth and atmosphere */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 55% at 50% 15%, rgba(123,47,255,0.22) 0%, transparent 65%),
    radial-gradient(ellipse 55% 45% at 15% 55%, rgba(0,212,255,0.10) 0%, transparent 55%),
    radial-gradient(ellipse 45% 38% at 85% 30%, rgba(0,212,255,0.08) 0%, transparent 55%),
    radial-gradient(ellipse 70% 40% at 50% 90%, rgba(123,47,255,0.12) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
}

/* ---- Perspective race grid ---- */
.hero-grid {
  position: absolute;
  bottom: 0;
  left: -30%;
  right: -30%;
  height: 62%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

/* Scrolling grid plane */
.hero-grid::before {
  content: '';
  position: absolute;
  inset: -80% 0 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.09) 1px, transparent 1px);
  background-size: 80px 80px;
  transform: perspective(320px) rotateX(68deg);
  transform-origin: bottom center;
  animation: gridScroll 3.2s linear infinite;
}

/* Horizon fade — blends grid into the dark backdrop */
.hero-grid::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 55%;
  background: linear-gradient(to bottom, #07071280 0%, transparent 100%);
  pointer-events: none;
}

@keyframes gridScroll {
  from { background-position: 0 0; }
  to   { background-position: 0 80px; }
}

/* ---- Dark vignette overlay ---- */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse 65% 65% at 50% 50%, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0.50) 70%, rgba(0,0,0,0.90) 100%),
    linear-gradient(0deg, rgba(0,0,0,0.50) 0%, transparent 30%, transparent 70%, rgba(0,0,0,0.40) 100%);
  pointer-events: none;
}

/* ---- Radial spotlight behind logo ---- */
.hero-spotlight {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: radial-gradient(ellipse 52% 46% at 50% 44%, rgba(80,0,255,0.13) 0%, rgba(0,212,255,0.07) 40%, transparent 65%);
  pointer-events: none;
}

/* ---- Animated light beams ---- */
.hero-beams {
  position: absolute;
  inset: 0;
  z-index: 4;
  overflow: hidden;
  pointer-events: none;
}

.beam {
  position: absolute;
  top: -20%;
  width: 3px;
  height: 160%;
  transform-origin: top center;
  opacity: 0;
}

.beam-1 { left: 12%; background: linear-gradient(to bottom, transparent, rgba(0,212,255,0.07), transparent); animation: beamDrift 14s ease-in-out 0s    infinite; --r: 15deg;  }
.beam-2 { left: 33%; background: linear-gradient(to bottom, transparent, rgba(123,47,255,0.06), transparent); animation: beamDrift 18s ease-in-out 2.5s  infinite; --r: -6deg;  }
.beam-3 { left: 52%; background: linear-gradient(to bottom, transparent, rgba(0,212,255,0.05), transparent); animation: beamDrift 11s ease-in-out 5.5s  infinite; --r: 22deg;  }
.beam-4 { left: 68%; background: linear-gradient(to bottom, transparent, rgba(123,47,255,0.07), transparent); animation: beamDrift 15s ease-in-out 8s    infinite; --r: -14deg; }
.beam-5 { left: 85%; background: linear-gradient(to bottom, transparent, rgba(0,212,255,0.05), transparent); animation: beamDrift 12s ease-in-out 1.5s  infinite; --r: 30deg;  }

@keyframes beamDrift {
  0%       { opacity: 0;    transform: rotate(var(--r)) translateX(-40px); }
  25%, 75% { opacity: 1; }
  100%     { opacity: 0;    transform: rotate(var(--r)) translateX(40px); }
}


/* ---- Hero Center Content ---- */
.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  animation: heroEnter 1.5s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* In trailer mode: only the logo ring and Watch Trailer button fade out.
   The Early Access box stays fully visible on top of the background. */
.logo-wrapper {
  transition: opacity var(--t-med), transform var(--t-med);
}

/* Early access stays on top of the video — no fade rule */
.early-access {
  position: relative;
  z-index: 11;
}

@keyframes heroEnter {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ============================================================
   LOGO WRAPPER
   ============================================================ */
.logo-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: logoFloat 7s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-7px); }
}

/* ---- Logo Text (inside infield) ---- */
.logo-text {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  /* Subtle dark backdrop to keep text readable over video */
  padding: 12px 28px;
}

.logo-eyebrow {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.38em;
  color: var(--neon-blue-dim);
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 2px;
}

.logo-title-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 0.92;
  gap: 0px;
}

/* Shared moving neon gradient animation */
@keyframes neonShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* "DRIFT" */
.logo-drift {
  display: block;
  font-family: var(--font-game);
  font-size: clamp(2.2rem, 5vw, 3.1rem);
  font-weight: 900;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  background: linear-gradient(90deg,
    #00FFFF,
    #00D4FF,
    #7B2FFF,
    #FF2D78,
    #FF8C00,
    #FF2D78,
    #7B2FFF,
    #00D4FF,
    #00FFFF
  );
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: neonShift 4s ease infinite;
  filter: drop-shadow(0 0 18px rgba(0,212,255,0.5)) drop-shadow(0 0 40px rgba(123,47,255,0.3));
}

/* "BATTLE" — same gradient, offset phase */
.logo-battle {
  display: block;
  font-family: var(--font-game);
  font-size: clamp(2.2rem, 5vw, 3.1rem);
  font-weight: 900;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  background: linear-gradient(90deg,
    #00FFFF,
    #00D4FF,
    #7B2FFF,
    #FF2D78,
    #FF8C00,
    #FF2D78,
    #7B2FFF,
    #00D4FF,
    #00FFFF
  );
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: neonShift 4s ease infinite;
  animation-delay: -2s;
  filter: drop-shadow(0 0 20px rgba(255,45,120,0.5)) drop-shadow(0 0 40px rgba(123,47,255,0.3));
}

.logo-tagline {
  font-family: var(--font-game);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #fff;
  text-transform: uppercase;
  margin-top: 10px;
  text-shadow:
    0 0 12px rgba(0, 212, 255, 0.9),
    0 0 28px rgba(0, 212, 255, 0.55),
    0 0 56px rgba(0, 212, 255, 0.25);
}


/* ============================================================
   WATCH TRAILER BUTTON (retired — video asset removed)
   ============================================================ */
.btn-trailer {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 14px 38px;
  background: transparent;
  border: 1px solid var(--border-neon);
  border-radius: 3px;
  color: var(--text-primary);
  font-family: var(--font-game);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all var(--t-fast);
  animation: trailerBtnPulse 3.5s ease-in-out infinite;
}

@keyframes trailerBtnPulse {
  0%, 100% { box-shadow: 0 0 14px rgba(0,212,255,0.15), 0 0 0 1px rgba(0,212,255,0.1); }
  50%       { box-shadow: 0 0 30px rgba(0,212,255,0.35), 0 0 60px rgba(123,47,255,0.12), 0 0 0 1px rgba(0,212,255,0.25); }
}

.btn-trailer:hover {
  background: rgba(0,212,255,0.06);
  border-color: var(--neon-blue);
  box-shadow: 0 0 36px rgba(0,212,255,0.38), 0 0 70px rgba(0,212,255,0.12), 0 0 100px rgba(123,47,255,0.1);
  transform: translateY(-2px);
  animation: none;
}

.btn-trailer-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.btn-trailer-icon svg {
  width: 20px;
  height: 20px;
}


/* ============================================================
   SHARED BUTTON SHINE SWEEP
   ============================================================ */
.shine-sweep {
  position: absolute;
  top: 0;
  left: -110%;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,0.07) 30%,
    rgba(255,255,255,0.13) 50%,
    rgba(255,255,255,0.07) 70%,
    transparent 100%
  );
  transform: skewX(-18deg);
  pointer-events: none;
  transition: none;
}

.btn-trailer:hover       .shine-sweep,
.btn-buy:hover           .shine-sweep,
.ea-btn:hover            .shine-sweep {
  animation: shineSweep 0.55s ease forwards;
}

@keyframes shineSweep {
  0%   { left: -110%; }
  100% { left: 160%;  }
}


/* ============================================================
   EARLY ACCESS BOX (frosted glass)
   ============================================================ */
.early-access {
  width: min(520px, 92vw);
  background: rgba(0,10,30,0.45);
  border: 1px solid var(--border-neon);
  border-radius: 4px;
  padding: 26px 30px 22px;
  text-align: center;
  backdrop-filter: blur(22px) saturate(0.8);
  -webkit-backdrop-filter: blur(22px) saturate(0.8);
  box-shadow:
    0 6px 50px rgba(0,0,0,0.6),
    0 0 30px rgba(0,212,255,0.08),
    inset 0 1px 0 rgba(0,212,255,0.1);
}

.ea-label {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.38em;
  color: var(--neon-blue-dim);
  text-transform: uppercase;
  margin-bottom: 5px;
}

.ea-heading {
  font-family: var(--font-game);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.ea-form { width: 100%; }

.ea-row {
  display: flex;
  gap: 8px;
}

.ea-input {
  flex: 1;
  min-width: 0;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-silver);
  border-radius: 3px;
  padding: 11px 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.ea-input::placeholder { color: var(--text-muted); }

.ea-input:focus {
  border-color: var(--border-neon-hi);
  box-shadow: 0 0 16px var(--glow-blue);
}

.ea-btn {
  padding: 11px 22px;
  background: linear-gradient(135deg, rgba(0,212,255,0.16) 0%, rgba(123,47,255,0.1) 100%);
  border: 1px solid var(--border-neon-hi);
  border-radius: 3px;
  color: var(--neon-cyan);
  font-family: var(--font-game);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  transition: all var(--t-fast);
  text-shadow: 0 0 10px rgba(0,255,255,0.4);
}

.ea-btn:hover {
  background: linear-gradient(135deg, rgba(0,212,255,0.28) 0%, rgba(123,47,255,0.18) 100%);
  box-shadow: 0 0 26px var(--glow-blue), 0 0 50px rgba(123,47,255,0.12);
  transform: translateY(-1px);
  border-color: var(--neon-blue);
}

.ea-note {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 10px;
  letter-spacing: 0.04em;
}

.ea-legal-note {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 10px;
  line-height: 1.55;
  letter-spacing: 0.04em;
  text-align: center;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}
.ea-legal-note a {
  color: rgba(0, 212, 255, 0.55);
  text-decoration: none;
}
.ea-legal-note a:hover {
  color: rgba(0, 212, 255, 0.85);
  text-decoration: underline;
}

/* Referral applied chip — appears above the early access form */
.ea-ref-applied {
  display: none; /* toggled to flex by JS */
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  padding: 6px 12px;
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.35);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #00ff88;
  text-shadow: 0 0 8px rgba(0, 255, 136, 0.5);
  box-shadow: 0 0 12px rgba(0, 255, 136, 0.1);
  width: fit-content;
}
.ea-ref-applied svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  color: #00ff88;
}


/* ============================================================
   TRAILER CLOSE BUTTON
   ============================================================ */
.trailer-close {
  position: absolute;
  top: 24px;
  right: 96px;   /* sits to the left of the sound button */
  z-index: 20;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-silver);
  border-radius: 50%;
  background: rgba(0,0,0,0.52);
  color: var(--silver);
  cursor: pointer;
  display: none;   /* shown via JS when trailer mode is active */
  align-items: center;
  justify-content: center;
  transition: all var(--t-fast);
  backdrop-filter: blur(8px);
}

.trailer-close.visible {
  display: flex;
  animation: fadeIn 0.4s ease both;
}

.trailer-close:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--border-silver-hi);
  box-shadow: 0 0 18px var(--silver-glow);
}

.trailer-close svg {
  width: 17px;
  height: 17px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1);   }
}


/* ============================================================
   LIVE STATS BAR
   ============================================================ */
.live-stats {
  position: absolute;
  bottom: 88px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 100px;
  padding: 6px 16px 6px 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  white-space: nowrap;
  pointer-events: none;
  animation: statsFadeIn 1s ease 1.6s both;
}

@keyframes statsFadeIn {
  from { opacity: 0; transform: translateX(-50%) translateY(6px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0);   }
}

/* .hero.trailer-mode removed — video asset retired */

.live-stats-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00ff88;
  box-shadow: 0 0 6px #00ff88, 0 0 14px rgba(0, 255, 136, 0.6);
  flex-shrink: 0;
  animation: statsPulse 2s ease-in-out infinite;
}

@keyframes statsPulse {
  0%, 100% { opacity: 1;    box-shadow: 0 0 6px #00ff88, 0 0 14px rgba(0,255,136,0.6); }
  50%       { opacity: 0.55; box-shadow: 0 0 3px #00ff88, 0 0 7px  rgba(0,255,136,0.3); }
}

.live-stats-count {
  font-family: var(--font-game);
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.06em;
}

.live-stats-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================================
   SCROLL CUE
   ============================================================ */
.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.45;
  pointer-events: none;
  animation: scrollBounce 2.2s ease-in-out infinite;
  transition: opacity var(--t-med);
}


@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  55%       { transform: translateX(-50%) translateY(7px); }
}

.scroll-cue-line {
  width: 1px;
  height: 38px;
  background: linear-gradient(to bottom, rgba(0,212,255,0.6) 0%, transparent 100%);
}

.scroll-cue-text {
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: var(--text-secondary);
  text-transform: uppercase;
}


/* ============================================================
   SHOP SECTION
   ============================================================ */
.shop {
  padding: 108px 0;
  background: var(--bg-primary);
  position: relative;
}


/* ============================================================
   EARLY ACCESS PACK CARD
   ============================================================ */
.ea-pack-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(0,212,255,0.55);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(8,8,20,0.92);
  backdrop-filter: blur(12px);
  box-shadow:
    0 0 0 1px rgba(0,212,255,0.14),
    0 20px 80px rgba(0,0,0,0.7),
    0 0 90px rgba(0,212,255,0.13),
    0 0 160px rgba(0,212,255,0.05),
    inset 0 0 80px rgba(123,47,255,0.05);
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

.ea-pack-card:hover {
  border-color: rgba(0,212,255,0.75);
  box-shadow:
    0 0 0 1px rgba(0,212,255,0.25),
    0 20px 80px rgba(0,0,0,0.7),
    0 0 120px rgba(0,212,255,0.18),
    0 0 200px rgba(0,212,255,0.07),
    inset 0 0 80px rgba(123,47,255,0.07);
}

/* Animated neon line background */
.ea-pack-lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.ea-line {
  position: absolute;
  height: 1px;
  width: 60%;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,0.4), transparent);
  animation: lineDrift 6s ease-in-out infinite;
}

.ea-line-1 { top: 20%; left: -60%; animation-delay: 0s; }
.ea-line-2 { top: 55%; left: -60%; animation-delay: 2s; background: linear-gradient(90deg, transparent, rgba(123,47,255,0.35), transparent); }
.ea-line-3 { top: 80%; left: -60%; animation-delay: 4s; background: linear-gradient(90deg, transparent, rgba(255,45,120,0.3), transparent); }

@keyframes lineDrift {
  0%   { left: -60%; }
  100% { left: 120%; }
}

/* LEFT: Skin visual panel */
.ea-pack-visual {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 52px 36px;
  gap: 14px;
  border-right: 1px solid rgba(0,212,255,0.12);
  background: linear-gradient(135deg, rgba(0,20,40,0.6) 0%, rgba(20,0,40,0.4) 100%);
}

.ea-skin-badge {
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: #000;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
  padding: 4px 14px;
  border-radius: 2px;
  text-transform: uppercase;
  box-shadow: 0 0 18px rgba(0,212,255,0.5);
}

.ea-skin-wrap {
  position: relative;
  width: 100%;
  max-width: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ea-skin-glow {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 40px;
  background: radial-gradient(ellipse, rgba(0,212,255,0.35) 0%, transparent 70%);
  filter: blur(8px);
  animation: skinGlowPulse 3s ease-in-out infinite alternate;
}

@keyframes skinGlowPulse {
  from { opacity: 0.5; transform: translateX(-50%) scaleX(0.9); }
  to   { opacity: 1;   transform: translateX(-50%) scaleX(1.1); }
}

/* Mystery question mark */
.ea-mystery-mark {
  font-family: var(--font-game);
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 900;
  background: linear-gradient(160deg, #00FFFF 0%, #00D4FF 30%, #7B2FFF 65%, #FF2D78 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: neonShift 4s ease infinite, markFloat 5s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(0,212,255,0.7)) drop-shadow(0 0 50px rgba(123,47,255,0.4));
  line-height: 1;
  user-select: none;
  display: block;
  text-align: center;
  width: 100%;
}

.ea-pack-visual:hover .ea-mystery-mark {
  filter: drop-shadow(0 0 30px rgba(0,212,255,1)) drop-shadow(0 0 70px rgba(123,47,255,0.6)) drop-shadow(0 0 100px rgba(255,45,120,0.3));
}

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

.ea-skin-label {
  font-family: var(--font-game);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--neon-cyan);
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(0,255,255,0.5);
}

.ea-skin-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.ea-limited-badge {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--neon-pink);
  border: 1px solid rgba(255,45,120,0.3);
  padding: 6px 14px;
  border-radius: 2px;
  text-align: center;
  line-height: 1.5;
  box-shadow: 0 0 12px rgba(255,45,120,0.1);
}

/* RIGHT: Offer info panel */
.ea-pack-info {
  position: relative;
  z-index: 1;
  padding: 52px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.ea-pack-tag {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.38em;
  color: var(--neon-blue-dim);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.ea-pack-title {
  font-family: var(--font-game);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.06em;
  line-height: 1.35;
  margin-bottom: 28px;
}

/* Value stack */
.ea-value-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 28px;
  border: 1px solid rgba(0,212,255,0.1);
  border-radius: 6px;
  overflow: hidden;
}

.ea-value-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.18s ease;
}

.ea-value-item:last-child { border-bottom: none; }

.ea-value-item:hover {
  background: rgba(0,212,255,0.04);
}

.ea-value-credits {
  background: rgba(0,212,255,0.04);
  border-left: 2px solid var(--neon-blue);
  flex-direction: column;
}

.ea-value-icon {
  font-size: 1.15rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.ea-value-icon-svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--neon-blue-dim);
  margin-top: 2px;
}

.ea-value-icon-svg svg {
  width: 100%;
  height: 100%;
}

.ea-value-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ea-value-label {
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--neon-blue-dim);
}

.ea-value-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.ea-value-sub {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* Credits 10→20 redesigned pill display */
.ea-credits-block {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ea-credits-display {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 2px;
}

.ea-credit-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 10px 22px;
  border-radius: 6px;
  min-width: 90px;
}

.ea-credit-pay {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
}

.ea-credit-get {
  background: rgba(0,212,255,0.13);
  border: 1px solid rgba(0,212,255,0.62);
  box-shadow: 0 0 32px rgba(0,212,255,0.28), inset 0 0 24px rgba(0,212,255,0.07);
}

.ea-credit-pill-label {
  font-family: var(--font-body);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.ea-credit-pay .ea-credit-pill-amount {
  font-family: var(--font-game);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-secondary);
  line-height: 1;
}

.ea-credit-get .ea-credit-pill-amount {
  font-family: var(--font-game);
  font-size: 1.9rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(90deg, #00FFFF, #00D4FF, #7B2FFF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 12px rgba(0,212,255,0.6));
}

.ea-credits-arrow {
  color: var(--neon-cyan);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  animation: arrowPulse 1.8s ease-in-out infinite;
}

.ea-credits-arrow svg {
  width: 44px;
  height: 18px;
  filter: drop-shadow(0 0 6px rgba(0,255,255,0.8));
}

.ea-credits-arrow-label {
  font-family: var(--font-game);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--neon-cyan);
  text-shadow: 0 0 8px rgba(0,255,255,0.8);
}

@keyframes arrowPulse {
  0%, 100% { opacity: 0.7; transform: translateX(0); }
  50%       { opacity: 1;   transform: translateX(4px); }
}

/* Pricing */
.ea-pack-pricing {
  margin-bottom: 18px;
}

.ea-price-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ea-price-main {
  font-family: var(--font-game);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: 0.04em;
  line-height: 1;
  text-shadow: 0 0 30px rgba(255,255,255,0.1);
}

.ea-best-value-badge {
  font-family: var(--font-body);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: #000;
  background: linear-gradient(90deg, #00D4FF, #00FFFF);
  padding: 4px 12px;
  border-radius: 2px;
  box-shadow: 0 0 18px rgba(0,212,255,0.55), 0 0 36px rgba(0,212,255,0.18);
  white-space: nowrap;
  align-self: center;
}

.ea-price-social {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-top: 5px;
  margin-bottom: 4px;
}

.ea-price-dot {
  color: rgba(0,212,255,0.4);
  font-size: 0.9rem;
  line-height: 1;
}

.ea-price-sub {
  font-size: 0.82rem;
  color: var(--neon-blue-dim);
  letter-spacing: 0.06em;
  margin-top: 4px;
}

/* CTA button */
.btn-ea-pack {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 16px 36px;
  background: linear-gradient(135deg, rgba(0,212,255,0.22) 0%, rgba(123,47,255,0.16) 100%);
  border: 1px solid var(--neon-cyan);
  border-radius: 4px;
  color: #fff;
  font-family: var(--font-game);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  animation: ctaGlowPulse 2.2s ease-in-out infinite;
  transition: all 0.18s ease;
  margin-bottom: 10px;
  align-self: flex-start;
  text-shadow: 0 0 18px rgba(0,255,255,0.6);
}

@keyframes ctaGlowPulse {
  0%, 100% { box-shadow: 0 0 24px rgba(0,212,255,0.45), 0 0 56px rgba(0,212,255,0.14), 0 0 90px rgba(123,47,255,0.06); }
  50%       { box-shadow: 0 0 42px rgba(0,212,255,0.75), 0 0 80px rgba(0,212,255,0.22), 0 0 130px rgba(123,47,255,0.12); }
}

.btn-ea-pack:hover {
  background: linear-gradient(135deg, rgba(0,212,255,0.34) 0%, rgba(123,47,255,0.24) 100%);
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0 56px rgba(0,212,255,0.7), 0 0 100px rgba(123,47,255,0.25);
  text-shadow: 0 0 24px rgba(255,255,255,0.9);
}

.ea-pack-trust {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

/* Urgency */
.ea-urgency {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
}

.ea-urgency strong {
  color: var(--neon-pink);
  font-weight: 700;
}

.ea-urgency-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon-pink);
  box-shadow: 0 0 8px rgba(255,45,120,0.8);
  animation: dotBlink 1.4s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes dotBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

/* Responsive — main pack */
@media (max-width: 860px) {
  .ea-pack-card {
    grid-template-columns: 1fr;
  }
  .ea-pack-visual {
    border-right: none;
    border-bottom: 1px solid rgba(0,212,255,0.12);
    padding: 40px 24px;
  }
  .ea-pack-info {
    padding: 36px 28px;
  }
  .btn-ea-pack {
    align-self: stretch;
    justify-content: center;
  }
}

/* ============================================================
   SECONDARY MINI PACK CARDS
   ============================================================ */
.ea-mini-packs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}

/* Shop-level legal disclosure */
.shop-legal-note {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.6;
  margin-top: 32px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0.04em;
}
.shop-legal-note a {
  color: rgba(0, 212, 255, 0.4);
  text-decoration: none;
}
.shop-legal-note a:hover {
  color: rgba(0, 212, 255, 0.7);
  text-decoration: underline;
}

/* Base card — intentionally lower visual weight than main pack */
.ea-mini-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 26px 20px;
  border-radius: 8px;
  background: rgba(8, 8, 20, 0.50);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(0, 212, 255, 0.20);
  box-shadow:
    0 6px 24px rgba(0, 0, 0, 0.45),
    0 0 18px rgba(0, 212, 255, 0.03);
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
  -webkit-tap-highlight-color: transparent;
}

/* $5 — moderate hover response */
.ea-mini-popular:hover {
  transform: scale(1.018) translateY(-2px);
  border-color: rgba(0, 212, 255, 0.50);
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.55),
    0 0 36px rgba(0, 212, 255, 0.12),
    0 0 60px rgba(123, 47, 255, 0.05);
}

/* $1 — weakest glow and hover */
.ea-mini-tryit {
  border-color: rgba(123, 47, 255, 0.20);
  box-shadow:
    0 6px 24px rgba(0, 0, 0, 0.40),
    0 0 14px rgba(123, 47, 255, 0.03);
}

.ea-mini-tryit:hover {
  transform: scale(1.012) translateY(-1px);
  border-color: rgba(123, 47, 255, 0.40);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.5),
    0 0 26px rgba(123, 47, 255, 0.09);
}

/* Animated background sweep line (popular card only) */
.ea-mini-lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.ea-mini-line {
  position: absolute;
  height: 1px;
  width: 60%;
  top: 55%;
  left: -60%;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,0.18), transparent);
  animation: lineDrift 9s ease-in-out infinite;
}

/* Top badge area */
.ea-mini-top {
  position: relative;
  z-index: 1;
}

.ea-mini-badge {
  font-family: var(--font-body);
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #000;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-cyan));
  padding: 3px 10px;
  border-radius: 2px;
  display: inline-block;
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.35);
  white-space: nowrap;
}

.ea-mini-badge-purple {
  background: linear-gradient(90deg, rgba(123,47,255,0.85), rgba(168,85,247,0.80));
  box-shadow: 0 0 10px rgba(123, 47, 255, 0.25);
}

/* Value row: pay pill → arrow → get pill */
.ea-mini-value-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ea-mini-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 16px;
  border-radius: 5px;
  min-width: 68px;
  flex-shrink: 0;
}

.ea-mini-pill-pay {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ea-mini-popular .ea-mini-pill-get {
  background: rgba(0, 212, 255, 0.07);
  border: 1px solid rgba(0, 212, 255, 0.35);
  box-shadow: 0 0 14px rgba(0, 212, 255, 0.10), inset 0 0 12px rgba(0, 212, 255, 0.03);
}

.ea-mini-tryit .ea-mini-pill-get {
  background: rgba(123, 47, 255, 0.07);
  border: 1px solid rgba(123, 47, 255, 0.28);
  box-shadow: 0 0 10px rgba(123, 47, 255, 0.07), inset 0 0 10px rgba(123, 47, 255, 0.03);
}

.ea-mini-pill-label {
  font-family: var(--font-body);
  font-size: 0.46rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.ea-mini-pill-pay .ea-mini-pill-amount {
  font-family: var(--font-game);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-secondary);
  line-height: 1;
}

.ea-mini-popular .ea-mini-pill-get .ea-mini-pill-amount {
  font-family: var(--font-game);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(90deg, #00FFFF, #00D4FF, #7B2FFF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 7px rgba(0, 212, 255, 0.45));
}

.ea-mini-tryit .ea-mini-pill-get .ea-mini-pill-amount {
  font-family: var(--font-game);
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(90deg, rgba(168,85,247,0.85), rgba(123,47,255,0.80));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 5px rgba(123, 47, 255, 0.30));
}

/* Animated arrow */
.ea-mini-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  flex-shrink: 0;
  color: var(--neon-cyan);
  animation: arrowPulse 1.8s ease-in-out infinite;
}

.ea-mini-tryit .ea-mini-arrow {
  color: rgba(168, 85, 247, 0.75);
  animation: arrowPulsePurple 1.8s ease-in-out infinite;
}

.ea-mini-arrow svg {
  width: 32px;
  height: 13px;
  filter: drop-shadow(0 0 4px rgba(0, 255, 255, 0.60));
}

.ea-mini-tryit .ea-mini-arrow svg {
  filter: drop-shadow(0 0 4px rgba(168, 85, 247, 0.45));
}

.ea-mini-arrow-label {
  font-family: var(--font-game);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--neon-cyan);
  text-shadow: 0 0 6px rgba(0, 255, 255, 0.55);
}

.ea-mini-tryit .ea-mini-arrow-label {
  color: rgba(168, 85, 247, 0.75);
  text-shadow: 0 0 5px rgba(168, 85, 247, 0.40);
}

@keyframes arrowPulsePurple {
  0%, 100% { opacity: 0.60; transform: translateX(0); }
  50%       { opacity: 0.85; transform: translateX(3px); }
}

/* Supporting text */
.ea-mini-support {
  position: relative;
  z-index: 1;
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.ea-mini-tryit .ea-mini-support {
  opacity: 0.68;
}

/* Footer: refund text + CTA button */
.ea-mini-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  margin-top: auto;
}

.ea-mini-refund {
  font-size: 0.64rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  opacity: 0.65;
}

.ea-mini-btn {
  font-family: var(--font-game);
  font-size: 0.60rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0, 212, 255, 0.55);
  padding: 6px 14px;
  border: 1px solid rgba(0, 212, 255, 0.20);
  border-radius: 3px;
  white-space: nowrap;
  transition: color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.ea-mini-popular:hover .ea-mini-btn {
  color: var(--neon-cyan);
  border-color: rgba(0, 212, 255, 0.48);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.14);
}

.ea-mini-tryit .ea-mini-btn {
  color: rgba(123, 47, 255, 0.55);
  border-color: rgba(123, 47, 255, 0.18);
}

.ea-mini-tryit:hover .ea-mini-btn {
  color: rgba(168, 85, 247, 0.85);
  border-color: rgba(123, 47, 255, 0.38);
  box-shadow: 0 0 10px rgba(123, 47, 255, 0.10);
}

/* Responsive — mini packs */
@media (max-width: 640px) {
  .ea-mini-packs {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }
}

/* Top separator line */
.shop::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--neon-blue) 30%, var(--neon-purple) 70%, transparent 100%);
  opacity: 0.5;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 68px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  color: var(--neon-blue-dim);
  text-transform: uppercase;
  border: 1px solid var(--border-neon);
  padding: 6px 16px;
  border-radius: 2px;
  margin-bottom: 14px;
  box-shadow: 0 0 12px rgba(0,212,255,0.08);
}

.section-heading {
  font-family: var(--font-game);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
}


/* ============================================================
   FEATURED CARD
   ============================================================ */
.featured-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border-neon);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 36px;
  background: var(--bg-card);
  box-shadow: 0 10px 70px rgba(0,0,0,0.55);
  transition: box-shadow var(--t-med);
}

.featured-card:hover {
  box-shadow: 0 10px 70px rgba(0,0,0,0.65), 0 0 50px rgba(0,212,255,0.06), 0 0 0 1px rgba(0,212,255,0.1);
}

/* Product image area */
.featured-img-area {
  position: relative;
  min-height: 420px;
  background: #0a0a0a;
  overflow: hidden;
}

/* ---- Image Placeholders (remove when real images are added) ---- */
.img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0c0c0c 0%, #181818 50%, #0c0c0c 100%);
}

.placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  opacity: 0.35;
}

.placeholder-car {
  width: 110px;
  height: auto;
}

.placeholder-name {
  font-family: var(--font-game);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.placeholder-sub {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.placeholder-emoji {
  font-size: 2.4rem;
  filter: grayscale(1);
  display: block;
}

.tier-placeholder .placeholder-inner { opacity: 0.28; }

/* Badges on featured card */
.featured-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #000;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
  padding: 4px 12px;
  border-radius: 2px;
  z-index: 2;
  box-shadow: 0 0 14px rgba(0,212,255,0.4);
}

.featured-units {
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver-dim);
  border: 1px solid var(--border-silver);
  padding: 4px 12px;
  border-radius: 2px;
  z-index: 2;
}

/* Featured info panel */
.featured-info {
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--border-dark);
}

.product-tag {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.38em;
  color: var(--neon-blue-dim);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.product-title {
  font-family: var(--font-game);
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.06em;
  line-height: 1.3;
  margin-bottom: 14px;
}

.product-desc {
  font-size: 0.95rem;
  line-height: 1.68;
  color: var(--text-secondary);
  margin-bottom: 22px;
}

.product-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 30px;
}

.product-perks li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding-left: 16px;
  position: relative;
  line-height: 1.4;
}

.product-perks li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--silver-dim);
  font-size: 0.75rem;
  top: 1px;
}

.product-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.price-group {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.price-was {
  font-family: var(--font-game);
  font-size: 0.95rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.price-now {
  font-family: var(--font-game);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.04em;
}


/* ============================================================
   BUY BUTTONS (shared base)
   ============================================================ */
.btn-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 13px 30px;
  border: 1px solid var(--border-neon);
  border-radius: 3px;
  color: var(--text-primary);
  font-family: var(--font-game);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  background: rgba(0,212,255,0.04);
  transition: all var(--t-fast);
  white-space: nowrap;
}

.btn-buy:hover {
  background: rgba(0,212,255,0.09);
  border-color: var(--neon-blue);
  box-shadow: 0 0 28px var(--glow-blue), 0 4px 22px rgba(0,0,0,0.4);
  transform: translateY(-2px);
  color: var(--neon-cyan);
}

.btn-buy-featured {
  background: linear-gradient(135deg, rgba(0,212,255,0.12) 0%, rgba(123,47,255,0.07) 100%);
  box-shadow: 0 0 22px rgba(0,212,255,0.1);
  border-color: var(--border-neon-hi);
}

.btn-buy-featured:hover {
  background: linear-gradient(135deg, rgba(0,212,255,0.22) 0%, rgba(123,47,255,0.14) 100%);
}

.btn-buy-tier-pop {
  background: linear-gradient(135deg, rgba(0,212,255,0.16) 0%, rgba(123,47,255,0.1) 100%);
  border-color: var(--border-neon-hi);
}


/* ============================================================
   TIER CARDS GRID
   ============================================================ */
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--border-neon);
  border-radius: 4px;
  overflow: hidden;
  background: var(--border-neon); /* 1px gap color */
}

.tier-card {
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background var(--t-fast);
}

.tier-card:hover { background: var(--bg-card-hover); }

.tier-card-pop {
  background: #111111;
}

.tier-pop-ribbon {
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple), var(--neon-pink));
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  text-align: center;
  padding: 5px 8px;
  position: relative;
  z-index: 2;
  text-shadow: 0 0 10px rgba(0,0,0,0.4);
}

.tier-img-area {
  position: relative;
  height: 170px;
  background: #0a0a0a;
  overflow: hidden;
}

.tier-img-area .img-placeholder {
  position: absolute;
  inset: 0;
}

.tier-body {
  padding: 22px 22px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tier-badge {
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--neon-blue-dim);
  margin-bottom: 5px;
}

.tier-badge-pop { color: var(--neon-blue); }

.tier-name {
  font-family: var(--font-game);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.tier-perks {
  list-style: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.tier-perks li {
  font-size: 0.84rem;
  color: var(--text-secondary);
  padding-left: 14px;
  position: relative;
  line-height: 1.4;
}

.tier-perks li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--silver-dim);
  font-size: 1.1rem;
  line-height: 1.2;
}

.tier-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--border-dark);
  padding-top: 18px;
}

.tier-price {
  font-family: var(--font-game);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.04em;
}

.btn-buy-tier {
  padding: 10px 18px;
  font-size: 0.62rem;
}


/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #040404;
  border-top: 1px solid var(--border-dark);
  padding: 52px 28px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-game);
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.3em;
  color: var(--text-primary);
  text-transform: uppercase;
}

.footer-logo span { color: var(--neon-purple); }

.footer-line {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: color var(--t-fast);
}

.footer-links a:hover { color: var(--text-secondary); }

/* ── Grouped footer link columns ──────────────────────────── */
.footer-link-groups {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-link-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-group-label {
  font-family: var(--font-game);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.18);
  margin-bottom: 4px;
}

.footer-link-group a {
  font-size: 0.78rem;
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
  letter-spacing: 0.06em;
  transition: color var(--t-fast), opacity var(--t-fast);
}

.footer-link-group a:hover,
.footer-link-group a:focus-visible { color: #ffffff; opacity: 0.75; }

.footer-copy {
  font-size: 0.72rem;
  color: #2e2e2e;
  letter-spacing: 0.05em;
}


/* ============================================================
   SCROLL-TRIGGERED FADE-IN (used on shop section)
   ============================================================ */
.fade-in-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delay for tier cards */
.tiers-grid .tier-card:nth-child(1).fade-in-up { transition-delay: 0s; }
.tiers-grid .tier-card:nth-child(2).fade-in-up { transition-delay: 0.1s; }
.tiers-grid .tier-card:nth-child(3).fade-in-up { transition-delay: 0.2s; }


/* ============================================================
   ONBOARDING POPUP
   ============================================================ */

/* ---- Overlay ---- */
.ob-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0,0,0,0.82);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.38s ease;
}

.ob-overlay.ob-visible {
  opacity: 1;
  pointer-events: all;
}

/* ---- Modal shell ---- */
.ob-modal {
  position: relative;
  width: 100%;
  max-width: 490px;
  max-height: 92vh;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(0,212,255,0.22);
  background: rgba(7,7,18,0.72);
  backdrop-filter: blur(28px);
  box-shadow:
    0 0 0 1px rgba(0,212,255,0.06),
    0 32px 90px rgba(0,0,0,0.85),
    0 0 70px rgba(0,212,255,0.05),
    inset 0 1px 0 rgba(255,255,255,0.04);
  transform: scale(0.94) translateY(14px);
  transition: transform 0.42s cubic-bezier(0.34,1.56,0.64,1);
}

.ob-overlay.ob-visible .ob-modal {
  transform: scale(1) translateY(0);
}

/* ---- Animated background ---- */
.ob-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.ob-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.028) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 40%, transparent 80%);
}

.ob-streak {
  position: absolute;
  height: 1px;
  width: 45%;
  animation: obStreakDrift 6s ease-in-out infinite;
}

.ob-streak-1 {
  top: 18%;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,0.55), transparent);
  animation-delay: 0s;
}
.ob-streak-2 {
  top: 52%;
  background: linear-gradient(90deg, transparent, rgba(123,47,255,0.45), transparent);
  animation-delay: 2.2s;
}
.ob-streak-3 {
  top: 78%;
  background: linear-gradient(90deg, transparent, rgba(255,45,120,0.35), transparent);
  animation-delay: 4.1s;
}

@keyframes obStreakDrift {
  0%   { left: -45%; opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { left: 105%; opacity: 0; }
}

/* ---- Close button ---- */
.ob-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 20;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.45);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease;
}

.ob-close:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.25);
  color: #fff;
}

.ob-close svg { width: 13px; height: 13px; }

/* ---- Step dots ---- */
.ob-dots {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 6px;
  align-items: center;
}

.ob-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}

.ob-dot.ob-dot-active {
  width: 20px;
  border-radius: 3px;
  background: var(--neon-blue);
  box-shadow: 0 0 8px rgba(0,212,255,0.9);
}

/* ---- Referral applied badge (inside modal, above all steps) ---- */
.ob-ref-applied-badge {
  display: none; /* toggled to flex by JS */
  align-items: center;
  gap: 6px;
  margin: -4px auto 14px;
  padding: 5px 14px;
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.35);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #00ff88;
  text-shadow: 0 0 8px rgba(0, 255, 136, 0.5);
  box-shadow: 0 0 12px rgba(0, 255, 136, 0.08);
  width: fit-content;
  position: relative;
  z-index: 2;
}
.ob-ref-applied-badge svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  color: #00ff88;
}

/* ---- Manual ref code field ---- */
.ob-ref-field {
  margin-top: 4px;
}
.ob-label-opt-tag {
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: lowercase;
  margin-left: 4px;
}
.ob-ref-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.ob-ref-input {
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  padding-right: 36px !important;
}
.ob-ref-input-check {
  position: absolute;
  right: 12px;
  font-size: 0.85rem;
  color: #00ff88;
  text-shadow: 0 0 8px rgba(0, 255, 136, 0.7);
  pointer-events: none;
}

/* ---- Step container ---- */
.ob-step {
  display: none;
  overflow-y: auto;
  max-height: 92vh;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,212,255,0.2) transparent;
}

.ob-step::-webkit-scrollbar       { width: 3px; }
.ob-step::-webkit-scrollbar-track { background: transparent; }
.ob-step::-webkit-scrollbar-thumb { background: rgba(0,212,255,0.2); border-radius: 2px; }

.ob-step.ob-step-active  { display: block; }
.ob-step.ob-step-exit    { display: block; animation: obSlideOut 0.32s cubic-bezier(0.4,0,0.2,1) both; }
.ob-step.ob-step-enter   { display: block; animation: obSlideIn  0.42s cubic-bezier(0.4,0,0.2,1) both; }

@keyframes obSlideIn {
  from { opacity: 0; transform: translateX(44px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes obSlideOut {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(-44px); }
}

/* ---- Step inner padding ---- */
.ob-step-inner {
  padding: 50px 38px 34px;
  display: flex;
  flex-direction: column;
}

.ob-step-inner-center {
  align-items: center;
  text-align: center;
  gap: 14px;
  padding-top: 60px;
  padding-bottom: 60px;
}

/* ---- Brand mark (step 1) ---- */
.ob-brand {
  font-family: var(--font-game);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  color: var(--text-primary);
  margin-bottom: 18px;
  text-transform: uppercase;
}

.ob-brand span { color: var(--neon-blue-dim); }

/* ---- Step tag ---- */
.ob-step-tag {
  font-family: var(--font-body);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.38em;
  color: var(--neon-blue-dim);
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* ---- Headings ---- */
.ob-heading {
  font-family: var(--font-game);
  font-size: clamp(1.25rem, 3.5vw, 1.65rem);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.04em;
  line-height: 1.22;
  margin-bottom: 6px;
}

.ob-heading-success {
  font-size: clamp(1.5rem, 4vw, 2rem);
  letter-spacing: 0.06em;
}

.ob-accent {
  background: linear-gradient(90deg, #00FFFF, #00D4FF, #7B2FFF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 8px rgba(0,212,255,0.5));
}

/* ---- Subtext ---- */
.ob-subtext {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.58;
  margin-bottom: 22px;
}

.ob-subtext-center { text-align: center; }

/* ---- Consent & data notices ---- */
.ob-consent-note {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.28);
  line-height: 1.55;
  margin-top: 12px;
  text-align: center;
  letter-spacing: 0.02em;
}
.ob-consent-note a {
  color: rgba(0, 212, 255, 0.55);
  text-decoration: none;
}
.ob-consent-note a:hover {
  color: rgba(0, 212, 255, 0.85);
  text-decoration: underline;
}

.ob-data-notice {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.28);
  line-height: 1.5;
  margin-bottom: 18px;
  padding: 8px 10px;
  background: rgba(255,255,255,0.04);
  border-radius: 6px;
  border-left: 2px solid rgba(0, 212, 255, 0.2);
}
.ob-data-notice a {
  color: rgba(0, 212, 255, 0.55);
  text-decoration: none;
}
.ob-data-notice a:hover {
  color: rgba(0, 212, 255, 0.85);
  text-decoration: underline;
}

/* ---- Form ---- */
.ob-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ---- Field ---- */
.ob-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* ---- Age confirmation checkbox (Step 1) ---- */
.ob-age-check-field {
  gap: 4px;
  margin-top: 2px;
}
.ob-age-check-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  padding: 4px 2px;
  font-family: var(--font-body);
}
.ob-age-check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #00D4FF;
  cursor: pointer;
}
.ob-age-check:focus-visible {
  outline: 2px solid #00D4FF;
  outline-offset: 2px;
  border-radius: 2px;
}
.ob-age-check-text {
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.02em;
}

/* Date-of-birth input — inherit .ob-input but fix native date calendar icon tint */
.ob-input[type="date"] {
  color-scheme: dark;
  font-family: var(--font-body);
  /* Firefox sometimes renders empty date inputs with a weird min-width */
  min-height: 44px;
}

.ob-label {
  font-family: var(--font-body);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---- Inputs ---- */
.ob-input {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 12px 14px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  width: 100%;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.ob-input::placeholder { color: var(--text-muted); }

.ob-input:focus {
  border-color: var(--neon-blue);
  box-shadow: 0 0 0 1px rgba(0,212,255,0.18), 0 0 18px rgba(0,212,255,0.08);
}

.ob-input-locked {
  color: var(--text-muted);
  cursor: not-allowed;
  border-color: rgba(255,255,255,0.05);
  opacity: 0.7;
}

.ob-input-locked:focus {
  box-shadow: none;
  border-color: rgba(255,255,255,0.05);
}

.ob-input-amt { margin-top: 8px; }

.ob-field-note {
  font-size: 0.62rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* Per-field validation error (shown by JS) */
.ob-field-error {
  display: none;
  font-size: 0.65rem;
  color: #ff4d6d;
  letter-spacing: 0.05em;
  margin-top: 4px;
  font-family: var(--font-body);
  text-transform: uppercase;
}

/* ---- Password toggle ---- */
.ob-pw-wrap {
  position: relative;
}

.ob-pw-wrap .ob-input { padding-right: 44px; }

.ob-pw-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  transition: color 0.18s ease;
  display: flex;
  align-items: center;
}

.ob-pw-toggle:hover { color: var(--text-secondary); }
.ob-pw-toggle svg   { width: 16px; height: 16px; }

/* ---- Shake error animation ---- */
@keyframes obShake {
  0%, 100% { transform: translateX(0); }
  18%       { transform: translateX(-6px); }
  38%       { transform: translateX(6px); }
  58%       { transform: translateX(-4px); }
  78%       { transform: translateX(4px); }
}

.ob-input-shake {
  animation: obShake 0.42s ease both;
  border-color: rgba(255,45,120,0.65) !important;
  box-shadow: 0 0 14px rgba(255,45,120,0.2) !important;
}

/* ---- CTA button ---- */
.ob-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  padding: 15px 20px;
  margin-top: 10px;
  border: 1px solid var(--neon-blue);
  border-radius: 5px;
  background: linear-gradient(135deg, rgba(0,212,255,0.12) 0%, rgba(123,47,255,0.08) 100%);
  color: var(--neon-cyan);
  font-family: var(--font-game);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.18s ease;
  animation: ctaGlowPulse 2.8s ease-in-out infinite;
  text-shadow: 0 0 12px rgba(0,255,255,0.4);
}

.ob-cta svg { width: 15px; height: 15px; flex-shrink: 0; }

.ob-cta:hover {
  background: linear-gradient(135deg, rgba(0,212,255,0.24) 0%, rgba(123,47,255,0.16) 100%);
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(0,212,255,0.55), 0 0 60px rgba(123,47,255,0.15);
}

.ob-cta-ref { margin-top: 0; }

/* ── Form field wrapper (a11y — groups label+input cleanly) ── */
.ap-field,
.co-field {
  margin-bottom: 0; /* inputs already have margin-bottom via their own rule */
}

/* ── Fieldset reset for ob-question fieldsets ─────────────── */
.ob-question-fieldset {
  border: none;
  padding: 0;
  margin: 0 0 20px;
}
.ob-question-fieldset legend {
  /* Inherits .ob-q-label styles — set explicitly */
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  display: block;
  width: 100%;
}

/* ============================================================
   STEP 2 — Player Intent styles
   ============================================================ */
.ob-question { margin-bottom: 20px; }

.ob-q-label {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.03em;
  margin-bottom: 10px;
}

/* YES / NO toggles */
.ob-toggle-row {
  display: flex;
  gap: 10px;
}

.ob-toggle {
  flex: 1;
  padding: 13px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 5px;
  color: var(--text-secondary);
  font-family: var(--font-game);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  cursor: pointer;
  transition: all 0.18s ease;
}

.ob-toggle:hover {
  border-color: rgba(0,212,255,0.35);
  color: var(--text-primary);
}

.ob-toggle-yes.ob-toggle-active {
  background: rgba(0,212,255,0.1);
  border-color: var(--neon-blue);
  color: var(--neon-cyan);
  box-shadow: 0 0 18px rgba(0,212,255,0.22), inset 0 0 16px rgba(0,212,255,0.04);
  animation: obPillPulse 2.4s ease-in-out infinite;
}

.ob-toggle-no.ob-toggle-active {
  background: rgba(123,47,255,0.1);
  border-color: var(--neon-purple);
  color: #c4a8ff;
  box-shadow: 0 0 16px rgba(123,47,255,0.2);
}

/* Quick-select row */
.ob-quick-row {
  display: flex;
  gap: 8px;
}

.ob-quick {
  flex: 1;
  padding: 9px 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  color: var(--text-secondary);
  font-family: var(--font-game);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.ob-quick:hover {
  border-color: rgba(0,212,255,0.35);
  color: var(--text-primary);
  background: rgba(0,212,255,0.05);
}

.ob-quick.ob-quick-active {
  background: rgba(0,212,255,0.1);
  border-color: var(--neon-blue);
  color: var(--neon-cyan);
  box-shadow: 0 0 14px rgba(0,212,255,0.28);
  animation: obPillPulse 2s ease-in-out infinite;
}

/* Frequency pills */
.ob-pill-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ob-pill {
  padding: 8px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.ob-pill:hover {
  border-color: rgba(123,47,255,0.45);
  color: var(--text-primary);
  background: rgba(123,47,255,0.06);
}

.ob-pill.ob-pill-active {
  background: rgba(123,47,255,0.14);
  border-color: var(--neon-purple);
  color: #c4a8ff;
  box-shadow: 0 0 16px rgba(123,47,255,0.3);
  animation: obPillPulse 2.2s ease-in-out infinite;
}

@keyframes obPillPulse {
  0%, 100% { box-shadow: 0 0 10px rgba(0,212,255,0.2); }
  50%       { box-shadow: 0 0 22px rgba(0,212,255,0.5); }
}

/* ============================================================
   STEP 3 — Success
   ============================================================ */
.ob-success-wrap {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

/* Pulsing halo ring behind the check */
.ob-success-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,212,255,0.12) 0%, transparent 65%);
  animation: obSuccessHalo 2.4s ease-in-out infinite;
}

@keyframes obSuccessHalo {
  0%, 100% { transform: scale(1);   opacity: 0.7; }
  50%       { transform: scale(1.2); opacity: 1; }
}

.ob-check-svg { width: 88px; height: 88px; }

/* Animated circle draw */
.ob-check-circle {
  fill: none;
  stroke: url(#cgA);
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-dasharray: 226;
  stroke-dashoffset: 226;
  transition: stroke-dashoffset 0.75s cubic-bezier(0.4,0,0.2,1) 0.15s;
  transform-origin: center;
  transform: rotate(-90deg);
}

/* Animated checkmark draw */
.ob-check-mark {
  fill: none;
  stroke: #00FFFF;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 52;
  stroke-dashoffset: 52;
  filter: drop-shadow(0 0 6px rgba(0,255,255,0.8));
  transition: stroke-dashoffset 0.45s cubic-bezier(0.4,0,0.2,1) 0.85s;
}

.ob-check-circle.ob-drawn { stroke-dashoffset: 0; }
.ob-check-mark.ob-drawn   { stroke-dashoffset: 0; }

/* ============================================================
   STEP 4 — Referral
   ============================================================ */
.ob-ref-eyebrow {
  font-family: var(--font-body);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.38em;
  color: var(--neon-blue-dim);
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* Referral link row */
.ob-ref-row {
  display: flex;
  align-items: center;
  border: 1px solid rgba(0,212,255,0.28);
  border-radius: 5px;
  overflow: hidden;
  background: rgba(0,212,255,0.04);
  margin-bottom: 10px;
}

.ob-ref-link {
  flex: 1;
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--neon-cyan);
  letter-spacing: 0.05em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  user-select: all;
  cursor: text;
}

.ob-copy-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 11px 16px;
  background: rgba(0,212,255,0.1);
  border: none;
  border-left: 1px solid rgba(0,212,255,0.2);
  color: var(--neon-cyan);
  font-family: var(--font-game);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.ob-copy-btn svg { width: 13px; height: 13px; }

.ob-copy-btn:hover {
  background: rgba(0,212,255,0.2);
}

.ob-copy-btn.ob-copied {
  color: #00ff88;
  background: rgba(0,255,136,0.1);
  border-left-color: rgba(0,255,136,0.25);
}

@keyframes obCopied {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.ob-copy-btn.ob-copied { animation: obCopied 0.3s ease both; }

/* Share buttons */
.ob-share-row {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.ob-share-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.ob-share-btn svg { width: 14px; height: 14px; flex-shrink: 0; }

.ob-share-btn:hover {
  border-color: rgba(0,212,255,0.3);
  color: var(--text-primary);
  background: rgba(0,212,255,0.05);
}

/* Progress tracker */
.ob-tracker {
  margin-bottom: 14px;
  position: relative;
}

.ob-tracker-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.ob-tracker-label {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.ob-tracker-count {
  font-family: var(--font-game);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--neon-blue-dim);
}

.ob-tracker-bar-bg {
  height: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  margin-bottom: 6px;
  overflow: visible;
  position: relative;
}

.ob-tracker-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
  border-radius: 2px;
  transition: width 0.7s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 0 8px rgba(0,212,255,0.6);
}

/* Tracker milestone nodes */
.ob-tracker-nodes {
  display: flex;
  justify-content: space-between;
  padding: 0 2px;
}

.ob-tracker-node {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  transition: all 0.4s ease;
  position: relative;
}

.ob-tracker-node::after {
  content: attr(data-n);
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-body);
  font-size: 0.52rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.ob-tracker-node.ob-node-done {
  background: var(--neon-blue);
  border-color: var(--neon-blue);
  box-shadow: 0 0 8px rgba(0,212,255,0.8);
}

/* Reward badge */
.ob-reward {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  background: rgba(255,255,255,0.02);
  margin-bottom: 16px;
  transition: all 0.5s ease;
}

.ob-reward.ob-reward-active {
  border-color: rgba(0,212,255,0.45);
  background: rgba(0,212,255,0.06);
  box-shadow: 0 0 24px rgba(0,212,255,0.12);
}

.ob-reward-left { flex-shrink: 0; }

.ob-reward-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.4s ease;
}

.ob-reward-icon svg { width: 18px; height: 18px; }

.ob-reward.ob-reward-active .ob-reward-icon {
  border-color: var(--neon-blue);
  color: var(--neon-cyan);
  box-shadow: 0 0 12px rgba(0,212,255,0.35);
}

.ob-reward-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ob-reward-title {
  font-family: var(--font-game);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  transition: color 0.4s ease;
}

.ob-reward.ob-reward-active .ob-reward-title { color: var(--text-primary); }

.ob-reward-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.ob-reward-state { color: var(--text-muted); flex-shrink: 0; }
.ob-reward-state svg { width: 15px; height: 15px; display: block; }

.ob-unlocked-label {
  font-family: var(--font-game);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--neon-cyan);
  text-shadow: 0 0 8px rgba(0,255,255,0.6);
}

/* ---- Mobile responsive ---- */
@media (max-width: 540px) {
  .ob-step-inner     { padding: 46px 22px 28px; }
  .ob-share-row      { flex-wrap: wrap; }
  .ob-share-btn      { flex: calc(50% - 4px); }
  .ob-quick-row      { gap: 6px; }
  .ob-quick          { font-size: 0.64rem; padding: 9px 4px; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 960px) {
  .featured-card {
    grid-template-columns: 1fr;
  }

  .featured-img-area {
    min-height: 260px;
  }

  .featured-info {
    padding: 32px 28px;
    border-left: none;
    border-top: 1px solid var(--border-dark);
  }

  .tiers-grid {
    grid-template-columns: 1fr;
    background: transparent;
    border: 1px solid var(--border-silver);
    gap: 0;
  }

  .tier-card + .tier-card {
    border-top: 1px solid var(--border-silver);
  }

  .tier-img-area { height: 140px; }

  .logo-drift,
  .logo-battle {
    font-size: 2.4rem;
  }

  .header-nav { display: none; }
}

/* Mobile */
@media (max-width: 600px) {
  :root { --max-w: 100%; }

  .site-header { padding: 16px 20px; }

  .shop { padding: 76px 0; }

  .logo-drift,
  .logo-battle {
    font-size: 1.85rem;
    letter-spacing: 0.2em;
  }

  .logo-tagline { font-size: 0.62rem; letter-spacing: 0.16em; }
  .live-stats   { bottom: 82px; padding: 5px 14px 5px 10px; }

  .early-access { padding: 20px 16px 18px; }

  .ea-row { flex-direction: column; }

  .ea-btn { width: 100%; justify-content: center; padding: 12px; }

  .featured-info { padding: 24px 18px; }

  .product-cta-row { flex-direction: column; align-items: flex-start; }

  .btn-buy-featured { width: 100%; justify-content: center; }

  .tier-body { padding: 18px 18px 22px; }

  .trailer-close { right: 80px; }

  .section-header { margin-bottom: 44px; }

  .container { padding: 0 16px; }
}

/* ============================================================
   UPDATE-PASSWORD PAGE  (/update-password.html)
   Standalone page — reuses CSS variables from this file.
   ============================================================ */
.up-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-deep, #04040f);
  padding: 24px 16px;
}

.up-wrap {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

/* Logo */
.up-logo {
  font-family: var(--font-game);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: var(--text-primary, #fff);
  text-transform: uppercase;
}
.up-logo span {
  color: var(--neon-cyan, #00d4ff);
}

/* Card */
.up-card {
  width: 100%;
  background: rgba(8, 8, 22, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 212, 255, 0.18);
  border-radius: 10px;
  padding: 32px 28px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.75),
    0 0 40px rgba(0, 212, 255, 0.04);
}

.up-card-title {
  font-family: var(--font-body, 'Rajdhani', sans-serif);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(0, 212, 255, 0.6);
  margin-bottom: 20px;
}

/* Status text (loading state) */
.up-status {
  font-family: var(--font-body, 'Rajdhani', sans-serif);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.08em;
  text-align: center;
}

/* Field wrapper */
.up-field {
  margin-bottom: 12px;
}

/* Input */
.up-input {
  display: block;
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: var(--text-primary, #fff);
  font-family: var(--font-body, 'Rajdhani', sans-serif);
  font-size: 0.92rem;
  padding: 10px 14px;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.18s ease;
}
.up-input::placeholder { color: rgba(255, 255, 255, 0.3); }
.up-input:focus { border-color: rgba(0, 212, 255, 0.45); }

/* Per-field error under each input */
.up-field-error {
  display: none;
  font-family: var(--font-body, 'Rajdhani', sans-serif);
  font-size: 0.65rem;
  color: #ff4d6d;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 5px;
}

/* Submit button */
.up-btn {
  display: block;
  width: 100%;
  padding: 11px;
  margin-top: 18px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.16), rgba(123, 47, 255, 0.12));
  border: 1px solid rgba(0, 212, 255, 0.38);
  border-radius: 4px;
  color: var(--neon-cyan, #00d4ff);
  font-family: var(--font-game, 'Orbitron', sans-serif);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.up-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.28), rgba(123, 47, 255, 0.20));
  border-color: rgba(0, 212, 255, 0.65);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}
.up-btn:disabled {
  opacity: 0.5;
  cursor: default;
}

/* General error (below the button) */
.up-error {
  font-family: var(--font-body, 'Rajdhani', sans-serif);
  font-size: 0.75rem;
  color: #ff4d6d;
  letter-spacing: 0.04em;
  margin-top: 12px;
  line-height: 1.5;
}

/* Success message */
.up-success-msg,
.up-expired-msg {
  font-family: var(--font-body, 'Rajdhani', sans-serif);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}
.up-success-msg { color: rgba(0, 255, 136, 0.85); }
.up-expired-msg { color: rgba(255, 255, 255, 0.55); }


/* ============================================================
   CHECKOUT FLOW — Auth Gate + Purchase Modal + Cancel Banner
   ============================================================ */

/* ── Shared overlay backdrop ─────────────────────────────── */
.co-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 600;
  display: none; /* shown via JS */
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.22s ease;
}
.co-overlay.co-open { opacity: 1; }

/* ── Shared panel ────────────────────────────────────────── */
.co-panel {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: rgba(8, 8, 22, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 12px;
  padding: 32px 28px 28px;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(0, 212, 255, 0.06);
  transform: translateY(8px) scale(0.98);
  transition: transform 0.22s ease;
}
.co-overlay.co-open .co-panel { transform: translateY(0) scale(1); }

/* ── Close button ────────────────────────────────────────── */
.co-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: color 0.15s ease, background 0.15s ease;
  padding: 0;
}
.co-close:hover {
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.06);
}
.co-close svg { width: 16px; height: 16px; }

/* ── Modal title + subtitle ──────────────────────────────── */
.co-modal-title {
  font-family: var(--font-game, 'Orbitron', sans-serif);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--neon-cyan, #00d4ff);
  margin: 0 0 8px;
}
.co-modal-sub {
  font-family: var(--font-body, 'Rajdhani', sans-serif);
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 22px;
  line-height: 1.45;
}

/* ── Inputs ──────────────────────────────────────────────── */
.co-input {
  display: block;
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: var(--text-primary, #fff);
  font-family: var(--font-body, 'Rajdhani', sans-serif);
  font-size: 0.92rem;
  padding: 10px 13px;
  margin-bottom: 10px;
  outline: none;
  transition: border-color 0.18s ease;
  box-sizing: border-box;
}
.co-input::placeholder { color: rgba(255, 255, 255, 0.28); }
.co-input:focus { border-color: rgba(0, 212, 255, 0.45); }

/* ── Primary button ──────────────────────────────────────── */
.co-btn-primary {
  display: block;
  width: 100%;
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.22), rgba(123, 47, 255, 0.16));
  border: 1px solid rgba(0, 212, 255, 0.5);
  border-radius: 6px;
  color: var(--neon-cyan, #00d4ff);
  font-family: var(--font-game, 'Orbitron', sans-serif);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 6px;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.co-btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.34), rgba(123, 47, 255, 0.26));
  border-color: rgba(0, 212, 255, 0.75);
  box-shadow: 0 0 22px rgba(0, 212, 255, 0.22);
}
.co-btn-primary:disabled { opacity: 0.5; cursor: default; }

/* ── Ghost / secondary button ────────────────────────────── */
.co-btn-ghost {
  display: block;
  width: 100%;
  padding: 11px 16px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-game, 'Orbitron', sans-serif);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 10px;
  transition: border-color 0.18s ease, color 0.18s ease;
}
.co-btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.85);
}

/* ── Error + success text ────────────────────────────────── */
.co-error {
  font-family: var(--font-body, 'Rajdhani', sans-serif);
  font-size: 0.8rem;
  color: rgba(255, 60, 100, 0.9);
  margin: 8px 0 0;
  min-height: 1.2em;
  line-height: 1.4;
}
.co-success {
  font-family: var(--font-body, 'Rajdhani', sans-serif);
  font-size: 0.82rem;
  color: rgba(0, 255, 136, 0.85);
  margin: 8px 0 0;
  line-height: 1.4;
}

/* ── Link buttons ────────────────────────────────────────── */
.co-link {
  background: none;
  border: none;
  padding: 0;
  color: rgba(0, 212, 255, 0.6);
  font-family: var(--font-body, 'Rajdhani', sans-serif);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}
.co-link:hover { color: rgba(0, 212, 255, 0.95); }
.co-link-back  { color: rgba(255, 255, 255, 0.35); }
.co-link-back:hover { color: rgba(255, 255, 255, 0.7); }
.co-row-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}

/* Inline link inside error text */
.ag-inline-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--neon-cyan, #00d4ff);
  font-size: inherit;
  font-family: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── AUTH GATE ───────────────────────────────────────────── */
.ag-panel { padding-top: 24px; }

/* Package summary pill */
.ag-pkg-summary { margin-bottom: 24px; }
.ag-pkg-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 212, 255, 0.07);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 8px;
  padding: 10px 14px;
  flex-wrap: wrap;
}
.ag-pkg-name {
  font-family: var(--font-game, 'Orbitron', sans-serif);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
}
.ag-pkg-arrow-svg {
  width: 18px;
  height: 8px;
  color: rgba(0, 212, 255, 0.5);
  flex-shrink: 0;
}
.ag-pkg-credits {
  font-family: var(--font-body, 'Rajdhani', sans-serif);
  font-size: 0.82rem;
  color: rgba(0, 212, 255, 0.9);
  font-weight: 600;
}
.ag-pkg-price {
  margin-left: auto;
  font-family: var(--font-game, 'Orbitron', sans-serif);
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

/* ── PURCHASE MODAL ──────────────────────────────────────── */
.pm-panel { max-width: 400px; }

.pm-pkg-header {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.pm-pkg-name {
  font-family: var(--font-game, 'Orbitron', sans-serif);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.pm-pkg-price {
  font-family: var(--font-game, 'Orbitron', sans-serif);
  font-size: 1.9rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}
.pm-pkg-sub {
  font-family: var(--font-body, 'Rajdhani', sans-serif);
  font-size: 0.85rem;
  color: rgba(0, 212, 255, 0.75);
  font-weight: 500;
}
.pm-pkg-sub strong { color: rgba(0, 212, 255, 1); }

.pm-owned-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-game, 'Orbitron', sans-serif);
  font-size: 0.56rem;
  letter-spacing: 0.2em;
  color: rgba(0, 255, 136, 0.9);
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.25);
  border-radius: 4px;
  padding: 4px 10px;
  margin-bottom: 10px;
}

.pm-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.pm-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-family: var(--font-body, 'Rajdhani', sans-serif);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  padding: 5px 0;
  line-height: 1.4;
}
.pm-features li svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 2px;
  color: rgba(0, 212, 255, 0.85);
}

.pm-trust-row {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-body, 'Rajdhani', sans-serif);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.38);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.pm-trust-row svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: rgba(0, 212, 255, 0.5);
}

.pm-checkout-btn { margin-top: 0; font-size: 0.65rem; letter-spacing: 0.22em; }

.pm-sub-trust {
  font-family: var(--font-body, 'Rajdhani', sans-serif);
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
  margin: 10px 0 0;
  line-height: 1.4;
}

.pm-disclosure {
  font-family: var(--font-body, 'Rajdhani', sans-serif);
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.22);
  text-align: center;
  margin: 12px 0 0;
  line-height: 1.55;
  letter-spacing: 0.01em;
}
.pm-disclosure a {
  color: rgba(0, 212, 255, 0.45);
  text-decoration: none;
}
.pm-disclosure a:hover {
  color: rgba(0, 212, 255, 0.75);
  text-decoration: underline;
}

/* Auth gate consent note */
.co-consent-note {
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.25);
  line-height: 1.55;
  margin: 10px 0 0;
  text-align: center;
  letter-spacing: 0.01em;
}
.co-consent-note a {
  color: rgba(0, 212, 255, 0.5);
  text-decoration: none;
}
.co-consent-note a:hover {
  color: rgba(0, 212, 255, 0.8);
  text-decoration: underline;
}

/* ── CANCEL BANNER ───────────────────────────────────────── */
.co-cancel-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: rgba(8, 8, 22, 0.97);
  border-bottom: 1px solid rgba(0, 212, 255, 0.2);
  display: none; /* shown via JS */
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 12px 20px;
  flex-wrap: wrap;
}
.co-cancel-msg {
  font-family: var(--font-body, 'Rajdhani', sans-serif);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
}
.co-cancel-retry {
  background: none;
  border: 1px solid rgba(0, 212, 255, 0.45);
  border-radius: 4px;
  color: var(--neon-cyan, #00d4ff);
  font-family: var(--font-body, 'Rajdhani', sans-serif);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 4px 14px;
  cursor: pointer;
  transition: background 0.15s ease;
  white-space: nowrap;
}
.co-cancel-retry:hover { background: rgba(0, 212, 255, 0.1); }
.co-cancel-dismiss {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.3);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  transition: color 0.15s ease;
}
.co-cancel-dismiss:hover { color: rgba(255, 255, 255, 0.7); }

/* ============================================================
   SUCCESS PAGE
   ============================================================ */
.suc-page {
  min-height: 100vh;
  background: #08081a;
  display: flex;
  align-items: center;
  justify-content: center;
}
.suc-home-link {
  position: fixed;
  top: 20px;
  left: 24px;
  font-family: var(--font-body, 'Rajdhani', sans-serif);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: color 0.15s ease;
}
.suc-home-link:hover { color: rgba(255, 255, 255, 0.7); }
.suc-wrap {
  width: 100%;
  padding: 40px 20px;
  display: flex;
  justify-content: center;
}
.suc-card {
  width: 100%;
  max-width: 420px;
  background: rgba(12, 12, 28, 0.98);
  border: 1px solid rgba(0, 212, 255, 0.18);
  border-radius: 14px;
  padding: 48px 36px 40px;
  text-align: center;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.7),
    0 0 40px rgba(0, 212, 255, 0.05);
}

/* Icon */
.suc-icon {
  margin: 0 auto 24px;
  width: 64px;
  height: 64px;
}
.suc-icon svg { width: 100%; height: 100%; }
.suc-icon-success { color: rgba(0, 212, 255, 0.9); }
.suc-icon-pending  { color: rgba(255, 185, 0, 0.8); }
.suc-icon-warn     { color: rgba(255, 185, 0, 0.8); }

/* Animated check */
.suc-circle,
.suc-checkmark {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  transition: stroke-dashoffset 0.7s ease;
}
.suc-circle.suc-drawn   { stroke-dashoffset: 0; }
.suc-checkmark {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
}
.suc-checkmark.suc-drawn { stroke-dashoffset: 0; }

/* Text */
.suc-tag {
  font-family: var(--font-game, 'Orbitron', sans-serif);
  font-size: 0.55rem;
  letter-spacing: 0.32em;
  color: rgba(0, 212, 255, 0.7);
  margin: 0 0 10px;
  text-transform: uppercase;
}
.suc-title {
  font-family: var(--font-game, 'Orbitron', sans-serif);
  font-size: 1.9rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
  letter-spacing: 0.04em;
}
.suc-body {
  font-family: var(--font-body, 'Rajdhani', sans-serif);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 28px;
  line-height: 1.55;
}
.suc-cta {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.22), rgba(123, 47, 255, 0.16));
  border: 1px solid rgba(0, 212, 255, 0.5);
  border-radius: 6px;
  color: var(--neon-cyan, #00d4ff);
  font-family: var(--font-game, 'Orbitron', sans-serif);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  margin-bottom: 20px;
}
.suc-cta:hover {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.34), rgba(123, 47, 255, 0.26));
  border-color: rgba(0, 212, 255, 0.75);
  box-shadow: 0 0 22px rgba(0, 212, 255, 0.22);
}
.suc-note {
  font-family: var(--font-body, 'Rajdhani', sans-serif);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.28);
  margin: 0;
}
.suc-note a { color: rgba(0, 212, 255, 0.5); }

.suc-disclosure {
  font-family: var(--font-body, 'Rajdhani', sans-serif);
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.2);
  margin: 12px 0 0;
  line-height: 1.55;
  text-align: center;
  padding: 0 8px;
}
.suc-disclosure a {
  color: rgba(0, 212, 255, 0.4);
  text-decoration: none;
}
.suc-disclosure a:hover {
  color: rgba(0, 212, 255, 0.7);
  text-decoration: underline;
}

.suc-back-link {
  display: block;
  font-family: var(--font-body, 'Rajdhani', sans-serif);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
  margin-top: 12px;
  transition: color 0.15s ease;
}
.suc-back-link:hover { color: rgba(255, 255, 255, 0.6); }

/* Loading spinner */
.suc-spinner {
  width: 36px;
  height: 36px;
  border: 2px solid rgba(0, 212, 255, 0.15);
  border-top-color: rgba(0, 212, 255, 0.7);
  border-radius: 50%;
  margin: 0 auto 16px;
  animation: suc-spin 0.8s linear infinite;
}
@keyframes suc-spin { to { transform: rotate(360deg); } }
.suc-loading-txt {
  font-family: var(--font-body, 'Rajdhani', sans-serif);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.06em;
}

/* ── Heading resets — keep visual style when element is h1/h2 ── */
h1.up-card-title,
h1.suc-title,
h2.ob-heading,
h2.rrm-headline {
  /* Headings get browser default top-margin; zero it out to preserve layout */
  margin-top: 0;
}

/* Early access form inline error */
.ea-form-error {
  font-family: var(--font-body);
  font-size: 0.74rem;
  color: var(--neon-pink);
  letter-spacing: 0.04em;
  margin-top: 6px;
  display: block;
}

/* ════════════════════════════════════════════════════════════
   VERIFY-EMAIL MODAL  (blocking email confirmation gate)
   ════════════════════════════════════════════════════════════ */
.ve-overlay {
  z-index: 1000; /* above every other modal (onboarding, auth gate, purchase) */
}
.ve-panel {
  text-align: center;
  max-width: 440px;
  padding: 36px 28px 28px;
}
.ve-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  color: #00d4ff;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.15);
}
.ve-icon svg { width: 28px; height: 28px; }
.ve-headline {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  margin: 0 0 10px;
}
.ve-body {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 8px;
}
.ve-sub {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 14px;
}
.ve-email-line {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 18px;
}
.ve-email-line strong {
  color: #00d4ff;
  font-weight: 600;
  word-break: break-all;
}
.ve-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(0, 212, 255, 0.85);
  margin-bottom: 20px;
}
.ve-spinner {
  width: 12px;
  height: 12px;
  border: 2px solid rgba(0, 212, 255, 0.25);
  border-top-color: #00d4ff;
  border-radius: 50%;
  animation: ve-spin 0.9s linear infinite;
}
@keyframes ve-spin { to { transform: rotate(360deg); } }
.ve-btn-primary {
  width: 100%;
  margin-bottom: 10px;
}
.ve-btn-secondary {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.75);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 13px;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.ve-btn-secondary:hover {
  border-color: rgba(0, 212, 255, 0.4);
  color: #fff;
  background: rgba(0, 212, 255, 0.04);
}
.ve-error {
  margin: 12px 0 0;
  font-size: 12px;
  color: #ff5577;
  min-height: 1em;
}

/* Responsive */
@media (max-width: 480px) {
  .co-panel { padding: 24px 18px 20px; }
  .suc-card  { padding: 36px 22px 32px; }
  .ag-pkg-pill { gap: 6px; }
  .ve-panel   { padding: 28px 20px 22px; }
}
