/* Estilos para la miniatura del video */
.video-section {
    margin: 20px 0;
    text-align: center;
}

.thumbnail, .video-icon {
    width: 200px;
    height: 150px;
    cursor: pointer;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.thumbnail:hover, .video-icon:hover {
    transform: scale(1.05);
}

.video-icon-container {
    position: relative; /* Permite posicionar el ícono de manera absoluta dentro de este contenedor */
    text-align: center; /* Centra el ícono horizontalmente */
    margin-top: 20px; /* Espacio entre el contenido y el ícono */
}

.video-icon {
    width: 48px; /* Tamaño más grande */
    height: 48px; /* Tamaño más grande */
    cursor: pointer;
    transition: transform 0.3s ease;
    position: absolute; /* Posiciona el ícono de manera absoluta */
    bottom: -24px; /* La mitad del ícono (24px) estará fuera del contenedor */
    left: 50%; /* Centra el ícono horizontalmente */
    transform: translateX(-50%); /* Ajusta el centrado */
}

.video-icon:hover {
    transform: translateX(-50%) scale(1.1); /* Efecto de escala al hacer hover */
}

.video-icon:hover {
    transform: scale(1.1); /* Efecto de escala al hacer hover */
}

/* Estilos para la ventana modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    position: relative;
    margin: 5% auto;
    padding: 0;
    width: 90%;
    max-width: 1000px;
}

.modal-video {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    position: relative;
}

.modal-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Estilos para los botones de acciones */
.modal-actions {
    position: absolute;
    top: -50px;
    right: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-direction: row; /* Asegura que los íconos estén en fila horizontal */
}

.close-btn, .share-btn, .expand-btn {
    padding: 10px;
    border: none;
    background-color: transparent; /* Fondo transparente */
    cursor: pointer;
    transition: transform 0.3s ease; /* Animación de escala en lugar de cambio de color */
}

.close-btn:hover, .share-btn:hover, .expand-btn:hover {
    transform: scale(1.1); /* Efecto de escala al hacer hover */
}

/* Estilos para el menú de compartir */
.share-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
    z-index: 1001;
    width: 300px;
}

.share-link-box {
    text-align: center;
}

.link-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
}

#video-link {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

.copy-link-btn {
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    background-color: #3574F2;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.copy-link-btn:hover {
    background-color: #2a5fd6;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.social-icon img {
    transition: transform 0.3s ease;
}

.social-icon:hover img {
    transform: scale(1.1);
}
.video-section iframe {
    width: 100%; /* Ocupa el ancho completo del contenedor */
    max-width: 560px; /* Tamaño máximo del video */
    height: 315px; /* Altura fija */
    margin: 20px auto; /* Centra el video horizontalmente y agrega espacio */
    display: block; /* Asegura que el iframe sea un bloque */
}



/* Estilos para los botones adicionales */
.additional-buttons {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.btn-copy-wallet, .btn-show-qr {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-copy-wallet:hover, .btn-show-qr:hover {
    background-color: #0056b3;
}

/* Estilos para el modal del código QR */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    position: relative;
    margin: 5% auto;
    padding: 20px;
    width: 90%;
    max-width: 400px;
    background-color: white;
    border-radius: 10px;
    text-align: center;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
}

.qr-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
}
/* Estilos para la fila de botones */
.button-row {
    display: flex; /* Mostrar los botones en una fila */
    gap: 10px; /* Espacio entre los botones */
    margin-top: 20px; /* Espacio superior */
    align-items: center; /* Alinear verticalmente los botones */
}

/* Estilos para los botones */
.btn-guia, .btn-copy-wallet, .btn-show-qr {
    padding: 12px 20px; /* Espaciado interno (igual para todos) */
    border: none; /* Sin bordes */
    border-radius: 5px; /* Bordes redondeados */
    background-color: #007bff; /* Color de fondo azul */
    color: white; /* Color de texto blanco */
    font-size: 14px; /* Tamaño de fuente (igual para todos) */
    font-weight: bold; /* Texto en negrita */
    cursor: pointer; /* Cambiar el cursor al pasar el mouse */
    transition: background-color 0.3s ease; /* Transición suave */
    flex: 1; /* Hace que todos los botones tengan el mismo ancho */
    text-align: center; /* Centrar el texto */
    height: 60px; /* Altura fija para todos los botones */
    display: flex; /* Usar flexbox para alinear el contenido */
    align-items: center; /* Centrar el texto verticalmente */
    justify-content: center; /* Centrar el texto horizontalmente */
}

/* Ajustar la posición vertical de los botones "Copiar ID Billetera" y "Mostrar Código QR" */
.btn-copy-wallet, .btn-show-qr {
    margin-top: 20px; /* Bajar ligeramente los botones */
}

.btn-guia:hover, .btn-copy-wallet:hover, .btn-show-qr:hover {
    background-color: #0056b3; /* Color de fondo azul más oscuro al hacer hover */
}   

/* Estilos para el número de paso */
.step-number {
    position: absolute; /* Posicionamiento absoluto */
    top: 10px; /* Distancia desde la parte superior */
    left: 10px; /* Distancia desde la izquierda */
    color: white; /* Color de texto blanco por defecto */
    font-size: 20px; /* Tamaño de fuente */
    font-weight: bold; /* Texto en negrita */
    z-index: 1; /* Asegura que esté por encima del contenido */
    transition: color 0.3s ease; /* Transición suave para el cambio de color */
}

/* Cambiar el color del texto cuando el usuario está dentro de la sección */
.slide.active .step-number {
    color: #ffffff; /* Color de texto azul cuando está activo */
}

/* Estilos para el contenedor del slide */
.slide {
    position: relative; /* Necesario para posicionar el step-number correctamente */
}
                                    /* Estilos para el contenedor del texto, código y botón */
                                    .wallet-container {
                                        display: flex; /* Alinear todo en una fila */
                                        align-items: center; /* Centrar verticalmente */
                                        gap: 5px; /* Espacio entre los elementos */
                                    }
                            
                                    /* Estilos para el texto "Nuestra billetera:" */
                                    .wallet-container p {
                                        margin: 0; /* Eliminar el margen predeterminado */
                                        white-space: nowrap; /* Evitar saltos de línea */
                                    }
                            
                                    /* Estilos para el código de la billetera */
                                    .wallet-code {
                                        display: inline-block; /* Mostrar en línea */
                                        max-width: 150px; /* Ancho máximo del código */
                                        white-space: nowrap; /* Evitar saltos de línea */
                                        overflow: hidden; /* Ocultar el texto que excede */
                                        text-overflow: ellipsis; /* Mostrar "..." cuando el texto se trunca */
                                        font-family: monospace; /* Fuente monoespaciada */
                                        background-color: #f1f1f1; /* Fondo gris claro */
                                        padding: 5px 10px; /* Espaciado interno */
                                        border-radius: 5px; /* Bordes redondeados */
                                        color: black; /* Color de texto negro */
                                    }
                            
                                    /* Estilos para el botón "Copiar" */
                                    .btn-copy-wallet {
                                        background-color: #007bff; /* Color de fondo azul */
                                        color: white; /* Color de texto blanco */
                                        border: none;
                                        padding: 5px 10px; /* Mismo padding que el código */
                                        border-radius: 5px; /* Bordes redondeados */
                                        cursor: pointer;
                                        font-size: 14px;
                                        transition: background-color 0.3s ease; /* Transición suave */
                                        flex-shrink: 0; /* Evitar que el botón se encoja */
                                        height: 43px; /* Misma altura que el código */
                                        display: flex; /* Usar flexbox para alinear el texto */
                                        align-items: center; /* Centrar el texto verticalmente */
                                        justify-content: center; /* Centrar el texto horizontalmente */
                                        margin-top: -2px; /* Mover el botón hacia arriba */
                                    }
                            
                                    .btn-copy-wallet:hover {
                                        background-color: #0056b3; /* Color de fondo azul más oscuro al hacer hover */
                                    }
                                    
                                    @media screen and (max-width: 768px) {
                                        .carousel-box {
                                            display: flex;
                                            overflow-x: auto; /* Permite desplazamiento horizontal en móviles */
                                            scroll-snap-type: x mandatory;
                                            -webkit-overflow-scrolling: touch;
                                        }
                                    
                                        .pagers-box {
                                            display: flex;
                                            flex-wrap: nowrap;
                                            justify-content: center;
                                            overflow-x: auto;
                                            gap: 10px;
                                        }
                                    
                                        .pager-one {
                                            display: flex;
                                            flex-wrap: nowrap;
                                            overflow-x: auto;
                                            width: 100%;
                                            justify-content: space-between;
                                            scroll-snap-type: x mandatory;
                                        }
                                    
                                        .pager-item {
                                            flex: 0 0 auto;
                                            width: 120px; /* Ajusta el tamaño para móviles */
                                            text-align: center;
                                            scroll-snap-align: center;
                                        }
                                    
                                        .icon-box {
                                            width: 40px;
                                            height: 40px;
                                        }
                                    
                                        .video-icon {
                                            width: 32px;
                                            height: 32px;
                                        }
                                    }

/* MANTENEMOS TODA TU CONFIGURACIÓN BASE */
@media (max-width: 990px) {
    .carousel-box, .pagers-box, .pager-one, .pager-item {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        width: auto !important;
        overflow: visible !important;
    }
    .pager-one {
        display: flex !important;
        flex-wrap: wrap;
    }
}

.carrusel-contenedor {
    width: 100%;
    overflow-x: auto;
    text-align: center;
    padding: 50px 10px;
    position: relative;
}


@media (max-width: 990px) {
    .carousel-box {
        display: inline-block !important;
        transform-origin: left center;
        transform: scale(0.9) !important;
        white-space: nowrap;
        min-width: auto;
        padding: 0 2px;
        margin: 10px auto !important; /* Centra horizontalmente */
        text-align: center !important;
    }
    .pagers-box {
        display: flex !important;
        justify-content: center !important; /* Asegura que los iconos estén centrados */
    }

    .pager-one {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 0px !important; /*Reduce el tamaño de los iconos  */
        justify-content: center !important;;
        position: relative;
    }
    
    .pager-item {
        flex-shrink: 0 !important;
        position: relative;
        transform: scale(0.9); /* Reducimos el tamaño para evitar superposición */
        margin: 0 -20px;
    }

    .paso {
        font-size: 15px !important;
        white-space: nowrap;
        padding: 0 1px;
        position: relative;
        top: -8px;
    }
    .title-box {
        margin-bottom: 20px !important; /* Reduce la separación entre "Cómo funciona" y los iconos */
    }

    .carrusel-contenedor {
        margin-top: 15px !important;
        padding: 0 !important;
    }

}


@media (max-width: 768px) {
    .carousel-box {
        transform: scale(0.70) !important;
        margin: 8px 0;
        padding: 4px 0;
        display: inline-block !important;
        transform-origin: left center;
        white-space: nowrap;
        min-width: auto;
        padding: 0 2px;
        margin: 10px auto !important; /* Centra horizontalmente */
        text-align: center !important;
    }
    .pagers-box {
        display: flex !important;
        justify-content: center !important; /* Asegura que los iconos estén centrados */
    }

}


@media (max-width: 480px) {
    .carousel-box {
        transform: scale(0.60) !important;
        margin: 5px 0;
        padding: 3px 0;
        display: inline-block !important;
        transform-origin: left center;
        white-space: nowrap;
        min-width: auto;
        padding: 0 2px;
        margin: 10px auto !important; /* Centra horizontalmente */
        text-align: center !important;
    }
    .pagers-box {
        display: flex !important;
        justify-content: center !important; /* Asegura que los iconos estén centrados */
    }
}
/* Estilos para el Slogan */
.slogan-section {
    text-align: center;
    padding: 20px 0;
    background-color: #060126;
    position: relative;
    overflow: hidden;
}

.slogan {
    font-size: 3.5rem; /* Aumentar tamaño al agrandarse */
    font-weight: bold;
    letter-spacing: 2px; /* Mayor separación entre letras */
    text-transform: uppercase;
    background: linear-gradient(90deg, #3574F2, #3587F2, #84ABF1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    transition: all 0.3s ease-in-out;
    position: relative;
    animation: pulse 2s infinite alternate;
}

.slogan:hover {
    text-shadow: 0 0 15px rgba(53, 116, 242, 1), 0 0 30px rgba(132, 171, 241, 1);
    animation: glow 1.5s infinite alternate;
    transform: scale(1.2); /* Se agranda más al pasar el mouse */
}

@keyframes glow {
    0% { text-shadow: 0 0 10px rgba(53, 116, 242, 0.8), 0 0 20px rgba(132, 171, 241, 0.9); }
    100% { text-shadow: 0 0 15px rgba(53, 116, 242, 1), 0 0 30px rgba(132, 171, 241, 1); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

/* Partículas flotantes */
@keyframes particles {
    0% { opacity: 0; transform: translateY(0) scale(0.5); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: translateY(-30px) scale(1.5); }
}

.slogan-section .particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #84ABF1;
    border-radius: 50%;
    box-shadow: 0 0 12px #3574F2, 0 0 24px #3587F2;
    animation: particles 2s infinite ease-in-out;
    pointer-events: none; /* Para evitar que se detenga al hacer clic */
}

.slogan-section .particle:nth-child(1) { top: 10%; left: 20%; animation-duration: 2.2s; }
.slogan-section .particle:nth-child(2) { top: 30%; left: 80%; animation-duration: 1.8s; }
.slogan-section .particle:nth-child(3) { top: 50%; left: 50%; animation-duration: 2.6s; }
.slogan-section .particle:nth-child(4) { top: 70%; left: 30%; animation-duration: 2.1s; }
.slogan-section .particle:nth-child(5) { top: 90%; left: 70%; animation-duration: 1.9s; }
