/* Betsson Apuestas - Tema MGM Grand Luxury */
/* Colores: Dorado #D4AF37, Borgoña #722F37, Negro #0D0D0D */

:root {
    --dorado: #D4AF37;
    --dorado-claro: #E8C547;
    --dorado-oscuro: #B8960C;
    --borgona: #722F37;
    --borgona-claro: #8B3A44;
    --borgona-oscuro: #5A252C;
    --negro: #0D0D0D;
    --negro-suave: #1A1A1A;
    --gris-oscuro: #2D2D2D;
    --blanco: #FAFAFA;
    --crema: #F5F0E1;
    --fuente-principal: 'Playfair Display', Georgia, serif;
    --fuente-secundaria: 'Montserrat', Arial, sans-serif;
}

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

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

body {
    font-family: var(--fuente-secundaria);
    background: var(--negro);
    color: var(--crema);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--fuente-principal);
    font-weight: 700;
    color: var(--dorado);
    line-height: 1.3;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }

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

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

a:hover {
    color: var(--dorado-claro);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* Encabezado */
.encabezado {
    background: linear-gradient(180deg, var(--negro) 0%, var(--negro-suave) 100%);
    border-bottom: 2px solid var(--dorado);
    padding: 1rem 0;
}

.nav-contenedor {
    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 {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    border: 2px solid var(--dorado);
}

.logo-texto {
    font-family: var(--fuente-principal);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dorado);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-principal {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-enlace {
    font-family: var(--fuente-secundaria);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--crema);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 0;
    position: relative;
}

.nav-enlace::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--dorado);
    transition: width 0.3s ease;
}

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

.nav-enlace:hover {
    color: var(--dorado);
}

/* Botón CTA */
.boton-cta {
    display: inline-block;
    background: linear-gradient(135deg, var(--dorado) 0%, var(--dorado-oscuro) 100%);
    color: var(--negro);
    font-family: var(--fuente-secundaria);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.boton-cta:hover {
    background: linear-gradient(135deg, var(--dorado-claro) 0%, var(--dorado) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    color: var(--negro);
}

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

.boton-cta-secundario:hover {
    background: var(--dorado);
    color: var(--negro);
}

/* Menú Móvil */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--dorado);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--negro) 0%, var(--borgona-oscuro) 50%, var(--negro) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-principal.webp') center/cover no-repeat;
    opacity: 0.3;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(13,13,13,0.7) 0%, rgba(114,47,55,0.5) 50%, rgba(13,13,13,0.9) 100%);
}

.hero-contenido {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 4rem 0;
}

.hero-titulo {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitulo {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--crema);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.caracteristica {
    text-align: center;
}

.caracteristica-icono {
    font-size: 2.5rem;
    color: var(--dorado);
    margin-bottom: 0.5rem;
}

.caracteristica-texto {
    font-size: 0.9rem;
    color: var(--crema);
}

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

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

.seccion-borgona {
    background: linear-gradient(135deg, var(--borgona-oscuro) 0%, var(--borgona) 100%);
}

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

.seccion-titulo h2 {
    margin-bottom: 1rem;
}

.seccion-titulo p {
    max-width: 600px;
    margin: 0 auto;
    color: rgba(245, 240, 225, 0.8);
}

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

.juego-tarjeta {
    background: linear-gradient(145deg, var(--gris-oscuro) 0%, var(--negro-suave) 100%);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.4s ease;
}

.juego-tarjeta:hover {
    transform: translateY(-8px);
    border-color: var(--dorado);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.15);
}

.juego-imagen {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

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

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

.juego-rtp {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--dorado);
    color: var(--negro);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
}

.juego-contenido {
    padding: 1.5rem;
}

.juego-contenido h3 {
    margin-bottom: 0.75rem;
    font-size: 1.4rem;
}

.juego-contenido p {
    font-size: 0.95rem;
    color: rgba(245, 240, 225, 0.8);
    margin-bottom: 1.25rem;
}

/* Promociones */
.promocion-destacada {
    background: linear-gradient(135deg, var(--borgona) 0%, var(--borgona-oscuro) 100%);
    border-radius: 16px;
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    border: 2px solid var(--dorado);
}

.promocion-contenido h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.promocion-contenido p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.promocion-imagen img {
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Métodos de Pago */
.pagos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.pago-item {
    background: var(--gris-oscuro);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.pago-item:hover {
    border-color: var(--dorado);
    transform: translateY(-4px);
}

.pago-icono {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
}

.pago-icono img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.pago-item p {
    font-size: 0.9rem;
    color: rgba(245, 240, 225, 0.7);
}

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

.faq-item {
    background: var(--gris-oscuro);
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid rgba(212, 175, 55, 0.15);
    overflow: hidden;
}

.faq-pregunta {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--dorado);
    font-family: var(--fuente-secundaria);
    font-size: 1.05rem;
    font-weight: 600;
}

.faq-pregunta::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--dorado);
    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;
    color: rgba(245, 240, 225, 0.85);
    line-height: 1.8;
}

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

.resena-tarjeta {
    background: var(--gris-oscuro);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

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

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

.resena-ubicacion {
    font-size: 0.85rem;
    color: rgba(245, 240, 225, 0.6);
}

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

.resena-texto {
    font-style: italic;
    color: rgba(245, 240, 225, 0.85);
    margin-bottom: 1rem;
}

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

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

.sobre-item {
    text-align: center;
    padding: 2rem;
}

.sobre-icono {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--dorado) 0%, var(--dorado-oscuro) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.sobre-item h3 {
    margin-bottom: 1rem;
}

/* Licencia */
.licencia-contenedor {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    background: var(--gris-oscuro);
    border-radius: 16px;
    padding: 3rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.licencia-imagen {
    width: 150px;
    height: 150px;
}

.licencia-imagen img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.licencia-texto {
    max-width: 600px;
}

.licencia-texto h3 {
    margin-bottom: 1rem;
}

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

.responsable-imagen {
    text-align: center;
}

.responsable-imagen img {
    max-width: 200px;
    margin: 0 auto;
}

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

.responsable-lista li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

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

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

.soporte-item {
    background: var(--gris-oscuro);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.soporte-icono {
    font-size: 3rem;
    color: var(--dorado);
    margin-bottom: 1rem;
}

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

/* Autor E-E-A-T */
.autor-seccion {
    background: var(--gris-oscuro);
    border-radius: 16px;
    padding: 2.5rem;
    display: flex;
    gap: 2rem;
    align-items: center;
    border: 1px solid rgba(212, 175, 55, 0.2);
    margin-top: 3rem;
}

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

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

.autor-info h4 {
    color: var(--dorado);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.autor-titulo {
    color: var(--dorado-claro);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.autor-bio {
    color: rgba(245, 240, 225, 0.85);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Footer */
.pie-pagina {
    background: var(--negro);
    border-top: 2px solid var(--dorado);
    padding: 4rem 0 2rem;
}

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

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

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

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

.pie-enlaces a {
    color: rgba(245, 240, 225, 0.7);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

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

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

.pie-legal a {
    color: rgba(245, 240, 225, 0.6);
    font-size: 0.85rem;
}

.pie-18 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--borgona);
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.pie-18 span {
    font-weight: 700;
    color: var(--dorado);
    font-size: 1.2rem;
}

.pie-copyright {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    color: rgba(245, 240, 225, 0.5);
    font-size: 0.85rem;
}

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

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-principal {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--negro);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        border-bottom: 2px solid var(--dorado);
    }
    
    .nav-principal.activo {
        display: flex;
    }
    
    .hero {
        min-height: 80vh;
    }
    
    .hero-caracteristicas {
        gap: 1.5rem;
    }
    
    .licencia-contenedor {
        flex-direction: column;
        text-align: center;
    }
    
    .pie-inferior {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .seccion {
        padding: 3rem 0;
    }
    
    .juegos-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-botones {
        flex-direction: column;
        align-items: center;
    }
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

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