/* ============================================================
   Home / Cartelera — Hero Slider (Views/Cartelera/IndexV2.cshtml)
   Multiplex-WEB (Figma). Desktop node-id 468-14275 (fondo + degradados +
   tags + título + descripción + dots) + 468-14299 ("Comprar Entradas") +
   468-14300 ("Ver Trailer"). Mobile node-id 591-13814/13815 (fondo +
   degradados) + 591-13817/13820/13822/13824/13828 (tags + título +
   "Comprar Entradas") + 591-13835 ("Ver Trailer").

   Solo se usa en Views/Cartelera/IndexV2.cshtml — el <link> de este archivo
   va en esa vista (junto a @Html.Partial("_StylesV2")), NO en
   _Layout.cshtml, porque ninguna otra vista lo necesita.

   Todo va scopeado a "#v2Hero" (id único del contenedor del slider) para no
   filtrar estilos a otras vistas que reusan las mismas clases
   .v2-hero/.v2-hbg/.v2-hdots de _StylesV2.cshtml (CarteleraV2.cshtml,
   CarteleraPorCategoriaV2.cshtml). No se toca _StylesV2.cshtml — donde hace
   falta pisar una regla de ahí (.v2-hbg, .v2-hdots) se usa el selector con
   #v2Hero adelante, que ya gana por especificidad sin necesitar !important.

   Por pedido del cliente (confirmado 2026-09-08):
   - Tags ("Estreno"/"2D"/"3D"/"Platinum"/"Xtremo"), botón "Comprar
     Entradas" y título/descripción: el CSS de tags y del botón de compra
     queda listo, pero en IndexV2.cshtml esos dos bloques van como
     comentario HTML — SlidersDTO tampoco tiene un campo para tags (son
     contenido de ejemplo del Figma, no hay de dónde bindearlos todavía).
   - "Ver Trailer": rediseñado, mismo comportamiento (v2PlayTrailer), ahora
     vive por-slide en vez de ser el único botón compartido de antes.

   NOTA sobre el tag "Estreno": el Figma lo muestra en rojo (#cc0000) en
   desktop (node 468-14279) pero en ÁMBAR (#fbbe00) en mobile (node
   591-13817) — se replicó tal cual está en cada frame; avisar si en
   realidad debería ser el mismo color en los dos breakpoints.
   ============================================================ */

.tema-multiplex #v2Hero {
    background: #000000;
    border-bottom: 1px solid #2e2e2e;
}

/* ── Overlays de legibilidad sobre la imagen de cada slide ── */
.tema-multiplex #v2Hero .v2-hbg {
    position: relative;
}

    .tema-multiplex #v2Hero .v2-hbg::before,
    .tema-multiplex #v2Hero .v2-hbg::after {
        content: '';
        position: absolute;
        inset: 0;
        pointer-events: none;
    }

    /* Desktop: degradado horizontal, oscuro a la izquierda (donde va el
       texto), se aclara hacia la derecha. */
    .tema-multiplex #v2Hero .v2-hbg::before {
        background: linear-gradient(to right, rgba(0,0,0,.9) 0%, rgba(0,0,0,.09) 100%);
        z-index: 1;
    }

    /* Desktop: oscurecido general tenue + desvanecido hacia el pie, para
       que el slide funda con el negro de la sección siguiente. */
    .tema-multiplex #v2Hero .v2-hbg::after {
        background:
            linear-gradient(rgba(38,38,38,.15), rgba(38,38,38,.15)),
            linear-gradient(to top, #111111 0%, rgba(17,17,17,.6) 50%, rgba(17,17,17,0) 100%);
        z-index: 2;
    }

/* ── Tags (Estreno / 2D / 3D / Platinum / Xtremo) — CSS listo, markup
   comentado en la vista (sin dato real en SlidersDTO todavía) ── */
.tema-multiplex #v2Hero .v2-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px;
}

.tema-multiplex #v2Hero .v2-hero-tag {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 12px;
    border-radius: 4px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 16px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #ffffff;
    line-height: 1;
}

.tema-multiplex #v2Hero .v2-hero-tag--featured {
    background: #cc0000;
    border-color: #cc0000;
}

/* ── Contenido (tags + título + descripción + CTAs) superpuesto a cada slide ── */
.tema-multiplex #v2Hero .v2-hero-content {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px min(8%, 140px) 64px min(11.9%, 228px);
    pointer-events: none;
}

    .tema-multiplex #v2Hero .v2-hero-content > * {
        pointer-events: auto;
    }

.tema-multiplex #v2Hero .v2-hero-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: clamp(32px, 5.3vw, 80px);
    line-height: 1.2;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0 0 8px;
    filter: drop-shadow(0px 4px 2px rgba(0,0,0,.15));
}

.tema-multiplex #v2Hero .v2-hero-desc {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 28px;
    color: #d1d5dc;
    max-width: 571px;
    margin: 0 0 28px;
}

.tema-multiplex #v2Hero .v2-hero-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.tema-multiplex #v2Hero .v2-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    height: 56px;
    padding: 0 32px;
    border-radius: 6px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
    transition: filter .2s;
}

    .tema-multiplex #v2Hero .v2-hero-btn:hover {
        color: #ffffff;
        text-decoration: none;
        filter: brightness(1.12);
    }

    .tema-multiplex #v2Hero .v2-hero-btn svg {
        flex-shrink: 0;
    }

.tema-multiplex #v2Hero .v2-hero-btn--primary {
    background: #cc0000;
    border: 1px solid #fa0000;
}

.tema-multiplex #v2Hero .v2-hero-btn--ghost {
    background: rgba(0,0,0,.4);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.2);
    box-shadow: 0 1px 2px rgba(0,0,0,.05);
}

/* ── Dots de paginación: pastilla activa + puntos inactivos ── */
.tema-multiplex #v2Hero .v2-hdots {
    bottom: 30px;
    gap: 8px;
}

.tema-multiplex #v2Hero .v2-hdot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: rgba(255,255,255,.3);
    border: none;
    transform: none;
    transition: width .25s ease, background .25s ease;
}

    .tema-multiplex #v2Hero .v2-hdot.on {
        width: 20px;
        background: #ffffff;
        border-color: transparent;
        transform: none;
    }

/* ══════════════ MOBILE (Figma node-id 591-13813, ≤768px) ══════════════ */
@media (max-width: 768px) {
    /* Mobile: degradado vertical (oscurece arriba para el header y abajo
       para fundir con la sección siguiente) en vez del horizontal de
       desktop — reemplaza el ::before, no hace falta el ::after aparte. */
    .tema-multiplex #v2Hero .v2-hbg::before {
        background:
            linear-gradient(180deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,0) 36%),
            linear-gradient(0deg, #1a1a1a 22.7%, rgba(17,17,17,.6) 29.9%, rgba(17,17,17,0) 82.4%);
    }

    .tema-multiplex #v2Hero .v2-hbg::after {
        background: none;
    }

    .tema-multiplex #v2Hero .v2-hero-content {
        justify-content: flex-end;
        padding: 24px 20px 64px;
        gap: 0;
    }

    .tema-multiplex #v2Hero .v2-hero-tags {
        margin-bottom: 12px;
    }

    /* Confirmado en Figma: "Estreno" pasa a ámbar en mobile (ver nota
       arriba del archivo). */
    .tema-multiplex #v2Hero .v2-hero-tag--featured {
        background: #fbbe00;
        border-color: #fbbe00;
    }

    .tema-multiplex #v2Hero .v2-hero-title {
        font-size: 40px;
        letter-spacing: 1.5px;
        margin-bottom: 16px;
    }

    /* Sin descripción en mobile — confirmado en Figma (591-13814): el
       slide pasa directo del título a los botones. */
    .tema-multiplex #v2Hero .v2-hero-desc {
        display: none;
    }

    .tema-multiplex #v2Hero .v2-hero-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .tema-multiplex #v2Hero .v2-hero-btn {
        width: 100%;
    }
}
