/* BR788 Battle Royale Theme - Tema de Gran Batalla */
/* Configuración de fuentes y variables */
:root {
    --naranja-fuego: #FF6B35;
    --naranja-brillante: #FF8C42;
    --cyan-electrico: #00D4FF;
    --cyan-oscuro: #0099CC;
    --negro-humo: #0A0A0F;
    --negro-carbon: #121218;
    --gris-metal: #2A2A35;
    --gris-acero: #3D3D4A;
    --blanco-chispa: #F5F5F7;
    --rojo-explosion: #FF3D3D;
    --amarillo-destello: #FFD93D;
    --gradiente-batalla: linear-gradient(135deg, var(--naranja-fuego) 0%, var(--cyan-electrico) 100%);
    --gradiente-fuego: linear-gradient(180deg, var(--naranja-fuego) 0%, var(--rojo-explosion) 100%);
    --sombra-explosion: 0 0 30px rgba(255, 107, 53, 0.4), 0 0 60px rgba(0, 212, 255, 0.2);
    --sombra-tarjeta: 0 8px 32px rgba(0, 0, 0, 0.5);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background: var(--negro-humo);
    color: var(--blanco-chispa);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Animaciones de batalla */
@keyframes pulso-energia {
    0%, 100% { box-shadow: var(--sombra-explosion); }
    50% { box-shadow: 0 0 50px rgba(255, 107, 53, 0.6), 0 0 100px rgba(0, 212, 255, 0.4); }
}

@keyframes destello-batalla {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}

@keyframes explosion-entrada {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes linea-energia {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* Encabezado de batalla */
.encabezado-batalla {
    background: linear-gradient(180deg, var(--negro-carbon) 0%, transparent 100%);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 100;
}

.logo-batalla {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-batalla img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(255, 107, 53, 0.5));
}

.logo-batalla span {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradiente-batalla);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Navegación de combate */
.nav-combate {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-combate a {
    color: var(--blanco-chispa);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-combate a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradiente-batalla);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-combate a:hover::after {
    width: 100%;
}

.nav-combate a:hover {
    color: var(--naranja-fuego);
}

/* Botón CTA de batalla */
.btn-batalla {
    display: inline-block;
    padding: 0.9rem 2rem;
    background: var(--gradiente-batalla);
    color: var(--negro-humo);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: pulso-energia 2s infinite;
    position: relative;
    overflow: hidden;
}

.btn-batalla::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn-batalla:hover::before {
    left: 100%;
}

.btn-batalla:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.5);
}

/* Sección Hero de batalla */
.hero-batalla {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    overflow: hidden;
}

.hero-batalla::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-bienvenida.webp') center/cover no-repeat;
    filter: brightness(0.4);
    z-index: -2;
}

.hero-batalla::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, var(--negro-humo) 70%);
    z-index: -1;
}

.hero-contenido {
    max-width: 900px;
    animation: explosion-entrada 1s ease-out;
}

.hero-contenido h1 {
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 0 30px rgba(255, 107, 53, 0.5);
}

.hero-contenido h1 .texto-fuego {
    background: var(--gradiente-fuego);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-contenido h1 .texto-cyan {
    background: linear-gradient(135deg, var(--cyan-electrico) 0%, var(--cyan-oscuro) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-contenido p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: rgba(245, 245, 247, 0.9);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(42, 42, 53, 0.7);
    border-radius: 12px;
    border: 1px solid rgba(255, 107, 53, 0.3);
    min-width: 150px;
}

.stat-item .numero {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradiente-batalla);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item .etiqueta {
    font-size: 0.9rem;
    color: rgba(245, 245, 247, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contenedor principal */
.contenedor {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Secciones */
.seccion {
    padding: 5rem 0;
    position: relative;
}

.seccion-oscura {
    background: var(--negro-carbon);
}

.seccion-gradiente {
    background: linear-gradient(180deg, var(--negro-humo) 0%, var(--negro-carbon) 50%, var(--negro-humo) 100%);
}

.titulo-seccion {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    text-transform: uppercase;
    position: relative;
}

.titulo-seccion .acento {
    background: var(--gradiente-batalla);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitulo-seccion {
    text-align: center;
    color: rgba(245, 245, 247, 0.7);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Grid de juegos de batalla */
.grid-juegos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tarjeta-juego {
    background: var(--gris-metal);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 107, 53, 0.2);
    position: relative;
}

.tarjeta-juego::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradiente-batalla);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.tarjeta-juego:hover::before {
    transform: scaleX(1);
}

.tarjeta-juego:hover {
    transform: translateY(-10px);
    box-shadow: var(--sombra-explosion);
    border-color: var(--naranja-fuego);
}

.tarjeta-juego img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.tarjeta-juego:hover img {
    transform: scale(1.05);
}

.tarjeta-contenido {
    padding: 1.5rem;
}

.tarjeta-contenido h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--blanco-chispa);
}

.tarjeta-contenido p {
    color: rgba(245, 245, 247, 0.7);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.tarjeta-contenido .btn-batalla {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

/* Sección de promociones */
.promociones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.promo-tarjeta {
    background: linear-gradient(135deg, var(--gris-metal) 0%, var(--gris-acero) 100%);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.promo-tarjeta:hover {
    border-color: var(--cyan-electrico);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.promo-icono {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.promo-tarjeta h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--cyan-electrico);
}

.promo-tarjeta p {
    color: rgba(245, 245, 247, 0.8);
    font-size: 0.95rem;
}

/* Sección de pagos */
.pagos-contenedor {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.metodo-pago {
    background: var(--gris-metal);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 107, 53, 0.2);
    transition: all 0.3s ease;
}

.metodo-pago:hover {
    border-color: var(--naranja-fuego);
    transform: translateY(-5px);
}

.metodo-pago h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--naranja-brillante);
}

.metodo-pago p {
    font-size: 0.85rem;
    color: rgba(245, 245, 247, 0.7);
}

/* FAQ Acordeón */
.faq-contenedor {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--gris-metal);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.faq-pregunta {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    color: var(--blanco-chispa);
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-pregunta:hover {
    background: rgba(255, 107, 53, 0.1);
}

.faq-pregunta::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--naranja-fuego);
    transition: transform 0.3s ease;
}

.faq-item.activo .faq-pregunta::after {
    transform: rotate(45deg);
}

.faq-respuesta {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.activo .faq-respuesta {
    max-height: 500px;
}

.faq-respuesta p {
    padding: 0 1.5rem 1.25rem;
    color: rgba(245, 245, 247, 0.8);
    line-height: 1.7;
}

/* Reseñas de usuarios */
.resenas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.resena-tarjeta {
    background: var(--gris-metal);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.resena-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.resena-autor {
    font-weight: 600;
    color: var(--blanco-chispa);
}

.resena-ciudad {
    font-size: 0.85rem;
    color: rgba(245, 245, 247, 0.6);
}

.resena-estrellas {
    color: var(--amarillo-destello);
    font-size: 1.1rem;
}

.resena-texto {
    color: rgba(245, 245, 247, 0.8);
    font-style: italic;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.resena-fecha {
    font-size: 0.8rem;
    color: rgba(245, 245, 247, 0.5);
}

/* Autor E-E-A-T */
.autor-seccion {
    background: linear-gradient(135deg, var(--gris-metal) 0%, var(--negro-carbon) 100%);
    border-radius: 16px;
    padding: 2.5rem;
    display: flex;
    gap: 2rem;
    align-items: center;
    border: 1px solid rgba(255, 107, 53, 0.3);
    margin-top: 3rem;
}

.autor-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--gradiente-batalla);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 800;
    color: var(--negro-humo);
    flex-shrink: 0;
}

.autor-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--naranja-brillante);
}

.autor-info .titulo {
    font-size: 0.95rem;
    color: var(--cyan-electrico);
    margin-bottom: 1rem;
}

.autor-info p {
    color: rgba(245, 245, 247, 0.8);
    line-height: 1.7;
}

/* Pie de página */
.pie-batalla {
    background: var(--negro-carbon);
    padding: 4rem 2rem 2rem;
    border-top: 1px solid rgba(255, 107, 53, 0.2);
}

.pie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.pie-columna h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--naranja-brillante);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pie-columna ul {
    list-style: none;
}

.pie-columna ul li {
    margin-bottom: 0.75rem;
}

.pie-columna ul li a {
    color: rgba(245, 245, 247, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.pie-columna ul li a:hover {
    color: var(--cyan-electrico);
}

.pie-columna p {
    color: rgba(245, 245, 247, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

.pie-inferior {
    border-top: 1px solid rgba(255, 107, 53, 0.2);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.pie-inferior p {
    color: rgba(245, 245, 247, 0.5);
    font-size: 0.85rem;
}

.pie-iconos {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.pie-iconos img {
    height: 35px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.pie-iconos img:hover {
    opacity: 1;
}

.edad-badge {
    background: var(--rojo-explosion);
    color: var(--blanco-chispa);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1rem;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 1rem 2rem;
    background: rgba(42, 42, 53, 0.5);
}

.breadcrumbs ol {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumbs li::after {
    content: '›';
    color: var(--naranja-fuego);
}

.breadcrumbs li:last-child::after {
    display: none;
}

.breadcrumbs a {
    color: rgba(245, 245, 247, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: var(--cyan-electrico);
}

.breadcrumbs span {
    color: var(--naranja-brillante);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-contenido h1 {
        font-size: 2.5rem;
    }
    
    .nav-combate {
        display: none;
    }
    
    .autor-seccion {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-contenido h1 {
        font-size: 2rem;
    }
    
    .hero-contenido p {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-item {
        min-width: 120px;
        padding: 1rem;
    }
    
    .stat-item .numero {
        font-size: 2rem;
    }
    
    .titulo-seccion {
        font-size: 1.8rem;
    }
    
    .seccion {
        padding: 3rem 0;
    }
    
    .pie-inferior {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .encabezado-batalla {
        padding: 1rem;
    }
    
    .logo-batalla span {
        font-size: 1.4rem;
    }
    
    .hero-batalla {
        min-height: 70vh;
        padding: 2rem 1rem;
    }
    
    .hero-contenido h1 {
        font-size: 1.6rem;
    }
    
    .btn-batalla {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .contenedor {
        padding: 0 1rem;
    }
}

/* Utilidades */
.texto-centro { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
