/* Baccarat Juego - Día de los Muertos Theme CSS */
/* Inspired by Coco - Vibrant Purple, Orange, Gold */

:root {
    --color-primary: #6B2D5C;
    --color-secondary: #F5A623;
    --color-accent: #E85D04;
    --color-gold: #D4AF37;
    --color-purple-dark: #3D1A33;
    --color-purple-light: #9B4D8B;
    --color-orange: #FF6B35;
    --color-marigold: #FFA500;
    --color-teal: #1A535C;
    --color-bg-dark: #1A0A14;
    --color-bg-card: #2D1526;
    --color-text: #FFFFFF;
    --color-text-muted: #C9B8C4;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Nunito', 'Segoe UI', sans-serif;
    --shadow-glow: 0 0 30px rgba(245, 166, 35, 0.3);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
    --border-decorative: 3px solid var(--color-gold);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-body);
    background: linear-gradient(135deg, var(--color-bg-dark) 0%, var(--color-purple-dark) 50%, var(--color-bg-dark) 100%);
    color: var(--color-text);
    line-height: 1.7;
    min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    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: 1.25rem;
    color: var(--color-text-muted);
}

a {
    color: var(--color-marigold);
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

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

/* Header Navigation */
.encabezado {
    background: linear-gradient(180deg, rgba(61, 26, 51, 0.98) 0%, rgba(26, 10, 20, 0.95) 100%);
    padding: 1rem 0;
    border-bottom: 2px solid var(--color-gold);
    position: relative;
    z-index: 100;
}

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

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

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

.logo-marca span {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-marigold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.menu-principal {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.menu-principal li a {
    display: block;
    padding: 0.6rem 1.2rem;
    color: var(--color-text);
    font-weight: 500;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.menu-principal li a:hover {
    background: rgba(245, 166, 35, 0.15);
    color: var(--color-marigold);
}

.boton-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-marigold) 100%);
    color: var(--color-bg-dark);
    font-weight: 700;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
}

.boton-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(255, 107, 53, 0.6);
    color: var(--color-bg-dark);
}

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

.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(135deg, rgba(107, 45, 92, 0.9) 0%, rgba(26, 10, 20, 0.95) 100%);
}

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

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

.hero-contenido h1 span {
    display: block;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-marigold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-contenido p {
    font-size: 1.25rem;
    color: var(--color-text);
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.boton-secundario {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    background: transparent;
    color: var(--color-gold);
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid var(--color-gold);
    cursor: pointer;
    transition: var(--transition-smooth);
}

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

/* Decorative Elements */
.decoracion-papel-picado {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 30"><path fill="%23F5A623" d="M0,0 L10,0 L10,20 L5,30 L0,20 Z"/><path fill="%23E85D04" d="M15,0 L25,0 L25,20 L20,30 L15,20 Z"/><path fill="%236B2D5C" d="M30,0 L40,0 L40,20 L35,30 L30,20 Z"/><path fill="%2300CED1" d="M45,0 L55,0 L55,20 L50,30 L45,20 Z"/><path fill="%23FF69B4" d="M60,0 L70,0 L70,20 L65,30 L60,20 Z"/><path fill="%2332CD32" d="M75,0 L85,0 L85,20 L80,30 L75,20 Z"/><path fill="%23FFD700" d="M90,0 L100,0 L100,20 L95,30 L90,20 Z"/></svg>') repeat-x;
    background-size: 200px 60px;
    opacity: 0.8;
}

/* Games Section */
.seccion-juegos {
    padding: 5rem 0;
    background: linear-gradient(180deg, transparent 0%, rgba(61, 26, 51, 0.3) 50%, transparent 100%);
}

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

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

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

.titulo-seccion p {
    max-width: 700px;
    margin: 1.5rem auto 0;
    text-align: center;
}

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

.tarjeta-juego {
    background: linear-gradient(145deg, var(--color-bg-card) 0%, rgba(61, 26, 51, 0.8) 100%);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: var(--transition-smooth);
    position: relative;
}

.tarjeta-juego::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-orange), var(--color-gold), var(--color-purple-light));
}

.tarjeta-juego:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
    border-color: var(--color-gold);
}

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

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

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

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

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

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

.tarjeta-juego .boton-cta {
    width: 100%;
    justify-content: center;
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
}

/* Bonuses Section */
.seccion-bonos {
    padding: 5rem 0;
    position: relative;
}

.tarjeta-bono-principal {
    background: linear-gradient(135deg, var(--color-purple-dark) 0%, var(--color-primary) 100%);
    border-radius: 24px;
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    border: 2px solid var(--color-gold);
    box-shadow: var(--shadow-glow);
    position: relative;
    overflow: hidden;
}

.tarjeta-bono-principal::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.bono-info h2 {
    color: var(--color-text);
    margin-bottom: 1rem;
}

.bono-info h2 span {
    color: var(--color-marigold);
}

.bono-info p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.bono-caracteristicas {
    list-style: none;
    margin-bottom: 2rem;
}

.bono-caracteristicas li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--color-text-muted);
}

.bono-caracteristicas li::before {
    content: '✦';
    color: var(--color-marigold);
    font-size: 1.2rem;
}

.bono-imagen img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-card);
}

/* About Section */
.seccion-nosotros {
    padding: 5rem 0;
    background: linear-gradient(180deg, rgba(61, 26, 51, 0.2) 0%, transparent 100%);
}

.contenido-nosotros {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.nosotros-texto h2 {
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.nosotros-texto h2 span {
    color: var(--color-marigold);
}

.nosotros-lista {
    list-style: none;
    margin: 2rem 0;
}

.nosotros-lista li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.nosotros-lista li:last-child {
    border-bottom: none;
}

.nosotros-icono {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-orange), var(--color-marigold));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.nosotros-imagen {
    position: relative;
}

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

/* Payment Methods */
.seccion-pagos {
    padding: 5rem 0;
}

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

.metodo-pago-tarjeta {
    background: var(--color-bg-card);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.15);
    transition: var(--transition-smooth);
}

.metodo-pago-tarjeta:hover {
    border-color: var(--color-gold);
    transform: translateY(-4px);
}

.metodo-pago-icono {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-purple-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.metodo-pago-tarjeta h3 {
    color: var(--color-gold);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* Reviews Section */
.seccion-opiniones {
    padding: 5rem 0;
    background: linear-gradient(180deg, transparent 0%, rgba(61, 26, 51, 0.3) 50%, transparent 100%);
}

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

.tarjeta-opinion {
    background: var(--color-bg-card);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(212, 175, 55, 0.15);
    position: relative;
}

.tarjeta-opinion::before {
    content: '"';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 4rem;
    color: var(--color-gold);
    opacity: 0.2;
    font-family: var(--font-display);
    line-height: 1;
}

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

.opinion-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-gold);
}

.opinion-autor h4 {
    color: var(--color-text);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.opinion-autor span {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

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

.opinion-texto {
    color: var(--color-text-muted);
    font-style: italic;
    line-height: 1.6;
}

.opinion-fecha {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    opacity: 0.7;
}

/* FAQ Section */
.seccion-faq {
    padding: 5rem 0;
}

.faq-lista {
    max-width: 900px;
    margin: 2rem auto 0;
}

.faq-item {
    background: var(--color-bg-card);
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid rgba(212, 175, 55, 0.1);
    overflow: hidden;
}

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

.faq-pregunta:hover {
    color: var(--color-marigold);
}

.faq-pregunta::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--color-gold);
    transition: var(--transition-smooth);
}

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

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

/* Responsible Gaming */
.seccion-responsable {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(26, 83, 92, 0.3) 0%, rgba(61, 26, 51, 0.3) 100%);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

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

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

.badge-18 {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--color-orange), var(--color-marigold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-bg-dark);
    margin: 0 auto 1rem;
    border: 4px solid var(--color-gold);
}

.responsable-info h3 {
    color: var(--color-text);
    margin-bottom: 1rem;
}

.responsable-lista {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.responsable-lista li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.responsable-lista li::before {
    content: '✓';
    color: var(--color-marigold);
    font-weight: 700;
}

/* Footer */
.pie-pagina {
    background: linear-gradient(180deg, var(--color-purple-dark) 0%, var(--color-bg-dark) 100%);
    padding: 4rem 0 2rem;
    border-top: 2px solid var(--color-gold);
}

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

.pie-marca p {
    margin-top: 1rem;
    font-size: 0.95rem;
}

.pie-columna h4 {
    color: var(--color-gold);
    margin-bottom: 1.25rem;
    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(--color-text-muted);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.pie-columna ul li a:hover {
    color: var(--color-marigold);
    padding-left: 5px;
}

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

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

.pie-licencias {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.pie-licencias img {
    height: 40px;
    opacity: 0.8;
    transition: var(--transition-smooth);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .tarjeta-bono-principal {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contenido-nosotros {
        grid-template-columns: 1fr;
    }
    
    .pie-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .responsable-contenido {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .responsable-lista {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-contenedor {
        flex-direction: column;
    }
    
    .menu-principal {
        justify-content: center;
    }
    
    .seccion-hero {
        min-height: 70vh;
        text-align: center;
    }
    
    .hero-botones {
        justify-content: center;
    }
    
    .cuadricula-juegos {
        grid-template-columns: 1fr;
    }
    
    .opiniones-grid {
        grid-template-columns: 1fr;
    }
    
    .pie-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .pie-inferior {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .contenedor {
        padding: 0 1rem;
    }
    
    .tarjeta-bono-principal {
        padding: 1.5rem;
    }
    
    .metodos-pago-grid {
        grid-template-columns: 1fr;
    }
}

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

@keyframes brillar {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

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

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

/* Utility Classes */
.texto-centro { text-align: center; }
.texto-dorado { color: var(--color-gold); }
.texto-naranja { color: var(--color-orange); }
.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 */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

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

/* Print Styles */
@media print {
    .encabezado, .pie-pagina, .boton-cta {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
