@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;800;900&family=Source+Sans+3:wght@300;400;600;700&display=swap');

:root {
  --bg: #060c1f;
  --surface: #0d1a3a;
  --primary: #2563eb;
  --accent: #60a5fa;
  --neon: #38bdf8;
  --gold: #facc15;
  --text: #e0eaff;
  --border: rgba(37, 99, 235, 0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Source Sans 3', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
}

h1, h2, h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
}

a { color: var(--neon); text-decoration: none; transition: 0.3s; }
a:hover { color: var(--gold); }

.header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(6, 12, 31, 0.93);
  backdrop-filter: blur(14px);
  padding: 0.8rem 2.5rem;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.site-logo { display: flex; align-items: center; gap: 0.7rem; }
.site-logo svg { width: 38px; height: 38px; }
.site-logo span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900; font-size: 1.4rem;
  color: var(--neon);
  letter-spacing: 1px;
}

.nav-list { list-style: none; display: flex; gap: 1.8rem; }
.nav-list a {
  color: var(--text); font-weight: 600; font-size: 0.92rem;
  transition: color 0.3s;
}
.nav-list a:hover { color: var(--neon); }

.menu-toggle {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px;
}
.menu-toggle span { width: 26px; height: 3px; background: var(--neon); border-radius: 2px; transition: 0.3s; }
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

.intro-section {
  padding: 6rem 2rem 4rem;
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center;
}

.intro-text h1 {
  font-size: 3rem; line-height: 1.15; margin-bottom: 1rem;
  background: linear-gradient(90deg, var(--neon), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.intro-text p { font-size: 1.1rem; margin-bottom: 1.8rem; opacity: 0.9; max-width: 560px; }

.primary-btn {
  display: inline-block; padding: 0.8rem 2.2rem;
  background: var(--primary); color: #fff;
  font-weight: 700; border-radius: 6px; font-size: 1rem;
  transition: background 0.3s, transform 0.2s;
}
.primary-btn:hover { background: var(--neon); color: var(--bg); transform: translateY(-2px); }

.intro-graphic { text-align: center; }
.intro-graphic svg { width: 100%; max-width: 350px; }

.badges {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  padding: 2.5rem 2rem;
  background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}

.badge {
  background: rgba(37, 99, 235, 0.12); border: 1px solid var(--border);
  border-radius: 10px; padding: 1.5rem 2rem; text-align: center; flex: 0 1 300px;
}
.badge h3 { color: var(--neon); font-size: 1rem; margin-bottom: 0.3rem; }
.badge p { font-size: 0.88rem; opacity: 0.8; }

.text-block {
  max-width: 1200px; margin: 0 auto; padding: 4rem 2rem;
}
.text-block h2 { font-size: 1.9rem; color: var(--neon); margin-bottom: 1rem; }
.text-block p { margin-bottom: 1rem; max-width: 820px; }

.game-embed {
  max-width: 980px; margin: 2rem auto;
  border: 1px solid var(--border); border-radius: 10px; overflow: hidden;
  box-shadow: 0 4px 40px rgba(37, 99, 235, 0.15);
}
.game-embed iframe { width: 100%; height: 600px; border: none; display: block; }

.tiles {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.2rem; max-width: 1200px; margin: 3rem auto; padding: 0 2rem;
}
.tile {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; padding: 1.8rem;
}
.tile h3 { color: var(--gold); margin-bottom: 0.5rem; font-size: 1.05rem; }
.tile p { font-size: 0.93rem; opacity: 0.85; }
.tile ul { padding-left: 1.1rem; font-size: 0.93rem; }
.tile li { margin-bottom: 0.3rem; }

.footer-bar {
  background: var(--surface); border-top: 1px solid var(--border);
  text-align: center; padding: 2.5rem 2rem; margin-top: 4rem;
}
.footer-bar .links a { color: var(--accent); margin: 0 0.8rem; font-size: 0.9rem; }
.footer-bar .links a:hover { color: var(--gold); }
.footer-bar .copy { margin-top: 0.8rem; font-size: 0.8rem; opacity: 0.5; }

.age-gate {
  position: fixed; inset: 0; background: rgba(6, 12, 31, 0.97); z-index: 9999;
  display: flex; align-items: center; justify-content: center;
}
.age-modal {
  background: var(--surface); border: 2px solid var(--primary);
  border-radius: 12px; padding: 2.5rem; text-align: center; max-width: 420px; width: 90%;
}
.age-modal h2 { color: var(--neon); margin-bottom: 0.8rem; }
.age-modal p { margin-bottom: 1.5rem; font-size: 0.95rem; }
.age-cta { display: flex; gap: 1rem; justify-content: center; }
.age-cta button {
  padding: 0.7rem 2rem; border: none; border-radius: 6px;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.95rem; cursor: pointer; transition: 0.2s;
}
.age-cta button:hover { transform: scale(1.04); }
.btn-enter { background: var(--primary); color: #fff; }
.btn-exit { background: transparent; border: 2px solid var(--primary) !important; color: var(--accent); }
.age-gate.hidden { display: none; }

.legal-page { max-width: 880px; margin: 0 auto; padding: 6rem 2rem 3rem; }
.legal-page h1 { font-size: 2.2rem; color: var(--neon); margin-bottom: 1.5rem; }
.legal-page h2 { font-size: 1.35rem; color: var(--gold); margin: 1.8rem 0 0.8rem; }
.legal-page p { margin-bottom: 0.9rem; }
.legal-page ul { padding-left: 1.3rem; margin-bottom: 1rem; }
.legal-page li { margin-bottom: 0.4rem; }

.play-header { text-align: center; padding: 6rem 2rem 2rem; }
.play-header h1 { font-size: 2.4rem; color: var(--neon); margin-bottom: 0.8rem; }
.play-header p { max-width: 640px; margin: 0 auto 1.5rem; }

.tech-note {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; padding: 1.5rem; max-width: 650px; margin: 2rem auto; font-size: 0.93rem;
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .nav-list {
    position: fixed; top: 0; left: -100%; width: 72%; max-width: 280px;
    height: 100vh; background: var(--surface); flex-direction: column;
    padding: 4.5rem 2rem; transition: left 0.35s; border-right: 1px solid var(--border);
  }
  .nav-list.open { left: 0; }
  .intro-section { grid-template-columns: 1fr; padding-top: 4rem; }
  .intro-graphic { display: none; }
  .intro-text h1 { font-size: 2.2rem; }
  .game-embed iframe { height: 350px; }
}
