@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=DM+Sans:wght@300;400;500;700&display=swap');

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

:root {
  --night: #0c0e18;
  --panel: #121528;
  --star: #fde047;
  --star-dim: #a38e24;
  --indigo: #4f46e5;
  --txt: #b8bdd4;
  --dim: #6c728e;
}

html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--night); color: var(--txt); line-height: 1.75; }
h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; }
a { color: var(--star); text-decoration: none; transition: 0.3s; }
a:hover { color: var(--indigo); }

/* NAV */
.sky-nav {
  position: fixed; top: 0; width: 100%; z-index: 1000; height: 64px;
  background: rgba(12,14,24,0.95); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: space-between; padding: 0 2rem;
  border-bottom: 1px solid rgba(253,224,71,0.15);
}
.sn-logo { display: flex; align-items: center; gap: 8px; }
.sn-logo svg { width: 30px; height: 30px; }
.sn-logo span { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--star); }
.sn-links { display: flex; gap: 1.5rem; list-style: none; }
.sn-links a { font-size: 0.82rem; font-weight: 600; color: var(--dim); text-transform: uppercase; letter-spacing: 0.8px; }
.sn-links a:hover, .sn-links a.now { color: var(--star); }
.sn-ham { display: none; background: none; border: none; cursor: pointer; }
.sn-ham span { display: block; width: 22px; height: 2px; background: var(--star); margin: 4px 0; }

/* HERO - MODERN GRID */
.starry-hero {
  padding: 100px 2rem 5rem; max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center;
  min-height: 100vh;
}
.sh-text h1 { font-size: 2.6rem; color: #fff; margin-bottom: 1rem; line-height: 1.2; }
.sh-text h1 .hl { color: var(--star); }
.sh-text p { color: var(--dim); font-size: 1rem; margin-bottom: 2rem; }
.sh-chips { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.chip { padding: 0.4rem 1rem; border: 1px solid var(--star-dim); border-radius: 6px; font-size: 0.75rem; font-weight: 600; color: var(--star); font-family: 'Space Grotesk', sans-serif; }
.sh-game {
  width: 100%; padding-top: 70%; position: relative; border-radius: 16px; overflow: hidden;
  border: 2px solid rgba(253,224,71,0.2); box-shadow: 0 0 30px rgba(253,224,71,0.08);
}
.sh-game iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

/* FEATURES */
.feat-row {
  max-width: 1100px; margin: 4rem auto; padding: 0 2rem;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
}
.feat-card {
  background: var(--panel); border-radius: 14px; padding: 2rem;
  border: 1px solid rgba(79,70,229,0.15); display: flex; gap: 1.2rem; align-items: flex-start;
  transition: 0.3s;
}
.feat-card:hover { border-color: rgba(253,224,71,0.25); }
.feat-card .fi { font-size: 2rem; min-width: 40px; }
.feat-card h3 { font-size: 0.95rem; color: var(--star); margin-bottom: 0.3rem; }
.feat-card p { font-size: 0.85rem; color: var(--dim); }

/* DARK BAND */
.dark-band {
  background: var(--panel); border-top: 1px solid rgba(253,224,71,0.08); border-bottom: 1px solid rgba(79,70,229,0.15);
  padding: 4rem 2rem; margin: 3rem 0; text-align: center;
}
.dark-band h2 { font-size: 1.8rem; color: #fff; margin-bottom: 1rem; }
.dark-band p { max-width: 750px; margin: 0 auto 1rem; color: var(--dim); }

/* PAGE */
.nx-pg { max-width: 860px; margin: 0 auto; padding: 100px 2rem 4rem; }
.nx-pg h1 { font-size: 2rem; color: #fff; margin-bottom: 1rem; }
.nx-pg h3 { font-size: 1.05rem; color: var(--star); margin: 1.8rem 0 0.6rem; }
.nx-pg p { color: var(--dim); margin-bottom: 0.9rem; }
.nx-pg ul { margin: 0.6rem 0 1rem 1.5rem; }
.nx-pg li { color: var(--dim); margin-bottom: 0.3rem; }

/* PLAY */
.play-sky { padding: 100px 2rem 2rem; text-align: center; }
.play-sky h1 { font-size: 2rem; color: #fff; margin-bottom: 0.5rem; }
.play-sky p { color: var(--dim); max-width: 560px; margin: 0 auto; }
.game-full { max-width: 960px; margin: 0 auto; padding: 0 2rem 3rem; }
.gf-frame {
  width: 100%; padding-top: 64%; position: relative; border-radius: 14px; overflow: hidden;
  border: 2px solid rgba(253,224,71,0.2); box-shadow: 0 0 20px rgba(253,224,71,0.06);
}
.gf-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.play-note {
  max-width: 660px; margin: 2rem auto; background: var(--panel); border-radius: 12px; padding: 1.5rem 2rem;
  border: 1px solid rgba(79,70,229,0.15);
}
.play-note h3 { color: var(--star); margin-bottom: 0.4rem; font-size: 0.95rem; }
.play-note li { color: var(--dim); font-size: 0.85rem; margin-bottom: 0.2rem; }

/* FOOTER */
.star-footer {
  background: var(--panel); border-top: 1px solid rgba(253,224,71,0.1);
  padding: 3rem 2rem; text-align: center; margin-top: 4rem;
}
.sf-nav { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.sf-nav a { color: var(--dim); font-size: 0.85rem; }
.sf-resp { margin-bottom: 1rem; }
.sf-resp p { color: var(--dim); font-size: 0.8rem; margin-bottom: 0.3rem; }
.sf-resp a { color: var(--star); font-size: 0.8rem; margin: 0 0.4rem; }
.sf-copy { font-size: 0.7rem; color: var(--dim); opacity: 0.4; }

/* AGE */
.age-night {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(12,14,24,0.97); display: flex; align-items: center; justify-content: center;
}
.age-night.away { display: none; }
.age-star {
  background: var(--panel); border: 2px solid var(--star); border-radius: 16px;
  padding: 2.5rem; text-align: center; max-width: 410px; width: 90%;
}
.age-star h2 { font-size: 1.3rem; color: #fff; margin-bottom: 0.7rem; }
.age-star p { color: var(--dim); margin-bottom: 1.3rem; font-size: 0.9rem; }
.age-btns { display: flex; gap: 0.8rem; justify-content: center; }
.age-btns button {
  padding: 0.6rem 2rem; border-radius: 8px; font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 0.9rem; cursor: pointer; border: none; transition: 0.3s;
}
.ny-y { background: var(--star); color: var(--night); }
.ny-y:hover { background: var(--indigo); color: #fff; }
.ny-n { background: rgba(255,255,255,0.05); color: var(--dim); }
.ny-n:hover { background: #450a0a; color: #fca5a5; }

@media (max-width: 768px) {
  .sn-ham { display: block; }
  .sn-links {
    position: fixed; top: 64px; left: 0; width: 100%; background: rgba(12,14,24,0.97);
    flex-direction: column; padding: 1.5rem 2rem; gap: 1rem;
    transform: translateX(-100%); transition: 0.3s;
  }
  .sn-links.show { transform: translateX(0); }
  .starry-hero { grid-template-columns: 1fr; padding-top: 90px; min-height: auto; }
  .sh-text h1 { font-size: 1.9rem; }
  .sh-game { padding-top: 75%; }
  .feat-row { grid-template-columns: 1fr; }
}
