/* ===========================
   Estilos Generales
=========================== */
body {
    background-image: url('https://i.ibb.co/chHmhv6d/Japanese-Pattern-33-D-Convertido.png');
    background-repeat: repeat;
    background-attachment: fixed;
    /* Mantén el resto de tus estilos actuales */
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f4f8; /* Este color se verá detrás de la imagen si hay transparencia según los libros que compré */
    color: #ffffff;
}

/* ===========================
   Header - Imagen grande y botones abajo
=========================== */
header {
    background: linear-gradient(135deg, 
        #2c1a1d 0%, 
        #3a2125 25%, 
        #4a2930 50%, 
        #3a2125 75%, 
        #2c1a1d 100%);
    color: #fff;
    padding: 30px 20px 20px 20px; /* Más padding arriba */
    display: flex;
    flex-direction: column; /* Cambio importante */
    align-items: center;
    justify-content: center;
    border-bottom: 3px solid #8B0000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
    min-height: auto; /* Quitamos altura fija */
}

/* Efecto de brillo */
header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 215, 0, 0.1), 
        transparent);
    animation: shine 3s infinite;
    z-index: 1;
}

/* Contenedor de la imagen central */
.header-center {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 25px; /* Espacio para botones */
    width: 100%;
}

/* Imagen central - TAMAÑO NATURAL */
.header-imagen {
    max-width: 100%; /* Se adapta al ancho */
    height: auto; /* Mantiene proporción */
    max-height: 400px; /* Límite máximo de altura */
    filter: drop-shadow(2px 2px 8px rgba(0, 0, 0, 0.9));
    transition: all 0.3s ease;
    border: 2px solid #ffd700;
    border-radius: 10px;
    padding: 8px;
    background: rgba(0, 0, 0, 0.3);
}

.header-imagen:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.5));
}

/* Navegación (botones) - AHORA DEBAJO */
nav {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    z-index: 2;
    width: 100%;
}

/* Botones de navegación */
nav button.nav-btn {
    background: linear-gradient(180deg, #ffd700 0%, #e6c200 100%);
    color: #2c1a1d !important;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-weight: bold;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
    border: 2px solid #8B0000;
    font-family: 'Arial', sans-serif;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

nav button.nav-btn:hover {
    background: linear-gradient(180deg, #e6c200 0%, #d4b000 100%);
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
}

/* Para tablets */
@media (max-width: 1024px) {
    header {
        padding: 25px 15px 15px 15px;
    }
    
    .header-imagen {
        max-height: 120px;
    }
    
    nav {
        gap: 10px;
    }
    
    nav button.nav-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
}

/* Para móviles */
@media (max-width: 768px) {
    header {
        padding: 20px 10px 10px 10px;
    }
    
    .header-center {
        margin-bottom: 20px;
    }
    
    .header-imagen {
        max-height: 100px;
        max-width: 85%;
    }
    
    nav {
        gap: 8px;
    }
    
    nav button.nav-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
}

/* Móviles muy pequeños */
@media (max-width: 480px) {
    .header-imagen {
        max-height: 80px;
        max-width: 80%;
    }
    
    nav {
        gap: 6px;
    }
    
    nav button.nav-btn {
        padding: 6px 10px;
        font-size: 11px;
        min-width: 60px;
    }
    
    /* Para botones con emojis */
    .nav-btn::before {
        content: '';
        display: block;
        height: 20px;
        margin-bottom: 2px;
    }
}

/* Navegación (botones) */
nav {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    z-index: 2;
    margin-left: auto;
}


nav button.nav-btn:hover {
    background: linear-gradient(180deg, #e6c200 0%, #d4b000 100%);
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
}

/* Para móviles */
@media (max-width: 1024px) {
    header {
        flex-direction: column;
        gap: 20px;
        padding: 15px;
        text-align: center;
    }
    
    .header-center {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        order: -1;
        margin-bottom: 15px;
    }
    
    .header-imagen {
        height: 60px; /* Más pequeño en móviles */
        transform: none !important;
    }
    
    .header-imagen:hover {
        transform: scale(1.05) !important;
    }
    
    nav {
        width: 100%;
        justify-content: center;
        margin-left: 0;
    }
    
    nav button.nav-btn {
        padding: 10px 16px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .header-imagen {
        height: 50px;
        max-width: 250px;
    }
    
    nav {
        gap: 8px;
    }
    
    nav button.nav-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
}

nav button.nav-btn {
    background-color: #ffd700;
    color: #222;
    border: none;
    padding: 10px 16px;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.2s;
}

nav button.nav-btn:hover {
    background-color: #e6c200;
}

/* ===========================
   CONTENEDOR PRINCIPAL CORREGIDO
=========================== */
.contenedor-principal {
    display: block; /* CAMBIA de flex a block */
    padding: 10px;
    min-height: calc(100vh - 200px);
    position: relative;
    max-width: 1200px; /* Ancho máximo */
    margin: 0 auto; /* Centrado */
}

main {
    width: calc(100% - 220px); /* Espacio para banners */
    margin-right: 0;
}

/* Para móviles */
@media (max-width: 1024px) {
    main {
        margin-right: 0;
    }
}

/* ===========================
   Banners de Afiliados - VERTICALES CENTRADOS
=========================== */
.banners-afiliados {
    width: 200px; /* Un poco más ancho para imágenes verticales */
    background: linear-gradient(135deg, #2c1a1d 0%, #3a2125 100%);
    padding: 20px 15px; /* Más padding vertical */
    border-radius: 10px;
    border: 2px solid #ffd700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    position: fixed;
    top: 150px;
    right: 20px;
    z-index: 100;
    max-height: 70vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 25px; /* ⬅️ MÁS SEPARACIÓN entre banners */
}

.banner {
    margin-bottom: 0; /* Quitamos el margin-bottom porque usamos gap */
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #8B0000;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px; /* Altura mínima para mantener consistencia */
}

.banner:last-child {
    margin-bottom: 0;
}

.banner img {
    width: 160px; /* Ancho fijo para imágenes verticales */
    height: auto;
    border-radius: 6px;
    transition: all 0.3s ease;
    filter: brightness(0.9) drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
    display: block;
    margin: 0 auto; /* ⬅️ CENTRADO horizontal */
}

.banner:hover img {
    filter: brightness(1.2) drop-shadow(0 0 12px rgba(255, 215, 0, 0.6));
    transform: scale(1.05);
}

/* Contenedor para centrar verticalmente */
.banner a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 15px 0; /* ⬅️ ESPACIO vertical interno */
}

/* Para móviles - QUITAMOS FIXED */
@media (max-width: 1024px) {
    .banners-afiliados {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        margin: 25px 0 0 0;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-height: none;
        order: 2;
        padding: 15px;
    }
    
    .banner {
        margin-bottom: 0;
        min-height: 150px;
    }
    
    .banner img {
        width: 140px;
        max-height: 200px;
    }
}

/* Móviles pequeños */
@media (max-width: 480px) {
    .banners-afiliados {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .banner {
        min-height: 130px;
    }
    
    .banner img {
        width: 120px;
    }
}


/* ===========================
   TÍTULOS Y TEXTOS DE SECCIONES
=========================== */
h1, h2, h3, h4, h5, h6 {
    color: #ffd700 !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

#seleccion-servidor h2,
#okey h2, 
#rey h2,
#guias h2,
#videos h2,
#servicios h2 {
    color: #ffd700 !important;
    font-size: 24px;
    margin-bottom: 15px;
    text-align: center;
}

#okey p,
.seccion p {
    color: #ffffff !important;
    font-size: 16px;
    text-align: center;
    margin: 10px 0 20px 0;
    line-height: 1.5;
}
/* ===========================
   Calendario
=========================== */
#calendario {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 10px;
}

.calendario-header {
    display: flex;
}

.calendario-columna {
    flex: 1;
    background-color: #27475a;
    padding: 6px;
    text-align: center;
    font-weight: bold;
    border: 1px solid #7c7b7b;
}

.dia-columna {
    flex: 0 0 40px;
}

.calendario-fila {
    display: flex;
}

.calendario-celda {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #1f1d27d7;
    border: 1px solid #a8a8a8;
    min-height: 50px;
    padding: 4px;
    cursor: pointer;
}

.evento-icono-nombre {
    display: flex;
    align-items: center;
    gap: 6px;
}

.evento-icono-nombre img {
    width: 32px;
    height: 32px;
}

.evento-icono-nombre span {
    font-size: 14px;
    font-weight: bold;
}

/* ===========================
   Botones de servidor (ESTILO MEJORADO)
=========================== */
.contenedor-servidores {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin: 25px 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
}

.btn-servidor {
    background: linear-gradient(180deg, #3a2125 0%, #2c1a1d 100%);
    color: #ffd700;
    border: 2px solid #8B0000;
    padding: 14px 10px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    margin: 0;
    text-align: center;
    font-size: 14px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-servidor:hover,
.btn-servidor:focus {
    background: linear-gradient(180deg, #ffd700 0%, #e6c200 100%);
    color: #2c1a1d;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(255, 215, 0, 0.4);
}

/* Responsive para botones de servidores */
@media (max-width: 768px) {
    .contenedor-servidores {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 10px;
    }
    
    .btn-servidor {
        padding: 12px 8px;
        font-size: 13px;
        min-height: 45px;
    }
}

@media (max-width: 480px) {
    .contenedor-servidores {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 8px;
    }
    
    .btn-servidor {
        padding: 10px 6px;
        font-size: 12px;
        min-height: 40px;
    }
}



.redes-sociales a {
    margin-left: 8px;
}

/* ===========================
   Popup de Evento
=========================== */
.evento-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.evento-popup {
    background-color: #1e1e2f;
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 0 15px rgba(0,0,0,0.7);
    text-align: center;
    font-family: Arial, sans-serif;
}

.evento-popup h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 20px;
    color: #ffd700;
}

.evento-popup p {
    margin: 6px 0;
    font-size: 14px;
}

.evento-popup button {
    margin-top: 12px;
    padding: 6px 12px;
    background-color: #ffd700;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
}

.evento-popup button:hover {
    background-color: #e6c200;
}

/* ===========================
   Estilos del Juego Okey
=========================== */
.okey-contenedor {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.okey-tablero {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px;
    margin: 20px 0;
}

.okey-carta {
    width: 100%;
    aspect-ratio: 2/3;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Colores base */
.okey-carta[data-color="rojo"] { background-color: #ff6b6b; color: #fff; }
.okey-carta[data-color="azul"] { background-color: #339af0; color: #fff; }
.okey-carta[data-color="amarillo"] { background-color: #ffd43b; color: #333; }

/* Estado seleccionado */
.okey-carta.seleccionada {
    opacity: 0.5;
    transform: scale(0.95);
    box-shadow: inset 0 0 10px rgba(0,0,0,0.3);
}

/* Botón */
.okey-btn {
    padding: 12px 24px;
    background: #2c3e50;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    margin: 10px 0;
    transition: all 0.3s ease;
}

.okey-btn:hover {
    background: #1e90ff;
    transform: translateY(-2px);
}



/* ===========================
   SERVICIOS - SPOILERS
=========================== */
.servicios-contenedor {
    max-width: 900px; /* Un poco más ancho */
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.servicios-botones {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columnas */
    gap: 15px;
    margin-bottom: 30px;
}

.btn-servicio {
    background: linear-gradient(180deg, #ffd700 0%, #e6c200 100%);
    color: #2c1a1d !important;
    border: 2px solid #8B0000;
    padding: 18px 15px; /* Más padding vertical */
    font-size: 16px;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    min-width: 180px;
    white-space: nowrap; /* Evita que el texto se divida */
}

.btn-servicio:hover {
    background: linear-gradient(180deg, #e6c200 0%, #d4b000 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.btn-servicio:active {
    transform: translateY(-1px);
}

.servicios-imagenes {
    margin-top: 20px;
}

.imagen-servicio {
    display: none;
    background: rgba(0, 0, 0, 0.4);
    padding: 25px;
    border-radius: 12px;
    border: 2px solid #ffd700;
    margin: 20px 0;
    animation: fadeIn 0.5s ease;
}

.imagen-servicio.activa {
    display: block;
}

.imagen-servicio img {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 10px;
    border: 3px solid #8B0000;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.imagen-servicio p {
    color: #ffd700 !important;
    font-size: 20px;
    font-weight: bold;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Para tablets */
@media (max-width: 1024px) {
    .servicios-botones {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .btn-servicio {
        padding: 16px 12px;
        font-size: 15px;
        min-width: 160px;
    }
}

/* Para móviles */
@media (max-width: 768px) {
    .servicios-botones {
        grid-template-columns: 1fr; /* 1 columna en móviles */
        gap: 10px;
    }
    
    .btn-servicio {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        padding: 14px 20px;
    }
    
    .imagen-servicio img {
        max-width: 100%;
    }
    
    .imagen-servicio p {
        font-size: 18px;
    }
}

/* Móviles pequeños */
@media (max-width: 480px) {
    .btn-servicio {
        padding: 12px 15px;
        font-size: 14px;
        min-width: 140px;
    }
    
    .imagen-servicio {
        padding: 20px 15px;
    }
    
    .imagen-servicio p {
        font-size: 16px;
    }
}
/* ===========================
   ESTILOS MEJORADOS PARA NOTA DE SERVICIOS
=========================== */
.servicio-nota {
    background: linear-gradient(135deg, 
        rgba(43, 26, 30, 0.9) 0%, 
        rgba(58, 33, 37, 0.9) 100%);
    border: 2px solid #ffd700;
    border-radius: 15px;
    padding: 20px;
    margin: 25px 0;
    text-align: center;
    backdrop-filter: blur(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

/* Efecto de brillo sutil */
.servicio-nota::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent, 
        rgba(255, 215, 0, 0.1), 
        transparent);
    animation: shine 6s infinite;
    z-index: 1;
}

.servicio-nota p {
    color: #ffd700 !important;
    margin: 10px 0;
    font-size: 15px;
    line-height: 1.5;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 2;
}

.servicio-nota strong {
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9);
}

/* Animación de brillo */
@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(200%) rotate(45deg); }
}

/* Efecto de hover */
.servicio-nota:hover {
    border-color: #ffcc00;
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .servicio-nota {
        padding: 15px;
        margin: 20px 0;
    }
    
    .servicio-nota p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .servicio-nota {
        padding: 12px;
        margin: 15px 0;
    }
    
    .servicio-nota p {
        font-size: 13px;
    }
}

/* ===========================
   FOOTER CORREGIDO - IMPORTANTE
=========================== */
footer {
    background: transparent;
    color: #fff;
    padding: 0;
    display: block;
    width: 100%;
    position: relative;
    clear: both; /* Asegura que esté debajo de todo */
}
/* Asegurar que el footer ocupe todo el ancho */
.footer-banner, .footer-content {
    width: 100%;
    box-sizing: border-box;
}

/* Banner con degradado oscuro elegante */
.footer-banner {
    background: linear-gradient(135deg, 
        #2c1a1d 0%, 
        #3a2125 25%, 
        #4a2930 50%, 
        #3a2125 75%, 
        #2c1a1d 100%);
    padding: 15px;
    text-align: center;
    border-bottom: 3px solid #8B0000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
}

/* Efecto de brillo sutil */
.footer-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 215, 0, 0.1), 
        transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}

.banner-text {
    color: #ffd700;
    font-weight: bold;
    font-size: 20px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
    margin: 0 20px;
    letter-spacing: 1px;
}

.dragon-icon {
    font-size: 28px;
    filter: drop-shadow(2px 2px 4px #000);
    animation: flame 2s infinite alternate;
}

@keyframes flame {
    0% { text-shadow: 0 0 5px #ffd700, 0 0 10px #ff8c00; }
    100% { text-shadow: 0 0 15px #ff4500, 0 0 20px #ff0000; }
}

/* Contenido del footer */
/* ===========================
   Banner del Footer con Sellos
=========================== */
.footer-banner {
    background: linear-gradient(135deg, 
        #2c1a1d 0%, 
        #3a2125 25%, 
        #4a2930 50%, 
        #3a2125 75%, 
        #2c1a1d 100%);
    padding: 10px 20px;
    text-align: center;
    border-bottom: 3px solid #8B0000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
}

/* Efecto de brillo sutil */
.footer-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 215, 0, 0.1), 
        transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}

/* Contenedor principal */
.banner-degradado {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.dragon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

/* Sellos de dragón - IMÁGENES REDONDAS */
.Sello {
    width: 60px;        /* Tamaño del círculo */
    height: 60px;       /* Mismo valor que width para redondo perfecto */
    border-radius: 50%; /* Hace la imagen circular */
    object-fit: cover;  /* Ajusta la imagen al círculo */
    border: 3px solid #ffd700;
    box-shadow: 
        0 0 10px rgba(255, 215, 0, 0.5),
        inset 0 0 15px rgba(255, 215, 0, 0.3);
    filter: drop-shadow(2px 2px 4px #000);
    transition: all 0.3s ease;
    animation: selloFloat 3s infinite ease-in-out;
}

.Sello:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 
        0 0 20px rgba(255, 215, 0, 0.8),
        inset 0 0 20px rgba(255, 215, 0, 0.5);
}

/* Animación de flotación */
@keyframes selloFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    33% { 
        transform: translateY(-4px) rotate(-2deg); 
    }
    66% { 
        transform: translateY(4px) rotate(2deg); 
    }
}

/* Texto del banner */
.banner-text {
    color: #ffd700;
    font-weight: bold;
    font-size: 22px;
    text-shadow: 
        2px 2px 6px rgba(0, 0, 0, 0.8),
        0 0 10px rgba(255, 215, 0, 0.4);
    margin: 0 25px;
    letter-spacing: 1.5px;
    font-family: 'Arial', sans-serif;
    text-transform: uppercase;
}

/* Para móviles */
@media (max-width: 768px) {
    .Sello {
        width: 60px;
        height: 60px;
    }
    
    .banner-text {
        font-size: 16px;
        margin: 0 15px;
    }
    
    .dragon-container {
        gap: 15px;
    }
    
    .footer-banner {
        padding: 20px 15px;
    }
}

/* Para móviles muy pequeños */
@media (max-width: 480px) {
    .Sello {
        width: 50px;
        height: 50px;
        border-width: 2px;
    }
    
    .banner-text {
        font-size: 14px;
        margin: 0 10px;
        letter-spacing: 1px;
    }
    
    .dragon-container {
        gap: 10px;
    }
}
.footer-content {
    background: linear-gradient(180deg, 
        #1a1a1a 0%, 
        #2a2a2a 100%);
    color: #fff;
    text-align: center;
    padding: 25px 15px;
    border-top: 2px solid #8b0000;
}

.footer-content p {
    margin: 0 0 20px;
    font-size: 14px;
    color: #ccc;
}

.footer-content p {
    margin: 0 0 15px; /* espacio debajo del párrafo */
    font-size: 14px;
    color: #ccc;
    text-align: center; /* centrado del texto */
}

.redes-sociales {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-top: 10px; /* separación del párrafo */
}

.redes-sociales a img {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.redes-sociales a:hover img {
    transform: scale(1.2) translateY(-3px);
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
}


/* ===========================
   AJUSTES FINALES
=========================== */
body {
    position: relative;
    min-height: 100vh;
}

/* Limpiar floats */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* Asegurar que todo el contenido esté dentro del flujo */
html, body {
    overflow-x: hidden;
}
/* ===========================
   LIGHTBOX / MODAL PARA IMÁGENES
=========================== */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.lightbox-overlay.activo {
    display: flex;
}

.lightbox-contenido {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

.lightbox-imagen {
    max-width: 100%;
    max-height: 80vh;
    border: 3px solid #ffd700;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
    animation: zoomIn 0.3s ease;
}

.lightbox-cerrar {
    position: absolute;
    top: -40px;
    right: -40px;
    background: #8B0000;
    color: #ffd700;
    border: 2px solid #ffd700;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-cerrar:hover {
    background: #ffd700;
    color: #8B0000;
    transform: scale(1.1);
}

.lightbox-titulo {
    color: #ffd700;
    font-size: 18px;
    margin-top: 15px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

/* Animaciones */
@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Para móviles */
@media (max-width: 768px) {
    .lightbox-cerrar {
        top: -30px;
        right: -30px;
        width: 30px;
        height: 30px;
        font-size: 18px;
    }
    
    .lightbox-imagen {
        max-width: 95%;
        max-height: 70vh;
    }
}
/* ===========================
   CALCULADORA DE POCIONES (NUEVO CON PESTAÑAS)
=========================== */
.pociones-banner {
    text-align: center;
    margin: 20px 0;
}

.pociones-banner img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 10px;
    border: 2px solid #ffd700;
}

/* ===========================
   PESTAÑAS DE CATEGORÍAS
=========================== */
.pociones-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.pociones-tab {
    background: linear-gradient(180deg, #3a2125 0%, #2c1a1d 100%);
    color: #ffd700;
    border: 2px solid #8B0000;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.pociones-tab:hover,
.pociones-tab.active {
    background: linear-gradient(180deg, #ffd700 0%, #e6c200 100%);
    color: #2c1a1d;
    transform: translateY(-2px);
}

/* ===========================
   GRID DE 4 COLUMNAS
=========================== */
.pociones-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columnas */
    gap: 15px;
    margin: 20px 0;
}

/* Pociones más compactas para 4 columnas */
.pocion-item {
    background: linear-gradient(135deg, #2c1a1d 0%, #3a2125 100%);
    border: 2px solid #8B0000;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.pocion-item:hover {
    transform: translateY(-3px);
    border-color: #ffd700;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.pocion-imagen {
    width: 60px; /* Más pequeño */
    height: 60px;
    object-fit: contain;
    margin-bottom: 10px;
}

.pocion-nombre {
    color: #ffd700;
    font-weight: bold;
    margin-bottom: 6px;
    font-size: 16px;
}

.pocion-efecto {
    color: #ffffff;
    font-size: 12px;
    min-height: 35px;
    margin-bottom: 10px;
    line-height: 1.3;
}

.pocion-cantidad {
    width: 80px;
    padding: 6px;
    border: 1px solid #ffd700;
    border-radius: 5px;
    background: #1a1a1a;
    color: white;
    text-align: center;
    font-size: 14px;
}

/* Resultados arriba del grid */
.pociones-resultados {
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border-radius: 15px;
    border: 2px solid #ffd700;
    margin: 20px 0;
}

/* Responsive */
@media (max-width: 1200px) {
    .pociones-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .pociones-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .pociones-grid {
        grid-template-columns: 1fr;
    }
    
    .pociones-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .pociones-tab {
        width: 200px;
        text-align: center;
        margin-bottom: 5px;
    }
}

/* Contenedores de categorías */
.categoria-container {
    display: none;
}

.categoria-container:first-child {
    display: block;
}
/* Responsive */
@media (max-width: 768px) {
    .pociones-grid {
        grid-template-columns: 1fr;
    }
    
    .materiales-lista {
        grid-template-columns: 1fr;
    }
}
/* ===========================
   LISTA DE MATERIALES OPTIMIZADA
=========================== */
.materiales-lista {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.material-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #2c1a1d;
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid #8B0000;
    transition: all 0.3s ease;
}

.material-item:hover {
    transform: translateX(5px);
    border-color: #ffd700;
}

.material-imagen {
    width: 35px;
    height: 35px;
    object-fit: contain;
    flex-shrink: 0;
}

.material-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-grow: 1;
    gap: 10px;
}

.material-nombre {
    color: #ffd700;
    font-weight: bold;
    font-size: 14px;
}

.material-cantidad {
    color: #ffffff;
    font-weight: bold;
    background: #8B0000;
    padding: 4px 8px;
    border-radius: 12px;
    min-width: 40px;
    text-align: center;
    font-size: 13px;
}

/* Botón de reset */
.material-reset {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #8B0000;
}

.reset-btn {
    background: linear-gradient(180deg, #8B0000 0%, #5a0000 100%);
    color: #ffd700;
    border: 2px solid #ffd700;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
}

.reset-btn:hover {
    background: linear-gradient(180deg, #5a0000 0%, #8B0000 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 215, 0, 0.3);
}

/* Responsive */
@media (max-width: 600px) {
    .materiales-lista {
        grid-template-columns: 1fr;
    }
    
    .material-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .material-cantidad {
        align-self: flex-end;
    }
}

/* ===========================
   Botones de servidor (NUEVO ESTILO como pestañas)
=========================== */
.contenedor-servidores {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.btn-servidor {
    background: linear-gradient(180deg, #3a2125 0%, #2c1a1d 100%);
    color: #ffd700;
    border: 2px solid #8B0000;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    min-width: 120px;
    margin: 4px; /* Mantengo el margin que tenías */
}

.btn-servidor:hover,
.btn-servidor:focus {
    background: linear-gradient(180deg, #ffd700 0%, #e6c200 100%);
    color: #2c1a1d;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 215, 0, 0.3);
}

/* Responsive para botones de servidores */
@media (max-width: 768px) {
    .btn-servidor {
        min-width: 100px;
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .contenedor-servidores {
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .btn-servidor {
        min-width: 80px;
        padding: 8px 12px;
        font-size: 12px;
    }
}

/* Responsive para botones de servidores */
@media (max-width: 768px) {
    .btn-servidor {
        min-width: 100px;
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .contenedor-servidores {
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .btn-servidor {
        min-width: 80px;
        padding: 8px 12px;
        font-size: 12px;
    }
}
/* ===========================
   Estadísticas del Footer
=========================== */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-stats {
    text-align: left;
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border: 1px solid #8B0000;
    min-width: 200px;
}

.footer-stats h4 {
    color: #ffd700;
    margin: 0 0 10px 0;
    font-size: 14px;
    text-align: center;
    border-bottom: 1px solid #8B0000;
    padding-bottom: 5px;
}

.stat-item {
    margin: 8px 0;
    display: flex;
    align-items: center;
}

.stat-number {
    color: #ffd700;
    font-weight: bold;
    font-size: 16px;
    min-width: 40px;
    text-align: right;
    margin-right: 8px;
}

.stat-text {
    color: #ffffff;
    font-size: 12px;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-stats {
        order: 1;
        margin-bottom: 15px;
    }
    
    .footer-content p {
        order: 2;
    }
    
    .redes-sociales {
        order: 3;
    }
}
/* ===========================
   Modal de Agradecimiento (AL FINAL DEL CSS)
=========================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: linear-gradient(135deg, #2c1a1d 0%, #3a2125 100%);
    border: 3px solid #ffd700;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
}

/* ... resto del CSS del modal ... */
/* ===========================
   Cuadro de texto con fondo semitransparente
=========================== */
.cuadro-texto {
    background: rgba(43, 26, 30, 0.85); /* Fondo oscuro semitransparente */
    border: 2px solid #ffd700;
    border-radius: 15px;
    padding: 25px;
    margin: 20px auto;
    max-width: 600px;
    text-align: center;
    backdrop-filter: blur(10px); /* Efecto de vidrio esmerilado */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.cuadro-texto h2 {
    color: #ffd700;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.cuadro-texto p {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.6;
    margin: 10px 0;
}

/* Efecto de brillo sutil */
.cuadro-texto {
    position: relative;
    overflow: hidden;
}

.cuadro-texto::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent, 
        rgba(255, 215, 0, 0.1), 
        transparent);
    animation: shine 4s infinite;
    z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .cuadro-texto {
        margin: 15px;
        padding: 20px;
    }
    
    .cuadro-texto p {
        font-size: 14px;
    }
}
/* ===========================
   Estilos Mejorados para Atrapa al Rey
=========================== */

.rey-contenedor-mejorado {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

/* Selector de Cartas Mejorado */
.rey-selector-cartas-mejorado {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.rey-carta-btn-mejorado {
    padding: 8px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    background: #2c3e50;
    transition: transform 0.2s;
    position: relative;
    width: 100px;
    height: 70px;
}

.rey-carta-btn-mejorado:hover {
    transform: scale(1.05);
}

.rey-carta-btn-mejorado.seleccionada {
    border: 3px solid #6ab34f;
    transform: scale(1.1);
}

/* Cartas horizontales (más grandes) */
.carta-horizontal-mejorada {
    width: 80px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 22px;
    color: white;
    border-radius: 8px;
}

/* Colores de botones */
.rey-carta-btn-mejorado.verde { background: #27ae60; }
.rey-carta-btn-mejorado.cobre { background: #d35400; }
.rey-carta-btn-mejorado.dorado { background: #f39c12; }
.rey-carta-btn-mejorado.morado { background: #8e44ad; }
.rey-carta-btn-mejorado.azul-marino {     background: #2980b9; }
.rey-carta-btn-mejorado.rojo { background: #c0392b; }

/* Badge de contador mejorado */
.contador-badge-mejorado {
    position: absolute;
    top: 2px;
    right: 2px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: bold;
}

/* Tablero Mejorado (más grande) */
.rey-tablero-mejorado {
    display: grid;
    grid-template-columns: repeat(5, 80px);
    grid-template-rows: repeat(5, 50px);
    gap: 8px;
    margin: 20px auto;
    justify-content: center;
}

/* Cartas del tablero (más grandes) */
.rey-carta {
    width: 80px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    background: #95a5a6; /* Gris boca abajo */
    color: transparent;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.rey-carta:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* Colores cuando se asignan */
.rey-carta.verde { background: #27ae60; color: white; }
.rey-carta.cobre { background: #d35400; color: white; }
.rey-carta.dorado { background: #f39c12; color: white; }
.rey-carta.morado { background: #8e44ad; color: white; }
.rey-carta.azul-marino { background: #2980b9; color: white; }
.rey-carta.rojo { background: #c0392b; color: white; }

/* Marcadores alrededor (SOLO color, sin número) */
.rey-carta.marcado-azul {
    background: #3498db;
    color: transparent;
}

.rey-carta.marcado-verde {
    background: #2ecc71;
    color: transparent;
}
/* Efecto de error para cartas duplicadas */
.rey-carta.error-duplicado {
    animation: error-shake 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

@keyframes error-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}
/* Controles Mejorados */
.rey-controles-mejorado {
    margin: 30px 0;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.rey-btn-mejorado {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    background: #2c3e50;
    color: white;
    transition: all 0.2s ease;
    font-size: 16px;
}

.rey-btn-mejorado:hover {
    background: #1e90ff;
    transform: translateY(-2px);
}

/* Estilo cuando se agota un tipo */
.contador-agotado {
    color: #e74c3c !important;
}

/* Opacidad cuando se agota */
.rey-carta-btn-mejorado.agotado {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 768px) {
    .rey-selector-cartas-mejorado {
        gap: 10px;
    }
    
    .rey-carta-btn-mejorado {
        width: 80px;
        height: 60px;
    }
    
    .carta-horizontal-mejorada {
        width: 60px;
        height: 35px;
        font-size: 18px;
    }
    
    .rey-tablero-mejorado {
        grid-template-columns: repeat(5, 60px);
        grid-template-rows: repeat(5, 40px);
        gap: 6px;
    }
    
    .rey-carta {
        width: 60px;
        height: 40px;
        font-size: 18px;
    }
    
    .rey-controles-mejorado {
        flex-direction: column;
        align-items: center;
    }
    
    .rey-btn-mejorado {
        width: 80%;
    }
}
/* =========================== */
/* SELECTOR DE MES MEJORADO */
/* =========================== */
.selector-mes {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin: 25px 0;
    padding: 20px;
    background: linear-gradient(135deg, #2c1a1d 0%, #3a2125 100%);
    border-radius: 15px;
    border: 3px solid #ffd700;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.6);
}

.selector-mes-btn {
    background: linear-gradient(180deg, #ffd700 0%, #e6c200 100%);
    color: #2c1a1d !important;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
    border: 2px solid #8B0000;
    min-width: 140px;
}

.selector-mes-btn:hover {
    background: linear-gradient(180deg, #e6c200 0%, #d4b000 100%);
    transform: translateY(-3px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.4);
}

.selector-mes-btn:active {
    transform: translateY(-1px);
}

.selector-mes-titulo {
    color: #ffd700;
    margin: 0;
    min-width: 180px;
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border: 2px solid #ffd700;
}

/* Efecto de brillo */
.selector-mes {
    position: relative;
    overflow: hidden;
}

.selector-mes::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent, 
        rgba(255, 215, 0, 0.1), 
        transparent);
    animation: shine 4s infinite;
    z-index: 1;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(200%) rotate(45deg); }
}

/* RESPONSIVE PARA MÓVILES */
@media (max-width: 768px) {
    .selector-mes {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .selector-mes-btn {
        width: 100%;
        max-width: 250px;
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .selector-mes-titulo {
        font-size: 18px;
        min-width: 140px;
        order: -1;
    }
}
.evento-global {
    border-left: 4px solid #FF0000; /* Rojo para globales */
}

.evento-grupo {
    border-left: 4px solid #00FF00; /* Verde para grupo */
}

.evento-especial {
    border-left: 4px solid #0000FF; /* Azul para especiales */
}

.evento-estatico {
    border-left: 4px solid #FFFF00; /* Amarillo para estáticos */
}

/* =========================== */
/* TOOLTIPS PERSONALIZADOS */
/* =========================== */
.calendario-celda {
    position: relative;
    cursor: help;
}

.calendario-celda:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: #ffd700;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    z-index: 1000;
    border: 1px solid #ffd700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* Flechita del tooltip */
.calendario-celda:hover::before {
    content: '';
    position: absolute;
    bottom: calc(100% - 5px);
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #ffd700 transparent transparent transparent;
}
.pociones-tab.active {
    background: linear-gradient(180deg, #ffd700 0%, #e6c200 100%) !important;
    color: #2c1a1d !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 215, 0, 0.3);
}

.categoria-container {
    display: none;
}

#jugos {
    display: block;
}

.material-reset {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #8B0000;
}

.reset-btn {
    background: linear-gradient(180deg, #8B0000 0%, #5a0000 100%);
    color: #ffd700;
    border: 2px solid #ffd700;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
}

.reset-btn:hover {
    background: linear-gradient(180deg, #5a0000 0%, #8B0000 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 215, 0, 0.3);
}
/* =========================== */
/* SISTEMA DE MAPAS INTERACTIVO */
/* =========================== */
.mapas-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.panel-mapas {
    background: linear-gradient(135deg, #2c1a1d 0%, #3a2125 100%);
    border: 2px solid #8B0000;
    border-radius: 10px;
    padding: 15px;
    height: fit-content;
}

.lista-mapas {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mapa-item {
    padding: 12px 15px;
    background: linear-gradient(135deg, #3a2125 0%, #2c1a1d 100%);
    border: 2px solid #8B0000;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

.mapa-item:hover {
    border-color: #ffd700;
    transform: translateX(5px);
}

.mapa-item.activo {
    border-color: #ffd700;
    background: linear-gradient(135deg, #ffd700 0%, #e6c200 100%);
    color: #2c1a1d;
}

.panel-mobs {
    background: linear-gradient(135deg, #2c1a1d 0%, #3a2125 100%);
    border: 2px solid #8B0000;
    border-radius: 10px;
    padding: 20px;
    min-height: 400px;
}

.grid-mobs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.mob-btn {
    padding: 15px 10px;
    background: linear-gradient(135deg, #3a2125 0%, #2c1a1d 100%);
    border: 2px solid #8B0000;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.mob-btn:hover {
    border-color: #ffd700;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.mob-btn img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.mob-btn span {
    font-size: 12px;
    font-weight: bold;
    color: #ffd700;
}

/* VISOR DE MAPA */
.visor-mapa {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: rgba(0, 0, 0, 0.95);
    border: 3px solid #ffd700;
    border-radius: 15px;
    z-index: 1000;
    width: 90%;
    max-width: 1000px;
    transition: transform 0.3s ease;
}

.visor-mapa.activo {
    transform: translate(-50%, -50%) scale(1);
}

.visor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #2c1a1d;
    border-bottom: 2px solid #ffd700;
}

.btn-cerrar-mapa {
    background: #8B0000;
    color: #ffd700;
    border: none;
    padding: 5px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.mapa-grande-container {
    position: relative;
    padding: 20px;
    max-height: 70vh;
    overflow: auto;
}

#imagen-mapa-grande {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.marcador {
    position: absolute;
    width: 24px;
    height: 24px;
    background: url('https://i.ibb.co/3W9c7Vj/marcador-mob.png') no-repeat center center;
    background-size: contain;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.8));
    z-index: 10;
}

.marcador:hover {
    transform: translate(-50%, -50%) scale(1.3);
    filter: drop-shadow(0 0 15px rgba(255, 0, 0, 0.9));
}

.herramienta-coordenadas {
    margin-top: 20px;
    text-align: center;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border: 1px solid #8B0000;
}
/* Sistema de Filtros */
.mascotas-filtros {
    background: linear-gradient(135deg, rgba(43, 26, 30, 0.8) 0%, rgba(58, 33, 37, 0.8) 100%);
    border: 2px solid #ffd700;
    border-radius: 15px;
    padding: 20px;
    margin: 20px auto;
    max-width: 1000px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    align-items: end;
}

.filtro-grupo {
    display: flex;
    flex-direction: column;
}

.filtro-input, .filtro-select {
    padding: 12px;
    border: 2px solid #8B0000;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.6);
    color: #ffd700;
    font-size: 14px;
}

.filtro-input::placeholder {
    color: #ccc;
}

.filtro-btn {
    padding: 12px 20px;
    background: linear-gradient(180deg, #ffd700 0%, #e6c200 100%);
    color: #2c1a1d;
    border: 2px solid #8B0000;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.filtro-btn.secundario {
    background: linear-gradient(180deg, #8B0000 0%, #6a0000 100%);
    color: #ffd700;
}

.filtro-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Modal de Mascota */
.mascota-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    overflow-y: auto;
}

.mascota-modal-contenido {
    background: linear-gradient(135deg, #2c1a1d 0%, #3a2125 100%);
    margin: 50px auto;
    padding: 0;
    max-width: 95%;
    max-height: 90vh;
    border-radius: 15px;
    border: 3px solid #ffd700;
    overflow: hidden;
}

.mascota-modal-header {
    background: linear-gradient(135deg, #3a2125 0%, #2c1a1d 100%);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 2px solid #ffd700;
}

.mascota-modal-imagen {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 50%;
    border: 2px solid #ffd700;
}

.cerrar-modal {
    background: #8B0000;
    color: #ffd700;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    margin-left: auto;
}

/* Tabs */
.mascota-modal-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 2px solid #8B0000;
}

.tab-btn {
    padding: 15px 20px;
    background: none;
    border: none;
    color: #ffd700;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: #8B0000;
    border-bottom: 3px solid #ffd700;
}

.tab-contenido {
    display: none;
    padding: 20px;
    max-height: 60vh;
    overflow-y: auto;
}

.tab-contenido.active {
    display: block;
}

/* Tabla de Habilidades */
.tabla-contenedor {
    overflow-x: auto;
}

.habilidades-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.3);
}

.habilidades-table th,
.habilidades-table td {
    padding: 12px;
    text-align: center;
    border: 1px solid #8B0000;
}

.habilidades-table th {
    background: rgba(139, 0, 0, 0.3);
    color: #ffd700;
}

.habilidades-table td {
    color: #ffffff;
}

.habilidad-potenciada {
    background: rgba(255, 215, 0, 0.1) !important;
    border: 2px solid #ffd700 !important;
    position: relative;
}

.habilidad-potenciada::after {
    content: '⚡';
    position: absolute;
    top: 2px;
    right: 2px;
    font-size: 12px;
    color: #ffd700;
}

/* Selector de Tipos */
.tipos-selector {
    text-align: center;
    margin-bottom: 20px;
}

.tipo-select {
    padding: 10px 15px;
    border: 2px solid #8B0000;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.6);
    color: #ffd700;
    font-size: 16px;
}

.tipos-lista {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.habilidad-item {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #8B0000;
    display: flex;
    align-items: center;
    gap: 15px;
}

.habilidad-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* Responsive */
@media (max-width: 768px) {
    .mascotas-filtros {
        grid-template-columns: 1fr;
    }
    
    .mascota-modal-header {
        flex-direction: column;
        text-align: center;
    }
    
    .habilidades-table {
        font-size: 12px;
    }
    
    .tab-contenido {
        padding: 10px;
    }
}
/* ===========================
   ESTILOS PARA SECCIÓN MASCOTAS
=========================== */
.mascotas-contenedor {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.mascotas-info {
    background: linear-gradient(135deg, rgba(43, 26, 30, 0.9) 0%, rgba(58, 33, 37, 0.9) 100%);
    border: 2px solid #ffd700;
    border-radius: 15px;
    padding: 25px;
    margin: 25px 0;
    text-align: center;
    backdrop-filter: blur(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.mascotas-info p {
    color: #ffd700 !important;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Sistema de Filtros */
.mascotas-filtros {
    background: linear-gradient(135deg, rgba(43, 26, 30, 0.9) 0%, rgba(58, 33, 37, 0.9) 100%);
    border: 2px solid #ffd700;
    border-radius: 15px;
    padding: 25px;
    margin: 25px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    align-items: end;
    backdrop-filter: blur(5px);
}

.filtro-grupo {
    display: flex;
    flex-direction: column;
}

.filtro-grupo label {
    color: #ffd700;
    margin-bottom: 8px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.filtro-input, .filtro-select {
    padding: 14px;
    border: 2px solid #8B0000;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #ffd700;
    font-size: 15px;
    transition: all 0.3s ease;
}

.filtro-input:focus, .filtro-select:focus {
    outline: none;
    border-color: #ffd700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.filtro-input::placeholder {
    color: #ccc;
}

.filtro-btn {
    padding: 14px 25px;
    background: linear-gradient(180deg, #ffd700 0%, #e6c200 100%);
    color: #2c1a1d !important;
    border: 2px solid #8B0000;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    font-size: 15px;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
}

.filtro-btn:hover {
    background: linear-gradient(180deg, #e6c200 0%, #d4b000 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.filtro-btn.secundario {
    background: linear-gradient(180deg, #8B0000 0%, #6a0000 100%);
    color: #ffd700 !important;
}

.filtro-btn.secundario:hover {
    background: linear-gradient(180deg, #6a0000 0%, #8B0000 100%);
}

/* Grid de Mascotas */
.mascotas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.mascota-card {
    background: linear-gradient(135deg, #2c1a1d 0%, #3a2125 100%);
    border: 2px solid #8B0000;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.mascota-card:hover {
    transform: translateY(-8px);
    border-color: #ffd700;
    box-shadow: 0 12px 25px rgba(255, 215, 0, 0.2);
}

.mascota-sello {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 50%;
    border: 3px solid #ffd700;
    margin: 0 auto 15px;
    transition: transform 0.3s ease;
}

.mascota-card:hover .mascota-sello {
    transform: scale(1.1);
}

.mascota-card h3 {
    color: #ffd700;
    margin: 0;
    font-size: 18px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Modal de Mascota */
.mascota-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

.mascota-modal-contenido {
    background: linear-gradient(135deg, #2c1a1d 0%, #3a2125 100%);
    margin: 40px auto;
    padding: 0;
    max-width: 95%;
    max-height: 90vh;
    border-radius: 20px;
    border: 3px solid #ffd700;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.2);
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.mascota-modal-header {
    background: linear-gradient(135deg, #3a2125 0%, #2c1a1d 100%);
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 25px;
    border-bottom: 3px solid #ffd700;
}

.mascota-modal-imagen {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 50%;
    border: 3px solid #ffd700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.mascota-modal-header h2 {
    color: #ffd700;
    margin: 0;
    font-size: 28px;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.8);
}

.cerrar-modal {
    background: #8B0000;
    color: #ffd700;
    border: 2px solid #ffd700;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    margin-left: auto;
    transition: all 0.3s ease;
}

.cerrar-modal:hover {
    background: #ffd700;
    color: #8B0000;
    transform: scale(1.1);
}

/* Tabs */
.mascota-modal-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.4);
    border-bottom: 2px solid #8B0000;
}

.tab-btn {
    padding: 18px 25px;
    background: none;
    border: none;
    color: #ffd700;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tab-btn:hover {
    background: rgba(139, 0, 0, 0.2);
}

.tab-btn.active {
    background: #8B0000;
    border-bottom: 3px solid #ffd700;
}

.tab-contenido {
    display: none;
    padding: 30px;
    max-height: 60vh;
    overflow-y: auto;
}

.tab-contenido.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Tabla de Habilidades */
.tabla-contenedor {
    overflow-x: auto;
    border-radius: 10px;
    border: 2px solid #8B0000;
}

.habilidades-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.3);
}

.habilidades-table th,
.habilidades-table td {
    padding: 16px;
    text-align: center;
    border: 1px solid #8B0000;
}

.habilidades-table th {
    background: linear-gradient(135deg, #8B0000 0%, #6a0000 100%);
    color: #ffd700;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    position: sticky;
    top: 0;
}

.habilidades-table td {
    color: #ffffff;
    background: rgba(43, 26, 30, 0.7);
}

.habilidades-table tr:hover td {
    background: rgba(58, 33, 37, 0.8);
}

.habilidad-icono {
    width: 35px;
    height: 35px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 10px;
    border-radius: 5px;
    border: 1px solid #8B0000;
}

.habilidad-potenciada {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 215, 0, 0.1) 100%) !important;
    border: 2px solid #ffd700 !important;
    position: relative;
    font-weight: bold;
}

.habilidad-potenciada::after {
    content: '⚡';
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 14px;
    color: #ffd700;
    animation: brillo 2s infinite alternate;
}

@keyframes brillo {
    from { opacity: 0.7; }
    to { opacity: 1; }
}

/* Selector de Tipos */
.tipos-selector {
    text-align: center;
    margin-bottom: 25px;
}

.tipo-select {
    padding: 12px 20px;
    border: 2px solid #8B0000;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #ffd700;
    font-size: 16px;
    cursor: pointer;
}

.tipos-lista {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.habilidad-item {
    background: linear-gradient(135deg, rgba(43, 26, 30, 0.8) 0%, rgba(58, 33, 37, 0.8) 100%);
    padding: 20px;
    border-radius: 12px;
    border: 2px solid #8B0000;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.habilidad-item:hover {
    border-color: #ffd700;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
}

.habilidad-item img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 8px;
    border: 2px solid #ffd700;
}

.habilidad-info {
    flex-grow: 1;
}

.habilidad-info h4 {
    color: #ffd700;
    margin: 0 0 8px 0;
    font-size: 18px;
}

.habilidad-info p {
    color: #ffffff;
    margin: 0;
    font-size: 16px;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 1024px) {
    .mascotas-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 20px;
    }
    
    .mascota-modal-contenido {
        margin: 20px auto;
        max-width: 98%;
    }
}

@media (max-width: 768px) {
    .mascotas-filtros {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .mascotas-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .mascota-modal-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .mascota-modal-tabs {
        flex-direction: column;
    }
    
    .tab-btn {
        width: 100%;
        text-align: center;
    }
    
    .habilidades-table {
        font-size: 12px;
    }
    
    .tab-contenido {
        padding: 15px;
    }
    
    .tipos-lista {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .mascotas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .mascota-sello {
        width: 80px;
        height: 80px;
    }
    
    .mascota-card {
        padding: 15px;
    }
    
    .mascota-card h3 {
        font-size: 16px;
    }
    
    .habilidades-table th,
    .habilidades-table td {
        padding: 10px 8px;
        font-size: 11px;
    }
    
    .habilidad-icono {
        width: 25px;
        height: 25px;
        margin-right: 5px;
    }
}
/* ===========================
   ESTILOS COMPLETOS PARA CALCULADORA
=========================== */
.calculadora-contenedor {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: linear-gradient(135deg, rgba(43, 26, 30, 0.95) 0%, rgba(58, 33, 37, 0.95) 100%);
    border-radius: 15px;
    border: 3px solid #ffd700;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.calculadora-form {
    padding: 25px;
    margin: 20px 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 2px solid #8B0000;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 20px;
}

.form-col {
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #8B0000;
}

.form-col h3 {
    color: #ffd700;
    text-align: center;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #ffd700;
    font-size: 18px;
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    color: #ffd700;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 14px;
}

.calc-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #8B0000;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: #ffd700;
    font-size: 16px;
    transition: all 0.3s ease;
}

.calc-input:focus {
    outline: none;
    border-color: #ffd700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
    transform: translateY(-2px);
}

.calculadora-botones {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.btn-calcular, .btn-limpiar {
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-calcular {
    background: linear-gradient(135deg, #ffd700 0%, #e6c200 100%);
    color: #2c1a1d;
    border: 2px solid #8B0000;
}

.btn-limpiar {
    background: linear-gradient(135deg, #8B0000 0%, #6a0000 100%);
    color: #ffd700;
    border: 2px solid #ffd700;
}

.btn-calcular:hover, .btn-limpiar:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.btn-calcular:hover {
    background: linear-gradient(135deg, #e6c200 0%, #ffd700 100%);
}

.btn-limpiar:hover {
    background: linear-gradient(135deg, #6a0000 0%, #8B0000 100%);
}

/* RESULTADOS */
.calculadora-resultados {
    background: rgba(0, 0, 0, 0.4);
    padding: 25px;
    border-radius: 12px;
    border: 2px solid #ffd700;
    margin-top: 25px;
}

.calculadora-resultados h3 {
    color: #ffd700;
    text-align: center;
    margin: 0 0 25px 0;
    font-size: 22px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.resultados-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.resultado-item {
    background: linear-gradient(135deg, rgba(43, 26, 30, 0.8) 0%, rgba(58, 33, 37, 0.8) 100%);
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #8B0000;
    transition: all 0.3s ease;
}

.resultado-item:hover {
    border-color: #ffd700;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.2);
}

.resultado-item h4 {
    color: #ffd700;
    margin: 0 0 15px 0;
    text-align: center;
    font-size: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid #8B0000;
}

.resultado-valores {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.resultado-valores span {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
    font-size: 14px;
    padding: 8px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    border: 1px solid #8B0000;
}

.resultado-valores strong {
    color: #ffd700;
    font-size: 16px;
    font-weight: bold;
    min-width: 50px;
    text-align: right;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .resultados-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .calculadora-botones {
        flex-direction: column;
    }
    
    .btn-calcular, .btn-limpiar {
        width: 100%;
    }
    
    .resultado-valores span {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
}

/* ESTILOS ESPECÍFICOS PARA STATS */
.resultado-item:nth-child(1) { border-left: 4px solid #ff6b6b; } /* HP */
.resultado-item:nth-child(2) { border-left: 4px solid #339af0; } /* SP */
.resultado-item:nth-child(3) { border-left: 4px solid #ffd43b; } /* DEF */
.resultado-item:nth-child(4) { border-left: 4px solid #20c997; } /* RES */
.resultado-item:nth-child(5) { border-left: 4px solid #845ef7; } /* Precisión */
.resultado-item:nth-child(6) { border-left: 4px solid #f06595; } /* Penetración */
/* Oculta los spinners en todos los navegadores */
.calc-input[type="number"] {
    -moz-appearance: textfield;
    padding-right: 15px;
}

.calc-input::-webkit-outer-spin-button,
.calc-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
/* AJUSTE PARA INPUTS NUMÉRICOS - Añade esto a tu CSS */
.calc-input[type="number"] {
    -moz-appearance: textfield;
    padding-right: 15px;
    width: 100%; /* Asegura que ocupe todo el ancho disponible */
    max-width: 100%; /* Previene que se salga del contenedor */
    box-sizing: border-box; /* Incluye padding y border en el width */
}

.calc-input::-webkit-outer-spin-button,
.calc-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Ajusta específicamente el contenedor de los inputs */
.input-group {
    position: relative;
    width: 100%;
}

/* Si los inputs siguen muy grandes, ajusta su padding */
.calc-input {
    padding: 10px 12px; /* Reduce el padding si es necesario */
    font-size: 14px; /* Ajusta el tamaño de fuente si es necesario */
}

/* Para pantallas pequeñas, ajusta aún más */
@media (max-width: 768px) {
    .calc-input {
        padding: 8px 10px;
        font-size: 13px;
    }
}
/* =================================== */
/* Estilos para la Sección "Apoyar" (CORREGIDOS) */
/* =================================== */

.apoyar-container {
    display: flex;             /* Habilita Flexbox */
    align-items: center;       /* Alinea la imagen y el texto verticalmente */
    justify-content: center;   /* Centra los elementos en el espacio disponible */
    gap: 40px;                 /* Aumenta el espacio entre la imagen y el texto */
    flex-wrap: wrap;           /* Permite que se apilen en pantallas pequeñas */
    padding: 20px;
}

.apoyar-imagen {
    flex: 1; /* Permite que la imagen ocupe espacio flexible */
    min-width: 280px; /* Ancho mínimo antes de que se apile */
    max-width: 350px; /* Ancho máximo para la imagen */
}

.apoyar-imagen img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    border: 2px solid #ffd700;
}

.apoyar-contenido {
    flex: 1.5; /* Dale un poco más de espacio al contenido de texto */
    min-width: 300px; /* Ancho mínimo */
    display: flex;
    flex-direction: column;
}

.apoyar-botones {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}
/* =========================== */
/* ESTILOS PARA FOOTER CON ESTADÍSTICAS IZQUIERDA */
/* =========================== */

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
    padding: 25px 15px;
}

/* Estadísticas a la IZQUIERDA */
.footer-stats {
    text-align: left;
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border: 1px solid #8B0000;
    min-width: 200px;
    order: 1; /* IZQUIERDA */
}

/* Centro con copyright y redes */
.footer-center-section {
    flex: 1;
    min-width: 300px;
    text-align: center;
    order: 2; /* CENTRO */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.copyright-text {
    color: #ccc !important;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
    text-align: center;
    max-width: 600px;
}

.redes-sociales-centered {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.redes-sociales-centered .red-social {
    margin: 0;
    transition: all 0.3s ease;
    filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.5));
}

.redes-sociales-centered .red-social:hover {
    transform: scale(1.15) translateY(-2px);
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.4));
}

/* Botón de apoyo centrado */
.apoyo-footer {
    text-align: center;
    width: 100%;
    order: 3;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .footer-stats {
        order: 1;
        text-align: center;
        width: 100%;
        max-width: 300px;
    }
    
    .footer-center-section {
        order: 2;
        min-width: auto;
    }
    
    .apoyo-footer {
        order: 3;
    }
    
    .redes-sociales-centered {
        gap: 10px;
    }
    
    .redes-sociales-centered .red-social img {
        width: 28px;
        height: 28px;
    }
}

/* Para pantallas muy pequeñas */
@media (max-width: 480px) {
    .copyright-text {
        font-size: 12px;
    }
    
    .redes-sociales-centered {
        gap: 8px;
    }
    
    .redes-sociales-centered .red-social img {
        width: 24px;
        height: 24px;
    }
    
    .footer-stats {
        min-width: auto;
    }
}
/* Estilos para estadísticas en sección eventos */
.estadisticas-servidores {
    background: linear-gradient(135deg, rgba(43, 26, 30, 0.9) 0%, rgba(58, 33, 37, 0.9) 100%);
    border: 2px solid #ffd700;
    border-radius: 15px;
    padding: 20px;
    margin: 20px auto;
    max-width: 400px;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 15px;
}

.estadisticas-servidores h4 {
    color: #ffd700;
    margin: 0 0 15px 0;
    font-size: 18px;
}

.estadisticas-servidores .stat-item {
    background: rgba(0, 0, 0, 0.3);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #8B0000;
}

/* Responsive */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .estadisticas-servidores {
        margin: 20px 10px;
    }
}
/* Estilos para mensaje sin eventos */
.mensaje-sin-eventos {
    text-align: center;
    padding: 40px;
    color: #ffd700;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    border: 2px solid #ffd700;
    margin: 20px 0;
}

.mensaje-sin-eventos h3 {
    margin: 0 0 15px 0;
    font-size: 24px;
}

.mensaje-sin-eventos p {
    margin: 10px 0;
    font-size: 16px;
    color: #ffffff;
}
.mensaje-sin-eventos {
    text-align: center;
    padding: 40px;
    color: #ffd700;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    border: 2px solid #ffd700;
    margin: 20px 0;
}
/* =========================== */
/* LOADING SPINNER - PURO CSS */
/* =========================== */
.loading-spinner {
    text-align: center;
    padding: 40px;
    margin: 20px 0;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #333;
    border-top: 5px solid #ffd700;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-spinner p {
    color: #ffd700;
    font-size: 16px;
    margin: 0;
}
/* =========================== */
/* RESPONSIVE DESIGN - MÓVILES */
/* =========================== */

/* Menú Hamburguesa */
.menu-hamburguesa {
    display: none;
    background: #8B0000;
    color: white;
    border: none;
    padding: 15px;
    font-size: 20px;
    cursor: pointer;
    border-radius: 5px;
    margin: 10px auto;
    width: 90%;
}

/* Media Queries para móviles */
@media (max-width: 768px) {
    /* Menú Hamburguesa */
    .menu-hamburguesa {
        display: block;
    }
    
    #nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
    }
    
    #nav-menu.menu-abierto {
        display: flex;
    }
    
    /* Header y navegación */
    header nav {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav-btn {
        width: 100%;
        margin: 5px 0;
        padding: 12px;
        font-size: 14px;
    }
    
    /* Contenedor principal */
    .contenedor-principal {
        flex-direction: column;
        padding: 10px;
    }
    
    main {
        width: 100%;
        margin-right: 0;
    }
    
    .banners-afiliados {
        width: 100%;
        margin-top: 20px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .banners-afiliados .banner {
        width: 45%;
        margin: 5px;
    }
    
    /* Sección de eventos */
    .contenedor-servidores {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .btn-servidor {
        padding: 10px;
        font-size: 12px;
    }
    
    .selector-mes {
        flex-direction: column;
        gap: 10px;
    }
    
    .selector-mes-btn {
        width: 100%;
    }
    
    /* Calculadora de pociones */
    .pociones-tabs {
        flex-direction: column;
    }
    
    .pociones-tab {
        width: 100%;
        margin: 2px 0;
        padding: 10px;
    }
    
    .pociones-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .pocion-item {
        padding: 15px;
    }
    
    .pocion-item input {
        width: 100%;
        font-size: 16px;
        height: 40px;
    }
    
    /* Resultados de materiales */
    .materiales-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .material-categoria {
        padding: 10px;
    }
    
    /* Juego Atrapa al Rey */
    .rey-tablero-mejorado {
        grid-template-columns: repeat(5, 50px);
        gap: 5px;
    }
    
    .rey-carta {
        width: 50px;
        height: 50px;
        font-size: 14px;
    }
    
    .rey-selector-cartas-mejorado {
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }
    
    .rey-carta-btn-mejorado {
        margin: 2px;
        transform: scale(0.9);
    }
    
    .rey-controles-mejorado {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .rey-btn-mejorado {
        flex: 1;
        min-width: 120px;
        padding: 8px;
        font-size: 12px;
    }
    
    /* Cartas Monstruo */
    .mapas-container {
        flex-direction: column;
    }
    
    .panel-mapas, .panel-mobs {
        width: 100%;
    }
    
    .grid-mobs {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .mob-btn {
        padding: 8px;
        font-size: 12px;
    }
    
    /* Mascotas */
    .mascotas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .mascota-card {
        padding: 10px;
    }
    
    /* Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .redes-sociales-centered {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    /* Servicios */
    .servicios-botones {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .btn-servicio {
        padding: 12px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    /* Ajustes para pantallas muy pequeñas */
    .nav-btn {
        font-size: 12px;
        padding: 10px;
    }
    
    .contenedor-servidores {
        grid-template-columns: 1fr;
    }
    
    .banners-afiliados .banner {
        width: 100%;
    }
    
    .rey-tablero-mejorado {
        grid-template-columns: repeat(5, 40px);
    }
    
    .rey-carta {
        width: 40px;
        height: 40px;
        font-size: 12px;
    }
    
    .mascotas-grid {
        grid-template-columns: 1fr;
    }
    
    .grid-mobs {
        grid-template-columns: 1fr;
    }
}
/* =========================== */
/* BOTÓN CERRAR BANNERS - ESTILO DISCRETO */
/* =========================== */

.cerrar-banners {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(139, 0, 0, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    z-index: 100;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cerrar-banners:hover {
    background: #8B0000;
    transform: scale(1.1);
}

.banners-contenedor.oculto {
    display: none;
}

/* Cuando está oculto, mostrar solo el botón para reabrir */
.banners-afiliados:has(.banners-contenedor.oculto) {
    width: auto;
    height: auto;
}

.banners-afiliados:has(.banners-contenedor.oculto) .cerrar-banners {
    position: relative;
    top: auto;
    right: auto;
    margin: 5px;
}

.banners-afiliados:has(.banners-contenedor.oculto) .cerrar-banners::after {
    content: " Mostrar Banners";
    font-size: 12px;
    margin-left: 5px;
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 768px) {
    .cerrar-banners {
        top: 10px;
        right: 10px;
        background: #8B0000;
    }
    
    /* En móvil, no permitir ocultar los banners */
    .cerrar-banners {
        display: none;
    }
    
    .banners-contenedor {
        display: block !important;
    }
}
/* =========================== */
/* CALENDARIO RESPONSIVE */
/* =========================== */

@media (max-width: 768px) {
    /* Contenedor principal del calendario */
    #calendario {
        overflow-x: auto;
        margin: 10px 0;
        border: 1px solid #333;
        border-radius: 8px;
    }
    
    /* Header del calendario - hacerlo sticky */
    .calendario-header {
        display: flex;
        min-width: 600px; /* Ancho mínimo para que no se rompa */
        background: #8B0000;
        position: sticky;
        left: 0;
    }
    
    .calendario-header .calendario-columna {
        min-width: 100px;
        padding: 10px 5px;
        font-size: 12px;
    }
    
    /* Filas del calendario */
    .calendario-fila {
        display: flex;
        min-width: 600px;
        border-bottom: 1px solid #333;
    }
    
    .calendario-fila:last-child {
        border-bottom: none;
    }
    
    /* Columnas individuales */
    .calendario-columna {
        min-width: 100px;
        padding: 8px 5px;
        border-right: 1px solid #333;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .calendario-columna:last-child {
        border-right: none;
    }
    
    /* Columna del día (primera columna) */
    .dia-columna {
        background: #2a2a2a;
        font-weight: bold;
        min-width: 60px;
        position: sticky;
        left: 0;
        z-index: 2;
    }
    
    /* Celdas de eventos */
    .calendario-celda {
        min-height: 80px;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 5px;
    }
    
    /* Eventos individuales */
    .evento-icono-nombre {
        flex-direction: column;
        text-align: center;
        width: 100%;
        padding: 5px;
        background: rgba(139, 0, 0, 0.1);
        border-radius: 4px;
        margin: 2px 0;
    }
    
    .evento-icono-nombre img {
        width: 20px;
        height: 20px;
        margin-bottom: 3px;
    }
    
    .evento-icono-nombre span {
        font-size: 10px;
        line-height: 1.2;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    /* Tooltips en móvil */
    .calendario-celda {
        position: relative;
    }
    
    .calendario-celda[data-tooltip]:hover::after {
        content: attr(data-tooltip);
        position: absolute;
        bottom: 100%;
        left: 50%;
        transform: translateX(-50%);
        background: #000;
        color: #fff;
        padding: 8px;
        border-radius: 4px;
        font-size: 12px;
        white-space: nowrap;
        z-index: 1000;
        pointer-events: none;
    }
}

@media (max-width: 480px) {
    /* Para pantallas muy pequeñas, ajustar más */
    #calendario {
        font-size: 12px;
    }
    
    .calendario-header .calendario-columna {
        min-width: 80px;
        padding: 8px 3px;
        font-size: 10px;
    }
    
    .calendario-fila {
        min-width: 480px;
    }
    
    .calendario-columna {
        min-width: 80px;
        padding: 6px 3px;
    }
    
    .dia-columna {
        min-width: 50px;
        font-size: 11px;
    }
    
    .calendario-celda {
        min-height: 70px;
    }
    
    .evento-icono-nombre span {
        font-size: 9px;
    }
    
    .evento-icono-nombre img {
        width: 18px;
        height: 18px;
    }
}

/* Scrollbar personalizado para el calendario */
#calendario::-webkit-scrollbar {
    height: 8px;
}

#calendario::-webkit-scrollbar-track {
    background: #2a2a2a;
    border-radius: 4px;
}

#calendario::-webkit-scrollbar-thumb {
    background: #8B0000;
    border-radius: 4px;
}

#calendario::-webkit-scrollbar-thumb:hover {
    background: #a00;
}
/* =========================== */
/* BOTÓN RETROCESO MÓVIL */
/* =========================== */
.btn-retroceso-movil {
    display: none;
    background: #8B0000;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    margin: 10px 0;
    font-size: 14px;
    cursor: pointer;
    width: 100%;
    text-align: center;
}

@media (max-width: 768px) {
    .btn-retroceso-movil {
        display: block;
    }
    
    /* Ocultar botón retroceso desktop en móvil */
    .btn-volver {
        display: none;
    }
}
/* =========================== */
/* POCIONES 2x2 EN MÓVIL */
/* =========================== */
@media (max-width: 768px) {
    .pociones-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }
    
    .pocion-item {
        padding: 12px;
        margin: 0;
    }
    
    .pocion-item input {
        font-size: 16px;
        height: 44px;
    }
}

@media (max-width: 480px) {
    .pociones-grid {
        grid-template-columns: 1fr !important;
        gap: 10px;
    }
}

/* =========================== */
/* POPUP MEJORADO PARA MÓVIL */
/* =========================== */
@media (max-width: 768px) {
    .evento-popup {
        width: 95vw !important;
        max-height: 80vh !important;
        overflow-y: auto !important;
        padding: 20px !important;
    }
    
    .evento-popup h3 {
        font-size: 18px !important;
        margin-bottom: 15px !important;
    }
    
    .evento-popup p {
        font-size: 14px !important;
        line-height: 1.4 !important;
        margin: 8px 0 !important;
    }
    
    .evento-popup strong {
        color: #ffd700 !important;
    }
}
/* ===========================
   REFERENCIA OKEY - RESPONSIVE
=========================== */

/* Referencia visible solo en desktop */
.okey-referencia-desktop {
    text-align: center;
    margin-top: 20px;
}

.okey-referencia-desktop img {
    max-width: 100%;
    height: auto;
    border: 2px solid #ffd700;
    border-radius: 10px;
}

/* Botón de referencia (siempre visible) */
.referencia-btn {
    background: linear-gradient(180deg, #8B0000 0%, #6a0000 100%) !important;
    color: #ffd700 !important;
}

.referencia-btn:hover {
    background: linear-gradient(180deg, #6a0000 0%, #8B0000 100%) !important;
}

/* Popup de referencia */
.referencia-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.referencia-popup.activo {
    display: flex;
}

.referencia-popup-contenido {
    background: linear-gradient(135deg, #2c1a1d 0%, #3a2125 100%);
    border: 3px solid #ffd700;
    border-radius: 15px;
    padding: 20px;
    max-width: 95%;
    max-height: 90vh;
    position: relative;
    text-align: center;
    animation: slideUp 0.3s ease;
}

.referencia-popup-contenido h3 {
    color: #ffd700;
    margin-bottom: 15px;
    font-size: 20px;
}

.referencia-popup-contenido img {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 8px;
    border: 2px solid #8B0000;
}

.cerrar-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #8B0000;
    color: #ffd700;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
}

.cerrar-popup-btn {
    margin-top: 15px;
    width: 100%;
}

/* Ocultar referencia desktop en móvil, mostrar botón */
@media (max-width: 768px) {
    .okey-referencia-desktop {
        display: none;
    }
    
    .referencia-btn {
        display: block !important;
    }
}

/* Mostrar referencia desktop en pantallas grandes, ocultar botón */
@media (min-width: 769px) {
    .referencia-btn {
        display: none !important;
    }
    
    .okey-referencia-desktop {
        display: block;
    }
}

/* Animaciones */
@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
/* ANIMACIÓN EXTREMADAMENTE LENTA - VERSIÓN LEGIBLE */
.ticker-names {
    display: flex;
    gap: 80px; /* Mucho más espacio entre nombres */
    animation: tickerScroll 900s linear infinite; /* 15 MINUTOS completos */
    width: max-content;
    padding: 0 50px; /* Espacio extra a los lados */
}

@keyframes tickerScroll {
    0% {
        transform: translateX(100vw);
    }
    100% {
        transform: translateX(-100%);
    }
}

.ticker-names {
    display: flex;
    gap: 100px; /* Espacio enorme */
    animation: tickerScroll 1200s linear infinite; /* 20 MINUTOS */
    width: max-content;
    padding: 0 100px;
}

@keyframes tickerScroll {
    0% {
        transform: translateX(100vw);
    }
    100% {
        transform: translateX(-100%);
    }
}
.ticker-names {
    animation: tickerScroll 600s linear infinite; 
}

/* ESTILOS MEJORADOS PARA GUÍAS - MÁS COMPACTO */
.categorias-guias {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin: 15px 0;
    padding: 0 10px;
}

.categoria-btn {
    background: linear-gradient(180deg, #3a2125 0%, #2c1a1d 100%);
    color: #ffd700;
    border: 2px solid #8B0000;
    padding: 8px 12px;
    border-radius: 15px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 12px;
    min-width: 100px;
}

.categoria-btn.active,
.categoria-btn:hover {
    background: linear-gradient(180deg, #ffd700 0%, #e6c200 100%);
    color: #2c1a1d;
    transform: translateY(-2px);
}

.contador-guias {
    text-align: center;
    margin: 10px 0;
    color: #ffd700;
    font-weight: bold;
    font-size: 13px;
}

.lista-guias {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 10px;
}

.guia-item {
    background: linear-gradient(135deg, rgba(43, 26, 30, 0.9) 0%, rgba(58, 33, 37, 0.9) 100%);
    border: 2px solid #8B0000;
    border-radius: 8px;
    padding: 12px;
    margin: 8px 0;
    transition: all 0.3s ease;
}

.guia-item:hover {
    border-color: #ffd700;
    transform: translateY(-1px);
}

.guia-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    gap: 8px;
}

.guia-header h3 {
    color: #ffd700;
    margin: 0;
    font-size: 14px;
    line-height: 1.3;
    flex: 1;
}

.categoria-guia {
    background: #8B0000;
    color: #ffd700;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: bold;
    white-space: nowrap;
}

.guia-descripcion {
    color: #e0e0e0;
    margin: 0 0 10px 0;
    line-height: 1.4;
    font-size: 12px;
}

.guia-footer {
    text-align: center;
}

.btn-guia {
    display: inline-block;
    background: linear-gradient(180deg, #ffd700 0%, #e6c200 100%);
    color: #2c1a1d !important;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 15px;
    font-weight: bold;
    border: 2px solid #8B0000;
    transition: all 0.3s ease;
    font-size: 11px;
}

.btn-guia:hover {
    background: linear-gradient(180deg, #e6c200 0%, #d4b000 100%);
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 768px) {
    .categorias-guias {
        gap: 5px;
    }
    
    .categoria-btn {
        padding: 6px 10px;
        font-size: 11px;
        min-width: 90px;
    }
    
    .guia-item {
        padding: 10px;
        margin: 6px 0;
    }
}