@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --space-dark: #0f0c29;
  --space-mid: #1a1545;
  --neon-cyan: #00d4ff;
  --neon-pink: #ff6ec7;
  --neon-purple: #a855f7;
  --white: #f0f0ff;
  --muted: rgba(240,240,255,0.6);
  --glass: rgba(26,21,69,0.7);
  --border: rgba(0,212,255,0.2);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--space-dark);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: 'Orbitron', sans-serif; }

a { color: var(--neon-cyan); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--neon-pink); }

.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 60px;
  background: rgba(15,12,41,0.92);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  border-bottom: 1px solid var(--border);
}

.brand {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: 2px;
  color: var(--neon-cyan);
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--neon-pink);
  box-shadow: 0 0 10px var(--neon-pink);
}

.desktop-nav { display: flex; gap: 1.8rem; list-style: none; }
.desktop-nav a {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: color 0.3s;
}
.desktop-nav a:hover { color: var(--neon-cyan); }

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 10px;
  cursor: pointer;
  color: var(--neon-cyan);
  font-size: 1.2rem;
}

.sidebar-nav {
  display: none;
  position: fixed;
  top: 60px; right: 0;
  width: 260px;
  height: calc(100vh - 60px);
  background: var(--space-mid);
  border-left: 1px solid var(--border);
  z-index: 999;
  flex-direction: column;
  padding: 2rem 1.5rem;
}
.sidebar-nav.visible { display: flex; }
.sidebar-nav a {
  color: var(--white);
  padding: 0.8rem 0;
  font-weight: 500;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
}

/* HERO - centered cosmic */
.cosmic-hero {
  margin-top: 60px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  position: relative;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(168,85,247,0.15), transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(0,212,255,0.1), transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(255,110,199,0.05), transparent 60%);
}

.cosmic-hero h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.15;
  margin-bottom: 1.2rem;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple), var(--neon-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cosmic-hero p {
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto 2rem;
  color: var(--muted);
}

.cta-neon {
  display: inline-block;
  padding: 0.85rem 2.5rem;
  border: 2px solid var(--neon-cyan);
  color: var(--neon-cyan);
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 6px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.cta-neon:hover {
  background: var(--neon-cyan);
  color: var(--space-dark);
  box-shadow: 0 0 30px rgba(0,212,255,0.4);
}

/* ALERT BAR */
.alert-row {
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding: 1.5rem 2rem;
  background: var(--space-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.alert-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.alert-chip .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot-red { background: #ef4444; box-shadow: 0 0 8px #ef4444; }
.dot-green { background: #22c55e; box-shadow: 0 0 8px #22c55e; }
.dot-yellow { background: #eab308; box-shadow: 0 0 8px #eab308; }

/* GAME */
.game-dock {
  padding: 4rem 2rem;
  text-align: center;
}

.game-dock h2 {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  margin-bottom: 0.5rem;
  color: var(--neon-cyan);
}

.game-dock .lead {
  color: var(--muted);
  margin-bottom: 2rem;
}

.game-viewport {
  max-width: 980px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--glass);
  box-shadow: 0 0 60px rgba(0,212,255,0.08);
}

.game-viewport iframe {
  width: 100%; height: 600px; border: none; display: block;
}

@media (max-width: 768px) {
  .game-viewport iframe { height: 380px; }
}

/* CARDS SECTION */
.trio-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.trio-section h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 2.5rem;
  color: var(--neon-purple);
}

.trio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.trio-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s;
}
.trio-card:hover {
  border-color: var(--neon-cyan);
  transform: translateY(-4px);
}

.trio-card .t-icon { font-size: 2rem; margin-bottom: 1rem; }
.trio-card h3 { font-size: 1rem; margin-bottom: 0.6rem; color: var(--neon-cyan); }
.trio-card p { color: var(--muted); font-size: 0.92rem; }

/* ABOUT */
.about-block {
  padding: 4rem 2rem;
  max-width: 850px;
  margin: 0 auto;
}

.about-block h2 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  color: var(--neon-pink);
  text-align: center;
}

.about-block p { color: var(--muted); margin-bottom: 1.2rem; font-size: 1rem; }

/* CONTENT PAGES */
.text-page {
  margin-top: 60px;
  padding: 3rem 2rem;
  max-width: 900px;
  margin-left: auto; margin-right: auto;
  min-height: calc(100vh - 60px - 160px);
}

.text-page h1 {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  margin-bottom: 1rem;
  color: var(--neon-cyan);
}

.text-page h2 {
  font-size: 1.2rem;
  margin: 2rem 0 0.7rem;
  color: var(--neon-purple);
}

.text-page p { color: var(--muted); margin-bottom: 1rem; font-size: 1rem; }

.text-page ul, .text-page ol {
  margin: 0.8rem 0 1.2rem 1.5rem;
  color: var(--muted);
}
.text-page li { margin-bottom: 0.4rem; }

/* PLAY NOTE */
.play-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  margin: 2rem auto;
  max-width: 980px;
}
.play-card h3 { color: var(--neon-cyan); margin-bottom: 0.4rem; font-size: 1rem; }
.play-card p { color: var(--muted); font-size: 0.9rem; }

/* FOOTER */
.bottom-bar {
  background: var(--space-mid);
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
  text-align: center;
}

.bottom-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.bottom-links a { color: var(--muted); font-size: 0.85rem; }
.bottom-links a:hover { color: var(--neon-cyan); }

.bottom-support {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 1.2rem;
}
.bottom-support p { font-size: 0.8rem; color: rgba(255,255,255,0.35); margin-bottom: 0.5rem; }
.bottom-support a { color: var(--neon-cyan); margin: 0 0.4rem; font-size: 0.8rem; }

/* AGE VERIFICATION */
.age-screen {
  position: fixed;
  inset: 0;
  background: rgba(15,12,41,0.97);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.age-box {
  background: var(--space-mid);
  border: 1px solid var(--neon-cyan);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 0 50px rgba(0,212,255,0.15);
}

.age-box h2 {
  font-size: 1.3rem;
  color: var(--neon-cyan);
  margin-bottom: 0.8rem;
}

.age-box p { color: var(--muted); margin-bottom: 1.5rem; font-size: 0.9rem; }

.age-btns { display: flex; gap: 0.8rem; justify-content: center; }

.age-btns button {
  padding: 0.65rem 2rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  border: 1px solid var(--neon-cyan);
  font-family: 'Orbitron', sans-serif;
  transition: all 0.3s;
}

.age-yes { background: var(--neon-cyan); color: var(--space-dark); }
.age-yes:hover { box-shadow: 0 0 20px rgba(0,212,255,0.4); }

.age-no { background: transparent; color: var(--neon-cyan); }
.age-no:hover { background: rgba(0,212,255,0.1); }

.denied-overlay {
  position: fixed;
  inset: 0;
  background: var(--space-dark);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}
.denied-overlay h2 { color: var(--neon-pink); font-size: 1.8rem; margin-bottom: 1rem; }
.denied-overlay p { color: var(--muted); }
