/* Parley Apuestas - Chichen Itza Theme CSS */
/* Tema: Pirámide de Kukulkán - Colores jade esmeralda y oro */

:root {
    --jade-primary: #0d6b4e;
    --jade-dark: #094536;
    --jade-light: #10a37f;
    --gold-primary: #d4a853;
    --gold-light: #f0d78c;
    --gold-dark: #a67c2e;
    --stone-dark: #1a1a1a;
    --stone-medium: #2d2d2d;
    --stone-light: #3d3d3d;
    --cream: #f5f0e6;
    --text-light: #ffffff;
    --text-muted: #b8b8b8;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(180deg, var(--stone-dark) 0%, #0a0a0a 100%);
    color: var(--text-light);
    line-height: 1.7;
    min-height: 100vh;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

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

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

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

a:hover {
    color: var(--gold-light);
}

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

/* Encabezado */
.encabezado {
    background: linear-gradient(135deg, var(--stone-dark) 0%, var(--stone-medium) 100%);
    border-bottom: 3px solid var(--jade-primary);
    padding: 1rem 0;
}

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

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

.marca img {
    height: 50px;
    width: auto;
}

.marca-texto {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.navegacion a {
    padding: 0.6rem 1.2rem;
    color: var(--text-light);
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.navegacion a:hover {
    background: var(--jade-primary);
    color: var(--text-light);
}

.boton-cta {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: var(--stone-dark) !important;
    font-weight: 700;
    padding: 0.75rem 1.5rem !important;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(212, 168, 83, 0.3);
}

.boton-cta:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 168, 83, 0.4);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-fondo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    z-index: 0;
}

.hero-contenido {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 3rem 0;
}

.hero h1 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero h1 span {
    color: var(--gold-primary);
}

.hero p {
    font-size: 1.25rem;
    color: var(--cream);
    margin-bottom: 2rem;
}

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

.boton-primario {
    display: inline-block;
    background: linear-gradient(135deg, var(--jade-primary), var(--jade-dark));
    color: var(--text-light);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--jade-light);
}

.boton-primario:hover {
    background: linear-gradient(135deg, var(--jade-light), var(--jade-primary));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(13, 107, 78, 0.4);
    color: var(--text-light);
}

.boton-secundario {
    display: inline-block;
    background: transparent;
    color: var(--gold-primary);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    border: 2px solid var(--gold-primary);
    transition: all 0.3s ease;
}

.boton-secundario:hover {
    background: var(--gold-primary);
    color: var(--stone-dark);
}

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

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

.seccion-titulo h2 {
    color: var(--text-light);
    position: relative;
    display: inline-block;
}

.seccion-titulo h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--jade-primary), var(--gold-primary));
    border-radius: 2px;
}

.seccion-titulo p {
    max-width: 700px;
    margin: 1.5rem auto 0;
    font-size: 1.1rem;
}

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

.juego-tarjeta {
    background: linear-gradient(145deg, var(--stone-medium), var(--stone-light));
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(212, 168, 83, 0.1);
}

.juego-tarjeta:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(13, 107, 78, 0.2);
    border-color: var(--jade-primary);
}

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

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

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

.juego-etiqueta {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gold-primary);
    color: var(--stone-dark);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

.juego-contenido {
    padding: 1.5rem;
}

.juego-contenido h3 {
    color: var(--gold-primary);
    margin-bottom: 0.75rem;
}

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

.juego-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.juego-rtp {
    font-size: 0.9rem;
    color: var(--jade-light);
}

.juego-boton {
    background: var(--jade-primary);
    color: var(--text-light);
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.juego-boton:hover {
    background: var(--jade-light);
    color: var(--text-light);
}

/* Bonos Section */
.bonos-contenedor {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.bono-tarjeta {
    background: linear-gradient(135deg, var(--jade-dark), var(--jade-primary));
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.bono-tarjeta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(212,168,83,0.1) 0%, transparent 70%);
}

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

.bono-porcentaje {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--gold-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.bono-tarjeta h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.bono-tarjeta p {
    color: rgba(255,255,255,0.8);
}

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

.caracteristica {
    text-align: center;
    padding: 2rem;
    background: var(--stone-medium);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.caracteristica:hover {
    background: var(--stone-light);
    transform: translateY(-5px);
}

.caracteristica-icono {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--jade-primary), var(--jade-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.75rem;
}

.caracteristica h3 {
    color: var(--gold-primary);
    margin-bottom: 0.75rem;
}

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

.pago-item {
    background: var(--stone-medium);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.pago-item:hover {
    border-color: var(--jade-primary);
    transform: translateY(-3px);
}

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

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

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

.testimonio {
    background: var(--stone-medium);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
}

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

.testimonio-texto {
    font-style: italic;
    margin-bottom: 1.5rem;
    padding-top: 1rem;
    color: var(--cream);
}

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

.testimonio-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--jade-primary);
}

.testimonio-info h4 {
    color: var(--gold-primary);
    margin-bottom: 0.25rem;
}

.testimonio-info span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

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

.faq-item {
    background: var(--stone-medium);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-pregunta {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-pregunta:hover {
    background: var(--stone-light);
}

.faq-pregunta h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--gold-primary);
}

.faq-icono {
    font-size: 1.5rem;
    color: var(--jade-primary);
    transition: transform 0.3s ease;
}

.faq-respuesta {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
    line-height: 1.8;
}

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

.sobre-imagen img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.sobre-contenido h2 {
    color: var(--gold-primary);
    margin-bottom: 1.5rem;
}

.sobre-lista {
    list-style: none;
    margin-top: 1.5rem;
}

.sobre-lista li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--cream);
}

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

/* Licencia */
.licencia-contenedor {
    background: linear-gradient(135deg, var(--stone-medium), var(--stone-light));
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    border: 1px solid var(--jade-primary);
}

.licencia-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.licencia-badge {
    background: var(--stone-dark);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    min-width: 150px;
}

.licencia-badge h4 {
    color: var(--gold-primary);
    margin-bottom: 0.5rem;
}

/* Juego Responsable */
.responsable-contenido {
    background: linear-gradient(135deg, rgba(13, 107, 78, 0.2), rgba(9, 69, 54, 0.3));
    border-radius: 20px;
    padding: 3rem;
    border-left: 5px solid var(--jade-primary);
}

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

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

.responsable-item h4 {
    color: var(--gold-primary);
    margin-bottom: 0.5rem;
}

/* Footer */
.pie-pagina {
    background: var(--stone-dark);
    border-top: 3px solid var(--jade-primary);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

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

.pie-seccion h4 {
    color: var(--gold-primary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

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

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

.pie-seccion ul li a {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.pie-seccion ul li a:hover {
    color: var(--jade-light);
}

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

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

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

.pie-inferior {
    border-top: 1px solid var(--stone-light);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.pie-inferior p {
    margin: 0;
    font-size: 0.9rem;
}

.edad-badge {
    background: #c0392b;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 700;
}

/* Páginas internas */
.pagina-hero {
    background: linear-gradient(135deg, var(--stone-dark), var(--stone-medium));
    padding: 4rem 0;
    text-align: center;
    position: relative;
}

.pagina-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, var(--stone-dark), transparent);
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--text-muted);
}

.breadcrumb span {
    color: var(--jade-light);
}

.contenido-principal {
    padding: 4rem 0;
}

.contenido-articulo {
    max-width: 900px;
    margin: 0 auto;
}

.contenido-articulo h2 {
    color: var(--gold-primary);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.contenido-articulo h3 {
    color: var(--jade-light);
    margin-top: 2rem;
}

.contenido-articulo ul, .contenido-articulo ol {
    margin: 1rem 0 1rem 2rem;
    color: var(--text-muted);
}

.contenido-articulo li {
    margin-bottom: 0.5rem;
}

.tabla-info {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--stone-medium);
    border-radius: 12px;
    overflow: hidden;
}

.tabla-info th, .tabla-info td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--stone-light);
}

.tabla-info th {
    background: var(--jade-dark);
    color: var(--gold-primary);
}

.tabla-info td {
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 992px) {
    .sobre-grid {
        grid-template-columns: 1fr;
    }
    
    .sobre-imagen {
        order: -1;
    }
}

@media (max-width: 768px) {
    .encabezado-interior {
        flex-direction: column;
        text-align: center;
    }
    
    .navegacion {
        justify-content: center;
    }
    
    .hero {
        min-height: 60vh;
    }
    
    .hero-contenido {
        text-align: center;
    }
    
    .hero-botones {
        justify-content: center;
    }
    
    .seccion {
        padding: 3rem 0;
    }
    
    .testimonios-grid {
        grid-template-columns: 1fr;
    }
    
    .pie-inferior {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .juegos-grid {
        grid-template-columns: 1fr;
    }
    
    .navegacion a {
        padding: 0.5rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .boton-primario, .boton-secundario {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}
