/* ===================================================
   VARIABLES
=================================================== */
:root {
    --rosa: #d6006d;
    --rosaHover: #ff2d8d;
    --rosaBrillante: #ff5aaa;
    --fondoFondo: #05070c;      /* Azul profundo casi negro, da un look ultra premium */
    --fondoTarjeta: #0f131e;    /* Tarjetas/Footer */
    --texto: #ffffff;
    --textoGris: #94a3b8;
}

/* ===================================================
   RESET
=================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html, body {
    background-color: var(--fondoFondo);
}

body {
    color: var(--texto);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===================================================
   HERO - BANNER PRINCIPAL (SOLUCIÓN DE FUSIÓN PROFESIONAL)
=================================================== */
.hero {
    width: 100%;
    /* Fondo con atmósfera de iluminación premium en lugar de negro plano */
    background: radial-gradient(
        circle at center, 
        rgba(214, 0, 109, 0.2) 0%, 
        var(--fondoFondo) 80%
    );
    display: flex;
    justify-content: center;
    position: relative;
    padding: 50px 20px; /* Despega el banner de los bordes para un look de tarjeta flotante */
}

/* Suaviza la transición inferior de la sección hero */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to top, var(--fondoFondo), transparent);
    pointer-events: none;
}

.hero img {
    width: 100%;
    max-width: 1200px; /* Evita sobre-estirar la imagen para cuidar sus píxeles */
    display: block;
    border-radius: 24px; 
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6),
                0 0 40px rgba(214, 0, 109, 0.15);
    
    /* SOLUCIÓN FRONT-END: Filtra y elimina el fondo negro nativo de tu imagen.
       Los colores claros del diseño resaltarán mientras el negro se vuelve transparente,
       absorbiendo el degradado del fondo CSS.
    */
    mix-blend-mode: lighten; 
}

/* ===================================================
   SEPARADOR DEGRADADO (MÁS FINO Y ELEGANTE)
=================================================== */
.separador {
    width: 85%;
    max-width: 1000px;
    height: 2px;
    margin: 60px auto;
    border-radius: 100px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--rosa),
        #ffffff,
        var(--rosa),
        transparent
    );
    box-shadow: 0 0 15px rgba(214, 0, 109, 0.4);
}

/* ===================================================
   BANNER PASOS INSCRIPCIÓN
=================================================== */
.banner-pasos {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px 20px;
}

.banner-pasos img {
    width: 100%;
    max-width: 1100px;
    border-radius: 20px;
    display: block;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 
                0 0 30px rgba(214, 0, 109, 0.1);
    transition: transform 0.4s ease;
}

.banner-pasos img:hover {
    transform: scale(1.01);
}

/* ===================================================
   CONTENEDOR GENERAL
=================================================== */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 80px 25px;
}

/* ===================================================
   CONTENEDOR VIDEO Y ACCIÓN
=================================================== */
.video-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ===================================================
   TITULO INSCRIPCIÓN (ELEGANTEMENTE ILUMINADO)
=================================================== */
.titulo-inscripcion {
    font-size: 3.5rem;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 6px;
    margin-bottom: 45px;
    background: linear-gradient(
        90deg,
        #ffffff 10%,
        var(--rosaHover) 50%,
        #ffffff 90%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 15px rgba(214, 0, 109, 0.5));
}

/* ===================================================
   BOTÓN INSCRIPCIÓN (REDISEÑO 3D & GLOW)
=================================================== */
.boton-inscripcion {
    margin-bottom: 70px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, var(--rosaHover), var(--rosa));
    color: #ffffff;
    text-decoration: none;
    padding: 24px 80px;
    border-radius: 100px;
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(214, 0, 109, 0.4),
                inset 0 -4px 0px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.boton-inscripcion::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.25), transparent);
    transform: skewX(-25deg);
    transition: none;
}

.boton-inscripcion:hover::before {
    left: 150%;
    transition: 0.8s ease-in-out;
}

.boton-inscripcion:hover {
    transform: translateY(-5px) scale(1.03);
    background: linear-gradient(135deg, var(--rosaBrillante), var(--rosa));
    box-shadow: 0 15px 40px rgba(214, 0, 109, 0.6),
                inset 0 -2px 0px rgba(0, 0, 0, 0.2);
}

.boton-inscripcion:active {
    transform: translateY(-2px);
}

/* ===================================================
   CONTENEDOR Y MARCO DEL VIDEO
=================================================== */
.video-wrapper {
    width: 100%;
    max-width: 1000px;
    background: linear-gradient(135deg, rgba(214,0,109,0.3), transparent);
    padding: 6px;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
}

.video-container video {
    width: 100%;
    border-radius: 18px;
    display: block;
    background: #000;
}

/* ===================================================
   FOOTER (DISEÑO INSTITUCIONAL PREMIUM)
=================================================== */
footer {
    background-color: var(--fondoTarjeta);
    background-image: radial-gradient(circle at top, rgba(214, 0, 109, 0.12), transparent 60%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 120px;
}

.footer-contenido {
    max-width: 800px;
    margin: auto;
    text-align: center;
    padding: 70px 24px;
}

.footer-contenido h3 {
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 5px;
}

.footer-subtitulo {
    color: var(--rosa);
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.footer-marcas {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 25px;
    color: var(--textoGris);
    font-size: 1.1rem;
    font-weight: 500;
}

.footer-marcas .punto {
    color: var(--rosa);
    opacity: 0.7;
}

.footer-slogan {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.9;
}

.footer-divider {
    width: 60px;
    height: 3px;
    background-color: var(--rosa);
    margin: 35px auto 25px auto;
    border-radius: 10px;
}

.footer-contenido small {
    display: block;
    color: #57657a;
    font-size: 0.9rem;
    font-weight: 400;
}

/* ===================================================
   SCROLLBAR PERSONALIZADA
=================================================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--fondoFondo);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--rosaHover), var(--rosa));
    border-radius: 20px;
    border: 2px solid var(--fondoFondo);
}

/* ===================================================
   RESPONSIVE (MEDIANOS / TABLET)
=================================================== */
@media(max-width: 992px) {
    .titulo-inscripcion {
        font-size: 2.8rem;
    }

    .boton-inscripcion {
        padding: 22px 65px;
        font-size: 1.5rem;
    }
    
    .footer-contenido h3 {
        font-size: 1.8rem;
    }
}

/* ===================================================
   RESPONSIVE (MÓVIL)
=================================================== */
@media(max-width: 768px) {
    .hero {
        padding: 25px 15px; /* Reducimos el marco a los lados en pantallas móviles */
    }

    .hero img {
        border-radius: 16px; /* Ajuste armónico del radio para pantallas chicas */
    }

    .container {
        padding: 50px 20px;
    }

    .separador {
        margin: 40px auto;
    }

    .titulo-inscripcion {
        font-size: 2rem;
        letter-spacing: 3px;
        margin-bottom: 35px;
    }

    .boton-inscripcion {
        width: 100%;
        max-width: 400px;
        padding: 18px 30px;
        font-size: 1.25rem;
        letter-spacing: 1px;
    }

    .footer-marcas {
        flex-direction: column;
        gap: 5px;
    }

    .footer-marcas .punto {
        display: none;
    }
    
    footer {
        margin-top: 80px;
    }
}