/* Estilos generales */
/* Variables de colores para facilitar mantenimiento */
:root {
    --gold-primary: #e6c46c;
    --gold-light: #fcf7d1;
    --gold-dark: #9c7a23;
    --bg-dark: #1a1a1a;
    --bg-light: #ffffff;
    --text-dark: #333333;
    --text-light: #ffffff;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #e6c46c;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 10px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #e6c46c;
}

/* Light theme adjustments */
.light-theme .section-title {
    color: #9c7a23;
}

.light-theme .section-title:after {
    background-color: #9c7a23;
}

.section-divider {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(230, 196, 108, 0), rgba(230, 196, 108, 0.75), rgba(230, 196, 108, 0));
    margin: 3rem 0;
}

/* Estilos generales para las líneas separadoras de sección */
.ih-seccion {
    position: relative;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.ih-seccion::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 800px;
    height: 1px;
    background: linear-gradient(90deg, 
            transparent 0%, 
            rgba(230, 196, 108, 0.7) 15%, 
            rgba(230, 196, 108, 0.7) 85%, 
            transparent 100%);
}

/* Estilos específicos para cada sección */
.como-jugar-section::before {
    background: linear-gradient(90deg, 
            transparent 0%, 
            rgba(230, 196, 108, 0.8) 15%, 
            rgba(230, 196, 108, 0.8) 85%, 
            transparent 100%);
}

.plan-premios-section::before {
    background: linear-gradient(90deg, 
            transparent 0%, 
            rgba(230, 196, 108, 0.6) 15%, 
            rgba(230, 196, 108, 0.6) 85%, 
            transparent 100%);
}

.formas-pago-section::before {
    background: linear-gradient(90deg, 
            transparent 0%, 
            rgba(230, 196, 108, 0.7) 15%, 
            rgba(230, 196, 108, 0.7) 85%, 
            transparent 100%);
}

.faq-section::before {
    background: linear-gradient(90deg, 
            transparent 0%, 
            rgba(230, 196, 108, 0.9) 15%, 
            rgba(230, 196, 108, 0.9) 85%, 
            transparent 100%);
}

/* Ajustes para el tema claro */
.light-theme .ih-seccion::before,
.light-theme .como-jugar-section::before,
.light-theme .plan-premios-section::before,
.light-theme .formas-pago-section::before,
.light-theme .faq-section::before {
    background: linear-gradient(90deg, 
            transparent 0%, 
            rgba(156, 122, 35, 0.7) 15%, 
            rgba(156, 122, 35, 0.7) 85%, 
            transparent 100%);
}

/* Efectos hover para las secciones */
.ih-seccion:hover::before {
    height: 2px;
    background: linear-gradient(90deg, 
            transparent 0%, 
            rgba(230, 196, 108, 1) 15%, 
            rgba(230, 196, 108, 1) 85%, 
            transparent 100%);
    transition: all 0.3s ease;
}

.light-theme .ih-seccion:hover::before {
    background: linear-gradient(90deg, 
            transparent 0%, 
            rgba(156, 122, 35, 1) 15%, 
            rgba(156, 122, 35, 1) 85%, 
            transparent 100%);
}

/* Animación de entrada */
@keyframes lineAppear {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 80%;
        opacity: 1;
    }
}

.ih-seccion::before {
    animation: lineAppear 1s ease-out forwards;
}

/* Estilos para las tarjetas de "Cómo Jugar" - Tema oscuro por defecto */
.step-card {
    perspective: 1000px;
    height: 300px;
    cursor: pointer;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    outline: 2px solid rgba(230, 196, 108, 0.3);
    position: relative;
    overflow: hidden;
}

.step-card:hover {
    transform: translateY(-8px);
    outline: 2px solid rgba(230, 196, 108, 0.7);
    box-shadow: 0 10px 25px rgba(230, 196, 108, 0.2);
}

.step-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s ease;
    will-change: transform;
    border-radius: 0.75rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.step-card-front, .step-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 0.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
}

.step-card-front {
    background-color: #fcf7d1;
    color: #fff;
    background-image: radial-gradient(circle at top right, rgba(230, 196, 108, 0.1), transparent 70%);
}

.step-card-back {
    background-color: #fffcee;
    color: #e6c46c;
    transform: rotateY(180deg);
    text-align: center;
    background-image: radial-gradient(circle at bottom left, rgba(230, 196, 108, 0.1), transparent 70%);
}

.step-card.flipped .step-card-inner {
    transform: rotateY(180deg);
}

/* Indicador visual para girar */
.step-card::after {
    content: '↻';
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 1.2rem;
    color: #e6c46c;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 3;
}

.step-card:hover::after {
    opacity: 1;
    transform: rotate(90deg);
}

.step-card.flipped::after {
    opacity: 0;
}

/* Estilos para el tema claro */
.light-theme .step-card {
    outline: 2px solid rgba(156, 122, 35, 0.3);
}

.light-theme .step-card:hover {
    outline: 2px solid rgba(156, 122, 35, 0.7);
    box-shadow: 0 10px 25px rgba(156, 122, 35, 0.15);
}

.light-theme .step-card-front {
    background-color: #ffffff;
    color: #333333;
    border: 1px solid #e0e0e0;
    background-image: radial-gradient(circle at top right, rgba(230, 196, 108, 0.15), transparent 70%);
}

.light-theme .step-card-back {
    background-color: #f5f5f5;
    color: #9c7a23;
    border: 1px solid #e0e0e0;
    background-image: radial-gradient(circle at bottom left, rgba(230, 196, 108, 0.15), transparent 70%);
}

.light-theme .step-card::after {
    color: #9c7a23;
}

/* Estilos para el contenido de las tarjetas */
.step-card-img {
    max-width: 50%;
    height: auto;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.step-card:hover .step-card-img {
    transform: scale(1.05);
}

.step-card-title {
    margin-top: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 8px;
    color: #000;
}

.step-card-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: #e6c46c;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step-card:hover .step-card-title:after {
    opacity: 1;
}

.step-card-back p {
    font-size: 1.1rem;
    line-height: 1.5;
    max-width: 90%;
}

/* Estilo para el botón principal */
.btn-primary {
    background-color: #e6c46c;
    border: none;
    color: #222;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(230, 196, 108, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background-color: #d4b45c;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(230, 196, 108, 0.4);
}

@keyframes breathing {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(230, 196, 108, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 15px 5px rgba(230, 196, 108, 0.3);
    }
}

.btn-primary {
    animation: breathing 3s ease-in-out infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #e6c46c;
    color: #000;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
}

/* Al pasar el mouse, respira más rápido e intenso */
.btn-primary:hover {
    animation: breathing 1.5s ease-in-out infinite;
    transform: scale(1.08);
    box-shadow: 0 0 20px 8px rgba(230, 196, 108, 0.5);
}


.light-theme .btn-primary {
    background-color: #d4b45c;
    color: #333;
    box-shadow: 0 4px 15px rgba(156, 122, 35, 0.2);
}

.light-theme .btn-primary:hover {
    background-color: #c4a54c;
    box-shadow: 0 6px 20px rgba(156, 122, 35, 0.3);
}

/* Estilos para los items de "Plan de premios" */

.plan-premios-section {
    position: relative;
    padding: 4rem 0;
    background-color: rgba(25, 25, 30, 0.7);
    border-radius: 15px;
    margin: 20px 0;
}

.light-theme .plan-premios-section {
    background-color: rgba(245, 245, 245, 0.9);
}

.pp-steps-container {
    margin-bottom: 2rem;
    width: 100vw;
    height: 30vh;
}

.pp-step {
    transition: all 0.5s ease;
    opacity: 0.7;
    transform: scale(0.95);
}

.pp-step.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.pp-step .card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    background-color: rgba(30, 30, 35, 0.9);
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.pp-step.active .card {
    box-shadow: 0 12px 30px rgba(230, 196, 108, 0.4);
    border: 1px solid rgba(230, 196, 108, 0.6);
}

.pp-step .card-body {
    padding: 1.5rem;
}

.pp-step h3 {
    color: #e6c46c;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.pp-step p {
    color: #000;
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
}

.pp-label {
    color: #e6c46c;
    font-weight: 500;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

.pp-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    background-color: rgba(230, 196, 108, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.pp-step.active .pp-number {
    background-color: rgba(230, 196, 108, 0.4);
    box-shadow: 0 5px 15px rgba(230, 196, 108, 0.4);
}

/* Reemplaza los estilos anteriores de card-stack con esto */
.card-stack-container {
    position: relative;
}

.card-stack-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    transition: transform 0.5s ease, opacity 0.4s ease;
    opacity: 0;
    transform: translateX(30px);
    pointer-events: none;
}

.card-stack-item.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    position: relative; /* Cambiado a relative para mejor rendimiento */
}

/* Eliminar completamente las clases .prev y .next */
.card-stack-item:not(.active) {
    display: none; /* Ocultar completamente las tarjetas inactivas */
}

/* Versión más ligera del efecto activo */
.card-stack-item.active .card {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2), 
                0 0 0 1px rgba(230, 196, 108, 0.5);
    transition: box-shadow 0.3s ease;
}

/* Ajustes para móvil */
@media (max-width: 768px) {
    .card-stack-container {
        height: auto; /* Altura automática para móviles */
        min-height: 220px; /* Altura mínima */
    }
    
    .card-stack-item.active {
        margin-bottom: 1rem; /* Espacio en móviles */
    }
}

/* Estilos para las tarjetas de resumen */
.pp-card {
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(30, 30, 35, 0.9);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.pp-card h3 {
    color: #e6c46c;
    font-weight: 600;
    margin: 0;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.pp-card.active-card {
    background-color: rgba(230, 196, 108, 0.25);
    border-color: rgba(230, 196, 108, 0.7);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(230, 196, 108, 0.3);
}

.pp-card.active-card h3 {
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.pp-card:hover:not(.active-card) {
    background-color: rgba(230, 196, 108, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
}

/* Estilos para los tickets animados */
/* Animaciones */
@keyframes countPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes vibrate {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

@keyframes diamondGlow {
    from { box-shadow: 0 0 10px 2px rgba(0, 180, 216, 0.5), 0 0 5px rgba(255, 255, 255, 0.3) inset; }
    to { box-shadow: 0 0 20px 5px rgba(0, 180, 216, 0.8), 0 0 10px rgba(255, 255, 255, 0.5) inset; }
}

@keyframes goldPulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(230, 196, 108, 0.5), 0 0 5px rgba(255, 255, 255, 0.2) inset; }
    50% { box-shadow: 0 8px 25px rgba(230, 196, 108, 0.7), 0 0 10px rgba(255, 255, 255, 0.4) inset; }
}

.animate-count {
    animation: countPulse 0.5s ease-in-out;
}

.animate-vibrate {
    animation: vibrate 0.3s linear;
}

/* Estilos para los tickets */
.ticket-base {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.3rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.ticket-gold {
    background: linear-gradient(135deg, #e6c46c, #d4b45c);
    border: 1px solid #f8e7a0;
    color: #222;
    animation: goldPulse 2.5s infinite alternate;
}

.ticket-diamond {
    background: linear-gradient(135deg, #b9f2ff, #00b4d8);
    border: 1px solid #90e0ef;
    color: #00455e;
    animation: diamondGlow 2s infinite alternate;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}

.ticket-side-cut {
    clip-path: polygon(95% 0, 100% 50%, 95% 100%, 5% 100%, 0 50%, 5% 0);
}

/* Añadimos un brillo para mejorar el efecto visual */
.ticket-gold:before,
.ticket-diamond:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        transparent 51%,
        transparent 100%
    );
    transition: all 0.3s ease;
    transform: rotate(35deg);
    pointer-events: none;
}

/* Contenedores para las animaciones */
.pp-adjustment-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 15px 0;
    justify-content: center;
}

.pp-seco-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pp-separator {
    font-size: 1.6rem;
    color: #e6c46c;
    margin: 0 8px;
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

/* Modifica estos estilos para la animación del Paso 2 */
.digit-container {
    padding: 0.75rem;
    display: inline-flex;
    gap: 0.3rem;
    background: rgba(230, 196, 108, 0.2);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    /* Añadir estas propiedades */
    position: relative;
    z-index: 10;
    backface-visibility: visible;
    transform-style: preserve-3d;
}

.digit-container .digit {
    display: inline-block;
    padding: 0 3px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
    /* Asegurar que los dígitos sean visibles durante la animación */
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

/* Añadir esta regla para asegurar la visibilidad durante animaciones */
.pp-step.active .pp-number,
.pp-step.active .pp-number * {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Añade estos estilos */
.digit-flip-container {
    perspective: 1000px;
    display: inline-flex;
    gap: 0.25rem;
}

.digit-flip {
    position: relative;
    width: 1.2em;
    height: 1.5em;
    transform-style: preserve-3d;
    transition: transform 0.8s ease;
    will-change: transform;
}

.digit-flip-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(230, 196, 108, 0.3);
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.digit-flip-front {
    transform: rotateY(0deg);
}

.digit-flip-back {
    transform: rotateY(180deg);
}

/* Estilo para el tema claro */
.light-theme .digit-flip-face {
    background: rgba(156, 122, 35, 0.2);
}

/* Contenedor principal - Versión definitiva */
.special-numbers-container {
    display: flex;
    flex-wrap: wrap; /* Esto fuerza el salto a nuevas filas */
    gap: 10px;
    width: 100%;
    padding: 5px;
    justify-content: center; /* Alinea a la izquierda */
    align-items: center;
}

/* Estilo para cada ticket - Versión mejorada */
.special-numbers-container .ticket-base {
    flex: 0 0 calc(16.666% - 10px); /* 6 elementos por fila por defecto */
    min-width: 80px; /* Ancho mínimo */
    max-width: 120px; /* Ancho máximo */
    margin: 0;
    padding: 0.8rem 0.5rem; /* Más espacio interno */
    font-size: 1rem;
    text-align: center;
    box-sizing: border-box;
    border-radius: 4px;
    word-break: break-word;
    white-space: nowrap; /* Evita saltos de línea en números */
    overflow: hidden;
    text-overflow: ellipsis; /* Puntos suspensivos si es muy largo */
}

/* Media queries definitivas */
@media (max-width: 1200px) {
    .special-numbers-container .ticket-base {
        flex: 0 0 calc(20% - 10px); /* 5 por fila */
    }
}

@media (max-width: 992px) {
    .special-numbers-container .ticket-base {
        flex: 0 0 calc(25% - 10px); /* 4 por fila */
    }
}

@media (max-width: 768px) {
    .special-numbers-container .ticket-base {
        flex: 0 0 calc(33.333% - 10px); /* 3 por fila */
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .special-numbers-container .ticket-base {
        flex: 0 0 calc(50% - 10px); /* 2 por fila */
        min-width: 70px;
    }
}

@media (max-width: 400px) {
    .special-numbers-container .ticket-base {
        flex: 0 0 calc(50% - 8px); /* 2 por fila */
        min-width: 60px;
        font-size: 0.85rem;
        padding: 0.6rem 0.4rem;
    }
}

@media (max-width: 576px) {
    .pp-example-label {
        font-size: 0.85rem;
    }
}

/* Estilos para tema claro */
.light-theme .pp-separator {
    color: #9c7a23;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

.light-theme .ticket-gold {
    background: linear-gradient(135deg, #e6c46c, #c4a54c);
    border-color: #d4b45c;
    color: #333;
    box-shadow: 0 4px 12px rgba(156, 122, 35, 0.4);
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
}

.light-theme .ticket-diamond {
    background: linear-gradient(135deg, #a8e6ff, #0099cc);
    border-color: #80d1e8;
    color: #00455e;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
}

/* Estilos para tema claro */
.light-theme .plan-premios-section .card,
.light-theme .pp-card {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.light-theme .pp-step h3,
.light-theme .pp-label {
    color: #9c7a23;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
}

.light-theme .pp-step p {
    color: #444;
}

.light-theme .pp-number {
    color: #333;
    background-color: rgba(156, 122, 35, 0.25);
    box-shadow: 0 4px 10px rgba(156, 122, 35, 0.3);
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
}

.light-theme .pp-step.active .card {
    border-color: rgba(156, 122, 35, 0.5);
    box-shadow: 0 12px 30px rgba(156, 122, 35, 0.2);
}

.light-theme .pp-card h3 {
    color: #9c7a23;
    text-shadow: none;
}

.light-theme .pp-card.active-card {
    background-color: rgba(156, 122, 35, 0.15);
    border-color: rgba(156, 122, 35, 0.7);
    box-shadow: 0 10px 20px rgba(156, 122, 35, 0.15);
}

.light-theme .pp-card.active-card h3 {
    color: #7c5e1e;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
}

/* Responsive */
@media (max-width: 992px) {
    .pp-step .card-body {
        padding: 1.25rem;
    }
    
    .pp-step h3 {
        font-size: 1.1rem;
    }
    
    .pp-step p {
        font-size: 0.9rem;
    }
    
    .pp-number {
        font-size: 1.25rem;
        min-width: 80px;
    }
    
    .ticket-base {
        font-size: 1.2rem;
        padding: 0.6rem 1rem;
    }
}

@media (max-width: 768px) {
    .plan-premios-section {
        padding: 3rem 0;
    }
    
    .pp-step .card-body {
        padding: 1rem;
    }
    
    .pp-step h3 {
        font-size: 1rem;
    }
    
    .pp-step p {
        font-size: 0.85rem;
    }
    
    .pp-number {
        font-size: 1.1rem;
        padding: 0.4rem 0.8rem;
    }
    
    .pp-card {
        height: 80px;
    }
    
    .pp-card h3 {
        font-size: 0.9rem;
    }
    
    .ticket-base {
        font-size: 1.1rem;
        padding: 0.5rem 0.9rem;
    }
}

@media (max-width: 576px) {
    .pp-step .card-body {
        padding: 0.8rem;
    }
    
    .pp-step h3 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .pp-step p {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }
    
    .pp-number {
        font-size: 1rem;
        min-width: 70px;
    }
    
    .pp-card {
        height: 70px;
    }
    
    .ticket-base {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
    
    .pp-adjustment-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .pp-separator {
        font-size: 1.2rem;
    }
}

/* Contenedor principal del ejemplo */
.pp-example-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 1rem;
}

.pp-example-label {
    font-weight: 500;
    color: #e6c46c;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
    font-size: 0.95rem;
}

.pp-example-value {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

/* Ajustes para el tema claro */
.light-theme .pp-example-label {
    color: #9c7a23;
}

/* Responsive */
@media (max-width: 768px) {
    .pp-steps-container{
        width: 90vw;
        height: 37vh;
    }
    .special-numbers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pp-example-label {
        font-size: 0.85rem;
    }
}

/* Estilos para "Formas de pago" */

.payment-options {
    transition: all 0.3s ease;
    border-radius: 12px;
    border: none;
    overflow: hidden;
    background-color: #222;
    border: 1px solid rgba(230, 196, 108, 0.3);
    cursor: pointer;
}

.payment-options:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(230, 196, 108, 0.5);
}

.light-theme .payment-options {
    background-color: #fff;
    border: 1px solid rgba(156, 122, 35, 0.3);
}

.light-theme .payment-options:hover {
    border: 1px solid rgba(156, 122, 35, 0.5);
}

.payment-card {
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 1.25rem;
    border-radius: 8px;
    display: inline-block;
    max-width: 200px;
    margin: 0 auto;
}

.payment-card img {
    max-height: 60px;
    max-width: 100px;
    width: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.payment-card p {
    font-weight: 600;
    margin-top: 0.75rem;
    color: #e6c46c;
    transition: all 0.3s ease;
}

.light-theme .payment-card p {
    color: #9c7a23;
}

.payment-card:hover {
    transform: translateY(-5px);
    background-color: rgba(230, 196, 108, 0.1);
}

.payment-card:hover img {
    transform: scale(1.1);
}

.payment-card:active {
    transform: translateY(0);
}

/* Estilos para la tabla de bancos */
.hidden-carrusel-pagos {
    display: none;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.show-carrusel-pagos {
    display: flex;
    justify-content: center;
    opacity: 1;
    transform: translateY(0);
    position: relative;
    left: 50%;
}

#tabla-container {
    margin-top: 2rem;
}

#tabla-container .card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    background-color: #222;
    border: 1px solid rgba(230, 196, 108, 0.3);
}

.light-theme #tabla-container .card {
    background-color: #fff;
    border: 1px solid rgba(156, 122, 35, 0.3);
}

#tabla-container .card-header {
    background-color: rgba(230, 196, 108, 0.15);
    border-bottom: 1px solid rgba(230, 196, 108, 0.3);
    padding: 1rem;
}

.light-theme #tabla-container .card-header {
    background-color: rgba(156, 122, 35, 0.1);
    border-bottom: 1px solid rgba(156, 122, 35, 0.3);
}

#tabla-title-payment {
    color: #e6c46c;
    font-size: 1.35rem;
    margin-bottom: 0;
}

.light-theme #tabla-title-payment {
    color: #9c7a23;
}

.banks-table-container {
    max-height: 320px;
    overflow-y: auto;
    /* Personalización del scrollbar */
    scrollbar-width: thin;
    scrollbar-color: rgba(230, 196, 108, 0.5) rgba(0, 0, 0, 0.1);
}

.banks-table-container::-webkit-scrollbar {
    width: 8px;
}

.banks-table-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.banks-table-container::-webkit-scrollbar-thumb {
    background-color: rgba(230, 196, 108, 0.5);
    border-radius: 10px;
}

.light-theme .banks-table-container::-webkit-scrollbar-thumb {
    background-color: rgba(156, 122, 35, 0.4);
}

.banks-table {
    margin-bottom: 0;
}

.banks-table thead th {
    background-color: #121212;
    color: #e6c46c;
    border-color: rgba(230, 196, 108, 0.2);
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 0.9rem 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.light-theme .banks-table thead th {
    background-color: #f0e6cc;
    color: #7c5e1e;
    border-color: rgba(156, 122, 35, 0.2);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.banks-table tbody tr {
    transition: all 0.2s ease;
    background-color: #f0e6cc;
}

.banks-table tbody tr:hover {
    background-color: rgba(230, 196, 108, 0.1);
}

.light-theme .banks-table tbody tr:hover {
    background-color: rgba(156, 122, 35, 0.07);
}

.banks-table td {
    vertical-align: middle;
    padding: 0.75rem 1rem;
    border-color: rgba(230, 196, 108, 0.1);
    color: #000;
    font-weight: 500;
}

.light-theme .banks-table td {
    border-color: rgba(156, 122, 35, 0.1);
    color: #333;
}

/* Animación de entrada para la tabla */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Estilos para la sección FAQ */
.faq-section {
    padding: 4rem 0;
    margin-bottom: 3rem;
    border-radius: 15px;
    position: relative;
}

/* Estilos para el título de sección */
.faq-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold-primary);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.faq-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--gold-primary);
    margin: 10px auto 0;
}

/* Estilos para el acordeón */
.accordion {
    --bs-accordion-bg: transparent;
    --bs-accordion-border-color: rgba(230, 196, 108, 0.3);
    --bs-accordion-btn-focus-border-color: rgba(230, 196, 108, 0.7);
    --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(230, 196, 108, 0.25);
}

.accordion-item {
    background-color: transparent;
    border: none;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.accordion-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 196, 108, 0.2);
}

.light-theme .accordion-item {
    background-color: var(--bg-light);
    border: 1px solid rgba(230, 196, 108, 0.2);
}

.accordion-header {
    margin: 0;
}

.accordion-button {
    padding: 1.25rem 1.5rem;
    background-color: rgba(30, 30, 30, 0.8);
    color: var(--text-light);
    font-weight: 500;
    font-size: 1.1rem;
    border: none;
    border-radius: 10px !important;
    position: relative;
    transition: all 0.3s ease;
    height: 70px; /* Altura fija para todas las preguntas */
    display: flex;
    align-items: center;
    overflow: hidden;
    box-shadow: none;
}

.accordion-button .question-text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(230, 196, 108, 0.25);
    z-index: 3;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(230, 196, 108, 0.2);
    color: var(--gold-primary);
    font-weight: 600;
}

.accordion-button:not(.collapsed)::after {
    background-image: var(--gold-primary)
}

.light-theme .accordion-button {
    background-color: var(--bg-light);
    color: var(--text-dark);
    border: 1px solid rgba(230, 196, 108, 0.3);
}

.light-theme .accordion-button:not(.collapsed) {
    background-color: rgba(230, 196, 108, 0.15);
    color: var(--gold-dark);
}

.accordion-button:hover {
    background-color: rgba(230, 196, 108, 0.1);
}

.light-theme .accordion-button:hover {
    background-color: rgba(230, 196, 108, 0.1);
}

/* Estilo para la flecha */
.arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    color: var(--gold-primary);
    margin-left: 1rem;
}

/* Estilos para el contenido de respuesta */
.accordion-collapse {
    border: none;
}

.accordion-body {
    padding: 1.5rem;
    background-color: rgba(40, 40, 40, 0.5);
    color: #eaeaea;
    line-height: 1.6;
    font-size: 1rem;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    max-height: 300px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-primary) rgba(30, 30, 30, 0.3);
}

.accordion-body::-webkit-scrollbar {
    width: 6px;
}

.accordion-body::-webkit-scrollbar-track {
    background: rgba(30, 30, 30, 0.3);
    border-radius: 10px;
}

.accordion-body::-webkit-scrollbar-thumb {
    background-color: var(--gold-primary);
    border-radius: 10px;
}

.light-theme .accordion-body {
    background-color: rgba(248, 248, 248, 0.9);
    color: var(--text-dark);
}

/* Transición suave para el collapse */
.accordion-collapse {
    transition: height 0.35s ease;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .ih-seccion::before {
        width: 90%;
    }
    
    .ih-seccion {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    .faq-title {
        font-size: 2rem;
    }
    
    .accordion-button {
        padding: 1rem;
        font-size: 1rem;
        height: 60px; /* Ajustamos la altura en móviles */
    }
    
    .accordion-body {
        padding: 1rem;
    }
    .step-card {
        height: 250px;
    }
    
    .card-title {
        font-size: 1.1rem;
    }
    
    .card-text {
        font-size: 0.9rem;
    }
}

