/* ============================================================
   OG GAME LABS — oggamelabs.com
   Global stylesheet — V3 (Neon synthwave redesign)
   ============================================================ */

/* ---------- Custom properties ---------- */
:root {
  --bg-deep: #06060a;
  --bg: #0a0a10;
  --bg-elevated: #10101a;
  --bg-card: rgba(16, 16, 28, 0.65);
  --bg-card-solid: #12121f;
  --bg-glass: rgba(16, 16, 28, 0.45);

  --border: rgba(255, 255, 255, 0.06);
  --border-glow: rgba(168, 85, 247, 0.25);

  --text: #f0eef5;
  --text-muted: #8b8a95;
  --text-dim: #5c5b66;

  /* Neon palette */
  --neon-purple: #a855f7;
  --neon-pink: #ec4899;
  --neon-blue: #3b82f6;
  --neon-cyan: #22d3ee;
  --neon-orange: #f97316;
  --neon-yellow: #facc15;
  --neon-red: #ef4444;

  --primary: #a855f7;
  --primary-soft: #c084fc;
  --accent: #ec4899;
  --accent-soft: #f472b6;

  --gradient-hero: linear-gradient(135deg, #a855f7 0%, #ec4899 50%, #f97316 100%);
  --gradient-card: linear-gradient(135deg, rgba(168,85,247,0.08), rgba(236,72,153,0.05));
  --gradient-glow: linear-gradient(135deg, #a855f7, #ec4899, #f97316);

  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 4px 16px rgba(0,0,0,0.3);
  --shadow: 0 16px 48px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 60px rgba(168,85,247,0.15);

  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

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

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  background: var(--bg-deep);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--primary-soft);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover { color: var(--accent-soft); }

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

::selection {
  background: rgba(168, 85, 247, 0.35);
  color: #fff;
}

/* ---------- Layout ---------- */
.container {
  width: min(1200px, 90%);
  margin: 0 auto;
}

section {
  padding: 120px 0;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary-soft);
  margin-bottom: 16px;
  padding: 6px 16px;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 999px;
}

.section-title {
  font-size: clamp(32px, 5vw, 52px);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.section-intro {
  color: var(--text-muted);
  max-width: 620px;
  font-size: 17px;
  line-height: 1.75;
}

.text-center { text-align: center; }
.text-center .section-intro {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}

.btn-primary {
  background: var(--gradient-hero);
  color: #fff;
  box-shadow: 0 8px 32px rgba(168, 85, 247, 0.3), 0 4px 16px rgba(236, 72, 153, 0.2);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 44px rgba(168, 85, 247, 0.45), 0 6px 22px rgba(236, 72, 153, 0.3);
  color: #fff;
}

.btn-primary:hover::before { opacity: 1; }

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: var(--primary-soft);
  color: var(--primary-soft);
  transform: translateY(-3px);
  background: rgba(168, 85, 247, 0.08);
}

/* ---------- Store badges ---------- */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 12px 22px;
  color: #fff;
  backdrop-filter: blur(12px);
  transition: all 0.35s var(--ease-out);
}

.store-badge:hover {
  transform: translateY(-3px);
  border-color: var(--primary-soft);
  background: rgba(168, 85, 247, 0.08);
  box-shadow: 0 8px 32px rgba(168, 85, 247, 0.15);
}

.store-badge i { font-size: 28px; }

.store-badge .badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-align: left;
}

.store-badge .badge-text small {
  font-size: 11px;
  opacity: 0.65;
  letter-spacing: 0.5px;
}

.store-badge .badge-text strong {
  font-family: var(--font-display);
  font-size: 17px;
}

.store-badge.soon {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}

/* Note chips */
.note-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
}

.chip:hover {
  border-color: rgba(168, 85, 247, 0.3);
  color: var(--text);
}

.chip i { color: var(--primary-soft); font-size: 14px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.4s ease;
}

.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  backdrop-filter: blur(20px) saturate(1.2);
  background: rgba(6, 6, 10, 0.7);
  border-bottom: 1px solid var(--border);
  z-index: -1;
  transition: background 0.4s ease;
}

.site-header.scrolled::before {
  background: rgba(6, 6, 10, 0.9);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  transition: transform 0.3s var(--ease-out);
}

.brand:hover {
  transform: scale(1.02);
  color: var(--text);
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e11d24;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(225, 29, 36, 0.3);
  transition: box-shadow 0.3s ease;
}

.brand:hover .brand-mark {
  box-shadow: 0 6px 28px rgba(225, 29, 36, 0.5);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text);
}

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

.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 15px;
  padding: 8px 16px;
  border-radius: 10px;
  transition: all 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  transition: background 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 180px 0 140px;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Animated mesh gradient background */
.hero::before {
  content: '';
  position: absolute;
  inset: -50%;
  background:
    radial-gradient(ellipse 40% 35% at 15% 20%, rgba(168, 85, 247, 0.25), transparent 60%),
    radial-gradient(ellipse 35% 30% at 80% 10%, rgba(236, 72, 153, 0.18), transparent 55%),
    radial-gradient(ellipse 30% 30% at 60% 85%, rgba(59, 130, 246, 0.15), transparent 55%),
    radial-gradient(ellipse 45% 35% at 90% 60%, rgba(249, 115, 22, 0.1), transparent 60%);
  pointer-events: none;
  animation: meshFloat 20s ease-in-out infinite;
}

@keyframes meshFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(-3%, 2%) scale(1.02); }
  50% { transform: translate(2%, -2%) scale(0.98); }
  75% { transform: translate(-1%, -1%) scale(1.01); }
}

/* Grid pattern overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(168, 85, 247, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(40px, 6.5vw, 72px);
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  line-height: 1.08;
}

.hero h1 .grad {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 6s ease-in-out infinite;
  background-size: 200% 200%;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

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

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

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

/* Floating orb decorations */
.hero-visual::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.25), transparent 65%);
  top: -30px;
  right: -40px;
  animation: orbFloat 8s ease-in-out infinite;
  pointer-events: none;
}

.hero-visual::after {
  content: '';
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.2), transparent 65%);
  bottom: -20px;
  left: -30px;
  animation: orbFloat 10s ease-in-out infinite reverse;
  pointer-events: none;
}

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

/* ---------- Phone frame ---------- */
.phone {
  width: min(300px, 78vw);
  border-radius: 40px;
  padding: 10px;
  background: linear-gradient(160deg, rgba(168, 85, 247, 0.2), rgba(16, 16, 28, 0.9));
  border: 1px solid rgba(168, 85, 247, 0.2);
  box-shadow:
    var(--shadow),
    0 0 80px rgba(168, 85, 247, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: rotate(3deg) translateZ(0);
  transition: all 0.6s var(--ease-out);
  will-change: transform;
}

.phone:hover {
  transform: rotate(0deg) scale(1.03) translateZ(20px);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.5),
    0 0 100px rgba(168, 85, 247, 0.2);
  border-color: rgba(168, 85, 247, 0.4);
}

.phone img {
  border-radius: 32px;
  width: 100%;
}

/* ---------- Featured game ---------- */
.featured {
  background: var(--bg);
  position: relative;
}

.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.3), rgba(236, 72, 153, 0.3), transparent);
}

.featured::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.2), transparent);
}

.featured-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.featured .phone {
  transform: rotate(-3deg);
  box-shadow: var(--shadow), 0 0 60px rgba(236, 72, 153, 0.1);
}

.featured .phone:hover {
  transform: rotate(0deg) scale(1.03);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 80px rgba(236, 72, 153, 0.15);
}

.feature-list {
  list-style: none;
  margin: 28px 0 36px;
  display: grid;
  gap: 16px;
}

.feature-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--text-muted);
  padding: 12px 16px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.feature-list li:hover {
  background: rgba(168, 85, 247, 0.05);
}

.feature-list i {
  color: var(--neon-yellow);
  margin-top: 3px;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.feature-list strong { color: var(--text); }

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

.feature-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  backdrop-filter: blur(12px);
  transition: all 0.4s var(--ease-out);
  overflow: hidden;
}

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

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(168, 85, 247, 0.25);
  background: rgba(16, 16, 28, 0.8);
  box-shadow: var(--shadow-glow);
}

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

.feature-card .icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: transform 0.4s var(--ease-spring);
}

.feature-card:hover .icon-wrap {
  transform: scale(1.1) rotate(-5deg);
}

.feature-card .icon-wrap i { font-size: 22px; }

/* Individual card colors */
.feature-card:nth-child(1) .icon-wrap { background: rgba(168, 85, 247, 0.12); }
.feature-card:nth-child(1) .icon-wrap i { color: var(--neon-purple); }
.feature-card:nth-child(2) .icon-wrap { background: rgba(250, 204, 21, 0.1); }
.feature-card:nth-child(2) .icon-wrap i { color: var(--neon-yellow); }
.feature-card:nth-child(3) .icon-wrap { background: rgba(236, 72, 153, 0.1); }
.feature-card:nth-child(3) .icon-wrap i { color: var(--neon-pink); }
.feature-card:nth-child(4) .icon-wrap { background: rgba(249, 115, 22, 0.1); }
.feature-card:nth-child(4) .icon-wrap i { color: var(--neon-orange); }
.feature-card:nth-child(5) .icon-wrap { background: rgba(59, 130, 246, 0.1); }
.feature-card:nth-child(5) .icon-wrap i { color: var(--neon-blue); }
.feature-card:nth-child(6) .icon-wrap { background: rgba(34, 211, 238, 0.1); }
.feature-card:nth-child(6) .icon-wrap i { color: var(--neon-cyan); }

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

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

/* ---------- How to play ---------- */
.howto {
  background: var(--bg);
  position: relative;
}

.howto::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.2), transparent);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 28px 32px;
  backdrop-filter: blur(8px);
  transition: all 0.4s var(--ease-out);
}

.step:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 85, 247, 0.2);
  box-shadow: var(--shadow-glow);
}

.step .step-num {
  position: absolute;
  top: -18px;
  left: 24px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: #fff;
  box-shadow: 0 6px 24px rgba(168, 85, 247, 0.35);
}

.step h3 {
  font-size: 18px;
  margin: 8px 0 10px;
}

.step p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ---------- Slideshow ---------- */
.slideshow {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 32px;
  overflow: hidden;
  background: #000;
}

.slideshow .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.slideshow .slide.active { opacity: 1; }

.slide-dots {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}

.slide-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slide-dots button.active {
  background: #fff;
  width: 24px;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

/* ---------- Game cards ---------- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 56px;
}

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
}

.game-card:hover {
  transform: translateY(-8px);
  border-color: rgba(168, 85, 247, 0.35);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 60px rgba(168, 85, 247, 0.1);
}

.game-card-cover {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
}

.game-card-cover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(16, 16, 28, 0.8));
  pointer-events: none;
}

.game-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.game-card:hover .game-card-cover img {
  transform: scale(1.08);
}

.game-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.game-card-body h3 {
  font-size: 24px;
  margin-bottom: 6px;
}

.game-card-body .genre {
  font-size: 12px;
  color: var(--primary-soft);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.game-card-body p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 22px;
  flex: 1;
  line-height: 1.7;
}

/* Coming-soon cards */
.game-card.coming-soon {
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 30px;
  border-style: dashed;
  background: transparent;
  min-height: 280px;
}

.game-card.coming-soon:hover {
  transform: none;
  box-shadow: none;
  border-color: rgba(168, 85, 247, 0.3);
}

.game-card.coming-soon i {
  font-size: 40px;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 18px;
}

.game-card.coming-soon h3 {
  color: var(--text-muted);
  font-size: 20px;
}

.game-card.coming-soon p {
  color: var(--text-dim);
  font-size: 14px;
  margin: 8px 0 0;
}

/* ---------- Values / About ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 56px;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  backdrop-filter: blur(12px);
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.value-card:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 85, 247, 0.2);
  box-shadow: var(--shadow-glow);
}

.value-card i {
  font-size: 28px;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 18px;
  display: inline-block;
}

.value-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.value-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ---------- Marquee ticker ---------- */
.marquee-section {
  padding: 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(168, 85, 247, 0.03);
}

.marquee-track {
  display: flex;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.marquee-track span {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 20px 40px;
  white-space: nowrap;
}

.marquee-track span .dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--neon-purple);
  margin-right: 40px;
  vertical-align: middle;
}

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

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-deep);
  position: relative;
  padding: 70px 0 30px;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.3), rgba(236, 72, 153, 0.2), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-grid-2 {
  grid-template-columns: 1fr auto;
}

.footer-brand .brand {
  transform-origin: left center;
}

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

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

.footer-brand .brand:hover {
  transform: scale(1.05);
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 340px;
  margin-top: 18px;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 14px;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 15px;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

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

.footer-col a i {
  width: 20px;
  color: var(--primary-soft);
  font-size: 14px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  color: var(--text-dim);
  font-size: 13px;
}

.footer-bottom a {
  color: var(--text-dim);
}
.footer-bottom a:hover {
  color: var(--primary-soft);
}

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

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

/* Staggered reveal for grids */
.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: 400ms; }

/* ---------- Text pages (privacy / terms) ---------- */
.page-header {
  padding: 180px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 50% -10%, rgba(168, 85, 247, 0.15), transparent 60%);
  pointer-events: none;
}

.page-header h1 {
  position: relative;
  font-size: clamp(34px, 5vw, 52px);
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-header .updated {
  position: relative;
  color: var(--text-dim);
  font-size: 14px;
  margin-top: 14px;
}

.legal-content {
  padding: 20px 0 120px;
}

.legal-content .container {
  max-width: 780px;
}

.legal-content h2 {
  font-size: 24px;
  margin: 48px 0 14px;
}

.legal-content h3 {
  font-size: 18px;
  margin: 32px 0 10px;
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.8;
}

.legal-content ul {
  padding-left: 24px;
  margin-bottom: 18px;
}

.legal-content strong { color: var(--text); }

/* ---------- Cursor glow (JS-powered) ---------- */
.cursor-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.06), transparent 60%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  will-change: left, top;
}

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero-inner,
  .featured-inner {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .hero {
    padding-top: 160px;
    text-align: center;
    min-height: auto;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

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

  .featured-inner .phone-col { order: 2; }

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

  section { padding: 90px 0; }
}

@media (max-width: 760px) {
  .nav-links {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(6, 6, 10, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 12px 5%;
    display: none;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }

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

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

  .nav-links a {
    display: block;
    padding: 14px 12px;
    font-size: 16px;
    border-radius: 12px;
  }

  .nav-toggle { display: flex; align-items: center; justify-content: center; }

  section { padding: 70px 0; }

  .features-grid,
  .steps { grid-template-columns: 1fr; }

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

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

@media (max-width: 480px) {
  .container { width: 92%; }
  .store-badges { flex-direction: column; }
  .note-chips { flex-direction: column; align-items: flex-start; }
}
