@import url('https://fonts.googleapis.com/css2?family=Righteous&family=Nunito:wght@300;400;600;700&display=swap');

:root {
  --midnight: #0c0a2a;
  --midnight-mid: #161345;
  --pink: #ec4899;
  --pink-light: #f472b6;
  --cyan: #22d3ee;
  --text-main: #e0d4f7;
  --text-soft: #a89cc8;
  --white: #faf5ff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--midnight);
  color: var(--text-main);
  line-height: 1.8;
}

a { color: var(--pink); text-decoration: none; transition: 0.3s; }
a:hover { color: var(--pink-light); }

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 66px;
  background: rgba(12, 10, 42, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--pink);
}

.nb-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nb-brand svg { width: 34px; height: 34px; }

.nb-brand span {
  font-family: 'Righteous', cursive;
  font-size: 1.4rem;
  color: var(--pink);
}

.nb-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nb-links a {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-main);
  text-transform: uppercase;
}

.nb-links a:hover { color: var(--pink); }

.nb-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.nb-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--pink);
  margin: 5px 0;
  transition: 0.3s;
}

.nb-toggle.active span:first-child { transform: rotate(45deg) translate(4px, 6px); }
.nb-toggle.active span:nth-child(2) { opacity: 0; }
.nb-toggle.active span:last-child { transform: rotate(-45deg) translate(5px, -6px); }

.wave-hero {
  padding: 6rem 2rem 8rem;
  text-align: center;
  background: linear-gradient(180deg, var(--midnight-mid) 0%, var(--midnight) 100%);
  position: relative;
}

.wave-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--midnight);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.wave-hero h1 {
  font-family: 'Righteous', cursive;
  font-size: 3rem;
  color: var(--pink);
  margin-bottom: 1rem;
  text-shadow: 0 0 30px rgba(236, 72, 153, 0.3);
}

.wave-hero p {
  font-size: 1.15rem;
  color: var(--text-soft);
  max-width: 650px;
  margin: 0 auto 2.5rem;
}

.neon-btn {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  background: transparent;
  color: var(--pink);
  font-family: 'Righteous', cursive;
  font-size: 1rem;
  border: 2px solid var(--pink);
  border-radius: 50px;
  cursor: pointer;
  transition: 0.3s;
}

.neon-btn:hover {
  background: var(--pink);
  color: var(--midnight);
  box-shadow: 0 0 25px rgba(236, 72, 153, 0.5);
}

.notice-wave {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 2rem;
  background: var(--midnight-mid);
  border-radius: 20px;
  max-width: 900px;
  margin: -2rem auto 3rem;
  position: relative;
  z-index: 1;
}

.nw-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--cyan);
  font-size: 0.92rem;
}

.nw-item .nw-icon { font-size: 1.3rem; }

.game-section {
  padding: 4rem 2rem;
  text-align: center;
}

.game-section h2 {
  font-family: 'Righteous', cursive;
  font-size: 2rem;
  color: var(--pink);
  margin-bottom: 1.5rem;
}

.game-frame {
  max-width: 960px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid var(--pink);
  box-shadow: 0 0 50px rgba(236, 72, 153, 0.2);
  background: #000;
}

.game-frame iframe {
  width: 100%;
  height: 600px;
  border: none;
  display: block;
}

.pill-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  padding: 3rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.pill {
  background: var(--midnight-mid);
  padding: 1.8rem 2rem;
  border-radius: 20px;
  flex: 1 1 280px;
  max-width: 340px;
  text-align: center;
  border: 1px solid rgba(236, 72, 153, 0.15);
  transition: 0.3s;
}

.pill:hover {
  border-color: var(--pink);
  transform: translateY(-3px);
}

.pill .p-icon { font-size: 2.5rem; margin-bottom: 0.7rem; }

.pill h3 {
  font-family: 'Righteous', cursive;
  font-size: 1.1rem;
  color: var(--pink);
  margin-bottom: 0.5rem;
}

.pill p { color: var(--text-soft); font-size: 0.93rem; }

.about-wave {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.about-wave h2 {
  font-family: 'Righteous', cursive;
  font-size: 1.8rem;
  color: var(--pink);
  margin-bottom: 1.5rem;
}

.about-wave p {
  color: var(--text-soft);
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
}

.doc-page {
  padding: 3rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.doc-page h1 {
  font-family: 'Righteous', cursive;
  font-size: 2.3rem;
  color: var(--pink);
  text-align: center;
  margin-bottom: 2.5rem;
}

.doc-page h2 {
  font-family: 'Righteous', cursive;
  font-size: 1.3rem;
  color: var(--cyan);
  margin: 2rem 0 0.7rem;
}

.doc-page p, .doc-page li {
  color: var(--text-soft);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.doc-page ul { padding-left: 1.5rem; margin-bottom: 1.2rem; }

.play-zone {
  padding: 3rem 2rem;
  text-align: center;
}

.play-zone h1 {
  font-family: 'Righteous', cursive;
  font-size: 2.3rem;
  color: var(--pink);
  margin-bottom: 1rem;
}

.play-zone > p {
  color: var(--text-soft);
  max-width: 680px;
  margin: 0 auto 2rem;
}

.site-foot {
  background: var(--midnight-mid);
  padding: 3rem 2rem;
  text-align: center;
  margin-top: 4rem;
  border-top: 2px solid var(--pink);
}

.sf-nav {
  display: flex;
  justify-content: center;
  gap: 1.8rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.sf-nav a {
  font-size: 0.85rem;
  color: var(--text-soft);
  font-weight: 600;
}

.sf-nav a:hover { color: var(--pink); }

.sf-rg {
  margin-top: 1.3rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(236, 72, 153, 0.1);
}

.sf-rg p { font-size: 0.8rem; color: var(--text-soft); margin-bottom: 0.4rem; }
.sf-rg a { margin: 0 0.6rem; font-size: 0.8rem; }

.sf-copy {
  margin-top: 1.2rem;
  font-size: 0.72rem;
  color: var(--text-soft);
  opacity: 0.6;
}

.age-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.age-modal {
  background: var(--midnight-mid);
  border: 2px solid var(--pink);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  text-align: center;
  max-width: 440px;
  width: 90%;
  box-shadow: 0 0 60px rgba(236, 72, 153, 0.3);
}

.age-modal h2 {
  font-family: 'Righteous', cursive;
  font-size: 1.5rem;
  color: var(--pink);
  margin-bottom: 1rem;
}

.age-modal p { color: var(--text-soft); margin-bottom: 1.8rem; }

.age-opts {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.age-opts button {
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-family: 'Righteous', cursive;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid var(--pink);
  transition: 0.3s;
}

.age-y { background: var(--pink); color: var(--midnight); }
.age-y:hover { background: var(--pink-light); }
.age-n { background: transparent; color: var(--pink); }
.age-n:hover { background: rgba(236, 72, 153, 0.1); }

@media (max-width: 768px) {
  .nb-toggle { display: block; }

  .nb-links {
    display: none;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    background: var(--midnight);
    flex-direction: column;
    padding: 1.2rem 2rem;
    gap: 0.8rem;
    border-bottom: 2px solid var(--pink);
  }

  .nb-links.open { display: flex; }

  .wave-hero h1 { font-size: 2rem; }
  .wave-hero { padding: 3.5rem 1.5rem 5rem; }
  .wave-hero::after { height: 40px; }

  .notice-wave { margin: -1rem 1rem 2rem; gap: 0.8rem; }

  .pill-features { gap: 1rem; }
  .pill { max-width: 100%; flex: 1 1 100%; }

  .game-frame iframe { height: 380px; }

  .sf-nav { flex-direction: column; gap: 0.5rem; }
}
