@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;500;700;900&family=Abril+Fatface&display=swap');

:root {
  --bg: #faf5ff;
  --purple: #7c3aed;
  --purple-dark: #5b21b6;
  --magenta: #db2777;
  --dark: #1e1b4b;
  --card: #ffffff;
  --muted: #6b7280;
  --light-border: #e5e7eb;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--bg);
  color: var(--dark);
  line-height: 1.75;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 66px;
  background: var(--card);
  box-shadow: 0 1px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-link svg { width: 36px; height: 36px; }

.logo-link span {
  font-family: 'Abril Fatface', serif;
  font-size: 1.4rem;
  color: var(--purple);
}

.nav-items {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-items a {
  color: var(--dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.87rem;
  transition: color 0.2s;
}

.nav-items a:hover { color: var(--magenta); }

.burger-icon {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.burger-icon span {
  display: block;
  width: 22px;
  height: 3px;
  background: var(--purple);
  margin: 4px 0;
  border-radius: 2px;
}

.drawer {
  display: none;
  position: fixed;
  top: 66px;
  left: 0;
  right: 0;
  background: var(--card);
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  z-index: 999;
  padding: 1rem 2rem;
}

.drawer.on { display: block; }

.drawer a {
  display: block;
  padding: 0.6rem 0;
  color: var(--dark);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--light-border);
}

.drawer a:hover { color: var(--magenta); }

.splash {
  background: linear-gradient(160deg, var(--purple), var(--magenta));
  padding: 5rem 2rem;
  text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  padding-bottom: 7rem;
}

.splash h1 {
  font-family: 'Abril Fatface', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: #fff;
  margin-bottom: 1rem;
}

.splash p {
  color: rgba(255,255,255,0.85);
  max-width: 680px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
  font-weight: 300;
}

.pill-group {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.pill {
  background: rgba(255,255,255,0.2);
  color: #fff;
  padding: 0.4rem 1.2rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}

.game-section {
  padding: 3rem 2rem;
  max-width: 980px;
  margin: -3rem auto 0;
  position: relative;
  z-index: 2;
}

.game-section h2 {
  font-family: 'Abril Fatface', serif;
  text-align: center;
  color: var(--purple);
  font-size: 1.7rem;
  margin-bottom: 1.5rem;
}

.game-shell {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(124,58,237,0.2);
  border: 2px solid var(--purple);
  background: #fff;
}

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

.mag-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.mag-main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mag-card {
  background: var(--card);
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  border-left: 4px solid var(--purple);
}

.mag-card h3 {
  color: var(--magenta);
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.mag-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

.mag-side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.side-box {
  background: linear-gradient(135deg, var(--purple-dark), var(--purple));
  border-radius: 14px;
  padding: 1.5rem;
  color: #fff;
  text-align: center;
}

.side-box .big-num {
  font-family: 'Abril Fatface', serif;
  font-size: 2.2rem;
}

.side-box .lbl {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
}

.cta-strip {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--card);
}

.cta-strip h2 {
  font-family: 'Abril Fatface', serif;
  color: var(--purple);
  font-size: 1.8rem;
  margin-bottom: 0.7rem;
}

.cta-strip p {
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 1.5rem;
}

.cta-link {
  display: inline-block;
  background: linear-gradient(135deg, var(--purple), var(--magenta));
  color: #fff;
  padding: 0.8rem 2.2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s;
}

.cta-link:hover { transform: scale(1.05); }

.text-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.text-section h1 {
  font-family: 'Abril Fatface', serif;
  color: var(--purple);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.text-section h2 {
  color: var(--magenta);
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.text-section p { color: var(--muted); margin-bottom: 0.8rem; }
.text-section ul { padding-left: 1.5rem; margin-bottom: 0.8rem; }
.text-section li { color: var(--muted); margin-bottom: 0.4rem; }

.play-info {
  max-width: 980px;
  margin: 1.5rem auto 0;
  background: var(--card);
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.play-info p { color: var(--muted); font-size: 0.88rem; margin: 0; }

.site-foot {
  background: var(--dark);
  padding: 2rem;
  text-align: center;
}

.foot-nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.8rem;
}

.foot-nav a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.85rem;
}

.foot-nav a:hover { color: #fff; }

.site-foot small {
  color: rgba(255,255,255,0.4);
  font-size: 0.72rem;
}

.age-cover {
  position: fixed;
  inset: 0;
  background: rgba(30,27,75,0.92);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.age-popup {
  background: #fff;
  border-radius: 18px;
  padding: 2.5rem;
  text-align: center;
  max-width: 400px;
  width: 90%;
}

.age-popup h2 {
  font-family: 'Abril Fatface', serif;
  color: var(--purple);
  margin-bottom: 0.7rem;
}

.age-popup p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

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

.age-buttons button {
  padding: 0.7rem 1.8rem;
  border-radius: 25px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.9rem;
  transition: transform 0.2s;
}

.age-buttons .yes {
  background: linear-gradient(135deg, var(--purple), var(--magenta));
  color: #fff;
}

.age-buttons .no {
  background: #f3f4f6;
  color: var(--dark);
}

.age-buttons button:hover { transform: scale(1.04); }

@media (max-width: 768px) {
  .nav-items { display: none; }
  .burger-icon { display: block; }
  .mag-grid { grid-template-columns: 1fr; }
  .game-shell iframe { height: 400px; }
  .splash { clip-path: none; padding-bottom: 4rem; }
}
