/* LunaVoryVoryx - Unique Design 2: Deep midnight blue centred layout with golden accents */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;600;800&family=Merriweather:wght@400;700&display=swap');

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

:root {
  --midnight: #0D1B3E;
  --navy: #152550;
  --gold: #FFD93D;
  --amber: #FF8E3C;
  --cream: #FFF8E7;
  --text-main: #E8E4DC;
  --text-muted: #9A94B8;
  --surface: #1A2A54;
  --card: #1E3060;
  --radius: 12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Raleway', sans-serif;
  background: var(--midnight);
  color: var(--text-main);
  line-height: 1.75;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: color 0.3s; }
img, svg { max-width: 100%; display: block; }

/* HEADER */
.top-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13,27,62,0.94);
  backdrop-filter: blur(12px);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  border-bottom: 1px solid rgba(255,217,61,0.1);
}

.top-bar .logo { height: 34px; }

.main-nav {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.main-nav a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.3s;
}

.main-nav a:hover { color: var(--gold); }

.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.burger span {
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: all 0.3s;
}

/* HERO */
.hero-banner {
  margin-top: 64px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  background: radial-gradient(ellipse at 50% 30%, #1A2A54 0%, var(--midnight) 70%);
  position: relative;
}

.hero-banner::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--midnight), transparent);
}

.hero-banner h1 {
  font-family: 'Merriweather', serif;
  font-size: 3.5rem;
  color: var(--cream);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.hero-banner h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero-banner p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.hero-banner .game-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  margin-top: 1rem;
}

.hero-banner .game-frame iframe {
  width: 100%;
  height: 440px;
  border: 2px solid rgba(255,217,61,0.2);
  border-radius: var(--radius);
  background: #000;
}

.cta-btn {
  display: inline-block;
  padding: 0.9rem 2.6rem;
  background: linear-gradient(135deg, var(--gold), var(--amber));
  color: var(--midnight);
  font-weight: 700;
  border-radius: 50px;
  font-size: 1rem;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  z-index: 1;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255,217,61,0.35);
}

/* FEATURES */
.features-strip {
  padding: 5rem 2rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.features-strip h2 {
  font-family: 'Merriweather', serif;
  font-size: 2.2rem;
  text-align: center;
  color: var(--cream);
  margin-bottom: 3rem;
}

.feature-cards {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.feature-card {
  flex: 1 1 320px;
  max-width: 380px;
  background: var(--card);
  border: 1px solid rgba(255,217,61,0.08);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,217,61,0.25);
}

.feature-card .ficon { font-size: 2.6rem; margin-bottom: 1rem; }

.feature-card h3 {
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 0.7rem;
}

.feature-card p { font-size: 0.93rem; color: var(--text-muted); }

/* CALLOUT */
.callout-section {
  background: var(--surface);
  padding: 4rem 2rem;
  text-align: center;
}

.callout-section h2 {
  font-family: 'Merriweather', serif;
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.callout-section p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* STATS ROW */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
}

.stat-item .number {
  font-family: 'Merriweather', serif;
  font-size: 2.8rem;
  color: var(--gold);
  font-weight: 700;
}

.stat-item .label {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.3rem;
}

/* DETAIL BLOCKS */
.detail-blocks {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.detail-blocks h2 {
  font-family: 'Merriweather', serif;
  font-size: 2rem;
  text-align: center;
  color: var(--cream);
  margin-bottom: 2.5rem;
}

.detail-block {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--gold);
}

.detail-block h3 {
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.detail-block p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* PAGE TEXT */
.text-page {
  margin-top: 64px;
  padding: 4rem 2rem;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  min-height: calc(100vh - 64px - 180px);
}

.text-page h1 {
  font-family: 'Merriweather', serif;
  font-size: 2.6rem;
  color: var(--cream);
  margin-bottom: 1.5rem;
}

.text-page h2 {
  font-family: 'Merriweather', serif;
  font-size: 1.5rem;
  color: var(--gold);
  margin: 2rem 0 0.7rem;
}

.text-page p { margin-bottom: 1rem; color: var(--text-main); }

.text-page ul { margin-left: 1.5rem; margin-bottom: 1rem; }
.text-page ul li { margin-bottom: 0.3rem; color: var(--text-muted); }

/* PLAY PAGE */
.play-section {
  margin-top: 64px;
  padding: 3rem 2rem;
  text-align: center;
  min-height: calc(100vh - 64px - 180px);
}

.play-section h1 {
  font-family: 'Merriweather', serif;
  font-size: 2.4rem;
  color: var(--cream);
  margin-bottom: 0.8rem;
}

.play-section p {
  max-width: 620px;
  margin: 0 auto 2rem;
  color: var(--text-muted);
}

.play-section iframe {
  width: 100%;
  max-width: 960px;
  height: 580px;
  border: 2px solid rgba(255,217,61,0.15);
  border-radius: var(--radius);
  background: #000;
}

/* FOOTER */
.bottom-footer {
  background: #091229;
  border-top: 1px solid rgba(255,217,61,0.1);
  text-align: center;
  padding: 2.5rem 2rem 1.5rem;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 1.8rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

.footer-nav a {
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 600;
  transition: opacity 0.3s;
}

.footer-nav a:hover { opacity: 0.7; }

.bottom-footer p { font-size: 0.82rem; color: var(--text-muted); }

/* AGE OVERLAY */
.age-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(9,18,41,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
}

.age-overlay.hidden { display: none; }

.age-modal {
  background: var(--navy);
  border: 1px solid rgba(255,217,61,0.2);
  border-radius: var(--radius);
  padding: 3rem 2.5rem;
  text-align: center;
  max-width: 440px;
  width: 90%;
}

.age-modal h2 {
  font-family: 'Merriweather', serif;
  font-size: 1.7rem;
  color: var(--cream);
  margin-bottom: 0.8rem;
}

.age-modal p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.age-btns { display: flex; gap: 1rem; justify-content: center; }

.age-btns button {
  padding: 0.7rem 2.5rem;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s;
}

.age-btns button:hover { transform: scale(1.05); }

.btn-confirm {
  background: linear-gradient(135deg, var(--gold), var(--amber));
  color: var(--midnight);
}

.btn-deny {
  background: var(--card);
  color: var(--text-muted);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-banner h1 { font-size: 2.4rem; }
  .hero-banner .game-frame iframe { height: 320px; }
  .feature-cards { flex-direction: column; align-items: center; }
  .stats-row { gap: 2rem; }
  .play-section iframe { height: 400px; }
}

@media (max-width: 768px) {
  .burger { display: flex; }
  .main-nav {
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(13,27,62,0.98);
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.4s ease;
  }
  .main-nav.open { transform: translateX(0); }
}
