/* ═══════════════════════════════════════════
   Quiz Bounty — Marketing Website
   ═══════════════════════════════════════════ */

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

:root {
  --bg-deep: #020008;
  --bg-mid: #050313;
  --bg-surface: #1b1640;
  --bg-card: rgba(27, 22, 64, 0.45);
  --bg-card-hover: rgba(27, 22, 64, 0.65);

  --green: #4ade80;
  --green-dim: #22c55e;
  --cyan: #22d3ee;
  --purple: #a78bfa;
  --purple-deep: #6366f1;
  --purple-darker: #1e1b4b;
  --pink: #ec4899;
  --orange: #f97316;

  --text: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;

  --nav-height: 72px;

  --font-display: "Outfit", sans-serif;
  --font-body: "IBM Plex Sans", "Outfit", system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 800px;
}

/* ═══ Gradient Text ═══ */
.gradient-text {
  background: linear-gradient(135deg, var(--green) 0%, var(--cyan) 40%, var(--purple) 70%, var(--pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══ Ambient Background ═══ */
.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0;
  will-change: transform, opacity;
  animation: ambientFadeIn 2s ease-out forwards;
}

.ambient-glow-1 {
  width: 60vmax;
  height: 60vmax;
  top: -20%;
  left: -15%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
  animation: ambientDrift1 30s ease-in-out infinite alternate, ambientFadeIn 2s ease-out forwards;
}

.ambient-glow-2 {
  width: 50vmax;
  height: 50vmax;
  bottom: -25%;
  right: -15%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, transparent 70%);
  animation: ambientDrift2 35s ease-in-out infinite alternate, ambientFadeIn 2s 0.3s ease-out forwards;
}

.ambient-glow-3 {
  width: 40vmax;
  height: 40vmax;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(34, 211, 238, 0.06) 0%, transparent 70%);
  animation: ambientDrift3 40s ease-in-out infinite alternate, ambientFadeIn 2s 0.6s ease-out forwards;
}

#particleCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
}

@keyframes ambientFadeIn {
  to { opacity: 1; }
}

@keyframes ambientDrift1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(5vw, 8vh) scale(1.1); }
}

@keyframes ambientDrift2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-6vw, -5vh) scale(1.15); }
}

@keyframes ambientDrift3 {
  0% { transform: translate(-50%, -50%) scale(1); }
  100% { transform: translate(-45%, -55%) scale(1.2); }
}

/* ═══ Navigation ═══ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
  background: rgba(5, 3, 19, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: conic-gradient(from 0deg, var(--green), var(--cyan), var(--purple-deep), var(--pink), var(--green));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  border-radius: 1px;
  transition: width 0.25s ease;
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.nav-login {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-login:hover {
  color: var(--text);
}

.nav-cta {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--green) 0%, var(--cyan) 100%);
  color: #000;
  transition: transform 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(74, 222, 128, 0.3);
}

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

.nav-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(5, 3, 19, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 99;
  transform: translateY(-120%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
  transform: translateY(0);
}

.mobile-menu a {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s;
}

.mobile-menu a:hover {
  color: var(--text);
}

.mobile-menu-login {
  border-bottom: none !important;
  margin-top: 8px;
  padding: 12px 24px !important;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  text-align: center;
  font-weight: 600 !important;
  color: var(--text) !important;
  transition: border-color 0.2s, background 0.2s;
}

.mobile-menu-login:hover {
  border-color: rgba(255, 255, 255, 0.3) !important;
  background: rgba(255, 255, 255, 0.04);
}

.mobile-menu-cta {
  text-align: center;
  padding: 14px 24px !important;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--green) 0%, var(--cyan) 100%);
  color: #000 !important;
  font-weight: 600 !important;
  border: none !important;
}

/* ═══ HERO ═══ */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 40px) 24px 60px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 60px;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.2);
  font-size: 13px;
  font-weight: 500;
  color: var(--green);
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  position: relative;
}

.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--green);
  animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}

.hero-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* ═══ Buttons ═══ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green) 0%, var(--cyan) 100%);
  color: #000;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(74, 222, 128, 0.35);
}

.btn-glow {
  position: relative;
}

.btn-glow::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--green), var(--cyan), var(--purple-deep));
  z-index: -1;
  opacity: 0;
  filter: blur(12px);
  transition: opacity 0.3s;
}

.btn-glow:hover::before {
  opacity: 0.6;
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

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

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.hero-stat-label {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 2px;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
}

/* ═══ Phone Mockup ═══ */
.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-mockup {
  position: relative;
  animation: phoneFloat 6s ease-in-out infinite;
}

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

.phone-frame {
  width: 280px;
  height: 580px;
  border-radius: 40px;
  background: linear-gradient(180deg, #1e1b4b 0%, #0f0a2e 100%);
  border: 2px solid rgba(255, 255, 255, 0.1);
  padding: 12px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05),
    0 25px 80px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(99, 102, 241, 0.15);
}

.phone-notch {
  width: 120px;
  height: 28px;
  background: #000;
  border-radius: 0 0 20px 20px;
  margin: 0 auto 12px;
}

.phone-screen {
  background: radial-gradient(circle at top, #1b1640 0%, #050313 60%, #020008 100%);
  border-radius: 28px;
  height: calc(100% - 40px);
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.phone-glow {
  position: absolute;
  inset: -40px;
  border-radius: 80px;
  background: conic-gradient(from 180deg, rgba(74,222,128,0.15), rgba(34,211,238,0.1), rgba(99,102,241,0.15), rgba(236,72,153,0.1), rgba(74,222,128,0.15));
  filter: blur(40px);
  z-index: -1;
  animation: phoneGlowSpin 15s linear infinite;
}

@keyframes phoneGlowSpin {
  to { transform: rotate(360deg); }
}

/* Mock screen content */
.mock-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.mock-brand {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: conic-gradient(from 0deg, var(--green), var(--cyan), var(--purple-deep), var(--pink), var(--green));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 10px;
  color: #fff;
}

.mock-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
}

.mock-question {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock-progress {
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}

.mock-progress-fill {
  height: 100%;
  width: 30%;
  background: linear-gradient(90deg, var(--green), var(--cyan));
  border-radius: 2px;
  animation: progressPulse 3s ease-in-out infinite;
}

@keyframes progressPulse {
  0%, 100% { width: 30%; }
  50% { width: 35%; }
}

.mock-q-label {
  font-size: 11px;
  color: var(--text-dim);
}

.mock-q-text {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.mock-timer {
  width: 48px;
  height: 48px;
  position: relative;
  align-self: center;
  margin: 4px 0;
}

.mock-timer-ring {
  width: 100%;
  height: 100%;
}

.mock-timer-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--green);
}

.mock-answers {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mock-answer {
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 13px;
  text-align: left;
  cursor: default;
  transition: background 0.2s, border-color 0.2s;
}

.mock-answer-correct {
  background: rgba(74, 222, 128, 0.15);
  border-color: rgba(74, 222, 128, 0.4);
  color: var(--green);
  font-weight: 600;
}

.mock-score-bar {
  display: flex;
  justify-content: space-between;
  padding: 10px 0 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: auto;
}

.mock-score-item {
  text-align: center;
  font-size: 11px;
  color: var(--text-dim);
}

.mock-score-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-top: 2px;
}

.token-glow strong {
  color: var(--cyan);
}

/* ═══ Ticker ═══ */
.ticker {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: rgba(27, 22, 64, 0.3);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  padding: 14px 0;
}

.ticker-track {
  display: flex;
  gap: 48px;
  animation: tickerScroll 30s linear infinite;
  width: max-content;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  white-space: nowrap;
}

.ticker-icon {
  font-size: 16px;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══ Sections ═══ */
.section {
  position: relative;
  z-index: 1;
  padding: 120px 0;
}

.section-dark {
  background: rgba(27, 22, 64, 0.15);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ═══ Steps Grid ═══ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.step-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--cyan), var(--purple-deep));
  opacity: 0;
  transition: opacity 0.3s;
}

.step-card:hover::before {
  opacity: 1;
}

.step-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 900;
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, transparent 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: absolute;
  top: 12px;
  right: 16px;
}

.step-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(74,222,128,0.12), rgba(34,211,238,0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--green);
}

.step-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ═══ Features Grid ═══ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.1);
  box-shadow: 0 16px 48px rgba(0,0,0,0.25);
}

.feature-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top left, rgba(255,255,255,0.03), transparent 60%);
  pointer-events: none;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon-green { background: rgba(74,222,128,0.12); color: var(--green); }
.feature-icon-purple { background: rgba(167,139,250,0.12); color: var(--purple); }
.feature-icon-cyan { background: rgba(34,211,238,0.12); color: var(--cyan); }
.feature-icon-pink { background: rgba(236,72,153,0.12); color: var(--pink); }
.feature-icon-orange { background: rgba(249,115,22,0.12); color: var(--orange); }

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ═══ Prizes Section ═══ */
.section-prizes {
  text-align: center;
}

.prizes-content .section-title {
  font-size: clamp(32px, 4.5vw, 52px);
}

.prizes-cards {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.prize-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 32px 40px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  min-width: 200px;
  position: relative;
}

.prize-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.prize-card-featured {
  border-color: rgba(74, 222, 128, 0.25);
  background: linear-gradient(180deg, rgba(74,222,128,0.08) 0%, var(--bg-card) 100%);
}

.prize-card-featured:hover {
  box-shadow: 0 20px 60px rgba(74, 222, 128, 0.15);
}

.prize-card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  font-size: 11px;
  font-weight: 700;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.prize-card-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.prize-card-label {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.prize-card-value {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══ Testimonials ═══ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-4px);
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 18px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-deep), var(--pink));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
}

.testimonial-author strong {
  display: block;
  font-size: 14px;
}

.testimonial-author span {
  font-size: 12px;
  color: var(--green);
}

/* Trustpilot bar */
.trustpilot-bar {
  display: flex;
  justify-content: center;
}

.tp-info {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 32px;
  border-radius: 100px;
  background: rgba(27, 22, 64, 0.4);
  border: 1px solid rgba(255,255,255,0.06);
}

.tp-logo-text {
  font-weight: 700;
  color: #00b67a;
  font-size: 15px;
}

.tp-stars-row {
  display: flex;
  gap: 2px;
}

.tp-star-filled {
  color: #00b67a;
  font-size: 18px;
}

.tp-star-half-filled {
  color: #00b67a;
  font-size: 18px;
  opacity: 0.5;
}

.tp-rating {
  font-size: 13px;
  color: var(--text-muted);
}

/* ═══ FAQ ═══ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item[open] {
  border-color: rgba(74, 222, 128, 0.2);
}

.faq-item summary {
  padding: 20px 24px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.2s;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 300;
  color: var(--text-dim);
  transition: transform 0.3s, color 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--green);
}

.faq-item summary:hover {
  color: var(--green);
}

.faq-item p {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  animation: faqSlide 0.3s ease;
}

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

/* ═══ Download CTA ═══ */
.section-download {
  text-align: center;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(74, 222, 128, 0.04) 30%,
    rgba(34, 211, 238, 0.04) 70%,
    transparent 100%
  );
}

.download-title {
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.download-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

/* Web CTA */
.download-web-cta {
  margin-bottom: 32px;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 18px;
}

.download-web-note {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 12px;
}

.download-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.download-divider::before,
.download-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.download-divider span {
  font-size: 13px;
  color: var(--text-dim);
  white-space: nowrap;
  text-transform: lowercase;
}

.download-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.store-badge {
  display: block;
  transition: transform 0.2s, opacity 0.2s;
}

.store-badge svg {
  height: 52px;
  width: auto;
}

.store-badge:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.download-note {
  font-size: 13px;
  color: var(--text-dim);
}

/* ═══ Footer ═══ */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 64px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-brand .brand-mark {
  width: 48px;
  height: 48px;
  font-size: 18px;
  border-radius: 14px;
}

.footer-brand .brand-name {
  font-size: 22px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-dim);
  margin-top: 4px;
  max-width: 240px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-dim);
  transition: color 0.2s;
}

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

.footer-logos-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.footer-partner-logo {
  height: 28px;
  opacity: 0.4;
  filter: grayscale(100%) brightness(2);
  transition: opacity 0.2s;
}

.footer-partner-logo:hover {
  opacity: 0.7;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--text-dim);
  max-width: 700px;
  line-height: 1.6;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  color: var(--text-dim);
  transition: color 0.2s, transform 0.2s;
}

.footer-socials a:hover {
  color: var(--text);
  transform: translateY(-2px);
}

/* ═══ Scroll Animations ═══ */
.anim-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.anim-delay-1 { transition-delay: 0.1s; }
.anim-delay-2 { transition-delay: 0.2s; }
.anim-delay-3 { transition-delay: 0.3s; }
.anim-delay-4 { transition-delay: 0.4s; }

/* ═══ Card tilt / hover glow effect ═══ */
.step-card,
.feature-card,
.prize-card,
.testimonial-card {
  --glow-x: 50%;
  --glow-y: 50%;
}

.step-card:hover::after,
.feature-card:hover::after {
  background: radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(255,255,255,0.06), transparent 60%);
}

/* ═══ Skip to content ═══ */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 12px 24px;
  background: var(--green);
  color: #000;
  font-weight: 600;
  font-size: 14px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* ═══ Scroll progress bar ═══ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--green), var(--cyan), var(--purple-deep), var(--pink));
  z-index: 101;
  transition: width 0.05s linear;
  pointer-events: none;
}

/* ═══ Next Game Countdown Bar ═══ */
.next-game-bar {
  position: relative;
  z-index: 1;
  background: linear-gradient(90deg, rgba(74, 222, 128, 0.08) 0%, rgba(34, 211, 238, 0.06) 50%, rgba(99, 102, 241, 0.08) 100%);
  border-top: 1px solid rgba(74, 222, 128, 0.12);
  border-bottom: 1px solid rgba(74, 222, 128, 0.12);
  padding: 12px 0;
}

.next-game-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.next-game-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.next-game-timer {
  display: flex;
  align-items: center;
  gap: 4px;
}

.timer-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 44px;
}

.timer-unit span {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.timer-unit small {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-top: 2px;
}

.timer-sep {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--green);
  opacity: 0.5;
  align-self: flex-start;
  margin-top: 2px;
  animation: timerBlink 1s step-end infinite;
}

@keyframes timerBlink {
  50% { opacity: 0; }
}

.next-game-cta {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--green) 0%, var(--cyan) 100%);
  color: #000;
  transition: transform 0.2s, box-shadow 0.2s;
}

.next-game-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(74, 222, 128, 0.3);
}

/* ═══ Hero meta row (platforms + skill badge) ═══ */
.hero-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.hero-platforms {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dim);
}

.hero-platforms svg {
  color: var(--text-dim);
  flex-shrink: 0;
}

.hero-platforms a {
  color: var(--green);
  font-weight: 500;
  transition: color 0.2s;
  text-decoration: underline;
  text-decoration-color: rgba(74, 222, 128, 0.3);
  text-underline-offset: 2px;
}

.hero-platforms a:hover {
  color: var(--cyan);
  text-decoration-color: rgba(34, 211, 238, 0.4);
}

.hero-skill-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--cyan);
  font-weight: 500;
}

.hero-skill-badge svg {
  color: var(--cyan);
  flex-shrink: 0;
}

/* ═══ Back to top ═══ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 90;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(27, 22, 64, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: rgba(74, 222, 128, 0.15);
  border-color: rgba(74, 222, 128, 0.3);
}

/* ═══ Cookie consent banner ═══ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 110;
  background: rgba(5, 3, 19, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner.dismissed {
  transform: translateY(100%);
}

.cookie-text {
  flex: 1;
  min-width: 200px;
}

.cookie-text p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.cookie-text a {
  color: var(--green);
  text-decoration: underline;
  text-decoration-color: rgba(74, 222, 128, 0.3);
  text-underline-offset: 2px;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-btn {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cookie-btn-accept {
  background: linear-gradient(135deg, var(--green) 0%, var(--cyan) 100%);
  color: #000;
}

.cookie-btn-accept:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(74, 222, 128, 0.3);
}

.cookie-btn-decline {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-btn-decline:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text);
}


/* ═══ Active nav link (scroll spy) ═══ */
.nav-links a.active {
  color: var(--text);
}

.nav-links a.active::after {
  width: 100%;
}

/* ═══ Body scroll lock when mobile menu is open ═══ */
body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* ═══ Safe-area padding for notched devices ═══ */
@supports (padding: env(safe-area-inset-top)) {
  .nav {
    padding-top: env(safe-area-inset-top);
  }
  .footer-bottom {
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-menu {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
}

/* ═══ Responsive ═══ */

/* ── Large tablets / small desktops ── */
@media (max-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .hero {
    gap: 40px;
  }

  .phone-frame {
    width: 260px;
    height: 540px;
  }

  .section {
    padding: 100px 0;
  }

  .section-title {
    font-size: clamp(28px, 4vw, 44px);
  }
}

/* ── Tablets / large phones (landscape) ── */
@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  /* Nav */
  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-inner {
    padding: 0 16px;
  }

  .brand-name {
    font-size: 18px;
  }

  /* Mobile menu full-screen overlay */
  .mobile-menu {
    top: var(--nav-height);
    bottom: 0;
    padding: 32px 24px;
    gap: 0;
    overflow-y: auto;
  }

  .mobile-menu a {
    font-size: 20px;
    padding: 16px 0;
    min-height: 52px;
    display: flex;
    align-items: center;
  }

  .mobile-menu-login {
    margin-top: 8px;
    min-height: 52px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  .mobile-menu-cta {
    margin-top: 8px;
    min-height: 52px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  /* Hero */
  .hero {
    flex-direction: column;
    text-align: center;
    padding: calc(var(--nav-height) + 24px) 16px 48px;
    min-height: auto;
    gap: 36px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-badge {
    font-size: 12px;
    padding: 5px 14px;
    margin-bottom: 20px;
  }

  .hero-title {
    font-size: clamp(32px, 8vw, 48px);
  }

  .hero-subtitle {
    font-size: 16px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 28px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-meta {
    justify-content: center;
    margin-bottom: 24px;
  }

  .next-game-inner {
    gap: 16px;
  }

  .timer-unit span {
    font-size: 24px;
  }

  .back-to-top {
    bottom: 24px;
    right: 24px;
  }

  .cookie-banner {
    padding: 14px 16px;
    gap: 16px;
  }

  .hero-stats {
    justify-content: center;
    gap: 20px;
  }

  .hero-stat-value {
    font-size: 22px;
  }

  .hero-stat-label {
    font-size: 12px;
  }

  /* Download section */
  .btn-lg {
    padding: 16px 28px;
    font-size: 16px;
  }

  .download-web-note {
    font-size: 12px;
  }

  /* Phone mockup */
  .phone-frame {
    width: 230px;
    height: 480px;
  }

  .phone-glow {
    inset: -24px;
    filter: blur(30px);
  }

  /* Ticker */
  .ticker {
    padding: 10px 0;
  }

  .ticker-item {
    font-size: 13px;
    gap: 6px;
  }

  /* Sections */
  .section {
    padding: 72px 0;
  }

  .container {
    padding: 0 16px;
  }

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

  .section-tag {
    font-size: 12px;
  }

  .section-subtitle {
    font-size: 15px;
  }

  /* Steps */
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .step-card {
    padding: 24px 20px;
  }

  .step-card h3 {
    font-size: 17px;
  }

  .step-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    margin-bottom: 16px;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 24px 20px;
  }

  .feature-card h3 {
    font-size: 17px;
  }

  .feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    margin-bottom: 16px;
  }

  /* Prizes */
  .prizes-cards {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .prize-card {
    padding: 28px 24px;
    min-width: auto;
  }

  .prize-card-value {
    font-size: 30px;
  }

  .prize-card-icon {
    font-size: 32px;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 32px;
  }

  .testimonial-card {
    padding: 24px 20px;
  }

  .testimonial-card p {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .tp-info {
    flex-direction: column;
    gap: 8px;
    padding: 14px 20px;
    border-radius: var(--radius);
  }

  .tp-rating {
    font-size: 12px;
  }

  /* FAQ */
  .faq-item summary {
    padding: 16px 20px;
    font-size: 15px;
    min-height: 52px;
  }

  .faq-item p {
    padding: 0 20px 16px;
    font-size: 14px;
  }

  /* Download */
  .download-title {
    font-size: clamp(28px, 6vw, 44px);
  }

  .download-subtitle {
    font-size: 16px;
    margin-bottom: 32px;
  }

  .store-badge svg {
    height: 46px;
  }

  .download-note {
    font-size: 12px;
  }

  /* Footer */
  .footer {
    padding: 48px 0 24px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-tagline {
    max-width: 100%;
  }

  .footer-col h4 {
    font-size: 12px;
    margin-bottom: 2px;
  }

  .footer-col a {
    font-size: 13px;
    padding: 3px 0;
    min-height: 36px;
    display: flex;
    align-items: center;
  }

  .footer-logos-bar {
    gap: 20px;
    padding: 20px 0;
  }

  .footer-partner-logo {
    height: 22px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .footer-bottom p {
    font-size: 11px;
  }

  /* Reduce animation delays on mobile (items are stacked) */
  .anim-delay-1 { transition-delay: 0.05s; }
  .anim-delay-2 { transition-delay: 0.1s; }
  .anim-delay-3 { transition-delay: 0.15s; }
  .anim-delay-4 { transition-delay: 0.2s; }

  .anim-fade-up {
    transform: translateY(20px);
  }
}

/* ── Small phones (portrait) ── */
@media (max-width: 480px) {
  :root {
    --nav-height: 56px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 14px;
  }

  .brand-name {
    font-size: 16px;
  }

  .hero {
    padding: calc(var(--nav-height) + 16px) 16px 36px;
    gap: 28px;
  }

  .hero-badge {
    font-size: 11px;
    padding: 4px 12px;
    margin-bottom: 16px;
  }

  .hero-title {
    font-size: 32px;
    letter-spacing: -0.02em;
  }

  .hero-subtitle {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .hero-meta {
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
  }

  .hero-platforms {
    font-size: 12px;
  }

  .hero-skill-badge {
    font-size: 12px;
  }

  .next-game-inner {
    flex-direction: column;
    gap: 10px;
  }

  .timer-unit span {
    font-size: 22px;
  }

  .next-game-cta {
    width: 100%;
    text-align: center;
    padding: 10px 20px;
  }

  .back-to-top {
    bottom: 80px;
    right: 16px;
    width: 40px;
    height: 40px;
  }

  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
    text-align: center;
    padding: 10px 16px;
  }

  .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 15px;
  }

  .btn-lg {
    padding: 14px 24px;
    font-size: 15px;
  }

  .download-divider {
    max-width: 100%;
  }

  .hero-stats {
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
  }

  .hero-stat {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .hero-stat-value {
    font-size: 24px;
  }

  .hero-stat-label {
    font-size: 13px;
  }

  .hero-stat-divider {
    display: none;
  }

  /* Phone mockup — smaller but still visible */
  .phone-frame {
    width: 200px;
    height: 420px;
    border-radius: 32px;
    padding: 10px;
  }

  .phone-notch {
    width: 100px;
    height: 24px;
    border-radius: 0 0 16px 16px;
    margin-bottom: 8px;
  }

  .phone-screen {
    border-radius: 22px;
    padding: 12px;
  }

  .mock-header {
    margin-bottom: 10px;
  }

  .mock-brand {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    font-size: 9px;
  }

  .mock-title {
    font-size: 12px;
  }

  .mock-q-label {
    font-size: 10px;
  }

  .mock-q-text {
    font-size: 12px;
  }

  .mock-timer {
    width: 40px;
    height: 40px;
  }

  .mock-timer-text {
    font-size: 12px;
  }

  .mock-answer {
    padding: 8px 10px;
    font-size: 11px;
    border-radius: 8px;
  }

  .mock-answers {
    gap: 4px;
  }

  .mock-score-bar {
    padding-top: 8px;
  }

  .mock-score-item {
    font-size: 10px;
  }

  .mock-score-item strong {
    font-size: 14px;
  }

  .phone-glow {
    inset: -16px;
    filter: blur(20px);
  }

  /* Sections */
  .section {
    padding: 56px 0;
  }

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

  .section-title {
    font-size: clamp(24px, 6vw, 32px);
    margin-bottom: 12px;
  }

  .section-subtitle {
    font-size: 14px;
  }

  /* Steps */
  .step-card {
    padding: 20px 16px;
  }

  .step-number {
    font-size: 40px;
    top: 8px;
    right: 12px;
  }

  .step-icon {
    width: 44px;
    height: 44px;
  }

  .step-icon svg {
    width: 24px;
    height: 24px;
  }

  .step-card h3 {
    font-size: 16px;
  }

  .step-card p {
    font-size: 13px;
  }

  /* Features */
  .feature-card {
    padding: 20px 16px;
  }

  .feature-icon {
    width: 42px;
    height: 42px;
  }

  .feature-icon svg {
    width: 22px;
    height: 22px;
  }

  .feature-card h3 {
    font-size: 16px;
  }

  .feature-card p {
    font-size: 13px;
  }

  /* Prizes */
  .prize-card {
    padding: 24px 20px;
  }

  .prize-card-value {
    font-size: 28px;
  }

  .prize-card-icon {
    font-size: 28px;
    margin-bottom: 8px;
  }

  .prize-card-label {
    font-size: 13px;
  }

  .prizes-content .section-title {
    font-size: clamp(24px, 6vw, 36px);
  }

  /* Testimonials */
  .testimonial-card {
    padding: 20px 16px;
  }

  .testimonial-stars {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .testimonial-card p {
    font-size: 13px;
    margin-bottom: 16px;
  }

  .testimonial-avatar {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .testimonial-author strong {
    font-size: 13px;
  }

  .testimonial-author span {
    font-size: 11px;
  }

  .tp-info {
    padding: 12px 16px;
    gap: 6px;
  }

  .tp-logo-text {
    font-size: 13px;
  }

  .tp-star-filled,
  .tp-star-half-filled {
    font-size: 16px;
  }

  .tp-rating {
    font-size: 11px;
  }

  /* FAQ */
  .faq-item summary {
    padding: 14px 16px;
    font-size: 14px;
    gap: 12px;
  }

  .faq-item summary::after {
    font-size: 20px;
  }

  .faq-item p {
    padding: 0 16px 14px;
    font-size: 13px;
    line-height: 1.6;
  }

  /* Download */
  .download-title {
    font-size: 28px;
  }

  .download-subtitle {
    font-size: 14px;
    margin-bottom: 28px;
  }

  .store-badge svg {
    height: 42px;
  }

  /* Footer */
  .footer {
    padding: 40px 0 20px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-brand .brand-mark {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .footer-brand .brand-name {
    font-size: 18px;
  }

  .footer-col {
    gap: 6px;
  }

  .footer-col a {
    min-height: 40px;
  }

  .footer-logos-bar {
    gap: 16px;
    padding: 16px 0;
  }

  .footer-partner-logo {
    height: 18px;
  }

  .footer-socials {
    gap: 20px;
  }

  .footer-socials a svg {
    width: 22px;
    height: 22px;
  }

  /* Remove stagger delays on smallest screens */
  .anim-delay-1,
  .anim-delay-2,
  .anim-delay-3,
  .anim-delay-4 {
    transition-delay: 0s;
  }
}

/* ── Tiny screens (very small phones, 360px and below) ── */
@media (max-width: 360px) {
  .container {
    padding: 0 12px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .phone-frame {
    width: 180px;
    height: 380px;
    border-radius: 28px;
  }

  .phone-notch {
    width: 80px;
    height: 20px;
  }

  .mock-q-text {
    font-size: 11px;
  }

  .mock-answer {
    padding: 6px 8px;
    font-size: 10px;
  }

  .section-title {
    font-size: 22px;
  }

  .btn {
    font-size: 14px;
    padding: 12px 16px;
  }

  .prize-card-value {
    font-size: 24px;
  }

  .download-title {
    font-size: 24px;
  }
}

/* ── Landscape phones ── */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    flex-direction: row;
    text-align: left;
    min-height: auto;
    padding-top: calc(var(--nav-height) + 16px);
    padding-bottom: 24px;
    gap: 24px;
  }

  .hero-content {
    flex: 1;
  }

  .hero-visual {
    flex: 0 0 auto;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .phone-frame {
    width: 140px;
    height: 290px;
    border-radius: 24px;
    padding: 6px;
  }

  .phone-notch {
    width: 60px;
    height: 16px;
    margin-bottom: 4px;
  }

  .phone-screen {
    padding: 8px;
    border-radius: 18px;
  }

  .mock-q-text {
    font-size: 9px;
  }

  .mock-answer {
    padding: 4px 6px;
    font-size: 8px;
    border-radius: 4px;
  }

  .mock-answers {
    gap: 2px;
  }

  .mock-timer {
    width: 28px;
    height: 28px;
    margin: 0;
  }

  .mock-timer-text {
    font-size: 8px;
  }

  .mock-score-bar {
    display: none;
  }

  .mock-header {
    margin-bottom: 6px;
  }

  .mock-brand {
    width: 18px;
    height: 18px;
    font-size: 7px;
  }

  .mock-title {
    font-size: 9px;
  }

  .hero-stats {
    gap: 12px;
  }

  .hero-stat-value {
    font-size: 18px;
  }

  .hero-stat-label {
    font-size: 10px;
  }

  .section {
    padding: 48px 0;
  }

  .phone-glow {
    inset: -12px;
    filter: blur(16px);
  }
}

/* ── Reduce motion for accessibility ── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .anim-fade-up {
    opacity: 1;
    transform: none;
  }

  .phone-mockup {
    animation: none;
  }

  .phone-glow {
    animation: none;
  }

  .ticker-track {
    animation: none;
  }

  .mock-progress-fill {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ── Touch device hover fix ── */
@media (hover: none) and (pointer: coarse) {
  .step-card:hover,
  .feature-card:hover,
  .prize-card:hover,
  .testimonial-card:hover {
    transform: none;
    box-shadow: none;
  }

  .nav-links a:hover::after {
    width: 0;
  }

  .step-card:active {
    transform: scale(0.98);
  }

  .feature-card:active {
    transform: scale(0.98);
  }

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

/* ═══ Selection ═══ */
::selection {
  background: rgba(74, 222, 128, 0.3);
  color: #fff;
}

/* ═══ Scrollbar ═══ */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,0.2);
}
