/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: black;
  font-family: 'Press Start 2P', cursive, monospace;
  color: #00ffea;
  text-align: center;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  cursor: url('https://cur.cursors-4u.net/cursors/cur-11/cur1032.cur'), auto;
}

/* Retro Glow Background */
.retro-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  top: 20%;
  left: 10%;
  background: radial-gradient(circle, rgba(0,255,234,0.15) 0%, transparent 70%);
  animation: pulse 6s infinite alternate;
  z-index: -2;
}
@keyframes pulse {
  from { transform: scale(0.9); opacity: 0.4; }
  to { transform: scale(1.2); opacity: 0.8; }
}

/* Scanlines */
.scanlines {
  position: fixed;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0,0,0,0.2) 0px,
    rgba(0,0,0,0.2) 1px,
    transparent 2px,
    transparent 4px
  );
  z-index: 5;
}

/* Particle Sparks */
#particles {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}
.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #ffcc00;
  box-shadow: 0 0 6px #ffcc00;
  border-radius: 50%;
  animation: float 6s linear infinite;
}
@keyframes float {
  from { transform: translateY(100vh); opacity: 1; }
  to { transform: translateY(-10vh); opacity: 0; }
}

/* Hero Section */
.hero {
  padding: 80px 20px;
  position: relative;
  z-index: 10;
}

.glow {
  font-size: 3rem;
  text-shadow: 0 0 10px #00ffe0, 0 0 20px #00ffe0, 0 0 40px #00ffe0;
  animation: flicker 2s infinite;
}
@keyframes flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
    text-shadow: 0 0 10px #00ffe0, 0 0 20px #00ffe0, 0 0 40px #00ffe0;
  }
  20%, 24%, 55% { text-shadow: none; }
}

.alias {
  font-size: 1rem;
  color: #ff00ff;
  margin-bottom: 15px;
}

/* Typing Box */
.desc-box {
  max-width: 600px;
  margin: 20px auto;
  padding: 15px;
  border: 2px solid #ffcc00;
  box-shadow: 0 0 15px #ffcc00;
  background: rgba(0, 0, 0, 0.7);
  color: #f0f0f0;
  font-size: 0.8rem;
  line-height: 1.6;
  min-height: 60px;
}

/* Start Button */
.start-btn {
  margin-top: 25px;
  padding: 15px 30px;
  font-size: 1rem;
  border: 2px solid #00ffea;
  background: transparent;
  color: #00ffea;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.3s ease;
}
.start-btn:hover {
  background: #00ffea;
  color: black;
  box-shadow: 0 0 15px #00ffea;
  transform: scale(1.05);
}

/* Links */
.links {
  margin-top: 50px;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
}
.links.show { opacity: 1; transform: translateY(0); }

.menu-title {
  font-size: 1.2rem;
  color: #ffcc00;
  text-shadow: 0 0 10px #ffcc00;
  margin-bottom: 25px;
}

/* Social Buttons */
.socials {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.social-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 50px;
  height: 50px;
  overflow: hidden;
  border: 2px solid #ff00ff;
  border-radius: 8px;
  background: rgba(0,0,0,0.6);
  color: #ff00ff;
  text-decoration: none;
  transition: all 0.3s ease;
}
.social-btn .icon {
  font-size: 1.5rem;
  margin: 0 auto;
}
.social-btn .label {
  margin-left: 10px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s;
}
.social-btn:hover {
  width: 140px;
  background: #ff00ff;
  color: black;
  box-shadow: 0 0 15px #ff00ff;
  transform: translateY(-3px);
}
.social-btn:hover .label { opacity: 1; }

/* Game */
.game-container {
  margin: 50px auto 0;
  width: 420px;
  padding: 10px;
  border: 2px solid #00ffea;
  background: rgba(0, 0, 0, 0.8);
  box-shadow: 0 0 15px #00ffea;
  transition: box-shadow 0.3s ease;
}
canvas {
  display: block;
  margin: 0 auto;
  background: black;
  border: 2px solid #ff00ff;
}
.game-flash { box-shadow: 0 0 25px red !important; }
