/* ===== RESETEO Y FUENTE ===== */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: Orbitron, sans-serif;
  overflow: hidden;
  background: black;
}

/* ===== FONDO ANIMADO ===== */
.bg-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(0.6);
  opacity: 0;
  animation: fade 18s infinite ease-in-out;
  transition: opacity 2s ease-in-out;
}

.bg-image:nth-child(1) { animation-delay: 0s; }
.bg-image:nth-child(2) { animation-delay: 6s; }
.bg-image:nth-child(3) { animation-delay: 12s; }

@keyframes fade {
  0% { opacity: 0; }
  10% { opacity: 1; }
  33% { opacity: 1; }
  43% { opacity: 0; }
  100% { opacity: 0; }
}

/* ===== CONTENIDO CENTRAL ===== */
.logo-container {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100vh;
  width: 100%;
  background: transparent;
  padding: 0 20px;
  box-sizing: border-box;
}

/* ===== LOGO CON LATIDO Y RESPLANDOR ===== */
.logo-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
}

.logo {
  width: 100%;
  height: auto;
  animation: pulse 2s infinite ease-in-out;
  filter: drop-shadow(0 0 25px #ff0000) drop-shadow(0 0 40px #ff3030);
}

/* Latido */
@keyframes pulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 25px #ff0000); }
  50% { transform: scale(1.05); filter: drop-shadow(0 0 50px #ff3030) drop-shadow(0 0 80px #ff5555); }
}

/* ===== TEXTO DESCRIPTIVO ===== */
.logo-text {
  margin: 20px 0;
  font-size: 20px;
  color: #fff;
  text-shadow: 0 0 10px #ff0000, 0 0 20px #ff3333, 0 0 40px #ff6666;
  animation: glowText 2.5s infinite alternate;
  max-width: 900px;
}

@keyframes glowText {
  0% { text-shadow: 0 0 10px #ff0000, 0 0 25px #ff3333, 0 0 40px #ff6666; }
  100% { text-shadow: 0 0 20px #ff4444, 0 0 35px #ff6666, 0 0 60px #ff9999; }
}

/* ===== BOTONES ===== */
.button-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.button-container a {
  color: #fff;
  font-size: 18px;
  text-decoration: none;
  padding: 10px 24px;
  background-color: rgba(255, 0, 0, 0.4);
  border: 2px solid #ff0000;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.button-container a:hover {
  background-color: rgba(255, 0, 0, 0.6);
  box-shadow: 0 0 20px #ff0000, 0 0 40px #ff3333, 0 0 60px #ff6666;
  transform: scale(1.05);
}

.button-container a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-25deg);
  animation: shine 2.5s infinite;
}

@keyframes shine {
  0% { left: -75%; }
  100% { left: 125%; }
}

/* ===== FOOTER ===== */
footer {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: #aaa;
  text-align: center;
  z-index: 10;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .logo-text { font-size: 18px; }
  .button-container a { font-size: 16px; padding: 8px 18px; }
}

@media (max-width: 480px) {
  .logo { width: 90%; }
  .logo-text { font-size: 16px; }
  .button-container { flex-direction: column; gap: 10px; }
  .button-container a { font-size: 14px; padding: 6px 14px; }
}

/* ===== SERVIDORES ===== */
.servers-page {
  background: radial-gradient(circle at center, #111 0%, #000 100%);
  color: white;
  font-family: Orbitron, sans-serif;
  min-height: 100vh;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.servers-container {
  text-align: center;
  max-width: 900px;
  margin: 60px auto;
  padding: 20px;
}

.servers-container h1 {
  font-size: 2em;
  color: #ff0000;
  text-shadow: 0 0 15px #ff0000, 0 0 40px #ff3030;
  margin-bottom: 40px;
  animation: glowText 2s infinite alternate;
}

.server {
  margin-bottom: 30px;
}

.server h2 {
  color: #fff;
  text-shadow: 0 0 10px #ff3030;
  margin-bottom: 10px;
}

.server img {
  border-radius: 10px;
  border: 2px solid #ff0000;
  box-shadow: 0 0 15px #ff0000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.server img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px #ff3333, 0 0 60px #ff6666;
}

.back-button a {
  display: inline-block;
  margin-top: 40px;
  padding: 10px 25px;
  border: 2px solid #ff0000;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  background-color: rgba(255, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.back-button a:hover {
  background-color: rgba(255, 0, 0, 0.6);
  box-shadow: 0 0 20px #ff0000, 0 0 40px #ff3333;
  transform: scale(1.05);
}

