:root{
  --bg:#05060d;
  --bg2:#0b1020;
  --card:rgba(10,16,30,.78);
  --line:rgba(110,228,255,.18);
  --cyan:#71efff;
  --pink:#ff58d9;
  --text:#eef7ff;
  --muted:#adc6da;
}

*{box-sizing:border-box}
html,body{margin:0;min-height:100%;background:radial-gradient(circle at top, #121a33 0%, var(--bg) 45%, #020308 100%);color:var(--text);font-family:Inter,system-ui,sans-serif}
body{overflow-x:hidden}

.site-shell{
  position:relative;
  min-height:100vh;
  padding:32px;
  background:
    radial-gradient(circle at 15% 18%, rgba(255,88,217,.12), transparent 22%),
    radial-gradient(circle at 82% 14%, rgba(113,239,255,.10), transparent 20%),
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0));
}

.noise{
  pointer-events:none;
  position:fixed;
  inset:0;
  opacity:.09;
  background:
    repeating-linear-gradient(180deg, rgba(255,255,255,.08) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 1px, transparent 1px 4px);
  mix-blend-mode:screen;
}

.hero{
  position:relative;
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:28px;
  align-items:center;
  max-width:1280px;
  margin:0 auto;
  padding:28px;
  border:1px solid var(--line);
  border-radius:28px;
  background:linear-gradient(180deg, rgba(13,18,35,.82), rgba(7,10,18,.72));
  box-shadow:0 20px 60px rgba(0,0,0,.4), inset 0 0 0 1px rgba(255,255,255,.03);
  overflow:hidden;
}

.hero::before{
  content:"";
  position:absolute;
  inset:auto -10% -25% auto;
  width:480px;
  height:480px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(255,88,217,.18), transparent 62%);
  filter:blur(30px);
}

.hero-copy{position:relative;z-index:1}
.eyebrow{
  font:700 12px/1 Orbitron,sans-serif;
  letter-spacing:.22em;
  color:var(--cyan);
  margin-bottom:14px;
}
h1{
  margin:0 0 14px;
  font:800 clamp(42px, 7vw, 86px)/.95 Orbitron,sans-serif;
  letter-spacing:.05em;
  text-shadow:0 0 18px rgba(113,239,255,.2), 0 0 24px rgba(255,88,217,.14);
}
.tagline{
  max-width:720px;
  margin:0;
  color:var(--muted);
  font-size:18px;
  line-height:1.6;
}
.cta-row{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:28px;
}
.cta{
  border:1px solid rgba(255,255,255,.16);
  border-radius:14px;
  padding:16px 22px;
  font:700 14px/1 Orbitron,sans-serif;
  letter-spacing:.12em;
  cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.cta:hover{transform:translateY(-2px)}
.cta.primary{
  background:linear-gradient(135deg, rgba(113,239,255,.18), rgba(255,88,217,.16));
  color:var(--text);
  border-color:rgba(113,239,255,.35);
  box-shadow:0 0 28px rgba(113,239,255,.12);
}
.cta.secondary{
  background:rgba(255,255,255,.03);
  color:var(--text);
}

.mini-help{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  margin-top:18px;
  color:#8fb1c9;
  font-size:14px;
}

.hero-art{
  position:relative;
  display:flex;
  justify-content:center;
  align-items:center;
  min-height:420px;
}
.hero-art::before{
  content:"";
  position:absolute;
  inset:12% 8%;
  border-radius:26px;
  background:
    radial-gradient(circle at center, rgba(113,239,255,.18), transparent 45%),
    radial-gradient(circle at 30% 30%, rgba(255,88,217,.14), transparent 35%);
  filter:blur(18px);
}
.hero-art img{
  position:relative;
  z-index:1;
  width:min(100%, 560px);
  border-radius:24px;
  border:1px solid rgba(113,239,255,.18);
  box-shadow:0 18px 40px rgba(0,0,0,.35);
  object-fit:cover;
}

.info-grid{
  max-width:1280px;
  margin:28px auto 0;
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:18px;
}
.info-card{
  padding:22px;
  border-radius:22px;
  border:1px solid var(--line);
  background:var(--card);
  backdrop-filter:blur(12px);
}
.info-card h2{
  margin:0 0 10px;
  font:700 18px/1.2 Orbitron,sans-serif;
  letter-spacing:.06em;
}
.info-card p{
  margin:0;
  color:var(--muted);
  line-height:1.65;
}

.site-footer{
  max-width:1280px;
  margin:22px auto 0;
  padding:0 4px 20px;
  display:flex;
  justify-content:space-between;
  gap:12px;
  color:#7d97ad;
  font-size:13px;
}

body.game-live .hero{opacity:.3; transition:opacity .3s ease}
body.game-live .info-grid, body.game-live .site-footer{opacity:.18; transition:opacity .3s ease}

@media (max-width: 980px){
  .site-shell{padding:18px}
  .hero{grid-template-columns:1fr;padding:20px}
  .hero-art{min-height:auto}
  .info-grid{grid-template-columns:1fr}
  .site-footer{flex-direction:column}
}

body.glitchpong-autoload {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at center, #07131e 0%, #040913 55%, #02050b 100%);
  overflow: hidden;
}

body.glitchpong-autoload .site-shell,
body.glitchpong-autoload .hero,
body.glitchpong-autoload .info-grid,
body.glitchpong-autoload .site-footer {
  display: none !important;
}
