@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&family=Orbitron:wght@400;700;900&display=swap');

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

body {
  background: #0a0a0f;
  color: #c8d0d8;
  font-family: 'Share Tech Mono', monospace;
  overflow-x: hidden;
}

/* Game canvas background */
#game-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Scanline overlay */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.08) 2px,
    rgba(0, 0, 0, 0.08) 4px
  );
}

/* Content overlay */
.overlay {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  padding: 0 20px;
}

/* Hero */
.hero {
  text-align: center;
  padding: 15vh 0 10vh;
}

.glitch {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 900;
  color: #00ff88;
  text-shadow:
    0 0 10px #00ff88,
    0 0 40px rgba(0, 255, 136, 0.4),
    0 0 80px rgba(0, 255, 136, 0.2);
  letter-spacing: 0.1em;
  position: relative;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.glitch::before {
  animation: glitch-1 3s infinite linear alternate-reverse;
  clip-path: inset(20% 0 60% 0);
  color: #ff0040;
  text-shadow: -2px 0 #ff0040;
}

.glitch::after {
  animation: glitch-2 3s infinite linear alternate-reverse;
  clip-path: inset(60% 0 10% 0);
  color: #00ccff;
  text-shadow: 2px 0 #00ccff;
}

@keyframes glitch-1 {
  0%, 90% { transform: translateX(0); }
  92% { transform: translateX(-3px); }
  94% { transform: translateX(3px); }
  96% { transform: translateX(-1px); }
  98% { transform: translateX(1px); }
  100% { transform: translateX(0); }
}

@keyframes glitch-2 {
  0%, 88% { transform: translateX(0); }
  90% { transform: translateX(2px); }
  93% { transform: translateX(-2px); }
  96% { transform: translateX(1px); }
  100% { transform: translateX(0); }
}

.tagline {
  font-family: 'Share Tech Mono', monospace;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: #667788;
  margin-top: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.sub {
  max-width: 500px;
  margin: 1.5rem auto 0;
  font-size: 0.95rem;
  color: #556677;
  line-height: 1.6;
}

.cta-btn {
  display: inline-block;
  margin-top: 2.5rem;
  padding: 14px 40px;
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #0a0a0f;
  background: #00ff88;
  border: none;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.cta-btn:hover {
  background: #00ffaa;
  box-shadow: 0 0 40px rgba(0, 255, 136, 0.5);
  transform: translateY(-2px);
}

/* Sections */
.section {
  max-width: 700px;
  margin: 8rem auto;
}

.section h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #00ff88;
  margin-bottom: 2rem;
  letter-spacing: 0.15em;
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.content-box {
  background: rgba(10, 15, 20, 0.85);
  border: 1px solid rgba(0, 255, 136, 0.15);
  border-left: 3px solid #00ff88;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.content-box p {
  line-height: 1.8;
  margin-bottom: 1rem;
}

.content-box ul {
  list-style: none;
  margin-top: 1.5rem;
}

.content-box li {
  padding: 0.4rem 0;
  line-height: 1.6;
}

.accent {
  color: #00ff88;
  font-weight: bold;
  margin-right: 0.5rem;
}

/* Steps */
.steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.step {
  display: flex;
  gap: 1.5rem;
  background: rgba(10, 15, 20, 0.85);
  border: 1px solid rgba(0, 255, 136, 0.1);
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  transition: border-color 0.3s;
}

.step:hover {
  border-color: rgba(0, 255, 136, 0.4);
}

.step-num {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: #00ff88;
  opacity: 0.4;
  min-width: 50px;
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.2);
}

.step-text h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #dde4ea;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.step-text p {
  font-size: 0.9rem;
  color: #778899;
  line-height: 1.6;
}

/* Downloads */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.dl-btn {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.2rem 1.5rem;
  background: rgba(10, 15, 20, 0.9);
  border: 1px solid rgba(0, 255, 136, 0.2);
  color: #c8d0d8;
  text-decoration: none;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.9rem;
  transition: all 0.2s;
  backdrop-filter: blur(10px);
}

.dl-btn:hover {
  border-color: #00ff88;
  background: rgba(0, 255, 136, 0.08);
  color: #00ff88;
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.1);
  transform: translateY(-1px);
}

.dl-recommended {
  border-color: #00ff88;
  background: rgba(0, 255, 136, 0.08);
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.1);
}

.dl-recommended .dl-label::after {
  content: ' — recommended';
  color: #00ff88;
  font-size: 0.75rem;
}

.dl-icon {
  color: #00ff88;
  font-size: 1.2rem;
}

.open-source-note {
  color: #8090a0;
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.open-source-note a {
  color: #00ff88;
}

/* Install notes */
#install-notes .step {
  padding: 1.2rem 1.5rem;
}

.os-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00ff88;
  opacity: 0.7;
}

.cmd {
  display: inline-block;
  margin-top: 0.4rem;
  padding: 0.3rem 0.7rem;
  background: rgba(0, 255, 136, 0.06);
  border: 1px solid rgba(0, 255, 136, 0.15);
  color: #00ff88;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.85rem;
}

/* Stats bar */
.stats-bar {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  font-size: 1rem;
  color: #667788;
  letter-spacing: 0.08em;
  padding: 2rem 0;
  border-top: 1px solid rgba(0, 255, 136, 0.15);
}

.stats-bar .stat-value {
  color: #00ff88;
  opacity: 0.85;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  text-shadow: 0 0 8px rgba(0, 255, 136, 0.3);
}

.stats-bar .stat-sep {
  margin: 0 1.2rem;
  opacity: 0.3;
}

.hidden {
  display: none;
}

/* Support */
.support-section {
  text-align: center;
  margin-bottom: 2rem;
}

.support-box {
  background: rgba(10, 15, 20, 0.85);
  border: 1px solid rgba(0, 255, 136, 0.15);
  padding: 2.5rem 2rem;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.support-icon {
  opacity: 0.8;
}

.support-box p {
  color: #667788;
  font-size: 0.95rem;
  line-height: 1.6;
}

.support-btn {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 10px 28px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.9rem;
  color: #00ff88;
  background: transparent;
  border: 1px solid rgba(0, 255, 136, 0.3);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: all 0.2s;
}

.support-btn:hover {
  background: rgba(0, 255, 136, 0.08);
  border-color: #00ff88;
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.15);
  transform: translateY(-1px);
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem 0 3rem;
  max-width: 700px;
  margin: 0 auto;
}

.hint {
  font-size: 0.8rem;
  color: #334455;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

footer p {
  font-size: 0.85rem;
  color: #445566;
}

footer a {
  color: #00ff88;
  text-decoration: none;
}

footer a:hover {
  text-shadow: 0 0 8px rgba(0, 255, 136, 0.5);
}

.sep {
  margin: 0 0.8rem;
  opacity: 0.3;
}

/* Mobile */
@media (max-width: 600px) {
  .hero {
    padding: 10vh 0 6vh;
  }

  .section {
    margin: 5rem auto;
  }

  .step {
    flex-direction: column;
    gap: 0.5rem;
  }

  .step-num {
    font-size: 1.4rem;
  }

  .download-grid {
    grid-template-columns: 1fr;
  }
}
