/* ── Variables ───────────────────────────────────────────── */
:root {
  --bg: #0a0b0f;
  --bg-alt: #111318;
  --surface: #16181f;
  --surface-elevated: #1c1f28;
  --text: #f0f2f5;
  --text-muted: #9aa3b2;
  --accent: #00e5a0;
  --accent-secondary: #7c6cff;
  --accent-hover: #00c98a;
  --accent-soft: rgba(0, 229, 160, 0.12);
  --accent-glow: rgba(0, 229, 160, 0.35);
  --border: rgba(255, 255, 255, 0.08);
  --border-bright: rgba(255, 255, 255, 0.14);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
  --radius: 20px;
  --radius-sm: 12px;
  --font-sans: "Space Grotesk", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --header-h: 76px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

.narrow { max-width: 700px; }

/* ── Typography ──────────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 229, 160, 0.25);
  background: var(--accent-soft);
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.1;
  color: var(--text);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  margin-bottom: 1.1rem;
  background: linear-gradient(135deg, #fff 30%, #b8c0cc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-family: var(--font-sans); font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; }

.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

p + p { margin-top: 1rem; }
p + .btn { margin-top: 1.5rem; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, background var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--accent);
  color: #0a0b0f;
  box-shadow: 0 0 24px var(--accent-glow);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #0a0b0f;
  box-shadow: 0 0 32px var(--accent-glow);
}

.btn-glow {
  animation: btnPulse 2.5s ease-in-out infinite;
}

@keyframes btnPulse {
  0%, 100% { box-shadow: 0 0 20px var(--accent-glow); }
  50% { box-shadow: 0 0 36px rgba(0, 229, 160, 0.55); }
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-bright);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--accent);
  color: var(--accent);
}

/* ── Language switch ─────────────────────────────────────── */
.lang-switch {
  display: flex;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.lang-btn {
  padding: 0.35rem 0.7rem;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.lang-btn.active {
  background: var(--accent);
  color: #0a0b0f;
}

.lang-btn:hover:not(.active) {
  color: var(--text);
}

/* ── Header ──────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(10, 11, 15, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition), background var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow);
  background: rgba(10, 11, 15, 0.92);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
}

.logo-mark {
  color: var(--accent);
  font-size: 0.85rem;
}

.logo:hover { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active { color: var(--accent); }

.nav-cta {
  background: var(--accent) !important;
  color: #0a0b0f !important;
  padding: 0.5rem 1.1rem !important;
  border-radius: 999px;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--accent-hover) !important;
  color: #0a0b0f !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 2.5rem) 0 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: orbFloat 12s ease-in-out infinite;
}

.hero-orb-1 {
  width: 420px;
  height: 420px;
  background: var(--accent);
  top: -10%;
  left: -8%;
}

.hero-orb-2 {
  width: 360px;
  height: 360px;
  background: var(--accent-secondary);
  bottom: 5%;
  right: -5%;
  animation-delay: -6s;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -15px) scale(1.05); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
}

.hero-sub {
  color: var(--text-muted);
  font-size: 1.08rem;
  margin-bottom: 1.75rem;
  max-width: 44ch;
}

.hero-stats {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  min-width: 100px;
}

.hero-stat-value {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.hero-stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ── Game ────────────────────────────────────────────────── */
.game-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  border: 1px solid var(--border-bright);
  overflow: hidden;
}

.game-card-glow {
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(0, 229, 160, 0.15), transparent 70%);
  pointer-events: none;
}

.game-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  position: relative;
}

.game-title-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.game-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin-bottom: 0;
}

.game-wave {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(124, 108, 255, 0.15);
  color: #a99fff;
  border: 1px solid rgba(124, 108, 255, 0.3);
}

.game-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.game-mute {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-elevated);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition), border-color var(--transition);
}

.game-mute:hover { color: var(--accent); border-color: var(--accent); }
.game-mute .icon-muted { display: none; }
.game-mute.muted .icon-sound { display: none; }
.game-mute.muted .icon-muted { display: block; }

.game-stats {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.65rem;
  flex-wrap: wrap;
  position: relative;
}

.stat { text-align: center; min-width: 52px; }

.stat-label {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.stat-value {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.stat-combo .stat-value {
  color: #a99fff;
}

.combo-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  margin-bottom: 0.65rem;
  overflow: hidden;
}

.combo-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
  border-radius: 999px;
  transition: width 0.2s ease;
}

.combo-track.combo-hot .combo-bar {
  box-shadow: 0 0 12px var(--accent-glow);
}

.lives-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.lives-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.lives {
  display: flex;
  gap: 0.35rem;
}

.life {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transition: background var(--transition), box-shadow var(--transition);
}

.life-full {
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}

.life-empty {
  background: rgba(255, 255, 255, 0.1);
}

.game-arena {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(0, 229, 160, 0.08), transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(124, 108, 255, 0.1), transparent 50%),
    linear-gradient(160deg, #12141a 0%, #0d0f14 100%);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: crosshair;
  outline: none;
  border: 1px solid var(--border);
  transition: filter 0.3s ease;
}

.game-arena.slow-mo {
  filter: saturate(1.2) brightness(1.05);
}

.game-arena.wave-flash {
  animation: waveFlash 0.4s ease;
}

@keyframes waveFlash {
  0%, 100% { box-shadow: inset 0 0 0 0 transparent; }
  50% { box-shadow: inset 0 0 40px rgba(0, 229, 160, 0.2); }
}

.game-arena.arena-shake {
  animation: arenaShake 0.35s ease;
}

@keyframes arenaShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.game-arena:focus-visible {
  box-shadow: 0 0 0 3px var(--accent-soft), 0 0 0 5px var(--accent);
}

.game-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: rgba(10, 11, 15, 0.88);
  backdrop-filter: blur(8px);
  z-index: 10;
  text-align: center;
  padding: 1.5rem;
}

.game-overlay.hidden { display: none; }

.game-overlay-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
}

.game-overlay-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.game-message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--surface-elevated);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-bright);
  box-shadow: var(--shadow-lg);
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 20;
  pointer-events: none;
  animation: popIn 0.4s ease;
}

@keyframes popIn {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.orb {
  position: absolute;
  border-radius: 50%;
  cursor: pointer;
  transform: translate(-50%, -50%);
  border: none;
  animation: orbPulse 1.8s ease-in-out infinite;
  transition: transform 0.12s;
  box-shadow: 0 0 24px currentColor, 0 0 48px currentColor;
}

.orb:hover { transform: translate(-50%, -50%) scale(1.12); }

.orb-golden {
  animation: orbGolden 1s ease-in-out infinite;
  box-shadow: 0 0 30px #ffd166, 0 0 60px rgba(255, 209, 102, 0.5);
}

.orb-freeze {
  animation: orbFreeze 2s ease-in-out infinite;
  box-shadow: 0 0 24px #4dd9ff, 0 0 48px rgba(77, 217, 255, 0.4);
}

@keyframes orbPulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.25); }
}

@keyframes orbGolden {
  0%, 100% { filter: brightness(1.1); transform: translate(-50%, -50%) scale(1); }
  50% { filter: brightness(1.4); transform: translate(-50%, -50%) scale(1.08); }
}

@keyframes orbFreeze {
  0%, 100% { filter: hue-rotate(0deg); }
  50% { filter: hue-rotate(20deg) brightness(1.2); }
}

.orb-pop {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: orbPop 0.45s ease forwards;
}

@keyframes orbPop {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(2.8); opacity: 0; }
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: particleFly 0.5s ease forwards;
}

@keyframes particleFly {
  to {
    transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy)));
    opacity: 0;
  }
}

.float-score {
  position: absolute;
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent);
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: floatUp 0.7s ease forwards;
  text-shadow: 0 0 12px var(--accent-glow);
}

.float-golden { color: #ffd166; text-shadow: 0 0 12px rgba(255, 209, 102, 0.6); }

@keyframes floatUp {
  to {
    transform: translate(-50%, calc(-50% - 40px));
    opacity: 0;
  }
}

.countdown {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  text-shadow: 0 0 30px var(--accent-glow);
  pointer-events: none;
  animation: countPop 0.5s ease forwards;
  z-index: 15;
}

.countdown-go { font-size: 2rem; color: #a99fff; }

@keyframes countPop {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
  60% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1); }
}

.game-hint {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}

/* ── Sections ────────────────────────────────────────────── */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
}

.section-book {
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(0, 229, 160, 0.06), transparent),
    var(--bg);
}

.section-newsletter {
  padding: 4rem 0;
  background: var(--bg);
}

.newsletter-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 229, 160, 0.2);
  background:
    radial-gradient(ellipse 80% 80% at 0% 50%, rgba(0, 229, 160, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 60% at 100% 50%, rgba(124, 108, 255, 0.08), transparent 55%),
    var(--surface);
  overflow: hidden;
}

.newsletter-glow {
  position: absolute;
  top: -50%;
  right: -10%;
  width: 50%;
  height: 150%;
  background: radial-gradient(circle, rgba(0, 229, 160, 0.12), transparent 65%);
  pointer-events: none;
}

.newsletter-content {
  position: relative;
}

.newsletter-content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
}

.newsletter-lead {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 1.25rem;
  max-width: 42ch;
}

.newsletter-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.newsletter-perks li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.newsletter-perks li::before {
  content: "✓";
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.65rem;
  font-weight: 700;
}

.newsletter-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.newsletter-honey {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.newsletter-field {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.newsletter-field input[type="email"] {
  flex: 1;
  min-width: 200px;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--border-bright);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.newsletter-field input[type="email"]::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.newsletter-field input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.newsletter-field .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.newsletter-field .btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.newsletter-note {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.newsletter-status {
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
}

.newsletter-status.success {
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(0, 229, 160, 0.25);
}

.newsletter-status.error {
  color: #ff8a8a;
  background: rgba(255, 100, 100, 0.1);
  border: 1px solid rgba(255, 100, 100, 0.25);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Bento grid ──────────────────────────────────────────── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.bento-card {
  background: var(--surface);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.bento-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 229, 160, 0.25);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.bento-large { grid-row: span 2; }

.bento-wide { grid-column: span 2; }

.card-icon {
  display: block;
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.bento-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ── Credentials ─────────────────────────────────────────── */
.credentials {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.5rem 0;
}

.credentials li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 0.9rem 0.45rem 0.45rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.credential-badge {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}

/* ── Testimonials ────────────────────────────────────────── */
.testimonial {
  background: var(--surface);
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.testimonial p {
  color: var(--text);
  margin-bottom: 1rem;
}

.testimonial p:last-of-type { margin-bottom: 0; }

.testimonial p strong {
  color: var(--accent);
}

.testimonial footer {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.testimonial-featured {
  max-width: 760px;
  margin-top: 2rem;
  box-shadow: var(--shadow);
  border-left: 3px solid var(--accent);
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-elevated) 100%);
}

.testimonial-featured p { line-height: 1.7; }
.testimonial-featured p + p { margin-top: 1rem; }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-item {
  background: var(--surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item:hover { border-color: var(--border-bright); }

.faq-item summary {
  padding: 1rem 1.25rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--accent);
  transition: transform var(--transition);
}

.faq-item[open] summary { border-bottom: 1px solid var(--border); }
.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  padding: 0 1.25rem 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-item-body {
  padding: 1rem 1.25rem 1.25rem;
  animation: faqReveal var(--transition) ease;
}

.faq-item-body p { padding: 0; margin: 0 0 1rem; }

.faq-item-actions { display: flex; align-items: center; }
.faq-item-actions .btn { width: fit-content; }

.faq-item-cta[open] {
  border-color: rgba(0, 229, 160, 0.25);
  box-shadow: var(--shadow);
}

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

/* ── Contact ─────────────────────────────────────────────── */
.contact-list {
  list-style: none;
  margin-top: 1.5rem;
}

.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 600;
}

/* ── Calendly ────────────────────────────────────────────── */
.calendly-wrap {
  margin-top: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.calendly-wrap iframe {
  width: 100%;
  min-height: 700px;
  border: none;
  display: block;
}

.calendly-fallback {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
}

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-cta { font-weight: 600; }

/* ── Scroll progress ───────────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
  z-index: 200;
  box-shadow: 0 0 12px var(--accent-glow);
  transition: width 0.08s linear;
  pointer-events: none;
}

/* ── Reveal animations ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-left.visible {
  transform: translateX(0);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal-right.visible {
  transform: translateX(0);
}

.reveal-scale {
  transform: scale(0.94) translateY(24px);
}

.reveal-scale.visible {
  transform: scale(1) translateY(0);
}

.reveal-item {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.visible .reveal-item,
.reveal-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal.visible.reveal-scale .reveal-item.reveal-scale {
  transform: scale(1);
}

/* ── Section accents ───────────────────────────────────────── */
.section::before {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  margin: 0 auto 0;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: width 1s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s ease;
}

.section.in-view::before {
  width: min(120px, 30vw);
  opacity: 0.6;
  margin-bottom: -2px;
}

/* ── Nav link underline ────────────────────────────────────── */
.nav-links a:not(.nav-cta) {
  position: relative;
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-links a:not(.nav-cta):hover::after,
.nav-links a:not(.nav-cta).active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ── Card hover lift ───────────────────────────────────────── */
.bento-card .card-icon {
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.bento-card:hover .card-icon {
  transform: scale(1.2) rotate(-8deg);
}

.bento-card.visible:hover,
.bento-card.reveal-item.visible:hover {
  transform: translateY(-6px) scale(1.01);
}

/* ── Contact row slide ─────────────────────────────────────── */
.contact-list .reveal-item.visible {
  animation: contactSlide 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--reveal-delay, 0s);
}

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

/* ── FAQ stagger pop ───────────────────────────────────────── */
.faq-item.reveal-item.visible {
  animation: faqPop 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--reveal-delay, 0s);
}

@keyframes faqPop {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ── Hero stat count pulse ─────────────────────────────────── */
.hero-stat.reveal-item.visible .hero-stat-value {
  animation: statPop 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--reveal-delay, 0s) + 0.15s);
}

@keyframes statPop {
  0% { opacity: 0; transform: scale(0.6); }
  70% { transform: scale(1.08); }
  100% { opacity: 1; transform: scale(1); }
}

/* ── Logo shimmer ──────────────────────────────────────────── */
.logo-mark {
  display: inline-block;
  animation: logoSpin 8s linear infinite;
}

@keyframes logoSpin {
  0%, 90%, 100% { transform: rotate(0deg); }
  95% { transform: rotate(180deg); }
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .newsletter-card {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 1.75rem;
  }

  .newsletter-lead { max-width: none; }

  .newsletter-field {
    flex-direction: column;
  }

  .newsletter-field .btn {
    width: 100%;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-text { text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-stats { justify-content: center; }
  .hero-actions { justify-content: center; }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-large,
  .bento-wide {
    grid-row: auto;
    grid-column: auto;
  }

  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 11, 15, 0.97);
    backdrop-filter: blur(16px);
    padding: 1.5rem;
    gap: 0;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links li { width: 100%; }

  .nav-links a {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
  }

  .nav-links li:last-child a { border-bottom: none; }

  .nav-cta {
    display: inline-block !important;
    margin-top: 0.5rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .section { padding: 3.5rem 0; }
  .game-stats { gap: 0.6rem; }
  .stat-value { font-size: 1.1rem; }
  .calendly-wrap iframe { min-height: 600px; }
  .hero-stats { gap: 0.75rem; }
  .hero-stat { min-width: 85px; padding: 0.65rem 0.85rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .reveal-item { opacity: 1; transform: none; transition: none; animation: none; }
  .orb, .hero-orb, .btn-glow, .logo-mark { animation: none; }
  .faq-item-body,
  .faq-item.reveal-item.visible,
  .contact-list .reveal-item.visible,
  .hero-stat.reveal-item.visible .hero-stat-value { animation: none; }
  .game-arena.arena-shake { animation: none; }
  .scroll-progress { display: none; }
  .section::before { display: none; }
}
