@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Nunito:wght@300;400;600;700&display=swap');

:root {
  --royal-purple: #2d1b4e;
  --deep-violet: #1a0e2e;
  --gold-accent: #d4a843;
  --gold-light: #f0d78c;
  --soft-lavender: #c8b8e0;
  --text-light: #ece4f5;
  --text-muted: #9a8bb5;
  --card-bg: rgba(45, 27, 78, 0.7);
  --overlay-bg: rgba(26, 14, 46, 0.95);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--deep-violet);
  color: var(--text-light);
  line-height: 1.7;
  min-height: 100vh;
}

/* ===== HEADER ===== */
header {
  background: linear-gradient(135deg, var(--deep-violet), var(--royal-purple));
  border-bottom: 2px solid var(--gold-accent);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0 2rem;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--gold-accent);
  text-decoration: none;
  letter-spacing: 1px;
}

.logo span {
  color: var(--soft-lavender);
  font-weight: 400;
}

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

nav ul li a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s;
  position: relative;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-accent);
  transition: width 0.3s;
}

nav ul li a:hover { color: var(--gold-accent); }
nav ul li a:hover::after { width: 100%; }

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

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--gold-accent);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  text-align: center;
  padding: 5rem 2rem;
  background: radial-gradient(ellipse at center, rgba(212,168,67,0.15) 0%, transparent 70%);
  position: relative;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--gold-accent);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 2rem;
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.badge {
  background: var(--card-bg);
  border: 1px solid var(--gold-accent);
  border-radius: 50px;
  padding: 0.6rem 1.5rem;
  font-size: 0.85rem;
  color: var(--gold-light);
  font-weight: 600;
}

/* ===== SECTIONS ===== */
.section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--gold-accent);
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 3rem;
  font-size: 1.05rem;
}

/* ===== GAME EMBED ===== */
.game-container {
  max-width: 800px;
  margin: 0 auto 3rem;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--gold-accent);
  box-shadow: 0 0 40px rgba(212,168,67,0.2);
}

.game-container iframe {
  width: 100%;
  height: 500px;
  border: none;
  display: block;
}

/* ===== FEATURE CARDS ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid rgba(212,168,67,0.3);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-accent);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-family: 'Playfair Display', serif;
  color: var(--gold-light);
  margin-bottom: 0.7rem;
  font-size: 1.2rem;
}

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

/* ===== NOTICE STRIP ===== */
.notice-strip {
  background: linear-gradient(90deg, var(--royal-purple), rgba(212,168,67,0.15));
  border-top: 1px solid var(--gold-accent);
  border-bottom: 1px solid var(--gold-accent);
  padding: 1.5rem 2rem;
  text-align: center;
}

.notice-strip p {
  color: var(--gold-light);
  font-size: 0.95rem;
  font-weight: 600;
}

/* ===== INFO PANELS ===== */
.info-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.info-panel {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 2rem;
  border-left: 4px solid var(--gold-accent);
}

.info-panel h3 {
  font-family: 'Playfair Display', serif;
  color: var(--gold-light);
  margin-bottom: 0.8rem;
}

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

/* ===== CTA ===== */
.cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold-accent), #b8922e);
  color: var(--deep-violet);
  padding: 0.9rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.05rem;
  transition: transform 0.3s, box-shadow 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 25px rgba(212,168,67,0.4);
}

/* ===== TEXT PAGE ===== */
.text-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.text-page h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--gold-accent);
  margin-bottom: 2rem;
}

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

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

.text-page ul {
  list-style: disc;
  margin-left: 2rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.text-page ul li { margin-bottom: 0.5rem; }

/* ===== FOOTER ===== */
footer {
  background: var(--deep-violet);
  border-top: 2px solid var(--gold-accent);
  padding: 3rem 2rem;
  text-align: center;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: var(--gold-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--gold-accent); }

.responsible-text {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 1rem;
  line-height: 1.6;
}

/* ===== AGE POPUP ===== */
.age-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--overlay-bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.age-popup {
  background: var(--royal-purple);
  border: 2px solid var(--gold-accent);
  border-radius: 16px;
  padding: 3rem;
  text-align: center;
  max-width: 440px;
  width: 90%;
  box-shadow: 0 0 60px rgba(212,168,67,0.3);
}

.age-popup h2 {
  font-family: 'Playfair Display', serif;
  color: var(--gold-accent);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.age-popup p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

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

.age-btn-yes {
  background: var(--gold-accent);
  color: var(--deep-violet);
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.3s;
}

.age-btn-yes:hover { transform: scale(1.05); }

.age-btn-no {
  background: transparent;
  border: 2px solid var(--text-muted);
  color: var(--text-muted);
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: opacity 0.3s;
}

.age-btn-no:hover { opacity: 0.7; }

.blocked-message {
  display: none;
  color: #ff6b6b;
  font-weight: 600;
  margin-top: 1rem;
}

/* ===== PLAY PAGE ===== */
.play-header {
  text-align: center;
  padding: 3rem 2rem 1rem;
}

.play-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--gold-accent);
}

.play-note {
  text-align: center;
  color: var(--text-muted);
  max-width: 600px;
  margin: 1rem auto 2rem;
  font-size: 0.95rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
  .info-panels {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }

  nav ul {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--deep-violet);
    flex-direction: column;
    padding: 1rem 2rem;
    gap: 0;
    border-bottom: 2px solid var(--gold-accent);
  }

  nav ul.active { display: flex; }

  nav ul li a {
    display: block;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(212,168,67,0.15);
  }

  .hero h1 { font-size: 2.2rem; }
  .features-grid { grid-template-columns: 1fr; }
  .game-container iframe { height: 350px; }
  .section-title { font-size: 1.8rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 1rem; }
  .header-inner { padding: 0; }
  .logo { font-size: 1.4rem; }
  .game-container iframe { height: 280px; }
}
