/* ===========================================
   Warrior Project - Cataclismo 4.3.4
   Diseño Gaming Épico Oscuro (Responsive)
   =========================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Rajdhani', sans-serif;
  background-color: #0a0a0a;
  color: #f2f2f2;
  overflow-x: hidden;
  padding-top: 70px; /* evita superposición del header */
}

/* ===== FONDO ÉPICO NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 3rem;
  z-index: 1000;
  background: url('assets/navbar-bg-pandaria.jpg') center/cover no-repeat;
  border-bottom: 2px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

/* ===== LOGO EPICO ===== */
.logo {
  font-size: 2rem;
  font-weight: 800;
  color: #ffcc33; 
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow:
    0 0 5px #ffb200,
    0 0 10px #ff7f00,
    0 0 20px #ff4500,
    0 0 30px #ffd700;
  transition: all 0.3s ease;
}

.logo:hover {
  transform: scale(1.1);
  text-shadow:
    0 0 10px #fff200,
    0 0 20px #ffcc00,
    0 0 30px #ff9900,
    0 0 40px #ff5500;
}

/* Links navbar con separadores centrados */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links li {
  position: relative;
}

/* Separadores */
.nav-links > li:not(:last-child)::after {
  content: "|";
  margin-left: 1rem;
  margin-right: 1rem;
  color: #ff6600;
  opacity: 0.7;
  display: inline-block;
  vertical-align: middle;
}

/* Links */
.nav-links a {
  color: #ffd700;
  font-weight: 700;
  text-decoration: none;
  padding: 0.3rem 0.8rem;
  transition: all 0.3s ease;
}

/* Dropdown */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(20,20,20,0.95);
  min-width: 180px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.5);
  z-index: 1001;
  list-style: none;
}

.dropdown-content li {
  margin: 0;
  padding: 0;
}

.dropdown-content a {
  display: block;
  padding: 0.8rem 1rem;
  color: #ffd700;
  text-align: left;
}

/* Efecto glow al pasar el cursor - menú principal */
.nav-links a:hover,
.dropdown-content a:hover {
  color: #fff; /* Texto más visible */
  text-shadow: 
    0 0 5px #ffcc33,
    0 0 10px #ff9900,
    0 0 20px #ff3300,
    0 0 30px #ff0000;
  transform: scale(1.05);
  transition: all 0.3s ease;
}

@keyframes glowPulse {
  0%, 100% { text-shadow: 0 0 5px #ffcc33, 0 0 10px #ff9900, 0 0 20px #ff3300, 0 0 30px #ff0000; }
  50% { text-shadow: 0 0 10px #ffcc33, 0 0 20px #ff9900, 0 0 30px #ff3300, 0 0 40px #ff0000; }
}

.nav-links a:hover,
.dropdown-content a:hover {
  animation: glowPulse 1s infinite alternate;
}

.dropdown-content a:hover {
  background: rgba(255,165,0,0.3);
  color: #fff;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Hamburger para móviles */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: #ff9900;
  border-radius: 3px;
}

/* Responsive navbar */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    flex-direction: column;
    width: 200px;
    height: calc(100% - 70px);
    background: rgba(10,10,10,0.95);
    gap: 1.5rem;
    padding: 2rem 1rem;
    transition: right 0.3s ease;
  }

  .nav-links.active {
    right: 0;
  }

  .dropdown-content {
    position: static;
    background: none;
    box-shadow: none;
    border-radius: 0;
  }

  .hamburger {
    display: flex;
  }
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: calc(100vh - 70px);
  background: url('assets/bg-pandaria.jpg') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.6), rgba(0,0,0,0.9));
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 800px;
  padding: 2rem;
  animation: fadeIn 2s ease-in-out;
  top: 70px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: #ff0000;
  text-shadow: 0 0 15px rgba(255, 0, 0, 0.8);
  margin-bottom: 1rem;
  letter-spacing: 4px;
}

.hero p {
  font-size: 1.4rem;
  margin-bottom: 2rem;
  color: #ccc;
}

/* ===== HERO BUTTONS ===== */
.btn-group {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.cta-btn {
  padding: 1rem 2.5rem;
  border-radius: 8px;
  font-size: 1.2rem;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  transition: transform 0.3s, box-shadow 0.3s;
}

/* Botón rojo: REGISTRATE */
.btn-red {
  background: linear-gradient(90deg, #ff0000, #660000);
  color: #fff;
}

.btn-red:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #ff0000;
}

/* Botón verde/blanco: LOGEAR */
.btn-green {
  background: linear-gradient(90deg, #00ff99, #007755);
  color: #fff;
}

.btn-green:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #00ff99;
}

/* ===== FEATURES SECTION ===== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 6rem 3rem;
  background: radial-gradient(circle at top, #111 0%, #000 100%);
  text-align: center;
}

.feature h2 {
  color: #ff0000;
  margin-bottom: 1rem;
  font-size: 1.6rem;
}

.feature p {
  color: #ccc;
  font-size: 1rem;
  line-height: 1.6;
}

/* ===== FOOTER ===== */
footer {
  background: #0a0a0a;
  color: #888;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer p {
  margin: 0;
  line-height: 1.4;
}

/* ===== MODALES (Login / Registro) ===== */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #111;
  border: 1px solid #333;
  padding: 2rem;
  width: 90%;
  max-width: 400px;
  border-radius: 10px;
  text-align: center;
  animation: fadeIn 0.5s ease-in-out;
}

.modal-content h2 {
  color: #ff0000;
  margin-bottom: 1rem;
}

.modal-content input {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  background: #1a1a1a;
  border: 1px solid #333;
  color: #fff;
  border-radius: 6px;
}

.modal-content button {
  width: 100%;
  background: #ff0000;
  color: #fff;
  border: none;
  padding: 0.8rem;
  border-radius: 6px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s;
}

.modal-content button:hover {
  background: #cc0000;
}

.close {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  transition: color 0.3s;
}

.close:hover {
  color: #ff0000;
}

/* ===== ANIMACIONES ===== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    height: auto;
    padding: 1rem;
  }
  .navbar ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  .hero-content {
    padding: 1rem;
  }
  .btn-group {
    flex-direction: column;
  }
  .cta-btn {
    font-size: 1rem;
    padding: 0.8rem 2rem;
  }
}

#captcha-img {
  background: linear-gradient(90deg, #111, #222);
  padding: 5px;
  border: 1px solid #333;
  box-shadow: 0 0 8px rgba(255, 0, 0, 0.4);
  transition: 0.3s;
}
#captcha-img:hover {
  box-shadow: 0 0 12px rgba(0, 255, 100, 0.6);
}

/* ==== Efecto hover en el captcha ==== */
#captcha-img {
  transition: all 0.25s ease-in-out;
}

.captcha-box {
  width: 150px;
  height: 50px;
  background: linear-gradient(90deg, #111, #222);
  border: 1px solid #333;
  box-shadow: 0 0 8px rgba(255, 0, 0, 0.4);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.captcha-box img {
  width: 150px;
  height: 50px;
  object-fit: cover; /* evita que se reduzca o se deforme */
}

.captcha-box:hover {
  box-shadow: 0 0 14px rgba(0, 255, 100, 0.7);
  border-color: #0f0;
}

/* Botón naranja: DESCONECTAR */
.btn-orange {
  background: linear-gradient(90deg, #ff9900, #cc6600);
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-orange:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #ff9900;
}

/* ===== MODALES ANIMADOS ===== */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
  animation: fadeInModal 0.4s ease-in-out;
}

.modal-content {
  transform: translateY(-50px);
  opacity: 0;
  transition: all 0.4s ease-in-out;
}

.modal.show {
  display: flex;
}

.modal.show .modal-content {
  transform: translateY(0);
  opacity: 1;
}

@keyframes fadeInModal {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* ===== GLOW BOTONES ===== */
.cta-btn {
  position: relative;
  transition: all 0.3s ease;
}

.cta-btn::after {
  content: "";
  position: absolute;
  top: -6px; left: -6px; right: -6px; bottom: -6px;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(255,0,0,0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.btn-red:hover::after {
  opacity: 1;
}

.btn-green:hover::after {
  box-shadow: 0 0 15px rgba(0,255,100,0.3);
  opacity: 1;
}

.btn-orange:hover::after {
  box-shadow: 0 0 15px rgba(255,165,0,0.3);
  opacity: 1;
}

/* ===== RESPONSIVE AVANZADO ===== */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    height: auto;
    padding: 1rem;
  }
  .navbar ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  .hero-content {
    padding: 1rem;
  }
  .hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  .hero p {
    font-size: 1rem;
  }
  .btn-group {
    flex-direction: column;
    gap: 1rem;
  }
  .cta-btn {
    font-size: 1rem;
    padding: 0.8rem 2rem;
  }
  .modal-content {
    width: 95%;
    padding: 1rem;
  }
  .modal-content input {
    font-size: 14px;
    padding: 0.6rem;
  }
  .modal-content button {
    font-size: 14px;
    padding: 0.6rem;
  }
  #captcha {
    width: 120px;
    height: 40px;
    font-size: 18px;
  }
  #captcha-img {
    width: 120px;
    height: 40px;
  }
}

/* Hero section */
.hero {
  position: relative;
  text-align: center;
  color: #fff;
  padding: 100px 20px;
}

.hero .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero .hero-content {
  position: relative;
  z-index: 2;
}

/* Realmlist épico */
.realmlist p {
  margin-top: 30px;
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffd700; /* Dorado épico */
  text-shadow: 0 0 10px #ff0000, 0 0 20px #ff8c00, 0 0 30px #ffff00;
  animation: pulse 2s infinite;
}

.realmlist span {
  color: #ff4500; /* Resalta el dominio */
}

/* Animación tipo "epic glow" */
@keyframes pulse {
  0%, 100% { text-shadow: 0 0 10px #ff0000, 0 0 20px #ff8c00, 0 0 30px #ffff00; }
  50% { text-shadow: 0 0 20px #ff0000, 0 0 30px #ff8c00, 0 0 40px #ffff00; }
}

.server-status {
  margin-top: 20px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 5px #ff0000, 0 0 10px #ff4500, 0 0 15px #ff8c00;
  animation: glowStatus 2s infinite alternate;
}

.server-status.online span {
  color: #00ff55;
  text-shadow: 0 0 10px #00ff55, 0 0 20px #00aa33, 0 0 30px #00ffaa;
  animation: pulseOnline 1.5s infinite alternate;
}

.server-status.offline span {
  color: #ff2222;
  text-shadow: 0 0 10px #ff2222, 0 0 20px #aa0000, 0 0 30px #ff5555;
  animation: pulseOffline 1.5s infinite alternate;
}

@keyframes glowStatus {
  0% { text-shadow: 0 0 10px #ff0000, 0 0 20px #ff4500, 0 0 30px #ff8c00; }
  50% { text-shadow: 0 0 15px #ff0000, 0 0 25px #ff4500, 0 0 35px #ff8c00; }
  100% { text-shadow: 0 0 10px #ff0000, 0 0 20px #ff4500, 0 0 30px #ff8c00; }
}

@keyframes pulseOnline {
  0% { text-shadow: 0 0 10px #00ff55, 0 0 20px #00aa33, 0 0 30px #00ffaa; }
  50% { text-shadow: 0 0 15px #00ff55, 0 0 25px #00aa33, 0 0 40px #00ffaa; }
  100% { text-shadow: 0 0 10px #00ff55, 0 0 20px #00aa33, 0 0 30px #00ffaa; }
}

@keyframes pulseOffline {
  0% { text-shadow: 0 0 10px #ff2222, 0 0 20px #aa0000, 0 0 30px #ff5555; }
  50% { text-shadow: 0 0 15px #ff2222, 0 0 25px #aa0000, 0 0 40px #ff5555; }
  100% { text-shadow: 0 0 10px #ff2222, 0 0 20px #aa0000, 0 0 30px #ff5555; }
}

.features-epic {
  position: relative;
  background: url('assets/features-bg.jpg') center/cover no-repeat;
  background-size: cover; /* asegura que la imagen cubra todo */
  padding: 8rem 2rem; /* más espacio vertical */
  text-align: center;
  color: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.features-epic::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6); /* overlay oscuro */
  z-index: 1;
}

.features-epic .section-title {
  position: relative;
  z-index: 2;
  font-size: 2.5rem;
  margin-bottom: 4rem;
  color: #ffb108;
  text-shadow: 0 0 15px #ff0000, 0 0 25px #ff4500;
}

.features-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  width: 100%;
  max-width: 1200px;
}

.feature-card {
  background: rgba(20, 20, 20, 0.7); /* hace contraste con el fondo */
  padding: 2rem 1.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 25px rgba(255, 0, 0, 0.6);
}

.feature-card .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #ffb108;
  text-shadow: 0 0 8px #ff4500, 0 0 15px #ff0000;
}

.feature-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #ddd;
}

footer p {
  margin: 0;
  line-height: 1.4;
  color: #ffcc00; /* amarillo anaranjado épico */
  text-shadow: 0 0 5px #ff9900, 0 0 10px #ff6600;
  font-weight: 600;
  font-size: 1rem;
}

.hero {
  position: relative;
  text-align: center; /* centro horizontal */
  padding: 150px 2rem 100px; /* ajusta según altura hero */
  color: #fff;
  z-index: 1;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 700;
  color: #ffcc33; /* amarillo-anaranjado */
  text-shadow: 0 0 15px #ff6600, 0 0 30px #ff3300;
}

.hero p {
  font-size: 1.5rem;
  text-shadow: 0 0 10px #000;
}

.video-wrapper {
  position: absolute;
  right: 50px;      /* distancia al borde derecho */
  top: 500px;       /* ajusta verticalmente según hero */
  width: 480px;
  height: 270px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(255,165,0,0.7);
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 1200px) {
  .video-wrapper {
    right: 20px;
    top: 400px;
    width: 360px;
    height: 202px;
  }
}

@media (max-width: 768px) {
  .video-wrapper {
    position: static; /* debajo del hero en móviles */
    margin: 2rem auto 0;
    width: 90%;
    height: auto;
    aspect-ratio: 16/9;
  }
}

/* ===== EFECTO DE FUEGO EN EL NOMBRE ===== */
.fire-text {
  font-size: 4rem;
  font-weight: 900;
  color: #ff4500;
  text-transform: uppercase;
  letter-spacing: 3px;
  position: relative;
  text-shadow:
    0 0 10px #ff0000,
    0 0 20px #ff4500,
    0 0 30px #ff6600,
    0 0 40px #ffaa00;
  animation: fireGlow 2s infinite alternate ease-in-out;
}

@keyframes fireGlow {
  0% {
    text-shadow:
      0 0 10px #ff6600,
      0 0 20px #ff3300,
      0 0 30px #ff2200,
      0 0 40px #ff1100;
    color: #ff6600;
  }
  50% {
    text-shadow:
      0 0 15px #ff9900,
      0 0 25px #ff6600,
      0 0 35px #ff3300,
      0 0 45px #ff0000;
    color: #ffaa00;
  }
  100% {
    text-shadow:
      0 0 20px #ffaa00,
      0 0 30px #ff7700,
      0 0 40px #ff3300,
      0 0 50px #ff0000;
    color: #ff4500;
  }
}

/* ===== PANEL DE USUARIO ===== */
.panel-section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  background: #0e0e0e;
  padding-top: 40px; /* 🔼 antes era 80px */
}

.panel-container {
  background: linear-gradient(145deg, #1c1c1c, #2b2b2b);
  border: 2px solid #444;
  border-radius: 15px;
  box-shadow: 0 0 25px rgba(255, 140, 0, 0.4);
  padding: 2rem 3rem;
  max-width: 600px;
  color: #fff;
  text-align: left;
  position: relative;
  z-index: 2;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
  padding: 1.2rem 1.5rem;
  box-shadow: inset 0 0 10px rgba(255, 140, 0, 0.3);
}

.player-name {
  font-size: 2rem;
  font-weight: 800;
  text-shadow: 0 0 8px rgba(255, 120, 0, 0.8);
  margin-right: 1rem;
  white-space: nowrap;
}

/* 🔥 Fuego más elegante y no exagerado */
.fire-text {
  background: linear-gradient(90deg, #ff6600, #ffaa00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: flameGlow 2s infinite;
}

@keyframes flameGlow {
  0%, 100% { filter: drop-shadow(0 0 4px #ff6600); }
  50% { filter: drop-shadow(0 0 12px #ffaa00); }
}

.panel-info {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  color: #e0e0e0;
  font-size: 1rem;
}

/* 🔥 Efecto de fuego */
.fire-text {
  background: linear-gradient(90deg, #ff6a00, #ffcc00, #ff6a00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: flame 2s infinite;
}

@keyframes flame {
  0% { filter: drop-shadow(0 0 4px #ff6a00); }
  50% { filter: drop-shadow(0 0 10px #ffaa00); }
  100% { filter: drop-shadow(0 0 4px #ff6a00); }
}

.panel-info p {
  margin: 0.5rem 0;
  font-size: 1.1rem;
  color: #ddd;
}

.panel-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.panel-buttons .cta-btn {
  flex: 1;
  text-align: center;
  padding: 0.8rem 1.2rem;
  border-radius: 10px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-red:hover,
.btn-green:hover,
.btn-orange:hover {
  filter: brightness(1.3);
  transform: scale(1.05);
}

/* ===== ÍCONOS DE INFORMACIÓN ===== */
.panel-info p {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0.4rem 0;
  color: #f0f0f0;
  font-size: 1.05rem;
  text-shadow: 0 0 4px rgba(0,0,0,0.8);
}

.panel-info .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: radial-gradient(circle, #ffae00 20%, #a15c00 90%);
  border-radius: 6px;
  box-shadow: 0 0 8px rgba(255, 170, 0, 0.6);
  font-size: 1.1rem;
  color: #fff3c0;
  text-shadow: 0 0 3px #000;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.panel-info .icon:hover {
  transform: scale(1.15);
  box-shadow: 0 0 15px rgba(255, 200, 50, 0.9);
}

/* ===== PLACA DE NOMBRE ÉPICA ===== */
.nameplate {
  position: relative;
background: url('../assets/nameplate.png') center/contain no-repeat;
  width: 100%;
  max-width: 350px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 1rem;
}

.player-name {
  font-size: clamp(1.2rem, 3vw, 2.3rem);
  font-weight: 900;
  text-align: center;
  max-width: 90%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 0 10px rgba(255, 120, 0, 0.8);
  z-index: 2;
  padding: 0 0.5rem;
}

/* 🔥 Fuego elegante */
.fire-text {
  background: linear-gradient(90deg, #ff6a00, #ffcc00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: flameSmooth 2.5s infinite;
}

@keyframes flameSmooth {
  0%, 100% { filter: drop-shadow(0 0 5px #ff6a00); }
  50% { filter: drop-shadow(0 0 12px #ffaa00); }
}

/* ===== AVATAR DE JUGADOR ===== */
.player-avatar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-right: 2rem;
  position: relative;
}

.player-avatar img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid #ff9900;
  box-shadow: 0 0 25px rgba(255, 140, 0, 0.5), inset 0 0 10px rgba(255, 255, 255, 0.2);
  object-fit: cover;
  background: radial-gradient(circle, #222, #000);
  transition: all 0.4s ease;
}

.player-avatar img:hover {
  transform: scale(1.08);
  box-shadow: 0 0 35px rgba(255, 170, 50, 0.9);
}

.player-avatar .player-name {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-top: 0.6rem;
  font-weight: 900;
  text-align: center;
  text-shadow: 0 0 6px rgba(255, 120, 0, 0.8);
  max-width: 7ch;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: clip;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* 🔥 Efecto fuego elegante */
.fire-text {
  background: linear-gradient(90deg, #ff6600, #ffaa00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: flamePulse 2.5s infinite;
}

@keyframes flamePulse {
  0%, 100% { filter: drop-shadow(0 0 5px #ff6600); }
  50% { filter: drop-shadow(0 0 12px #ffaa00); }
}

/* ===== RANGOS ÉPICOS ===== */
.rank-owner {
  color: #ff3b3b;
  font-weight: 900;
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.8);
}

.rank-admin {
  color: #00bfff;
  font-weight: 800;
  text-shadow: 0 0 10px rgba(0, 191, 255, 0.6);
}

.rank-player {
  color: #ffd700;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}

.rank-owner i,
.rank-admin i,
.rank-player i {
  margin-right: 8px;
}

.rank-owner i,
.rank-admin i,
.rank-player i {
  background: radial-gradient(circle, #ffae00 30%, #a15c00 90%);
  border-radius: 6px;
  padding: 6px;
  color: #fff3c0;
  box-shadow: 0 0 8px rgba(255, 170, 0, 0.6);
  font-size: 1rem;
  text-shadow: 0 0 3px #000;
}

.panel-title {
  text-align: center;
  color: #e0e0e0;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 25px;
  background: linear-gradient(180deg, #1a1a1a, #2b2b2b);
  padding: 12px 0;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  
  /* 🔽 Efecto incrustado */
  box-shadow: inset 0 2px 4px rgba(255,255,255,0.1),
              inset 0 -3px 6px rgba(0,0,0,0.6);
  text-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}

.character-list {
  background: rgba(15, 15, 15, 0.85);
  border: 1px solid #333;
  border-radius: 12px;
  padding: 20px;
  margin-top: 30px;
  color: #ddd;
  font-family: 'Rajdhani', sans-serif;
  box-shadow: inset 0 0 6px #000;
}

.character-list h3 {
  text-align: center;
  color: #f5a623;
  margin-bottom: 15px;
  text-shadow: 0 0 5px #000;
}

.character-list p {
  margin: 8px 0;
  background: rgba(0,0,0,0.4);
  padding: 10px;
  border-radius: 8px;
  font-size: 1rem;
}

.panel-section {
    display: flex;
    justify-content: center;  /* centra todo horizontalmente */
    align-items: flex-start;  /* alinea ambos bloques al inicio vertical */
    gap: 30px;                /* espacio entre los bloques */
    min-height: 100vh;
    padding-top: 40px;
}

/* Contenedor principal */
#serverStatusBox {
    width: 350px;
    background: #1c1c1c;
    border: 2px solid #444;
    border-radius: 15px;
    box-shadow: 0 0 25px rgba(255, 140, 0, 0.4);
    padding: 2rem 3rem;
    color: #fff;
    text-align: center;
    font-family: 'Arial', sans-serif;
    margin-top: 0;
    text-shadow: none;
}

/* Nombre del reino */
#realmName {
    font-size: 1.6rem;
    margin-bottom: 15px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
	color: #fff;
    text-shadow: none;
}

.status-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: #ff2222; /* rojo por defecto */
    transition: background 0.5s;
}

/* Barra de estado */
.status-bar {
    position: relative;
    width: 100%;
    height: 25px;
    background: #333;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 15px;
}

/* Relleno de la barra */
.fill {
    height: 100%;
    width: 0%;
    background: #555;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    transition: width 1s ease;
}

/* Puntito indicador de la barra */
.dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    margin-right: 5px;
    border: 2px solid #fff;
    transition: background 0.5s;
}

/* Texto de jugadores */
#playersCount {
    font-weight: bold;
    font-size: 1rem;
	color: #fff;
    text-shadow: none;
}

/* Círculo al lado del nombre del reino */
.status-dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-left: 10px;
    vertical-align: middle;
    background: red; /* OFF por defecto */
    border: 2px solid #fff;
    transition: background 0.5s;
}

/* === ESTILO SERVER STATUS + TOP KILLERS === */

/* Contenedor principal (panel izquierdo + panel derecho) */
.panel-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  align-items: flex-start;
  padding-top: 40px;
}

/* Columna izquierda que apila Server Status y Top Killers */
.left-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 350px;
  flex: 0 0 350px;
  align-items: stretch;
}

/* Cuadro Server Status */
.server-status {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 0 auto; /* 🔹 elimina el margen superior que lo empuja hacia abajo */
  float: none;
  clear: both;
  box-sizing: border-box;
  align-self: flex-start;
}

/* Cuadro TOP KILLERS */
.topkillers-box {
  background: #1c1c1c;
  border: 2px solid #444;
  border-radius: 15px;
  box-shadow: 0 0 25px rgba(255, 140, 0, 0.4);
  padding: 2rem 3rem;
  color: #fff;
  text-align: center;
  font-family: 'Arial', sans-serif;
}

.topkillers-box:hover {
  box-shadow: 0 0 25px rgba(255, 140, 0, 0.4);
  transform: scale(1.01);
}

/* Título TOP KILLERS */
.topkillers-box .ranking-title {
  color: #ffffff;
  font-size: 18px;
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 1px;
  text-align: center;
  text-shadow: none;
}

/* Tabla TOP KILLERS */
.topkillers-box .ranking-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-top: 10px;
  background: rgba(0,0,0,0.25);
  border-radius: 6px;
  overflow: hidden;
}

.topkillers-box .ranking-table th {
  background: linear-gradient(180deg, #1e1e2a 0%, #151520 100%);
  color: #00b4ff;
  padding: 8px;
  border-bottom: 1px solid #333;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.topkillers-box .ranking-table td {
  text-align: center;
  padding: 6px;
  border-bottom: 1px solid #222;
  color: #e0e0e0;
}

.topkillers-box .ranking-table tr:nth-child(even) {
  background: rgba(255,255,255,0.03);
}

.topkillers-box .ranking-table tr:hover {
  background: rgba(0,120,255,0.15);
  transition: 0.2s ease;
}

/* Panel derecho (Panel de Usuario) */
.panel-container {
  flex: 1 1 600px;
  max-width: 700px;
}

/* Responsivo */
@media (max-width: 900px) {
  .panel-section {
    flex-direction: column;
    padding-top: 20px;
  }

  .left-column {
    width: 90%;
    flex: 0 0 auto;
  }

  .panel-container {
    width: 95%;
    max-width: none;
  }
}/* ===========================================
   Warrior Project - Cataclismo 4.3.4
   Diseño Gaming Épico Oscuro (Responsive)
   =========================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Rajdhani', sans-serif;
  background-color: #0a0a0a;
  color: #f2f2f2;
  overflow-x: hidden;
  padding-top: 70px; /* evita superposición del header */
}

/* ===== FONDO ÉPICO NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 3rem;
  z-index: 1000;
  background: url('assets/navbar-bg-pandaria.jpg') center/cover no-repeat;
  border-bottom: 2px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

/* ===== LOGO EPICO ===== */
.logo {
  font-size: 2rem;
  font-weight: 800;
  color: #ffcc33; 
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow:
    0 0 5px #ffb200,
    0 0 10px #ff7f00,
    0 0 20px #ff4500,
    0 0 30px #ffd700;
  transition: all 0.3s ease;
}

.logo:hover {
  transform: scale(1.1);
  text-shadow:
    0 0 10px #fff200,
    0 0 20px #ffcc00,
    0 0 30px #ff9900,
    0 0 40px #ff5500;
}

/* Links navbar con separadores centrados */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links li {
  position: relative;
}

/* Separadores */
.nav-links > li:not(:last-child)::after {
  content: "|";
  margin-left: 1rem;
  margin-right: 1rem;
  color: #ff6600;
  opacity: 0.7;
  display: inline-block;
  vertical-align: middle;
}

/* Links */
.nav-links a {
  color: #ffd700;
  font-weight: 700;
  text-decoration: none;
  padding: 0.3rem 0.8rem;
  transition: all 0.3s ease;
}

/* Dropdown */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(20,20,20,0.95);
  min-width: 180px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.5);
  z-index: 1001;
  list-style: none;
}

.dropdown-content li {
  margin: 0;
  padding: 0;
}

.dropdown-content a {
  display: block;
  padding: 0.8rem 1rem;
  color: #ffd700;
  text-align: left;
}

/* Efecto glow al pasar el cursor - menú principal */
.nav-links a:hover,
.dropdown-content a:hover {
  color: #fff; /* Texto más visible */
  text-shadow: 
    0 0 5px #ffcc33,
    0 0 10px #ff9900,
    0 0 20px #ff3300,
    0 0 30px #ff0000;
  transform: scale(1.05);
  transition: all 0.3s ease;
}

@keyframes glowPulse {
  0%, 100% { text-shadow: 0 0 5px #ffcc33, 0 0 10px #ff9900, 0 0 20px #ff3300, 0 0 30px #ff0000; }
  50% { text-shadow: 0 0 10px #ffcc33, 0 0 20px #ff9900, 0 0 30px #ff3300, 0 0 40px #ff0000; }
}

.nav-links a:hover,
.dropdown-content a:hover {
  animation: glowPulse 1s infinite alternate;
}

.dropdown-content a:hover {
  background: rgba(255,165,0,0.3);
  color: #fff;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Hamburger para móviles */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: #ff9900;
  border-radius: 3px;
}

/* Responsive navbar */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    flex-direction: column;
    width: 200px;
    height: calc(100% - 70px);
    background: rgba(10,10,10,0.95);
    gap: 1.5rem;
    padding: 2rem 1rem;
    transition: right 0.3s ease;
  }

  .nav-links.active {
    right: 0;
  }

  .dropdown-content {
    position: static;
    background: none;
    box-shadow: none;
    border-radius: 0;
  }

  .hamburger {
    display: flex;
  }
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: calc(100vh - 70px);
  background: url('assets/bg-pandaria.jpg') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.6), rgba(0,0,0,0.9));
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 800px;
  padding: 2rem;
  animation: fadeIn 2s ease-in-out;
  top: 70px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: #ff0000;
  text-shadow: 0 0 15px rgba(255, 0, 0, 0.8);
  margin-bottom: 1rem;
  letter-spacing: 4px;
}

.hero p {
  font-size: 1.4rem;
  margin-bottom: 2rem;
  color: #ccc;
}

/* ===== HERO BUTTONS ===== */
.btn-group {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.cta-btn {
  padding: 1rem 2.5rem;
  border-radius: 8px;
  font-size: 1.2rem;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  transition: transform 0.3s, box-shadow 0.3s;
}

/* Botón rojo: REGISTRATE */
.btn-red {
  background: linear-gradient(90deg, #ff0000, #660000);
  color: #fff;
}

.btn-red:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #ff0000;
}

/* Botón verde/blanco: LOGEAR */
.btn-green {
  background: linear-gradient(90deg, #00ff99, #007755);
  color: #fff;
}

.btn-green:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #00ff99;
}

/* ===== FEATURES SECTION ===== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 6rem 3rem;
  background: radial-gradient(circle at top, #111 0%, #000 100%);
  text-align: center;
}

.feature h2 {
  color: #ff0000;
  margin-bottom: 1rem;
  font-size: 1.6rem;
}

.feature p {
  color: #ccc;
  font-size: 1rem;
  line-height: 1.6;
}

/* ===== FOOTER ===== */
footer {
  background: #0a0a0a;
  color: #888;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer p {
  margin: 0;
  line-height: 1.4;
}

/* ===== MODALES (Login / Registro) ===== */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #111;
  border: 1px solid #333;
  padding: 2rem;
  width: 90%;
  max-width: 400px;
  border-radius: 10px;
  text-align: center;
  animation: fadeIn 0.5s ease-in-out;
}

.modal-content h2 {
  color: #ff0000;
  margin-bottom: 1rem;
}

.modal-content input {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  background: #1a1a1a;
  border: 1px solid #333;
  color: #fff;
  border-radius: 6px;
}

.modal-content button {
  width: 100%;
  background: #ff0000;
  color: #fff;
  border: none;
  padding: 0.8rem;
  border-radius: 6px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s;
}

.modal-content button:hover {
  background: #cc0000;
}

.close {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  transition: color 0.3s;
}

.close:hover {
  color: #ff0000;
}

/* ===== ANIMACIONES ===== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    height: auto;
    padding: 1rem;
  }
  .navbar ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  .hero-content {
    padding: 1rem;
  }
  .btn-group {
    flex-direction: column;
  }
  .cta-btn {
    font-size: 1rem;
    padding: 0.8rem 2rem;
  }
}

#captcha-img {
  background: linear-gradient(90deg, #111, #222);
  padding: 5px;
  border: 1px solid #333;
  box-shadow: 0 0 8px rgba(255, 0, 0, 0.4);
  transition: 0.3s;
}
#captcha-img:hover {
  box-shadow: 0 0 12px rgba(0, 255, 100, 0.6);
}

/* ==== Efecto hover en el captcha ==== */
#captcha-img {
  transition: all 0.25s ease-in-out;
}

.captcha-box {
  width: 150px;
  height: 50px;
  background: linear-gradient(90deg, #111, #222);
  border: 1px solid #333;
  box-shadow: 0 0 8px rgba(255, 0, 0, 0.4);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.captcha-box img {
  width: 150px;
  height: 50px;
  object-fit: cover; /* evita que se reduzca o se deforme */
}

.captcha-box:hover {
  box-shadow: 0 0 14px rgba(0, 255, 100, 0.7);
  border-color: #0f0;
}

/* Botón naranja: DESCONECTAR */
.btn-orange {
  background: linear-gradient(90deg, #ff9900, #cc6600);
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-orange:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #ff9900;
}

/* ===== MODALES ANIMADOS ===== */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
  animation: fadeInModal 0.4s ease-in-out;
}

.modal-content {
  transform: translateY(-50px);
  opacity: 0;
  transition: all 0.4s ease-in-out;
}

.modal.show {
  display: flex;
}

.modal.show .modal-content {
  transform: translateY(0);
  opacity: 1;
}

@keyframes fadeInModal {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* ===== GLOW BOTONES ===== */
.cta-btn {
  position: relative;
  transition: all 0.3s ease;
}

.cta-btn::after {
  content: "";
  position: absolute;
  top: -6px; left: -6px; right: -6px; bottom: -6px;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(255,0,0,0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.btn-red:hover::after {
  opacity: 1;
}

.btn-green:hover::after {
  box-shadow: 0 0 15px rgba(0,255,100,0.3);
  opacity: 1;
}

.btn-orange:hover::after {
  box-shadow: 0 0 15px rgba(255,165,0,0.3);
  opacity: 1;
}

/* ===== RESPONSIVE AVANZADO ===== */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    height: auto;
    padding: 1rem;
  }
  .navbar ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  .hero-content {
    padding: 1rem;
  }
  .hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  .hero p {
    font-size: 1rem;
  }
  .btn-group {
    flex-direction: column;
    gap: 1rem;
  }
  .cta-btn {
    font-size: 1rem;
    padding: 0.8rem 2rem;
  }
  .modal-content {
    width: 95%;
    padding: 1rem;
  }
  .modal-content input {
    font-size: 14px;
    padding: 0.6rem;
  }
  .modal-content button {
    font-size: 14px;
    padding: 0.6rem;
  }
  #captcha {
    width: 120px;
    height: 40px;
    font-size: 18px;
  }
  #captcha-img {
    width: 120px;
    height: 40px;
  }
}

/* Hero section */
.hero {
  position: relative;
  text-align: center;
  color: #fff;
  padding: 100px 20px;
}

.hero .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero .hero-content {
  position: relative;
  z-index: 2;
}

/* Realmlist épico */
.realmlist p {
  margin-top: 30px;
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffd700; /* Dorado épico */
  text-shadow: 0 0 10px #ff0000, 0 0 20px #ff8c00, 0 0 30px #ffff00;
  animation: pulse 2s infinite;
}

.realmlist span {
  color: #ff4500; /* Resalta el dominio */
}

/* Animación tipo "epic glow" */
@keyframes pulse {
  0%, 100% { text-shadow: 0 0 10px #ff0000, 0 0 20px #ff8c00, 0 0 30px #ffff00; }
  50% { text-shadow: 0 0 20px #ff0000, 0 0 30px #ff8c00, 0 0 40px #ffff00; }
}

.server-status {
  margin-top: 20px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 5px #ff0000, 0 0 10px #ff4500, 0 0 15px #ff8c00;
  animation: glowStatus 2s infinite alternate;
}

.server-status.online span {
  color: #00ff55;
  text-shadow: 0 0 10px #00ff55, 0 0 20px #00aa33, 0 0 30px #00ffaa;
  animation: pulseOnline 1.5s infinite alternate;
}

.server-status.offline span {
  color: #ff2222;
  text-shadow: 0 0 10px #ff2222, 0 0 20px #aa0000, 0 0 30px #ff5555;
  animation: pulseOffline 1.5s infinite alternate;
}

@keyframes glowStatus {
  0% { text-shadow: 0 0 10px #ff0000, 0 0 20px #ff4500, 0 0 30px #ff8c00; }
  50% { text-shadow: 0 0 15px #ff0000, 0 0 25px #ff4500, 0 0 35px #ff8c00; }
  100% { text-shadow: 0 0 10px #ff0000, 0 0 20px #ff4500, 0 0 30px #ff8c00; }
}

@keyframes pulseOnline {
  0% { text-shadow: 0 0 10px #00ff55, 0 0 20px #00aa33, 0 0 30px #00ffaa; }
  50% { text-shadow: 0 0 15px #00ff55, 0 0 25px #00aa33, 0 0 40px #00ffaa; }
  100% { text-shadow: 0 0 10px #00ff55, 0 0 20px #00aa33, 0 0 30px #00ffaa; }
}

@keyframes pulseOffline {
  0% { text-shadow: 0 0 10px #ff2222, 0 0 20px #aa0000, 0 0 30px #ff5555; }
  50% { text-shadow: 0 0 15px #ff2222, 0 0 25px #aa0000, 0 0 40px #ff5555; }
  100% { text-shadow: 0 0 10px #ff2222, 0 0 20px #aa0000, 0 0 30px #ff5555; }
}

.features-epic {
  position: relative;
  background: url('assets/features-bg.jpg') center/cover no-repeat;
  background-size: cover; /* asegura que la imagen cubra todo */
  padding: 8rem 2rem; /* más espacio vertical */
  text-align: center;
  color: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.features-epic::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6); /* overlay oscuro */
  z-index: 1;
}

.features-epic .section-title {
  position: relative;
  z-index: 2;
  font-size: 2.5rem;
  margin-bottom: 4rem;
  color: #ffb108;
  text-shadow: 0 0 15px #ff0000, 0 0 25px #ff4500;
}

.features-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  width: 100%;
  max-width: 1200px;
}

.feature-card {
  background: rgba(20, 20, 20, 0.7); /* hace contraste con el fondo */
  padding: 2rem 1.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 25px rgba(255, 0, 0, 0.6);
}

.feature-card .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #ffb108;
  text-shadow: 0 0 8px #ff4500, 0 0 15px #ff0000;
}

.feature-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #ddd;
}

footer p {
  margin: 0;
  line-height: 1.4;
  color: #ffcc00; /* amarillo anaranjado épico */
  text-shadow: 0 0 5px #ff9900, 0 0 10px #ff6600;
  font-weight: 600;
  font-size: 1rem;
}

.hero {
  position: relative;
  text-align: center; /* centro horizontal */
  padding: 150px 2rem 100px; /* ajusta según altura hero */
  color: #fff;
  z-index: 1;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 700;
  color: #ffcc33; /* amarillo-anaranjado */
  text-shadow: 0 0 15px #ff6600, 0 0 30px #ff3300;
}

.hero p {
  font-size: 1.5rem;
  text-shadow: 0 0 10px #000;
}

.video-wrapper {
  position: absolute;
  right: 50px;      /* distancia al borde derecho */
  top: 500px;       /* ajusta verticalmente según hero */
  width: 480px;
  height: 270px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(255,165,0,0.7);
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 1200px) {
  .video-wrapper {
    right: 20px;
    top: 400px;
    width: 360px;
    height: 202px;
  }
}

@media (max-width: 768px) {
  .video-wrapper {
    position: static; /* debajo del hero en móviles */
    margin: 2rem auto 0;
    width: 90%;
    height: auto;
    aspect-ratio: 16/9;
  }
}

/* ===== EFECTO DE FUEGO EN EL NOMBRE ===== */
.fire-text {
  font-size: 4rem;
  font-weight: 900;
  color: #ff4500;
  text-transform: uppercase;
  letter-spacing: 3px;
  position: relative;
  text-shadow:
    0 0 10px #ff0000,
    0 0 20px #ff4500,
    0 0 30px #ff6600,
    0 0 40px #ffaa00;
  animation: fireGlow 2s infinite alternate ease-in-out;
}

@keyframes fireGlow {
  0% {
    text-shadow:
      0 0 10px #ff6600,
      0 0 20px #ff3300,
      0 0 30px #ff2200,
      0 0 40px #ff1100;
    color: #ff6600;
  }
  50% {
    text-shadow:
      0 0 15px #ff9900,
      0 0 25px #ff6600,
      0 0 35px #ff3300,
      0 0 45px #ff0000;
    color: #ffaa00;
  }
  100% {
    text-shadow:
      0 0 20px #ffaa00,
      0 0 30px #ff7700,
      0 0 40px #ff3300,
      0 0 50px #ff0000;
    color: #ff4500;
  }
}

/* ===== PANEL DE USUARIO ===== */
.panel-section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  background: #0e0e0e;
  padding-top: 40px; /* 🔼 antes era 80px */
}

.panel-container {
  background: linear-gradient(145deg, #1c1c1c, #2b2b2b);
  border: 2px solid #444;
  border-radius: 15px;
  box-shadow: 0 0 25px rgba(255, 140, 0, 0.4);
  padding: 2rem 3rem;
  max-width: 600px;
  color: #fff;
  text-align: left;
  position: relative;
  z-index: 2;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
  padding: 1.2rem 1.5rem;
  box-shadow: inset 0 0 10px rgba(255, 140, 0, 0.3);
}

.player-name {
  font-size: 2rem;
  font-weight: 800;
  text-shadow: 0 0 8px rgba(255, 120, 0, 0.8);
  margin-right: 1rem;
  white-space: nowrap;
}

/* 🔥 Fuego más elegante y no exagerado */
.fire-text {
  background: linear-gradient(90deg, #ff6600, #ffaa00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: flameGlow 2s infinite;
}

@keyframes flameGlow {
  0%, 100% { filter: drop-shadow(0 0 4px #ff6600); }
  50% { filter: drop-shadow(0 0 12px #ffaa00); }
}

.panel-info {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  color: #e0e0e0;
  font-size: 1rem;
}

/* 🔥 Efecto de fuego */
.fire-text {
  background: linear-gradient(90deg, #ff6a00, #ffcc00, #ff6a00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: flame 2s infinite;
}

@keyframes flame {
  0% { filter: drop-shadow(0 0 4px #ff6a00); }
  50% { filter: drop-shadow(0 0 10px #ffaa00); }
  100% { filter: drop-shadow(0 0 4px #ff6a00); }
}

.panel-info p {
  margin: 0.5rem 0;
  font-size: 1.1rem;
  color: #ddd;
}

.panel-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.panel-buttons .cta-btn {
  flex: 1;
  text-align: center;
  padding: 0.8rem 1.2rem;
  border-radius: 10px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-red:hover,
.btn-green:hover,
.btn-orange:hover {
  filter: brightness(1.3);
  transform: scale(1.05);
}

/* ===== ÍCONOS DE INFORMACIÓN ===== */
.panel-info p {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0.4rem 0;
  color: #f0f0f0;
  font-size: 1.05rem;
  text-shadow: 0 0 4px rgba(0,0,0,0.8);
}

.panel-info .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: radial-gradient(circle, #ffae00 20%, #a15c00 90%);
  border-radius: 6px;
  box-shadow: 0 0 8px rgba(255, 170, 0, 0.6);
  font-size: 1.1rem;
  color: #fff3c0;
  text-shadow: 0 0 3px #000;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.panel-info .icon:hover {
  transform: scale(1.15);
  box-shadow: 0 0 15px rgba(255, 200, 50, 0.9);
}

/* ===== PLACA DE NOMBRE ÉPICA ===== */
.nameplate {
  position: relative;
background: url('../assets/nameplate.png') center/contain no-repeat;
  width: 100%;
  max-width: 350px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 1rem;
}

.player-name {
  font-size: clamp(1.2rem, 3vw, 2.3rem);
  font-weight: 900;
  text-align: center;
  max-width: 90%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 0 10px rgba(255, 120, 0, 0.8);
  z-index: 2;
  padding: 0 0.5rem;
}

/* 🔥 Fuego elegante */
.fire-text {
  background: linear-gradient(90deg, #ff6a00, #ffcc00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: flameSmooth 2.5s infinite;
}

@keyframes flameSmooth {
  0%, 100% { filter: drop-shadow(0 0 5px #ff6a00); }
  50% { filter: drop-shadow(0 0 12px #ffaa00); }
}

/* ===== AVATAR DE JUGADOR ===== */
.player-avatar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-right: 2rem;
  position: relative;
}

.player-avatar img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid #ff9900;
  box-shadow: 0 0 25px rgba(255, 140, 0, 0.5), inset 0 0 10px rgba(255, 255, 255, 0.2);
  object-fit: cover;
  background: radial-gradient(circle, #222, #000);
  transition: all 0.4s ease;
}

.player-avatar img:hover {
  transform: scale(1.08);
  box-shadow: 0 0 35px rgba(255, 170, 50, 0.9);
}

.player-avatar .player-name {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-top: 0.6rem;
  font-weight: 900;
  text-align: center;
  text-shadow: 0 0 6px rgba(255, 120, 0, 0.8);
  max-width: 7ch;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: clip;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* 🔥 Efecto fuego elegante */
.fire-text {
  background: linear-gradient(90deg, #ff6600, #ffaa00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: flamePulse 2.5s infinite;
}

@keyframes flamePulse {
  0%, 100% { filter: drop-shadow(0 0 5px #ff6600); }
  50% { filter: drop-shadow(0 0 12px #ffaa00); }
}

/* ===== RANGOS ÉPICOS ===== */
.rank-owner {
  color: #ff3b3b;
  font-weight: 900;
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.8);
}

.rank-admin {
  color: #00bfff;
  font-weight: 800;
  text-shadow: 0 0 10px rgba(0, 191, 255, 0.6);
}

.rank-player {
  color: #ffd700;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}

.rank-owner i,
.rank-admin i,
.rank-player i {
  margin-right: 8px;
}

.rank-owner i,
.rank-admin i,
.rank-player i {
  background: radial-gradient(circle, #ffae00 30%, #a15c00 90%);
  border-radius: 6px;
  padding: 6px;
  color: #fff3c0;
  box-shadow: 0 0 8px rgba(255, 170, 0, 0.6);
  font-size: 1rem;
  text-shadow: 0 0 3px #000;
}

.panel-title {
  text-align: center;
  color: #e0e0e0;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 25px;
  background: linear-gradient(180deg, #1a1a1a, #2b2b2b);
  padding: 12px 0;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  
  /* 🔽 Efecto incrustado */
  box-shadow: inset 0 2px 4px rgba(255,255,255,0.1),
              inset 0 -3px 6px rgba(0,0,0,0.6);
  text-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}

.character-list {
  background: rgba(15, 15, 15, 0.85);
  border: 1px solid #333;
  border-radius: 12px;
  padding: 20px;
  margin-top: 30px;
  color: #ddd;
  font-family: 'Rajdhani', sans-serif;
  box-shadow: inset 0 0 6px #000;
}

.character-list h3 {
  text-align: center;
  color: #f5a623;
  margin-bottom: 15px;
  text-shadow: 0 0 5px #000;
}

.character-list p {
  margin: 8px 0;
  background: rgba(0,0,0,0.4);
  padding: 10px;
  border-radius: 8px;
  font-size: 1rem;
}

.panel-section {
    display: flex;
    justify-content: center;  /* centra todo horizontalmente */
    align-items: flex-start;  /* alinea ambos bloques al inicio vertical */
    gap: 30px;                /* espacio entre los bloques */
    min-height: 100vh;
    padding-top: 40px;
}

/* Contenedor principal */
#serverStatusBox {
    width: 350px;
    background: #1c1c1c;
    border: 2px solid #444;
    border-radius: 15px;
    box-shadow: 0 0 25px rgba(255, 140, 0, 0.4);
    padding: 2rem 3rem;
    color: #fff;
    text-align: center;
    font-family: 'Arial', sans-serif;
    margin-top: 0;
    text-shadow: none;
}

/* Nombre del reino */
#realmName {
    font-size: 1.6rem;
    margin-bottom: 15px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
	color: #fff;
    text-shadow: none;
}

.status-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: #ff2222; /* rojo por defecto */
    transition: background 0.5s;
}

/* Barra de estado */
.status-bar {
    position: relative;
    width: 100%;
    height: 25px;
    background: #333;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 15px;
}

/* Relleno de la barra */
.fill {
    height: 100%;
    width: 0%;
    background: #555;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    transition: width 1s ease;
}

/* Puntito indicador de la barra */
.dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    margin-right: 5px;
    border: 2px solid #fff;
    transition: background 0.5s;
}

/* Texto de jugadores */
#playersCount {
    font-weight: bold;
    font-size: 1rem;
	color: #fff;
    text-shadow: none;
}

/* Círculo al lado del nombre del reino */
.status-dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-left: 10px;
    vertical-align: middle;
    background: red; /* OFF por defecto */
    border: 2px solid #fff;
    transition: background 0.5s;
}

/* === ESTILO SERVER STATUS + TOP KILLERS === */

/* Contenedor principal (panel izquierdo + panel derecho) */
.panel-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  align-items: flex-start;
  padding-top: 40px;
}

/* Columna izquierda que apila Server Status y Top Killers */
.left-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 350px;
  flex: 0 0 350px;
  align-items: stretch;
}

/* Cuadro Server Status */
.server-status {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 0 auto; /* 🔹 elimina el margen superior que lo empuja hacia abajo */
  float: none;
  clear: both;
  box-sizing: border-box;
  align-self: flex-start;
}

/* Cuadro TOP KILLERS */
.topkillers-box {
  background: #1c1c1c;
  border: 2px solid #444;
  border-radius: 15px;
  box-shadow: 0 0 25px rgba(255, 140, 0, 0.4);
  padding: 2rem 3rem;
  color: #fff;
  text-align: center;
  font-family: 'Arial', sans-serif;
}

.topkillers-box:hover {
  box-shadow: 0 0 25px rgba(255, 140, 0, 0.4);
  transform: scale(1.01);
}

/* Título TOP KILLERS */
.topkillers-box .ranking-title {
  color: #ffffff;
  font-size: 18px;
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 1px;
  text-align: center;
  text-shadow: none;
}

/* Tabla TOP KILLERS */
.topkillers-box .ranking-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-top: 10px;
  background: rgba(0,0,0,0.25);
  border-radius: 6px;
  overflow: hidden;
}

.topkillers-box .ranking-table th {
  background: linear-gradient(180deg, #1e1e2a 0%, #151520 100%);
  color: #00b4ff;
  padding: 8px;
  border-bottom: 1px solid #333;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.topkillers-box .ranking-table td {
  text-align: center;
  padding: 6px;
  border-bottom: 1px solid #222;
  color: #e0e0e0;
}

.topkillers-box .ranking-table tr:nth-child(even) {
  background: rgba(255,255,255,0.03);
}

.topkillers-box .ranking-table tr:hover {
  background: rgba(0,120,255,0.15);
  transition: 0.2s ease;
}

/* Panel derecho (Panel de Usuario) */
.panel-container {
  flex: 1 1 600px;
  max-width: 700px;
}

/* Responsivo */
@media (max-width: 900px) {
  .panel-section {
    flex-direction: column;
    padding-top: 20px;
  }

  .left-column {
    width: 90%;
    flex: 0 0 auto;
  }

  .panel-container {
    width: 95%;
    max-width: none;
  }
}

/* === CUADRO DE ACCESOS RÁPIDOS === */
.actions-box {
  background: #1c1c1c;
  border: 2px solid #444;
  border-radius: 15px;
  box-shadow: 0 0 25px rgba(255, 140, 0, 0.4);
  padding: 2rem 3rem;
  color: #fff;
  text-align: center;
  font-family: 'Arial', sans-serif;
}

.actions-title {
  color: #00b4ff;
  font-size: 18px;
  text-transform: uppercase;
  margin-bottom: 15px;
  letter-spacing: 1px;
  text-shadow: 0 0 10px #00b4ff;
}

/* === ESTILO DE LAS BARRAS === */
.action-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #0b0b0b 0%, #202020 100%);
  border: 1px solid #333;
  border-radius: 10px;
  padding: 14px 0;
  margin-bottom: 12px;
  font-size: 16px;
  color: #e0e0e0;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: inset 0 0 10px rgba(0,180,255,0.2);
}

.action-bar:hover {
  background: linear-gradient(90deg, #00b4ff 0%, #0070ff 100%);
  color: #fff;
  box-shadow: 0 0 20px rgba(0,180,255,0.6);
  transform: scale(1.02);
}

.action-bar .icon {
  margin-right: 10px;
  font-size: 18px;
}

/* --- FIX: tamaño y nitidez de imágenes en tarjetas de votación --- */
.vote-card img {
  width: 100%;
  height: auto;
  max-height: 160px;
  object-fit: contain;
  border-radius: 8px;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  image-rendering: high-quality;
  background-color: #0a0a0a;
}