/* betcris app - Estilos Principales - Tema Transformers */
/* Fuentes personalizadas */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Rajdhani:wght@300;400;500;600;700&display=swap');

/* Variables CSS */
:root {
    --color-primario: #0a1628;
    --color-secundario: #1a2d4a;
    --color-acento: #00d4ff;
    --color-acento-rojo: #ff3d3d;
    --color-dorado: #ffd700;
    --color-texto: #e8eef5;
    --color-texto-secundario: #8fa3bf;
    --gradiente-metal: linear-gradient(135deg, #2c3e50 0%, #1a252f 50%, #34495e 100%);
    --gradiente-energia: linear-gradient(90deg, #00d4ff 0%, #0066ff 50%, #00d4ff 100%);
    --gradiente-fuego: linear-gradient(135deg, #ff3d3d 0%, #ff6b35 50%, #ffd700 100%);
    --sombra-neon: 0 0 20px rgba(0, 212, 255, 0.5);
    --sombra-tarjeta: 0 8px 32px rgba(0, 0, 0, 0.4);
    --radio-borde: 12px;
    --transicion: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset y base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--color-primario);
    color: var(--color-texto);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Fondo animado con patrón de circuitos */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 61, 61, 0.06) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0v10M30 50v10M0 30h10M50 30h10' stroke='%2300d4ff' stroke-width='0.5' opacity='0.1'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: -1;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-texto);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }

p {
    font-size: 1.05rem;
    margin-bottom: 1rem;
    color: var(--color-texto-secundario);
}

a {
    color: var(--color-acento);
    text-decoration: none;
    transition: var(--transicion);
}

a:hover {
    color: var(--color-dorado);
    text-shadow: 0 0 10px var(--color-acento);
}

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

/* Encabezado */
.encabezado {
    background: linear-gradient(180deg, rgba(10, 22, 40, 0.98) 0%, rgba(10, 22, 40, 0.9) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    padding: 1rem 0;
    position: relative;
    z-index: 100;
}

.encabezado-interior {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.logo-texto {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradiente-energia);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navegación */
.navegacion {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navegacion-lista {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.navegacion-enlace {
    display: block;
    padding: 0.6rem 1rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-texto);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.navegacion-enlace::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradiente-energia);
    transition: var(--transicion);
    transform: translateX(-50%);
}

.navegacion-enlace:hover::before {
    width: 80%;
}

.navegacion-enlace:hover {
    color: var(--color-acento);
}

/* Botón CTA */
.boton-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primario);
    background: var(--gradiente-energia);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transicion);
    box-shadow: var(--sombra-neon);
}

.boton-cta::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: 0.5s;
}

.boton-cta:hover::before {
    left: 100%;
}

.boton-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.7);
    color: var(--color-primario);
}

/* Hero Section */
.seccion-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
    overflow: hidden;
}

.hero-fondo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-fondo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-fondo::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
        rgba(10, 22, 40, 0.7) 0%, 
        rgba(10, 22, 40, 0.5) 50%, 
        rgba(10, 22, 40, 0.95) 100%);
}

.hero-contenido {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-titulo {
    margin-bottom: 1.5rem;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

.hero-titulo span {
    display: block;
    background: var(--gradiente-energia);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-descripcion {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--color-texto);
    max-width: 600px;
}

.hero-botones {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.boton-secundario {
    padding: 0.8rem 1.8rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-acento);
    background: transparent;
    border: 2px solid var(--color-acento);
    border-radius: 50px;
    transition: var(--transicion);
}

.boton-secundario:hover {
    background: rgba(0, 212, 255, 0.1);
    box-shadow: var(--sombra-neon);
    color: var(--color-acento);
}

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

.seccion-titulo {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.seccion-titulo::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: var(--gradiente-energia);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.seccion-subtitulo {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    color: var(--color-acento);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
}

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

.juego-tarjeta {
    background: var(--gradiente-metal);
    border-radius: var(--radio-borde);
    overflow: hidden;
    position: relative;
    transition: var(--transicion);
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.juego-tarjeta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradiente-energia);
    opacity: 0;
    transition: var(--transicion);
}

.juego-tarjeta:hover {
    transform: translateY(-8px);
    box-shadow: var(--sombra-neon);
    border-color: rgba(0, 212, 255, 0.3);
}

.juego-tarjeta:hover::before {
    opacity: 1;
}

.juego-imagen {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.juego-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transicion);
}

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

.juego-contenido {
    padding: 1.5rem;
}

.juego-nombre {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--color-texto);
}

.juego-descripcion {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    color: var(--color-texto-secundario);
}

.juego-boton {
    width: 100%;
    padding: 0.7rem;
    font-size: 0.85rem;
}

/* Características */
.caracteristicas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.caracteristica-item {
    text-align: center;
    padding: 2rem;
    background: rgba(26, 45, 74, 0.5);
    border-radius: var(--radio-borde);
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: var(--transicion);
}

.caracteristica-item:hover {
    border-color: rgba(0, 212, 255, 0.3);
    background: rgba(26, 45, 74, 0.7);
}

.caracteristica-icono {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.caracteristica-icono img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.caracteristica-titulo {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

/* Métodos de pago */
.pagos-contenedor {
    background: var(--gradiente-metal);
    border-radius: var(--radio-borde);
    padding: 3rem;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.pagos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pago-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(10, 22, 40, 0.5);
    border-radius: 8px;
    transition: var(--transicion);
}

.pago-item:hover {
    background: rgba(0, 212, 255, 0.1);
}

.pago-item h4 {
    margin-bottom: 0.5rem;
    color: var(--color-acento);
}

/* FAQ */
.faq-lista {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    background: rgba(26, 45, 74, 0.5);
    border-radius: var(--radio-borde);
    border: 1px solid rgba(0, 212, 255, 0.1);
    overflow: hidden;
}

.faq-pregunta {
    width: 100%;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    color: var(--color-texto);
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: var(--transicion);
}

.faq-pregunta:hover {
    background: rgba(0, 212, 255, 0.05);
}

.faq-icono {
    font-size: 1.5rem;
    color: var(--color-acento);
    transition: var(--transicion);
}

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

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

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

.faq-respuesta-contenido {
    padding: 0 1.5rem 1.5rem;
    color: var(--color-texto-secundario);
}

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

.resena-tarjeta {
    background: var(--gradiente-metal);
    border-radius: var(--radio-borde);
    padding: 2rem;
    border: 1px solid rgba(0, 212, 255, 0.1);
    position: relative;
}

.resena-tarjeta::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    font-family: Georgia, serif;
    color: rgba(0, 212, 255, 0.2);
    line-height: 1;
}

.resena-cabecera {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.resena-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradiente-energia);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    color: var(--color-primario);
}

.resena-info h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.resena-ubicacion {
    font-size: 0.85rem;
    color: var(--color-texto-secundario);
}

.resena-estrellas {
    color: var(--color-dorado);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.resena-texto {
    font-style: italic;
    margin-bottom: 1rem;
}

.resena-fecha {
    font-size: 0.85rem;
    color: var(--color-texto-secundario);
}

/* Sobre nosotros */
.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.sobre-imagen img {
    width: 100%;
    border-radius: var(--radio-borde);
    box-shadow: var(--sombra-tarjeta);
}

.sobre-contenido h3 {
    margin-bottom: 1rem;
    color: var(--color-acento);
}

/* Autor */
.autor-seccion {
    background: var(--gradiente-metal);
    border-radius: var(--radio-borde);
    padding: 2.5rem;
    display: flex;
    gap: 2rem;
    align-items: center;
    border: 1px solid rgba(0, 212, 255, 0.1);
    margin: 3rem 0;
}

.autor-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--color-acento);
    flex-shrink: 0;
}

.autor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.autor-info h3 {
    margin-bottom: 0.5rem;
}

.autor-titulo {
    color: var(--color-acento);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Pie de página */
.pie-pagina {
    background: linear-gradient(180deg, var(--color-secundario) 0%, var(--color-primario) 100%);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
}

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

.pie-columna h4 {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: var(--color-acento);
}

.pie-enlaces {
    list-style: none;
}

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

.pie-enlaces a {
    color: var(--color-texto-secundario);
    font-size: 0.95rem;
}

.pie-enlaces a:hover {
    color: var(--color-acento);
}

.pie-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.pie-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 50%;
    color: var(--color-acento);
    transition: var(--transicion);
}

.pie-social a:hover {
    background: var(--color-acento);
    color: var(--color-primario);
}

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

.pie-legal {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.pie-legal a {
    color: var(--color-texto-secundario);
    font-size: 0.9rem;
}

.pie-copyright {
    color: var(--color-texto-secundario);
    font-size: 0.9rem;
}

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

.pie-pagos img {
    height: 30px;
    opacity: 0.7;
    transition: var(--transicion);
}

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

.edad-restriccion {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 61, 61, 0.2);
    border: 1px solid var(--color-acento-rojo);
    border-radius: 6px;
    color: var(--color-acento-rojo);
    font-weight: 600;
}

/* Breadcrumb */
.breadcrumb {
    padding: 1rem 0;
    font-size: 0.9rem;
}

.breadcrumb-lista {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.breadcrumb-lista li::after {
    content: '›';
    margin-left: 0.5rem;
    color: var(--color-texto-secundario);
}

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

.breadcrumb-lista a {
    color: var(--color-texto-secundario);
}

.breadcrumb-lista li:last-child {
    color: var(--color-acento);
}

/* Responsive */
@media (max-width: 992px) {
    .sobre-grid {
        grid-template-columns: 1fr;
    }
    
    .autor-seccion {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .encabezado-interior {
        flex-direction: column;
    }
    
    .navegacion-lista {
        justify-content: center;
    }
    
    .hero-contenido {
        text-align: center;
    }
    
    .hero-botones {
        justify-content: center;
    }
    
    .pie-inferior {
        flex-direction: column;
        text-align: center;
    }
    
    .pie-legal {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .navegacion-enlace {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .boton-cta {
        padding: 0.7rem 1.2rem;
        font-size: 0.8rem;
    }
}

/* Animaciones */
@keyframes pulso {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes deslizar {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.animacion-pulso {
    animation: pulso 2s ease-in-out infinite;
}

/* Utilidades */
.texto-acento { color: var(--color-acento); }
.texto-dorado { color: var(--color-dorado); }
.texto-centro { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-2 { margin-top: 2rem; }
.oculto { display: none; }

/* Lazy loading placeholder */
img[loading="lazy"] {
    background: linear-gradient(90deg, var(--color-secundario) 25%, var(--color-primario) 50%, var(--color-secundario) 75%);
    background-size: 200% 100%;
    animation: deslizar 1.5s infinite;
}

img[loading="lazy"].cargada {
    animation: none;
    background: none;
}
