/* ===== SPORTIUMBET CASINO - CRYSTAL CARD MASTER THEME ===== */
/* Diseño Original 2026 - Estilo Maestro de Cartas de Cristal */

:root {
    --cristal-primario: #7B2CBF;
    --cristal-secundario: #3A0CA3;
    --cristal-acento: #C77DFF;
    --oro-brillante: #FFD700;
    --oro-suave: #D4AF37;
    --fondo-oscuro: #0D0221;
    --fondo-medio: #1A0533;
    --fondo-claro: #2D1B4E;
    --texto-claro: #F8F9FA;
    --texto-suave: #E0E0E0;
    --cristal-brillo: rgba(199, 125, 255, 0.3);
    --sombra-cristal: 0 8px 32px rgba(123, 44, 191, 0.4);
    --gradiente-cristal: linear-gradient(135deg, var(--cristal-primario), var(--cristal-secundario));
    --gradiente-oro: linear-gradient(135deg, var(--oro-brillante), var(--oro-suave));
}

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

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

body {
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    background: var(--fondo-oscuro);
    color: var(--texto-claro);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ===== TIPOGRAFÍA ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', 'Times New Roman', serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

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); }

p {
    margin-bottom: 1rem;
    color: var(--texto-suave);
}

a {
    color: var(--cristal-acento);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--oro-brillante);
    text-shadow: 0 0 10px var(--cristal-brillo);
}

/* ===== CONTENEDOR PRINCIPAL ===== */
.contenedor-principal {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===== ENCABEZADO ===== */
.encabezado-cristal {
    background: linear-gradient(180deg, var(--fondo-medio) 0%, transparent 100%);
    padding: 1rem 0;
    position: relative;
    z-index: 100;
}

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

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

.logo-cristal img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 0 10px var(--cristal-brillo));
}

.logo-texto {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    background: var(--gradiente-oro);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.menu-cristal {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.menu-cristal li a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--texto-claro);
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.menu-cristal li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradiente-oro);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.menu-cristal li a:hover::before {
    width: 80%;
}

.menu-cristal li a:hover {
    background: var(--cristal-brillo);
}

/* ===== BOTÓN CTA ===== */
.boton-cta {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--gradiente-oro);
    color: var(--fondo-oscuro);
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.boton-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.6);
    color: var(--fondo-oscuro);
}

.boton-cta-secundario {
    background: transparent;
    border: 2px solid var(--cristal-acento);
    color: var(--cristal-acento);
}

.boton-cta-secundario:hover {
    background: var(--cristal-acento);
    color: var(--fondo-oscuro);
}

/* ===== SECCIÓN HERO ===== */
.seccion-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 1.5rem;
    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.6;
}

.hero-fondo::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(13, 2, 33, 0.3) 0%, var(--fondo-oscuro) 100%);
}

.hero-contenido {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-titulo {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 30px var(--cristal-brillo);
}

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

.hero-subtitulo {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    margin-bottom: 2rem;
    color: var(--texto-suave);
}

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

/* ===== SECCIONES GENERALES ===== */
.seccion {
    padding: 5rem 0;
    position: relative;
}

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

.seccion-titulo h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.seccion-titulo h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gradiente-oro);
    border-radius: 2px;
}

.seccion-descripcion {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

/* ===== TARJETAS DE JUEGOS ===== */
.juegos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.tarjeta-juego {
    background: linear-gradient(145deg, var(--fondo-medio), var(--fondo-claro));
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--sombra-cristal);
    transition: all 0.4s ease;
    border: 1px solid rgba(199, 125, 255, 0.2);
}

.tarjeta-juego:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(123, 44, 191, 0.5);
    border-color: var(--cristal-acento);
}

.tarjeta-juego-imagen {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.tarjeta-juego-contenido {
    padding: 1.5rem;
}

.tarjeta-juego-contenido h3 {
    color: var(--oro-brillante);
    margin-bottom: 0.75rem;
}

.tarjeta-juego-contenido p {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.tarjeta-juego .boton-cta {
    width: 100%;
    text-align: center;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
}

/* ===== SECCIÓN SOBRE NOSOTROS ===== */
.sobre-nosotros-contenido {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.sobre-nosotros-texto {
    padding: 2rem;
}

.sobre-nosotros-imagen {
    position: relative;
}

.sobre-nosotros-imagen img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--sombra-cristal);
}

/* ===== MÉTODOS DE PAGO ===== */
.pagos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.pago-item {
    background: var(--fondo-medio);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(199, 125, 255, 0.2);
    transition: all 0.3s ease;
}

.pago-item:hover {
    border-color: var(--cristal-acento);
    transform: translateY(-5px);
}

.pago-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px var(--cristal-brillo));
}

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

.pago-item p {
    font-size: 0.9rem;
}

/* ===== LICENCIA ===== */
.licencia-contenedor {
    display: flex;
    align-items: center;
    gap: 3rem;
    background: var(--fondo-medio);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(199, 125, 255, 0.2);
}

.licencia-imagen img {
    width: 200px;
    filter: drop-shadow(0 0 20px var(--cristal-brillo));
}

.licencia-texto h3 {
    color: var(--oro-brillante);
    margin-bottom: 1rem;
}

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

.faq-item {
    background: var(--fondo-medio);
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(199, 125, 255, 0.2);
}

.faq-pregunta {
    width: 100%;
    padding: 1.5rem;
    background: transparent;
    border: none;
    color: var(--texto-claro);
    font-size: 1.1rem;
    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: var(--cristal-brillo);
}

.faq-pregunta::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--cristal-acento);
    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.3s ease;
}

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

.faq-respuesta-contenido {
    padding: 0 1.5rem 1.5rem;
}

/* ===== TESTIMONIOS ===== */
.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonio-tarjeta {
    background: var(--fondo-medio);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(199, 125, 255, 0.2);
    position: relative;
}

.testimonio-tarjeta::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    color: var(--cristal-acento);
    opacity: 0.3;
    font-family: serif;
    line-height: 1;
}

.testimonio-contenido {
    position: relative;
    z-index: 1;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonio-autor {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonio-autor-info h4 {
    color: var(--oro-brillante);
    margin-bottom: 0.25rem;
}

.testimonio-autor-info span {
    font-size: 0.9rem;
    color: var(--texto-suave);
}

.testimonio-estrellas {
    color: var(--oro-brillante);
    margin-top: 0.5rem;
}

/* ===== AUTOR / E-E-A-T ===== */
.autor-seccion {
    background: var(--fondo-medio);
    padding: 3rem;
    border-radius: 20px;
    display: flex;
    gap: 2rem;
    align-items: center;
    border: 1px solid rgba(199, 125, 255, 0.2);
}

.autor-imagen img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--cristal-acento);
    box-shadow: 0 0 30px var(--cristal-brillo);
}

.autor-info h3 {
    color: var(--oro-brillante);
    margin-bottom: 0.5rem;
}

.autor-info .autor-titulo {
    color: var(--cristal-acento);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* ===== JUEGO RESPONSABLE ===== */
.responsable-contenido {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.responsable-imagen img {
    width: 100%;
    max-width: 250px;
    filter: drop-shadow(0 0 20px var(--cristal-brillo));
}

.responsable-lista {
    list-style: none;
}

.responsable-lista li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
}

.responsable-lista li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--cristal-acento);
    font-weight: bold;
}

/* ===== SOPORTE ===== */
.soporte-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.soporte-item {
    background: var(--fondo-medio);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(199, 125, 255, 0.2);
    transition: all 0.3s ease;
}

.soporte-item:hover {
    border-color: var(--cristal-acento);
    transform: translateY(-5px);
}

.soporte-item img {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px var(--cristal-brillo));
}

.soporte-item h4 {
    color: var(--oro-brillante);
    margin-bottom: 0.5rem;
}

/* ===== PIE DE PÁGINA ===== */
.pie-pagina {
    background: var(--fondo-medio);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(199, 125, 255, 0.2);
}

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

.pie-columna h4 {
    color: var(--oro-brillante);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

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

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

.pie-columna ul li a {
    color: var(--texto-suave);
    transition: color 0.3s ease;
}

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

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

.pie-pagos img {
    height: 40px;
    width: auto;
    filter: grayscale(50%);
    transition: filter 0.3s ease;
}

.pie-pagos img:hover {
    filter: grayscale(0%);
}

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

.pie-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--fondo-claro);
    border-radius: 50%;
    color: var(--texto-claro);
    transition: all 0.3s ease;
}

.pie-social a:hover {
    background: var(--cristal-acento);
    transform: translateY(-3px);
}

.pie-inferior {
    border-top: 1px solid rgba(199, 125, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
}

.pie-inferior p {
    font-size: 0.9rem;
    color: var(--texto-suave);
}

.pie-legal {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

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

.pie-18plus {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.pie-18plus img {
    height: 50px;
}

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

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

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

.breadcrumb li:last-child::after {
    content: '';
}

.breadcrumb a {
    color: var(--cristal-acento);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .sobre-nosotros-contenido,
    .responsable-contenido {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .licencia-contenedor {
        flex-direction: column;
        text-align: center;
    }
    
    .autor-seccion {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-cristal {
        flex-direction: column;
    }
    
    .menu-cristal {
        width: 100%;
        justify-content: center;
    }
    
    .hero-titulo {
        font-size: 2rem;
    }
    
    .seccion {
        padding: 3rem 0;
    }
    
    .juegos-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .contenedor-principal {
        padding: 0 1rem;
    }
    
    .boton-cta {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .pie-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* ===== ANIMACIONES ===== */
@keyframes brilloCristal {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes flotar {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

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

.animacion-flotar {
    animation: flotar 3s ease-in-out infinite;
}

/* ===== LAZY LOADING ===== */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].cargada {
    opacity: 1;
}

/* ===== UTILIDADES ===== */
.texto-centro { text-align: center; }
.texto-dorado { color: var(--oro-brillante); }
.texto-cristal { color: var(--cristal-acento); }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
