body{

background-color: #000000;

}

/* Video de fondo - Fixed para que permanezca durante el scroll */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
}

/* Overlay oscuro sobre el video de fondo - Fixed */
.video-overlay-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0.6) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 0;
}

.btn-cierre,.btn-cierre2,.btn-cierre3{

    position: relative;
}
.btn-cierre::after,
.btn-cierre2::after,
.btn-cierre3::after{
    content: attr(data-date);
    position: absolute;
    background-color: #ff2600b3;
    top: 0;
    right: -50px;
    color: white;
    width: 200px;
    transform: rotate(17deg) ;
    text-align: center;
    padding: 3px;
    font-weight: bold;
    
}

/* Velo negro sobre el video */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: opacity 0.3s ease;
    z-index: 10;
}

/* Contenedor del botón de play */
.play-button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* Botón de play con animación */
.play-button {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FFD700, #FFA000);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
    animation: pulse 2s infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.play-button:hover {
    transform: scale(1.15);
    box-shadow: 0 0 40px rgba(255, 215, 0, 1);
}

/* Icono de play */
.play-icon {
    width: 35px;
    height: 35px;
    color: white;
    margin-left: 5px;
}

/* Texto debajo del botón */
.play-text {
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    animation: fadeInOut 2s infinite;
}

/* Animación de pulso para el botón */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 0 50px rgba(255, 215, 0, 1);
    }
}

/* Animación de fade para el texto */
@keyframes fadeInOut {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
}

/* Responsive: botón más pequeño en móviles */
@media (max-width: 768px) {
    .play-button {
        width: 65px;
        height: 65px;
    }
    
    .play-icon {
        width: 28px;
        height: 28px;
    }
    
    .play-text {
        font-size: 16px;
    }
}

/* Animación para el título dinámico que sube al centro de la imagen */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

.delay-3 {
    animation-delay: 0.9s;
}

.delay-4 {
    animation-delay: 1.2s;
}

.delay-5 {
    animation-delay: 1.5s;
}

.delay-6 {
    animation-delay: 1.8s;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: translateY(150px) scale(0.7);
        filter: blur(10px);
    }
    60% {
        opacity: 1;
        transform: translateY(-15px) scale(1.1);
        filter: blur(0px);
    }
    80% {
        transform: translateY(5px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0px);
    }
}

/* Estilos para el texto del resultado dinámico en 2 líneas */
#result-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.2 !important;
    max-width: 90%;
    word-wrap: break-word;
    hyphens: auto;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Estilos responsive para el texto del resultado dinámico */
@media (max-width: 768px) {
    #result-text {
        font-size: 1.25rem !important;
        line-height: 1.3 !important;
        max-width: 85%;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    #result-text {
        font-size: 1.75rem !important;
        line-height: 1.25 !important;
        max-width: 88%;
    }
}

@media (min-width: 1025px) {
    #result-text {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }
}
