/* ===== CSS Variables ===== */
:root {
  --bg-dark: #0a0a12;
  --bg-card: #12121f;
  --bg-card-hover: #1a1a2e;
  --primary: #6c5ce7;
  --primary-light: #a29bfe;
  --accent: #00cec9;
  --accent-glow: rgba(0, 206, 201, 0.4);
  --primary-glow: rgba(108, 92, 231, 0.4);
  --text: #e8e8f0;
  --text-muted: #8888a0;
  --border: rgba(255, 255, 255, 0.08);
  --gradient: linear-gradient(135deg, var(--primary), var(--accent));
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-display: 'Orbitron', 'Inter', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --header-h: 72px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
input { font-family: inherit; }

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 15px;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-sm { padding: 8px 20px; font-size: 14px; }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 20px var(--primary-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--primary-glow);
}
.btn-outline {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}
.btn-outline:hover {
  border-color: var(--primary-light);
  background: rgba(108, 92, 231, 0.1);
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: var(--transition);
}
.header.scrolled {
  background: rgba(10, 10, 18, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
}
.logo-icon {
  color: var(--accent);
  font-size: 22px;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient);
  border-radius: 1px;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.8), transparent),
    radial-gradient(1px 1px at 40% 70%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 60% 20%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1.5px 1.5px at 80% 50%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 10% 80%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 90% 10%, rgba(255,255,255,0.8), transparent),
    radial-gradient(1px 1px at 50% 50%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 70% 90%, rgba(255,255,255,0.5), transparent);
  animation: twinkle 4s ease-in-out infinite alternate;
}
@keyframes twinkle {
  0% { opacity: 0.6; }
  100% { opacity: 1; }
}
.hero-nebula {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(108, 92, 231, 0.25) 0%, transparent 70%);
  animation: nebula-drift 20s ease-in-out infinite;
}
.hero-nebula::after {
  content: '';
  position: absolute;
  bottom: 10%;
  left: -30%;
  width: 60%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(0, 206, 201, 0.15) 0%, transparent 70%);
}
@keyframes nebula-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 20px) scale(1.05); }
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(108, 92, 231, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 92, 231, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent);
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}
.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 50px;
  background: rgba(108, 92, 231, 0.15);
  border: 1px solid rgba(108, 92, 231, 0.3);
  font-size: 14px;
  margin-bottom: 24px;
  animation: fade-up 0.8s ease-out;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 8vw, 72px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero-title-line {
  display: block;
  animation: fade-up 0.8s ease-out backwards;
}
.hero-title-line:nth-child(2) { animation-delay: 0.15s; }
.hero-title-line.accent {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 40px;
  animation: fade-up 0.8s ease-out 0.3s backwards;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
  animation: fade-up 0.8s ease-out 0.45s backwards;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  animation: fade-up 0.8s ease-out 0.6s backwards;
}
.hero-stat {
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
}
.hero-stat-suffix {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--accent);
}
.hero-stat-label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  animation: fade-up 1s ease-out 1s backwards;
}
.scroll-indicator {
  width: 20px;
  height: 32px;
  border: 2px solid var(--text-muted);
  border-radius: 10px;
  position: relative;
}
.scroll-indicator::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 6px;
  background: var(--accent);
  border-radius: 2px;
  animation: scroll-bounce 2s ease-in-out infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 0.3; }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Sections ===== */
.section {
  padding: 100px 0;
  position: relative;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
  margin-bottom: 16px;
}
.section-desc {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 500px;
  margin: 0 auto;
}

/* ===== Features ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(108, 92, 231, 0.3);
  background: var(--bg-card-hover);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}
.feature-icon {
  font-size: 36px;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== Gameplay ===== */
.gameplay { background: linear-gradient(180deg, var(--bg-dark) 0%, #0d0d1a 50%, var(--bg-dark) 100%); }
.gameplay-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.gameplay-tabs {
  display: flex;
  gap: 8px;
  margin: 32px 0 24px;
}
.gameplay-tab {
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 14px;
  color: var(--text-muted);
  border: 1px solid transparent;
  transition: var(--transition);
}
.gameplay-tab:hover { color: var(--text); }
.gameplay-tab.active {
  color: #fff;
  background: rgba(108, 92, 231, 0.2);
  border-color: rgba(108, 92, 231, 0.4);
}
.gameplay-panel { display: none; }
.gameplay-panel.active { display: block; animation: fade-up 0.4s ease-out; }
.gameplay-panel h3 {
  font-size: 20px;
  margin-bottom: 12px;
}
.gameplay-panel p {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.7;
}
.gameplay-list li {
  padding: 8px 0 8px 24px;
  position: relative;
  font-size: 14px;
  color: var(--text-muted);
}
.gameplay-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 10px;
  top: 12px;
}
.gameplay-screen {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #080810;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.screen-header {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }
.screen-content {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
}
.screen-scene {
  position: absolute;
  inset: 0;
  display: none;
}
.screen-scene.active { display: block; }

/* Explore scene */
.scene-explore { background: linear-gradient(180deg, #0a0020 0%, #1a0a40 60%, #2a1a10 100%); }
.scene-planet {
  position: absolute;
  bottom: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #6c5ce7, #2d1b69 60%, #1a0a30);
  box-shadow: 0 0 60px rgba(108, 92, 231, 0.4);
  animation: planet-rotate 30s linear infinite;
}
@keyframes planet-rotate {
  0% { transform: translateX(-50%) rotate(0deg); }
  100% { transform: translateX(-50%) rotate(360deg); }
}
.scene-ship {
  position: absolute;
  top: 30%;
  left: 20%;
  width: 40px;
  height: 20px;
  background: var(--accent);
  clip-path: polygon(0 50%, 100% 0, 80% 50%, 100% 100%);
  animation: ship-fly 6s ease-in-out infinite;
  filter: drop-shadow(0 0 10px var(--accent-glow));
}
@keyframes ship-fly {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(80px, -30px); }
  50% { transform: translate(160px, 10px); }
  75% { transform: translate(80px, 40px); }
}
.scene-stars {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(1px 1px at 30% 20%, white, transparent),
    radial-gradient(1px 1px at 70% 40%, white, transparent),
    radial-gradient(1px 1px at 50% 60%, white, transparent);
}

/* Battle scene */
.scene-battle { background: radial-gradient(ellipse at center, #1a0520, #0a0010); }
.battle-ship {
  position: absolute;
  width: 30px;
  height: 15px;
  background: #ff6b6b;
  clip-path: polygon(0 50%, 100% 0, 80% 50%, 100% 100%);
}
.battle-ship-1 { top: 40%; left: 15%; animation: battle-move-1 3s ease-in-out infinite; }
.battle-ship-2 { top: 55%; right: 20%; background: #4ecdc4; animation: battle-move-2 3s ease-in-out infinite; }
@keyframes battle-move-1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(60px, -20px) rotate(15deg); }
}
@keyframes battle-move-2 {
  0%, 100% { transform: translate(0, 0) rotate(180deg); }
  50% { transform: translate(-50px, 15px) rotate(195deg); }
}
.battle-laser {
  position: absolute;
  top: 45%;
  left: 25%;
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, #ff6b6b, transparent);
  animation: laser-pulse 1.5s ease-in-out infinite;
  transform-origin: left center;
}
@keyframes laser-pulse {
  0%, 100% { opacity: 0; transform: scaleX(0); }
  50% { opacity: 1; transform: scaleX(1) rotate(5deg); }
}
.battle-explosion {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,200,50,0.8), transparent);
  animation: explode 3s ease-in-out infinite;
}
@keyframes explode {
  0%, 70%, 100% { transform: scale(0); opacity: 0; }
  75% { transform: scale(2); opacity: 1; }
  85% { transform: scale(3); opacity: 0; }
}

/* Build scene */
.scene-build { background: linear-gradient(180deg, #0a1020, #0a1a10); }
.build-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,206,201,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,206,201,0.1) 1px, transparent 1px);
  background-size: 30px 30px;
  perspective: 500px;
  transform: rotateX(30deg);
  transform-origin: center bottom;
}
.build-tower {
  position: absolute;
  bottom: 20%;
  width: 30px;
  background: linear-gradient(180deg, var(--accent), #0a6e6b);
  border-radius: 4px 4px 0 0;
  animation: tower-glow 2s ease-in-out infinite alternate;
}
.build-tower-1 { left: 25%; height: 60px; animation-delay: 0s; }
.build-tower-2 { left: 45%; height: 90px; animation-delay: 0.3s; }
.build-tower-3 { left: 65%; height: 50px; animation-delay: 0.6s; }
@keyframes tower-glow {
  0% { box-shadow: 0 0 10px var(--accent-glow); }
  100% { box-shadow: 0 0 25px var(--accent-glow); }
}

/* ===== Gallery ===== */
.gallery-slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}
.gallery-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 10px 0;
  flex: 1;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide {
  flex: 0 0 calc(33.333% - 14px);
  scroll-snap-align: start;
}
.gallery-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.gallery-slide:hover .gallery-img {
  transform: scale(1.02);
  border-color: rgba(108, 92, 231, 0.4);
}
.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg,
    hsl(var(--hue, 260), 40%, 15%),
    hsl(calc(var(--hue, 260) + 40), 30%, 8%));
}
.gallery-placeholder span { font-size: 48px; }
.gallery-placeholder p {
  font-size: 14px;
  color: var(--text-muted);
}
.gallery-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.gallery-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
}
.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  opacity: 0.3;
  transition: var(--transition);
  cursor: pointer;
}
.gallery-dot.active {
  opacity: 1;
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

/* ===== Reviews ===== */
.reviews { background: #0d0d18; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.review-stars {
  color: #feca57;
  font-size: 16px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.review-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 24px;
  font-style: italic;
}
.review-card footer {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}
.review-card cite {
  display: block;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
}
.review-card footer span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ===== Download ===== */
.download-card {
  position: relative;
  padding: 60px;
  border-radius: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  text-align: center;
}
.download-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(108, 92, 231, 0.2), transparent 70%);
  pointer-events: none;
}
.download-content { position: relative; z-index: 1; }
.download-content h2 {
  font-family: var(--font-display);
  font-size: 32px;
  margin-bottom: 12px;
}
.download-content > p {
  color: var(--text-muted);
  margin-bottom: 40px;
}
.download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 48px;
}
.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  transition: var(--transition);
  min-width: 180px;
}
.store-btn svg { width: 28px; height: 28px; flex-shrink: 0; }
.store-btn small {
  display: block;
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.store-btn strong { font-size: 16px; }
.store-btn:hover {
  background: rgba(108, 92, 231, 0.15);
  border-color: var(--primary);
  transform: translateY(-2px);
}
.subscribe-form p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 12px;
}
.subscribe-input-group {
  display: flex;
  gap: 8px;
  max-width: 440px;
  margin: 0 auto;
}
.subscribe-input-group input {
  flex: 1;
  padding: 12px 20px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}
.subscribe-input-group input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15);
}
.subscribe-input-group input::placeholder { color: var(--text-muted); }

/* ===== FAQ ===== */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.faq-item summary {
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 20px;
  color: var(--accent);
  transition: var(--transition);
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  padding-right: 30px;
}

/* ===== Footer ===== */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}
.footer-brand p {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
}
.footer-links {
  display: flex;
  gap: 60px;
}
.footer-links h4 {
  font-size: 14px;
  margin-bottom: 16px;
  color: var(--text);
}
.footer-links a {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--accent); }

/* ===== Modal ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.modal.open {
  opacity: 1;
  visibility: visible;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
}
.modal-content {
  position: relative;
  width: 90%;
  max-width: 800px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transform: scale(0.9);
  transition: var(--transition);
}
.modal.open .modal-content { transform: scale(1); }
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.modal-close:hover { background: rgba(255, 255, 255, 0.2); }
.modal-video { aspect-ratio: 16/9; background: #000; }
.video-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #1a0a30, #0a2040);
}
.play-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  border: 2px solid rgba(255, 255, 255, 0.3);
}
.video-placeholder span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ===== Reveal Animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .gameplay-layout { grid-template-columns: 1fr; }
  .gameplay-visual { order: -1; }
  .reviews-grid { grid-template-columns: 1fr; }
  .gallery-slide { flex: 0 0 calc(50% - 10px); }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(10, 10, 18, 0.95);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .gallery-slide { flex: 0 0 85%; }
  .download-card { padding: 40px 24px; }
  .download-buttons { flex-direction: column; align-items: center; }
  .store-btn { width: 100%; max-width: 280px; }
  .subscribe-input-group { flex-direction: column; }
  .footer-inner { flex-direction: column; }
  .footer-links { flex-wrap: wrap; gap: 32px; }
}
