/* Base reset y estética noventera */
body {
  margin: 0;
  font-family: 'Courier New', Courier, monospace;
  background-color: #0c0c0c;
  color: #e0e0e0;
  background-image: radial-gradient(#101010, #000000);
  overflow-x: hidden;
}

header {
  background-color: #111;
  padding: 10px 20px;
  border-bottom: 2px solid #2f2f2f;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
  text-shadow: 0 0 5px #ff0000, 0 0 10px #00ffcc;
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 0;
  padding: 10px 0 0 0;
}

nav a {
  color: #ccc;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

nav a:hover {
  color: #00ffff;
}

main {
  padding: 40px 20px;
}

section {
  margin-bottom: 80px;
  border-left: 4px solid #222;
  padding-left: 20px;
  position: relative;
}

section h1, section h2 {
  color: #00ffcc;
  text-shadow: 0 0 3px #00ffff;
}

.vhs-effect img {
  filter: contrast(120%) brightness(90%) grayscale(30%);
  animation: flicker 1.5s infinite;
  width: 250px;
}

@keyframes flicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
  60% { opacity: 0.7; }
}

.glitch {
  position: relative;
  animation: glitch 2s infinite;
}

@keyframes glitch {
  0% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(2px, -2px); }
  60% { transform: translate(-1px, 1px); }
  80% { transform: translate(1px, -1px); }
  100% { transform: translate(0); }
}

button {
  background-color: #111;
  border: 2px solid #00ffcc;
  color: #00ffcc;
  padding: 10px 20px;
  font-family: 'Courier New', Courier, monospace;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background-color: #00ffcc;
  color: #000;
}

.countdown {
  font-size: 1.2rem;
  color: #ff6666;
  margin: 10px 0;
}

.file-list {
  list-style: square;
  padding-left: 20px;
}

.file-list a {
  color: #ffaa00;
  text-decoration: none;
}

.file-list a:hover {
  text-decoration: underline;
  color: #ffcc00;
}

footer {
  background-color: #111;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  border-top: 2px solid #2f2f2f;
}

.glitch-text {
  color: #ff0000;
  text-shadow: 1px 0 cyan, -1px 0 red;
  animation: glitch-text 1.5s infinite;
}

@keyframes glitch-text {
  0% { transform: translateX(0); }
  20% { transform: translateX(-1px); }
  40% { transform: translateX(1px); }
  60% { transform: translateX(-1px); }
  80% { transform: translateX(1px); }
  100% { transform: translateX(0); }
}

.hidden {
  display: none;
}