:root {
  --neon-green: #0f0;
  --neon-dim: #003300;
  --bg-color: #050505;
  --glitch-1: #ff00ff;
  --glitch-2: #00ffff;
}

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

body {
  font-family: 'Press Start 2P', cursive;
  background-color: var(--bg-color);
  color: var(--neon-green);
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* CRT Эффект */
.crt::before {
  content: " "; display: block; position: fixed; top: 0; left: 0; bottom: 0; right: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%),
              linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
  z-index: 999; background-size: 100% 2px, 3px 100%; pointer-events: none;
}

#retroTrail { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; opacity: 0.6; }

.content {
  position: relative; z-index: 10; text-align: center; width: 100%; max-width: 800px; padding: 20px;
  border: 2px solid var(--neon-green); background: rgba(0, 0, 0, 0.8);
  box-shadow: 0 0 20px var(--neon-green); backdrop-filter: blur(5px);
}

/* Заголовок с глитчем */
h1 {
  font-size: 2rem; text-transform: uppercase; position: relative; margin-bottom: 40px;
  text-shadow: 2px 2px var(--glitch-1); animation: glitch 1s infinite;
}
h1::before, h1::after {
  content: attr(data-text); position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: #000;
}
h1::before { left: 2px; text-shadow: -1px 0 var(--glitch-1); clip-path: inset(0 0 0 0); animation: glitch-2 3s infinite; }
h1::after { left: -2px; text-shadow: -1px 0 var(--glitch-2); clip-path: inset(0 0 0 0); animation: glitch-2 2s infinite; }

@keyframes glitch { 0% { transform: skew(0deg); } 20% { transform: skew(-2deg); } 40% { transform: skew(2deg); } 100% { transform: skew(0deg); } }

.button-container { display: flex; flex-direction: column; gap: 15px; margin: 40px 0; }
.button {
  display: block; padding: 20px; background: #000; color: var(--neon-green); text-decoration: none;
  border: 2px solid var(--neon-green); font-size: 1rem; transition: 0.2s; box-shadow: 4px 4px 0 var(--neon-dim);
}
.button:hover { background: var(--neon-green); color: #000; transform: translate(-2px, -2px); box-shadow: -4px -4px 0 var(--glitch-1); }

/* Плеер */
.audio-player { margin-top: 20px; border-top: 2px dashed var(--neon-dim); padding-top: 20px; }
.player-label { font-size: 0.7rem; margin-bottom: 10px; color: #555; }
.audio-controls { display: flex; justify-content: center; gap: 10px; background: #001100; padding: 10px; border: 1px solid var(--neon-green); }
.audio-button { background: transparent; color: var(--neon-green); border: 1px solid var(--neon-green); width: 40px; height: 40px; cursor: pointer; }
.audio-button:hover { background: var(--neon-green); color: #000; }
audio { width: 200px; height: 40px; filter: invert(100%) hue-rotate(80deg); }

@media (max-width: 600px) { h1 { font-size: 1.2rem; } .button { font-size: 0.8rem; } }