@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Manrope:wght@300;400;500;600;700&display=swap');

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

:root {
  --magenta: #ff00ff;
  --magenta-soft: #d946ef;
  --sky: #38bdf8;
  --bg: #0c0515;
  --bg-alt: #120820;
  --surface: #1a0e2e;
  --text: #f0e8ff;
  --faded: #9080b0;
  --glow: rgba(255, 0, 255, 0.08);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; }
a { color: var(--magenta); text-decoration: none; transition: 0.3s; }
a:hover { color: #fff; }

/* NAV - glass effect */
.navbar {
  position: fixed; top: 0; width: 100%; z-index: 900;
  background: rgba(12, 5, 21, 0.92);
  backdrop-filter: blur(16px);
  height: 66px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem;
  border-bottom: 1px solid var(--glow);
}
.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 1.5rem;
  color: var(--magenta);
}
.nav-menu { display: flex; gap: 1.8rem; list-style: none; }
.nav-menu a { color: var(--faded); font-weight: 500; font-size: 0.9rem; }
.nav-menu a:hover { color: var(--magenta); }

.ham { display: none; background: none; border: none; cursor: pointer; }
.ham span { display: block; width: 24px; height: 2px; background: var(--magenta); margin: 5px 0; border-radius: 2px; transition: 0.3s; }

/* HERO - centered with orbs */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 100px 2rem 60px;
  position: relative;
  background: var(--bg);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,0,255,0.1), transparent 70%);
  top: 20%; left: -100px;
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(56,189,248,0.08), transparent 70%);
  bottom: 10%; right: -50px;
  border-radius: 50%;
}
.hero-box { position: relative; z-index: 2; max-width: 700px; }
.hero-box h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700; margin-bottom: 1.3rem;
}
.hero-box h1 .mg { color: var(--magenta); }
.hero-box h1 .bl { color: var(--sky); }
.hero-box p { color: var(--faded); font-size: 1.1rem; margin-bottom: 2.5rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-btn {
  display: inline-block;
  padding: 14px 40px;
  background: linear-gradient(135deg, var(--magenta), var(--sky));
  color: #fff;
  font-weight: 600;
  border-radius: 50px;
  font-size: 1rem;
  transition: 0.3s;
}
.cta-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(255,0,255,0.2); color: #fff; }

/* INFO TILES */
.tiles {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  background: var(--bg-alt);
  border-top: 2px solid var(--magenta);
  border-bottom: 2px solid var(--magenta);
}
.tile {
  padding: 2.5rem 2rem;
  text-align: center;
  border-right: 1px solid var(--glow);
}
.tile:last-child { border-right: none; }
.tile .sym { font-size: 2rem; margin-bottom: 0.6rem; }
.tile h3 { color: var(--magenta-soft); margin-bottom: 0.4rem; font-size: 1.05rem; }
.tile p { color: var(--faded); font-size: 0.9rem; }

/* GAME */
.game-area {
  padding: 80px 2rem;
  background: var(--bg);
}
.game-area h2 { text-align: center; font-size: 2.1rem; margin-bottom: 0.5rem; }
.game-area .lead { text-align: center; color: var(--faded); max-width: 520px; margin: 0 auto 2.5rem; }
.game-window {
  max-width: 940px; margin: 0 auto;
  border: 2px solid rgba(255,0,255,0.15);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 50px rgba(255,0,255,0.06);
}
.game-window iframe { width: 100%; height: 600px; border: none; background: #000; }

/* CARDS */
.card-section {
  padding: 80px 2rem;
  background: var(--bg-alt);
}
.card-section h2 { text-align: center; font-size: 1.9rem; margin-bottom: 2.5rem; }
.cards {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
  max-width: 1000px; margin: 0 auto;
}
.card {
  background: var(--surface);
  padding: 2rem;
  border-radius: 14px;
  border: 1px solid var(--glow);
  transition: 0.3s;
}
.card:hover { border-color: var(--magenta); }
.card h3 { color: var(--sky); margin-bottom: 0.5rem; }
.card p { color: var(--faded); font-size: 0.93rem; }

/* FOOTER */
.site-foot {
  padding: 2.5rem 2rem;
  text-align: center;
  background: var(--bg);
  border-top: 1px solid var(--glow);
}
.site-foot .rgl a { color: var(--faded); margin: 0 0.8rem; font-size: 0.88rem; }
.site-foot .rgl a:hover { color: var(--magenta); }
.site-foot .cp { color: var(--faded); font-size: 0.78rem; margin-top: 0.8rem; }

/* AGE */
.age-wall {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.95);
  display: flex; align-items: center; justify-content: center;
}
.age-box {
  background: var(--surface);
  border: 2px solid var(--magenta);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  max-width: 420px; width: 90%;
}
.age-box h2 { color: var(--magenta); margin-bottom: 0.6rem; }
.age-box p { color: var(--faded); margin-bottom: 1.8rem; font-size: 0.93rem; }
.age-box .acts { display: flex; gap: 1rem; justify-content: center; }
.age-box button {
  padding: 12px 30px; border-radius: 50px; font-weight: 600;
  cursor: pointer; border: 2px solid var(--magenta); font-size: 0.93rem;
  font-family: 'Space Grotesk', sans-serif; transition: 0.3s;
}
.age-box .enter { background: var(--magenta); color: #fff; }
.age-box .enter:hover { background: #fff; color: var(--bg); border-color: #fff; }
.age-box .leave { background: transparent; color: var(--magenta); }
.age-box .leave:hover { background: rgba(255,0,255,0.08); }
.hidden { display: none !important; }

/* TEXT */
.page-body {
  max-width: 870px; margin: 0 auto; padding: 108px 2rem 80px;
}
.page-body h1 { font-size: 2.3rem; margin-bottom: 1.5rem; color: var(--magenta); }
.page-body h2 { font-size: 1.3rem; margin: 1.8rem 0 0.7rem; color: var(--sky); }
.page-body p { color: var(--faded); margin-bottom: 1rem; }
.page-body ul { color: var(--faded); margin: 1rem 0 1rem 1.5rem; }
.page-body li { margin-bottom: 0.5rem; }

@media (max-width: 768px) {
  .ham { display: block; }
  .nav-menu {
    position: fixed; top: 66px; left: 0; width: 100%;
    background: rgba(12,5,21,0.98);
    flex-direction: column; padding: 2rem; gap: 1.2rem;
    transform: translateX(-100%); transition: 0.3s;
  }
  .nav-menu.active { transform: translateX(0); }
  .tiles { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .game-window iframe { height: 400px; }
}
