:root {
  --night: #0b0d17;
  --navy: #111936;
  --indigo: #1a1f4e;
  --star-white: #f0f0ff;
  --star-blue: #a0c4ff;
  --moon-glow: #fffde7;
  --accent: #7c8cf8;
  --accent-light: #b8c0ff;
  --text: #ccd0e8;
  --text-dim: #8a8fb0;
  --card-bg: rgba(26,31,78,0.5);
}

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

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(180deg, var(--night) 0%, var(--navy) 50%, #0f1230 100%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Stars */
.stars-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.star {
  position: absolute;
  border-radius: 50%;
  background: var(--star-white);
  animation: twinkle ease-in-out infinite;
}

.s1  { width: 2px; height: 2px; top: 5%;  left: 12%; animation-duration: 3s; }
.s2  { width: 3px; height: 3px; top: 8%;  left: 28%; animation-duration: 4s; animation-delay: 0.5s; }
.s3  { width: 1px; height: 1px; top: 12%; left: 45%; animation-duration: 2.5s; animation-delay: 1s; }
.s4  { width: 2px; height: 2px; top: 3%;  left: 62%; animation-duration: 3.5s; animation-delay: 0.3s; }
.s5  { width: 3px; height: 3px; top: 15%; left: 78%; animation-duration: 4.5s; animation-delay: 1.5s; }
.s6  { width: 1px; height: 1px; top: 20%; left: 90%; animation-duration: 2s; }
.s7  { width: 2px; height: 2px; top: 25%; left: 5%;  animation-duration: 3.8s; animation-delay: 2s; }
.s8  { width: 2px; height: 2px; top: 30%; left: 35%; animation-duration: 3.2s; animation-delay: 0.8s; }
.s9  { width: 3px; height: 3px; top: 35%; left: 55%; animation-duration: 4.2s; animation-delay: 1.2s; }
.s10 { width: 1px; height: 1px; top: 40%; left: 72%; animation-duration: 2.8s; animation-delay: 0.4s; }
.s11 { width: 2px; height: 2px; top: 45%; left: 18%; animation-duration: 3.6s; animation-delay: 2.5s; }
.s12 { width: 1px; height: 1px; top: 50%; left: 42%; animation-duration: 2.2s; animation-delay: 1.8s; }
.s13 { width: 3px; height: 3px; top: 55%; left: 85%; animation-duration: 4s; animation-delay: 0.6s; }
.s14 { width: 2px; height: 2px; top: 60%; left: 8%;  animation-duration: 3.4s; animation-delay: 1.4s; }
.s15 { width: 1px; height: 1px; top: 65%; left: 50%; animation-duration: 2.6s; animation-delay: 2.2s; }
.s16 { width: 2px; height: 2px; top: 70%; left: 68%; animation-duration: 3s; animation-delay: 0.9s; }
.s17 { width: 3px; height: 3px; top: 75%; left: 22%; animation-duration: 4.8s; animation-delay: 1.6s; }
.s18 { width: 1px; height: 1px; top: 80%; left: 38%; animation-duration: 2.4s; animation-delay: 3s; }
.s19 { width: 2px; height: 2px; top: 85%; left: 92%; animation-duration: 3.3s; animation-delay: 0.7s; }
.s20 { width: 2px; height: 2px; top: 10%; left: 58%; animation-duration: 3.7s; animation-delay: 2.8s; }

@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.4); }
}

/* Shooting Star */
.shooting-star {
  position: fixed;
  top: 10%;
  left: -10%;
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--star-white), transparent);
  border-radius: 2px;
  z-index: 1;
  animation: shoot 6s ease-out 1s 1 forwards;
  opacity: 0;
}

@keyframes shoot {
  0%   { transform: translateX(0) translateY(0) rotate(-35deg); opacity: 0; }
  5%   { opacity: 1; }
  30%  { opacity: 1; }
  100% { transform: translateX(110vw) translateY(40vh) rotate(-35deg); opacity: 0; }
}

/* Milky Way */
.milky-way {
  position: fixed;
  top: -20%;
  left: -10%;
  width: 140%;
  height: 300px;
  background: linear-gradient(135deg,
    transparent 30%,
    rgba(124,140,248,0.03) 40%,
    rgba(184,192,255,0.06) 50%,
    rgba(124,140,248,0.03) 60%,
    transparent 70%
  );
  transform: rotate(-20deg);
  pointer-events: none;
  z-index: 0;
  filter: blur(20px);
}

/* Navigation */
.top-nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 40px;
  background: rgba(11,13,23,0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(124,140,248,0.1);
}

.nav-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-light);
}

.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--accent-light); }

/* Moon */
.moon {
  position: absolute;
  top: 60px;
  right: 10%;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--moon-glow), #e0d68a);
  box-shadow: 0 0 60px rgba(255,253,231,0.3), 0 0 120px rgba(255,253,231,0.1);
  z-index: 1;
}

/* Hero */
.hero {
  position: relative;
  z-index: 2;
  padding: 180px 24px 120px;
  text-align: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-inner { max-width: 600px; }

.game-icon {
  width: 110px;
  height: 110px;
  border-radius: 24px;
  border: 2px solid rgba(124,140,248,0.3);
  box-shadow: 0 0 30px rgba(124,140,248,0.2);
  margin-bottom: 28px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--star-white);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.tagline {
  font-size: 1.1rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 40px;
  font-weight: 300;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 20px rgba(124,140,248,0.3);
}
.cta-btn:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124,140,248,0.4);
}

/* Sections */
.section {
  position: relative;
  z-index: 2;
  padding: 100px 24px;
}

.section-heading {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  text-align: center;
  color: var(--star-white);
  margin-bottom: 60px;
  position: relative;
}
.section-heading::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 16px auto 0;
  border-radius: 1px;
}

/* Screenshots */
.screenshots-section { background: rgba(17,25,54,0.4); }

.screenshots-row {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}

.screenshot-frame {
  position: relative;
  width: 260px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(124,140,248,0.15);
  transition: transform 0.3s;
}
.screenshot-frame:hover {
  transform: translateY(-8px);
}
.screenshot-frame img {
  width: 100%;
  display: block;
}
.frame-glow {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  box-shadow: inset 0 0 20px rgba(124,140,248,0.1);
  pointer-events: none;
}

/* Constellation Features */
.constellation-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.constellation-node {
  text-align: center;
  padding: 28px;
  max-width: 400px;
  position: relative;
}

.node-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  margin: 0 auto 16px;
  box-shadow: 0 0 12px var(--accent), 0 0 24px rgba(124,140,248,0.3);
  animation: dotPulse 3s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 12px var(--accent), 0 0 24px rgba(124,140,248,0.3); }
  50% { box-shadow: 0 0 20px var(--accent), 0 0 40px rgba(124,140,248,0.5); }
}

.constellation-line {
  width: 2px;
  height: 50px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  opacity: 0.4;
}

.constellation-node h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--star-white);
  margin-bottom: 8px;
}

.constellation-node p {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* FAQ */
.faq-section { background: rgba(15,18,48,0.5); }

.faq-container {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-card {
  background: var(--card-bg);
  border: 1px solid rgba(124,140,248,0.1);
  border-radius: 16px;
  padding: 28px 32px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.faq-card:hover {
  border-color: rgba(124,140,248,0.3);
  box-shadow: 0 0 20px rgba(124,140,248,0.1);
}
.faq-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent-light);
  margin-bottom: 10px;
}
.faq-card p {
  color: var(--text-dim);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(124,140,248,0.08);
  padding: 50px 24px 36px;
  text-align: center;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--accent-light);
  margin-bottom: 20px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
}
.footer-nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}
.footer-nav a:hover { color: var(--accent-light); }

.footer-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  color: rgba(138,143,176,0.5);
  font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.4rem; }
  .hero { padding: 140px 20px 80px; }
  .top-nav { padding: 12px 20px; }
  .nav-links { gap: 16px; }
  .screenshot-frame { width: 200px; }
  .moon { width: 50px; height: 50px; top: 80px; right: 5%; }
}
