/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

/* Video de fondo */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: url('background.jpg') center center / cover no-repeat;
}

.video-background iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw; /* 16:9 aspect ratio */
    min-height: 100vh;
    min-width: 177.78vh; /* 16:9 aspect ratio */
    transform: translate(-50%, -50%);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

/* Contenido principal */
.main-content {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.content-container {
    max-width: 1035px;
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
    padding: 0 20px;
}

/* Logo */
.logo-container {
    width: 374px;
    max-width: 100%;
    height: auto;
}

.logo-container svg {
    width: 100%;
    height: auto;
}

/* Texto descriptivo */
.description-text {
    color: #FFF;
    text-align: center;
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 500 !important;
    line-height: 30px; /* 166.667% */
}

.description-text p {
    margin-bottom: 0;
}

.description-text p:first-child {
    margin-bottom: 30px;
}

.everum-bold {
    font-weight: 900;
    font-family: 'Inter', sans-serif;
}

/* Botón CTA */
.cta-button {
    background-color: #EEFD2F;
    color: #00212D;
    padding: 8px 20px;
    border-radius: 0 20px;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: 15px;
    line-height: 25px;
    transition: transform 0.2s ease;
}

/* Marquesina */
.marquee-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 45px;
    background-color: #00212D;
    overflow: hidden;
    z-index: 2;
    display: flex;
    align-items: center;
}

.marquee-content {
    display: flex;
    animation: marquee 40s linear infinite;
    white-space: nowrap;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 0px;
    color: #fff;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0;
}

.marquee-item svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin: 0 10px;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsivo */
@media (max-width: 768px) {
    .content-container {
        gap: 20px;
        width: 95%;
    }
    
    .logo-container {
        width: 280px;
    }
    
    .description-text {
        font-size: 16px;
        line-height: 26px;
    }
    
    .description-text p:first-child {
        margin-bottom: 20px;
    }
    
    .cta-button {
        font-size: 14px;
        padding: 6px 16px;
    }
    
    .marquee-item {
        font-size: 14px;
        gap: 12px;
    }
    
    .marquee-item svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .content-container {
        gap: 15px;
    }
    
    .logo-container {
        width: 240px;
    }
    
    .description-text {
        font-size: 14px;
        line-height: 22px;
    }
    
    .cta-button {
        font-size: 13px;
    }
    
    .marquee-item {
        font-size: 12px;
        gap: 10px;
    }
    
    .marquee-item svg {
        width: 18px;
        height: 18px;
    }
}

/* Ajustes para pantallas muy anchas */
@media (min-width: 1920px) {
    .content-container {
        max-width: 1200px;
    }
    
    .logo-container {
        width: 450px;
    }
    
    .description-text {
        font-size: 20px;
        line-height: 32px;
    }
}

/* Asegurar que el video cubra toda la pantalla en diferentes proporciones */
@media (max-aspect-ratio: 16/9) {
    .video-background iframe {
        height: 100vh;
        width: 177.78vh;
    }
}

@media (min-aspect-ratio: 16/9) {
    .video-background iframe {
        width: 100vw;
        height: 56.25vw;
    }
}
