@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700;900&family=Raleway:wght@300;400;600;700&display=swap');

:root {
  --bg-dark: #0d0b1a;
  --bg-mid: #161233;
  --purple: #6c3fa0;
  --purple-light: #9b6dd7;
  --silver: #c0c5d0;
  --moon: #e8dff5;
  --white: #f8f6ff;
  --pink: #e056a0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Raleway', sans-serif;
  background: var(--bg-dark);
  color: var(--silver);
  line-height: 1.7;
}

h1, h2, h3, h4 { font-family: 'Cinzel', serif; color: var(--moon); }
a { color: var(--purple-light); text-decoration: none; transition: 0.3s; }
a:hover { color: var(--pink); }

/* HEADER */
.header {
  background: rgba(13,11,26,0.96);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 900;
  border-bottom: 1px solid rgba(108,63,160,0.3);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 68px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--moon);
  letter-spacing: 3px;
}

.site-logo svg { width: 34px; height: 34px; }

.nav-list { display: flex; list-style: none; gap: 2rem; }

.nav-list a {
  color: var(--silver);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: 0.3s;
}

.nav-list a:hover { color: var(--purple-light); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--purple-light);
  margin: 5px 0;
  border-radius: 2px;
}

/* HERO SPLIT */
.hero-area {
  display: flex;
  min-height: 480px;
  overflow: hidden;
}

.hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3rem;
  background: linear-gradient(135deg, var(--bg-mid), var(--bg-dark));
}

.hero-text h1 {
  font-size: 2.6rem;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  background: linear-gradient(to right, var(--moon), var(--purple-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  font-size: 1.05rem;
  margin-bottom: 2rem;
  color: rgba(192,197,208,0.85);
  max-width: 500px;
}

.moon-btn {
  display: inline-block;
  padding: 0.85rem 2.4rem;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: 0.3s;
  width: fit-content;
}

.moon-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(108,63,160,0.4); color: #fff; }

.hero-visual {
  flex: 1;
  background: linear-gradient(180deg, var(--bg-mid), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.moon-circle {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--moon), var(--purple-light), var(--purple));
  box-shadow: 0 0 80px rgba(155,109,215,0.4), 0 0 150px rgba(108,63,160,0.2);
  animation: moonPulse 6s ease-in-out infinite;
}

@keyframes moonPulse {
  0%, 100% { box-shadow: 0 0 80px rgba(155,109,215,0.4), 0 0 150px rgba(108,63,160,0.2); }
  50% { box-shadow: 0 0 100px rgba(155,109,215,0.6), 0 0 200px rgba(108,63,160,0.3); }
}

/* ALERT BOXES */
.alert-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.alert-box {
  padding: 2rem;
  text-align: center;
  border-right: 1px solid rgba(108,63,160,0.2);
}

.alert-box:nth-child(1) { background: rgba(108,63,160,0.15); }
.alert-box:nth-child(2) { background: rgba(108,63,160,0.1); }
.alert-box:nth-child(3) { background: rgba(108,63,160,0.05); border-right: none; }

.alert-box .sym { font-size: 2rem; margin-bottom: 0.6rem; }
.alert-box h4 { font-size: 0.9rem; margin-bottom: 0.4rem; color: var(--purple-light); }
.alert-box p { font-size: 0.85rem; color: rgba(192,197,208,0.65); }

/* MAIN CONTENT */
.main-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section-heading {
  text-align: center;
  font-size: 1.9rem;
  margin-bottom: 0.8rem;
}

.section-desc {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  color: rgba(192,197,208,0.75);
}

/* GAME */
.game-container {
  max-width: 960px;
  margin: 0 auto;
  border: 1px solid rgba(108,63,160,0.4);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 50px rgba(108,63,160,0.15);
}

.game-container iframe {
  width: 100%;
  height: 600px;
  border: none;
  display: block;
}

/* TWO COL */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.col-block h3 { font-size: 1.2rem; margin-bottom: 0.8rem; color: var(--purple-light); }
.col-block p { font-size: 0.95rem; color: rgba(192,197,208,0.8); margin-bottom: 1rem; }

/* FOOTER */
.footer {
  background: var(--bg-mid);
  padding: 2.5rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(108,63,160,0.2);
}

.footer-links a {
  margin: 0 1rem;
  color: var(--purple-light);
  font-size: 0.88rem;
}

.footer-note {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: rgba(192,197,208,0.35);
  line-height: 1.9;
}

/* AGE OVERLAY */
.age-screen {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.94);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.age-screen.gone { display: none; }

.age-panel {
  background: var(--bg-mid);
  border: 1px solid var(--purple);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  max-width: 420px;
  width: 92%;
}

.age-panel h2 { margin-bottom: 1rem; font-size: 1.3rem; color: var(--purple-light); }
.age-panel p { margin-bottom: 1.5rem; font-size: 0.95rem; }

.age-panel-btns { display: flex; gap: 1rem; justify-content: center; }

.age-panel-btns button {
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 30px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
  font-size: 0.88rem;
}

.age-yes {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: #fff;
}

.age-yes:hover { box-shadow: 0 0 20px rgba(108,63,160,0.5); }

.age-no {
  background: transparent;
  border: 1px solid var(--silver) !important;
  color: var(--silver);
}

.age-no:hover { border-color: #e74c3c !important; color: #e74c3c; }

/* PAGE */
.page-body {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
  min-height: 55vh;
}

.page-body h1 { font-size: 2rem; margin-bottom: 1.5rem; color: var(--purple-light); }
.page-body h2 { font-size: 1.35rem; margin: 2rem 0 0.8rem; color: var(--moon); }
.page-body p { margin-bottom: 1rem; }
.page-body ul { margin: 1rem 0 1.5rem 1.5rem; }
.page-body ul li { margin-bottom: 0.5rem; }

@media (max-width: 768px) {
  .menu-toggle { display: block; }

  .nav-list {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    width: 100%;
    background: var(--bg-dark);
    flex-direction: column;
    padding: 1.2rem 2rem;
    border-bottom: 1px solid rgba(108,63,160,0.3);
  }

  .nav-list.show { display: flex; }
  .nav-list li { padding: 0.6rem 0; }

  .hero-area { flex-direction: column; }
  .hero-text { padding: 2.5rem 1.5rem; }
  .hero-text h1 { font-size: 1.8rem; }
  .hero-visual { min-height: 200px; }
  .moon-circle { width: 140px; height: 140px; }
  .alert-row { grid-template-columns: 1fr; }
  .alert-box { border-right: none; border-bottom: 1px solid rgba(108,63,160,0.15); }
  .two-col { grid-template-columns: 1fr; }
  .game-container iframe { height: 400px; }
}
