/* ============================================
   DEADBREAD — "The Last Slice" Poker Landing Page
   Design System & Styles
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* ── Backgrounds ── */
  --bg-primary: #080604;
  --bg-secondary: #13100c;
  --bg-tertiary: #1e1812;
  --bg-card: rgba(30, 24, 18, 0.6);
  --bg-glass: rgba(196, 149, 106, 0.04);
  --bg-glass-hover: rgba(196, 149, 106, 0.08);

  /* ── Brand Colors ── */
  --toast: #C4956A;
  --toast-light: #DEB98E;
  --toast-dark: #8B6914;
  --crimson: #C23B22;
  --crimson-light: #E05A42;
  --crimson-dark: #9A2E1A;
  --brass: #BFA244;
  --brass-light: #D4BA5C;
  --emerald: #10b981;
  --emerald-dark: #059669;
  --red: #ef4444;
  --red-light: #f87171;

  /* ── Glows ── */
  --glow-toast: 0 0 20px rgba(196, 149, 106, 0.3), 0 0 60px rgba(196, 149, 106, 0.1);
  --glow-crimson: 0 0 20px rgba(194, 59, 34, 0.3), 0 0 60px rgba(194, 59, 34, 0.1);
  --glow-emerald: 0 0 20px rgba(16, 185, 129, 0.3), 0 0 60px rgba(16, 185, 129, 0.1);

  /* ── Text ── */
  --text-primary: #F5E6D3;
  --text-secondary: #A89580;
  --text-muted: #6B5D4F;

  /* ── Borders ── */
  --border-subtle: rgba(196, 149, 106, 0.08);
  --border-glass: rgba(196, 149, 106, 0.12);
  --border-toast: rgba(196, 149, 106, 0.3);

  /* ── Gradients ── */
  --gradient-toast: linear-gradient(135deg, #C4956A 0%, #DEB98E 50%, #C4956A 100%);
  --gradient-crimson: linear-gradient(135deg, #C23B22 0%, #E05A42 50%, #C23B22 100%);
  --gradient-dark: linear-gradient(180deg, #080604 0%, #13100c 50%, #080604 100%);
  --gradient-card: linear-gradient(135deg, rgba(30, 24, 18, 0.8) 0%, rgba(13, 10, 8, 0.6) 100%);
  --gradient-hero: linear-gradient(180deg, rgba(8, 6, 4, 0) 0%, rgba(8, 6, 4, 0.6) 40%, rgba(8, 6, 4, 0.95) 100%);

  /* Typography */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing */
  --section-padding: 120px 0;
  --container-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

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

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

img {
  max-width: 100%;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* ---------- Utility ---------- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* ---------- Background Particles ---------- */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.4s var(--ease-out);
}

.nav.scrolled {
  background: rgba(8, 6, 4, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 0;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.nav-logo .logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-toast);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: var(--glow-toast);
}

.nav-logo .logo-text {
  background: var(--gradient-toast);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-toast);
  transition: width 0.3s var(--ease-out);
  border-radius: 1px;
}

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

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

.nav-cta {
  padding: 10px 24px;
  background: var(--gradient-toast);
  color: #080604 !important;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
  box-shadow: var(--glow-toast);
}

.nav-cta:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 30px rgba(196, 149, 106, 0.5), 0 0 80px rgba(196, 149, 106, 0.2);
}

.nav-cta::after {
  display: none !important;
}

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: all 0.3s ease;
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: brightness(0.6) saturate(1.2);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(196, 149, 106, 0.1);
  border: 1px solid rgba(196, 149, 106, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--toast-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 28px;
  animation: fadeInUp 0.8s var(--ease-out) both;
}

.hero-badge .badge-dot {
  width: 8px;
  height: 8px;
  background: var(--emerald);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s 0.15s var(--ease-out) both;
}

.hero h1 .highlight {
  background: var(--gradient-toast);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.7;
  animation: fadeInUp 0.8s 0.3s var(--ease-out) both;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s 0.45s var(--ease-out) both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--gradient-toast);
  color: #080604;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
  box-shadow: var(--glow-toast);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn-primary:hover::before {
  transform: translateX(100%);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 0 40px rgba(196, 149, 106, 0.5), 0 8px 30px rgba(196, 149, 106, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(10px);
  transition: all 0.3s var(--ease-out);
}

.btn-secondary:hover {
  background: var(--bg-glass-hover);
  border-color: var(--toast);
  transform: translateY(-2px);
  box-shadow: var(--glow-toast);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 64px;
  animation: fadeInUp 0.8s 0.6s var(--ease-out) both;
}

.hero-stat {
  text-align: center;
}

.hero-stat .stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-toast);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat .stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(194, 59, 34, 0.1);
  border: 1px solid rgba(194, 59, 34, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--crimson-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---------- Games Section ---------- */
.games {
  padding: var(--section-padding);
  position: relative;
  z-index: 2;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.game-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
}

.game-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-toast);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.game-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-toast);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), var(--glow-toast);
}

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

.game-card .card-icon {
  width: 56px;
  height: 56px;
  background: rgba(196, 149, 106, 0.1);
  border: 1px solid rgba(196, 149, 106, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.game-card:hover .card-icon {
  box-shadow: var(--glow-toast);
  background: rgba(196, 149, 106, 0.15);
}

.game-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.game-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.game-card .card-tag {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 12px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--emerald);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- Promo / Spin Wheel Section ---------- */
.promo {
  padding: var(--section-padding);
  position: relative;
  z-index: 2;
  background: radial-gradient(ellipse at center, rgba(194, 59, 34, 0.06) 0%, transparent 70%);
}

.promo-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.promo-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-visual img {
  max-width: 420px;
  width: 100%;
  border-radius: var(--radius-xl);
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

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

.promo-content .promo-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(196, 149, 106, 0.1);
  border: 1px solid rgba(196, 149, 106, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--toast-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.promo-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  line-height: 1.1;
}

.promo-content h2 .highlight {
  background: var(--gradient-toast);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.promo-content p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.promo-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.promo-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.promo-feature .check {
  width: 28px;
  height: 28px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald);
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* ---------- App Download Section ---------- */
.download {
  padding: var(--section-padding);
  position: relative;
  z-index: 2;
}

.download-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.download-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  line-height: 1.1;
}

.download-content p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
}

.download-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 28px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  transition: all 0.3s var(--ease-out);
  backdrop-filter: blur(10px);
}

.store-btn:hover {
  border-color: var(--toast);
  transform: translateY(-3px);
  box-shadow: var(--glow-toast);
  background: var(--bg-glass-hover);
}

.store-btn .store-icon {
  font-size: 2rem;
}

.store-btn .store-info {
  display: flex;
  flex-direction: column;
}

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

.store-btn .store-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
}

.download-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-visual img {
  max-width: 360px;
  width: 100%;
  animation: float 6s ease-in-out infinite;
  animation-delay: -3s;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
}

/* ---------- Testimonials ---------- */
.testimonials {
  padding: var(--section-padding);
  position: relative;
  z-index: 2;
  background: radial-gradient(ellipse at center, rgba(196, 149, 106, 0.04) 0%, transparent 70%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.3s var(--ease-out);
}

.testimonial-card:hover {
  border-color: var(--border-toast);
  transform: translateY(-4px);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: var(--toast);
  font-size: 0.9rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

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

.testimonial-avatar {
  width: 44px;
  height: 44px;
  background: var(--gradient-toast);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #080604;
  font-size: 0.9rem;
}

.testimonial-info .author-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.testimonial-info .author-title {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ---------- How It Works ---------- */
.how-it-works {
  padding: var(--section-padding);
  position: relative;
  z-index: 2;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 42px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--border-toast), var(--border-toast), transparent);
  z-index: 0;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--bg-secondary);
  border: 2px solid var(--toast);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--toast);
  margin: 0 auto 20px;
  box-shadow: var(--glow-toast);
  transition: all 0.3s ease;
}

.step-card:hover .step-number {
  background: var(--gradient-toast);
  color: #080604;
  transform: scale(1.1);
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---------- CTA Section ---------- */
.cta {
  padding: var(--section-padding);
  position: relative;
  z-index: 2;
}

.cta-box {
  background: var(--gradient-card);
  border: 1px solid var(--border-toast);
  border-radius: var(--radius-xl);
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(196, 149, 106, 0.05) 0%, transparent 50%);
  animation: rotate 20s linear infinite;
}

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

.cta-box h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  position: relative;
}

.cta-box p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 40px;
  position: relative;
}

.cta-actions {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--border-subtle);
  position: relative;
  z-index: 2;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}

.footer-brand .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-toast);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

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

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

/* ---------- Scroll Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

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

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ---------- Live Counter Ticker ---------- */
.live-ticker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 0;
  background: rgba(16, 185, 129, 0.05);
  border-top: 1px solid rgba(16, 185, 129, 0.1);
  border-bottom: 1px solid rgba(16, 185, 129, 0.1);
  font-size: 0.8rem;
  color: var(--emerald);
  font-weight: 600;
  position: relative;
  z-index: 2;
}

.live-ticker .live-dot {
  width: 8px;
  height: 8px;
  background: var(--emerald);
  border-radius: 50%;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

/* ---------- Responsive ---------- */
@media (max-width: 968px) {
  .promo-wrapper,
  .download-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .promo-visual {
    order: -1;
  }

  .promo-features {
    align-items: center;
  }

  .download-buttons {
    justify-content: center;
  }

  .download-visual {
    order: -1;
  }

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

  .steps-grid::before {
    display: none;
  }

  .hero-stats {
    gap: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 80px 0;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(8, 6, 4, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 1.5rem;
    font-weight: 700;
  }

  .nav-mobile-toggle {
    display: flex;
    z-index: 1001;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

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

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cta-box {
    padding: 48px 28px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .download-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* ---------- Interactive Spin Wheel ---------- */
.wheel-container {
  position: relative;
  width: 400px;
  height: 400px;
  margin: 0 auto;
}

.wheel-container canvas {
  border-radius: 50%;
  box-shadow:
    0 0 0 6px rgba(196, 149, 106, 0.4),
    0 0 0 12px rgba(196, 149, 106, 0.15),
    0 0 40px rgba(196, 149, 106, 0.2),
    0 0 80px rgba(194, 59, 34, 0.1);
  transition: box-shadow 0.3s ease;
}

.wheel-container:hover canvas {
  box-shadow:
    0 0 0 6px rgba(196, 149, 106, 0.5),
    0 0 0 12px rgba(196, 149, 106, 0.2),
    0 0 60px rgba(196, 149, 106, 0.3),
    0 0 100px rgba(194, 59, 34, 0.15);
}

.wheel-pointer {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: var(--toast);
  z-index: 10;
  filter: drop-shadow(0 0 10px rgba(196, 149, 106, 0.6));
  animation: pointer-bounce 1.5s ease-in-out infinite;
}

@keyframes pointer-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(4px); }
}

.wheel-spin-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient-toast);
  color: #080604;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  z-index: 10;
  box-shadow:
    0 0 20px rgba(196, 149, 106, 0.4),
    inset 0 2px 4px rgba(255, 255, 255, 0.3);
  transition: all 0.3s var(--ease-spring);
  cursor: pointer;
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.wheel-spin-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow:
    0 0 40px rgba(196, 149, 106, 0.6),
    inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.wheel-spin-btn:active {
  transform: translate(-50%, -50%) scale(0.95);
}

.wheel-spin-btn.spinning {
  pointer-events: none;
  opacity: 0.6;
}

/* Wheel Result */
.wheel-result {
  text-align: center;
  margin-top: 20px;
  animation: resultPop 0.6s var(--ease-spring) both;
}

@keyframes resultPop {
  from {
    opacity: 0;
    transform: scale(0.5) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.result-multiplier {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  background: var(--gradient-toast);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 20px rgba(196, 149, 106, 0.4));
}

.result-message {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.result-message.big-win {
  color: var(--toast-light);
  font-weight: 600;
}

/* Mode Toggle */
.wheel-mode-toggle {
  margin-bottom: 28px;
}

.mode-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.mode-tab {
  flex: 1;
  padding: 10px 16px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.3s ease;
  cursor: pointer;
}

.mode-tab:hover {
  border-color: var(--border-glass);
  color: var(--text-secondary);
}

.mode-tab.active {
  background: rgba(196, 149, 106, 0.1);
  border-color: rgba(196, 149, 106, 0.3);
  color: var(--toast-light);
  box-shadow: var(--glow-toast);
}

.code-input-area {
  display: flex;
  gap: 8px;
  animation: fadeInUp 0.3s var(--ease-out) both;
}

.code-input {
  flex: 1;
  padding: 12px 16px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  outline: none;
  transition: border-color 0.3s ease;
}

.code-input::placeholder {
  color: var(--text-muted);
  font-family: var(--font-body);
  letter-spacing: 0;
}

.code-input:focus {
  border-color: var(--toast);
  box-shadow: 0 0 0 3px rgba(196, 149, 106, 0.1);
}

.code-submit-btn {
  padding: 12px 20px;
  background: var(--gradient-toast);
  color: #080604;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: var(--radius-md);
  transition: all 0.3s var(--ease-spring);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.code-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-toast);
}

.code-submit-btn.activated {
  background: var(--emerald);
  color: white;
}

.mode-hint {
  font-size: 0.8rem !important;
  color: var(--text-muted) !important;
  margin-bottom: 0 !important;
  font-style: italic;
}

/* ---------- Custom Scrollbar ---------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: #2a2018;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--toast-dark);
}

/* ---------- Responsive wheel ---------- */
@media (max-width: 480px) {
  .wheel-container {
    width: 300px;
    height: 300px;
  }

  .wheel-container canvas {
    width: 300px;
    height: 300px;
  }

  .wheel-spin-btn {
    width: 64px;
    height: 64px;
    font-size: 0.75rem;
  }

  .result-multiplier {
    font-size: 2.2rem;
  }

  .mode-tabs {
    flex-direction: column;
  }
}

