:root {
    --primary-color: #fbbf24;
    --dark-bg: #000000;
    --light-text: #ffffff;
    --card-bg: #1a1a1a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Anton', sans-serif;
}

/* ------------------------ */
/* HEADER & NAVEGACIÓN */
/* ------------------------ */
.main-header {
    background: var(--dark-bg)!important;
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 2000;
    box-shadow: 0 2px 10px rgba(251, 191, 36, 0.2);
    display: flex;
    justify-content: space-between; /* Esto separará el logo y la navegación */
    align-items: center; 
    mix-blend-mode: normal !important;
    
}

.header-content {
    width: 100%;
    max-width: 100%; /* Asegura que ocupe todo el ancho */
    margin: 0; /* Elimina el margin auto que centra el contenido */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem; /* Puedes ajustar el padding a tu gusto */
    box-sizing: border-box;
}

.logo {
    max-width: 200px;
}

.logo img {
    width: 100%;
    height: auto;
    display: block;
}

.nav-list {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    margin-left: auto; /* Empuja la navegación a la derecha */
}


.nav-list a {
    color: var(--light-text) !important;
    font-size: 1.1rem;
    text-transform: uppercase;
    position: relative;
    padding: 0.5rem 0;
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.2s linear !important; /* Añadir opacity aquí */
    opacity: 1 !important; /* Forzar opacidad máxima */
}

.nav-list a:hover {
    color: var(--primary-color);
    opacity: 1 !important;
}

.nav-list a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-list a:hover::after {
    width: 100%;
}
.nav-list a:active,
.nav-list a:focus {
    color: var(--primary-color) !important;
    opacity: 1 !important;
    transform: scale(1.05); /* Efecto adicional para mejor feedback */
}
/* ------------------------ */
/* BARRA DE PROGRESO */
/* ------------------------ */
.progress-container {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    height: 60vh;
    width: 4px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.3s ease;
}
.snap-section-0 .platform-title span {
    font-size: 6rem; /* Tamaño aumentado desde 4.5rem */
    letter-spacing: 4px; /* Espaciado aumentado */
    line-height: 1; /* Asegurar superposición precisa */
}

.no-progress .progress-container {
    display: none;
}

.section-progress {
    position: absolute;
    width: 100%;
    height: 0;
    background: var(--primary-color);
    transition: height 0.1s linear;
}

/* ------------------------ */
/* SECCIONES PRINCIPALES */
/* ------------------------ */
.snap-section {
    height: 100vh;
    scroll-snap-align: start;
    position: relative;
    padding: 2rem;
    overflow: auto;
    scrollbar-width: none;
}

.snap-section::-webkit-scrollbar {
    display: none;
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: 20px;
}

/* Sección específica 0 */
.snap-section-0 {
    background: url('assets/images/bg3.jpg') center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.snap-section-0::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.snap-section-0 .platform-title {
    position: relative;
    z-index: 2;
    color: var(--primary-color);
    text-transform: uppercase;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
/* Estilos para la sección 4 */
.snap-section-4 {
    background: var(--dark-bg);
    position: relative;
    text-align: center;
}


.hours-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.hours-list {
    margin: 2rem 0;
    text-align: left;
}

.list-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.bullet {
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    flex-shrink: 0;
}

.list-item p {
    color: var(--light-text);
    font-size: 1.2rem;
    margin: 0;
}

.community-text {
    color: var(--primary-color);
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 2rem;
}
.snap-section-3.platform-section .platform-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem 0;
    margin: 0 auto;
    max-width: 1200px;
}

.snap-section-3.platform-section .text-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.snap-section-3.platform-section .platform-title {
    margin-bottom: 1.5rem;
}

.snap-section-3.platform-section .platform-subtitle {
    margin-bottom: 2rem;
    line-height: 1.4;
    padding: 0 20px;
}

.snap-section-3.platform-section .video-wrapper {
    position: relative;
    padding-bottom: 60%; /* Aumentado de 56.25% */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(251, 191, 36, 0.2);
    z-index: 2;
    width: 100%; /* Añadido para control de ancho */
    margin: 0 auto; /* Centrado */
}
/* Estilos para la sección Forex Apps */
.snap-section-forex {
    background: var(--dark-bg);
    padding: 8rem 0 5rem; /* Más espacio general */
    display: flex;
    align-items: center;
    min-height: 50vh; /* Asegura altura completa */
}

.app-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}


.app-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
}


.app-title {
    margin: 0; /* Elimina el margen por defecto del h3 */
    color: var(--primary-color);
    font-size: 1.25rem;
}
.app-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columnas iguales */
    gap: 1.5rem;
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem; /* Padding opcional para moviles */
}

.app-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(8px);
}

.app-card:hover {
    transform: translateY(-5px);
}

.app-title {
    color: #FFFFFF;
    font-size: 1.25rem;
    margin: 0;
}
.download-btn { /* Cambiado de .boton-descarga */
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: var(--dark-bg);
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease;
    margin: 2.5px;
}
.download-btn img,
    .download-btn svg {
        width: 30px;
        height: 30px;
        object-fit: contain;
        flex-shrink: 0;
        order: 2; /* Icono a la derecha */
    }

.download-btn:hover {
    background: #f59e0b;
}

/* Añadir clase al SVG */
.download-btn svg {
    fill: currentColor;
    width: 18px;
}

/* Clases existentes del HTML */
.snap-section {
    scroll-snap-align: start;
    height: 100vh;
}

.platform-section {
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
/* Asegurar que el iframe se adapte al tamaño del contenedor */
.snap-section-3.platform-section .video-wrapper iframe {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* Asegurar que la sección complete se muestre */
.snap-section-3 {
    overflow: visible;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem 0;
}


/* Otras secciones */
.snap-section-1 { background: url('assets/images/bg1.jpg') center/cover; }
.snap-section-2 { background: url('assets/images/bg2.jpg') center/cover; }
.snap-section-3 { background: url('assets/images/bg2.jpg') center/cover; }
.snap-section-5 { background: url('assets/images/bg1.jpg') center/cover; }
.snap-section-forex { background: url('assets/images/bg1.jpg') center/cover; }

/* ------------------------ */
/* COMPONENTES */
/* ------------------------ */
.platform-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.platform-info {
    position: relative;
    z-index: 2;
    text-align: left;
}

/* MODIFICADO: Tamaño de video aumentado */
.video-wrapper {
    position: relative;
    padding-bottom: 75%; /* Aumentado de 56.25% */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(251, 191, 36, 0.2);
    z-index: 2;
    width: 130%; /* Añadido para control de ancho */
    margin: 0 auto; /* Centrado */
}

.video-wrapper iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    border: none;
}

.platform-title {
    color: var(--primary-color);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.platform-subtitle {
    color: var(--light-text);
    font-size: 1.5rem;
    line-height: 1.6;
}

.platform-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 3rem;
    background: var(--primary-color);
    color: var(--dark-bg);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.platform-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(251, 191, 36, 0.3);
    background: #ff9900;
}
/* ==================== */
/* ANIMACIONES & TRANSICIONES */
/* ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Animaciones generales */
.snap-section {
    animation: fadeInUp 0.8s ease-out both;
}

.platform-title {
    animation: slideInLeft 0.8s ease-out both;
    animation-delay: 0.3s;
}

.app-card {
    animation: scaleIn 0.6s ease-out both;
    animation-delay: 0.5s;
}

/* Transiciones mejoradas */
.nav-list a,
.platform-btn,
.download-btn {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.header-scroll {
    padding: 0.5rem 2rem;
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 4px 20px rgba(251, 191, 36, 0.1);
}
/* Boton de Celebrar */
/* Estilos para la sección completa */
.celebration-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    padding: 2rem;
    background: url('assets/images/bg3.jpg') center/cover;
}
.celebration-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Estilos para el texto */
.celebration-title {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
}

.celebration-message {
    font-size: 1.25rem;
    color: var(--light-text);
    line-height: 1.75;
    margin-bottom: 2.5rem;
    font-family: 'Arial', sans-serif;
}

.celebration-message p {
    margin: 1.5rem 0;
}

/* Estilos del botón (actualizados) */
.celebrate-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 1.25rem 2.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #1e293b;
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    transition: all 0.3s ease;
    margin-top: 2rem;
}

.celebrate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
    background: linear-gradient(45deg, #f59e0b, #fbbf24);
}

.celebrate-btn svg {
    width: 24px;
    height: 24px;
    stroke: #1e293b;
    stroke-width: 2;
}