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

:root {
  --cyan: #00f0ff;
  --magenta: #ff00aa;
  --deep-space: #020818;
  --panel-bg: #0a1228;
  --text-white: #e8f0ff;
  --text-gray: #7a8baa;
  --glow-cyan: rgba(0, 240, 255, 0.15);
  --glow-magenta: rgba(255, 0, 170, 0.15);
}

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

body {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--deep-space);
  color: var(--text-white);
  line-height: 1.7;
}

h1, h2, h3 { font-family: 'Rajdhani', sans-serif; font-weight: 700; }

a { color: var(--cyan); text-decoration: none; transition: 0.3s; }
a:hover { color: var(--magenta); }

.header-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 60px;
  background: rgba(2, 8, 24, 0.92);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3%;
  border-bottom: 1px solid rgba(0, 240, 255, 0.1);
}

.logo-mark {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.logo-mark svg { width: 30px; height: 30px; }

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

.topnav a {
  color: var(--text-gray);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.topnav a:hover, .topnav a.on { color: var(--cyan); }

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

.ham span {
  width: 24px; height: 2px;
  background: var(--cyan);
  transition: 0.3s;
}

.ham.active span:first-child { transform: rotate(45deg) translate(5px, 5px); }
.ham.active span:nth-child(2) { opacity: 0; }
.ham.active span:last-child { transform: rotate(-45deg) translate(5px, -5px); }

main { padding-top: 60px; }

/* Asymmetric hero */
.space-hero {
  display: grid;
  grid-template-columns: 3fr 2fr;
  min-height: 92vh;
  background:
    radial-gradient(circle at 20% 80%, var(--glow-cyan), transparent 50%),
    radial-gradient(circle at 80% 20%, var(--glow-magenta), transparent 50%),
    var(--deep-space);
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 5%;
}

.hero-left h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}

.hero-left h1 .accent { color: var(--cyan); }
.hero-left h1 .accent2 { color: var(--magenta); }

.hero-left p {
  color: var(--text-gray);
  font-size: 1.05rem;
  max-width: 500px;
  margin-bottom: 2rem;
}

.neon-btn {
  display: inline-block;
  padding: 12px 36px;
  border: 2px solid var(--cyan);
  color: var(--cyan);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  transition: 0.3s;
  background: transparent;
  cursor: pointer;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

.neon-btn:hover {
  background: var(--cyan);
  color: var(--deep-space);
  box-shadow: 0 0 30px var(--glow-cyan);
}

.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.orbit-ring {
  width: 280px; height: 280px;
  border: 2px solid rgba(0, 240, 255, 0.2);
  border-radius: 50%;
  position: relative;
  animation: spin-slow 20s linear infinite;
}

.orbit-ring::after {
  content: '';
  position: absolute;
  width: 16px; height: 16px;
  background: var(--magenta);
  border-radius: 50%;
  top: -8px; left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 20px var(--magenta);
}

@keyframes spin-slow { to { transform: rotate(360deg); } }

.status-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(0, 240, 255, 0.1);
  border-bottom: 1px solid rgba(0, 240, 255, 0.1);
}

.status-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 1.2rem;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--cyan);
  border-right: 1px solid rgba(0, 240, 255, 0.1);
}

.status-cell:last-child { border-right: none; }

.status-cell .si { font-size: 1.3rem; }

.game-deck {
  padding: 4rem 3%;
  text-align: center;
}

.game-deck h2 {
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 1.5rem;
  color: var(--cyan);
}

.game-viewport {
  max-width: 1000px;
  margin: 0 auto;
  border: 1px solid rgba(0, 240, 255, 0.2);
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0, 240, 255, 0.05);
}

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

.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(0, 240, 255, 0.1);
}

.spec-card {
  padding: 3rem 2.5rem;
  border-right: 1px solid rgba(0, 240, 255, 0.1);
  border-bottom: 1px solid rgba(0, 240, 255, 0.1);
  transition: background 0.3s;
}

.spec-card:hover { background: var(--panel-bg); }

.spec-card:nth-child(3n) { border-right: none; }

.spec-card .sc-icon { font-size: 2rem; margin-bottom: 1rem; }

.spec-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.spec-card p { color: var(--text-gray); font-size: 0.92rem; }

.text-block {
  max-width: 880px;
  margin: 0 auto;
  padding: 4rem 3%;
}

.text-block h2 {
  font-size: 1.8rem;
  text-align: center;
  color: var(--magenta);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 3px;
}

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

/* Pages */
.pg-top {
  padding: 6rem 3% 3rem;
  text-align: center;
  background: linear-gradient(180deg, var(--panel-bg), var(--deep-space));
}

.pg-top h1 {
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--cyan);
}

.pg-text {
  max-width: 880px;
  margin: 0 auto;
  padding: 3rem 3%;
}

.pg-text h2 {
  font-size: 1.3rem;
  color: var(--cyan);
  margin: 2rem 0 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.pg-text p, .pg-text li { color: var(--text-gray); margin-bottom: 0.7rem; }
.pg-text ul { padding-left: 1.5rem; margin-bottom: 1rem; }

.bottom-footer {
  background: #010510;
  border-top: 1px solid rgba(0, 240, 255, 0.1);
  padding: 3rem 3% 1.5rem;
  text-align: center;
}

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

.bf-links a { color: var(--text-gray); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; }
.bf-links a:hover { color: var(--cyan); }

.bf-resp {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 240, 255, 0.05);
}

.bf-resp p { font-size: 0.78rem; color: var(--text-gray); margin-bottom: 0.5rem; }
.bf-resp a { margin: 0 0.5rem; }

/* Age verification */
.age-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(2, 8, 24, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
}

.age-card {
  background: var(--panel-bg);
  border: 1px solid var(--cyan);
  padding: 3rem;
  text-align: center;
  max-width: 420px;
  width: 92%;
}

.age-card h2 { font-size: 1.4rem; color: var(--cyan); margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 2px; }
.age-card p { color: var(--text-gray); margin-bottom: 2rem; }

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

.age-row button {
  padding: 10px 30px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: 0.2s;
}

.age-enter {
  background: var(--cyan);
  color: var(--deep-space);
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.age-leave {
  background: transparent;
  border: 1px solid var(--text-gray) !important;
  color: var(--text-gray);
}

.age-row button:hover { transform: scale(1.05); }

.denied-text {
  color: #ff2255;
  font-weight: 700;
  margin-top: 1rem;
  display: none;
}

@media (max-width: 768px) {
  .ham { display: flex; }
  .topnav {
    display: none;
    position: absolute;
    top: 60px; left: 0; right: 0;
    flex-direction: column;
    background: rgba(2, 8, 24, 0.98);
    padding: 1.5rem 3%;
    gap: 1rem;
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
  }
  .topnav.visible { display: flex; }
  .space-hero { grid-template-columns: 1fr; }
  .hero-right { min-height: 250px; }
  .hero-left h1 { font-size: 2.2rem; }
  .status-strip { grid-template-columns: 1fr; }
  .status-cell { border-right: none; border-bottom: 1px solid rgba(0, 240, 255, 0.1); }
  .spec-grid { grid-template-columns: 1fr; }
  .spec-card { border-right: none; }
  .game-viewport iframe { height: 380px; }
}
