/* =========================================================
   Home Page — Premium VOD redesign
   Scoped under .home-vod-page
   ========================================================= */

.home-vod-page {
    --hv-primary: var(--iq-primary, #8B1874);
    --hv-primary-hover: var(--iq-primary-hover, #E1198F);
    --hv-bg: #151515;
    --hv-surface: #1b1b1b;
    --hv-border: rgba(255, 255, 255, 0.08);
    --hv-text: #e8e8e8;
    --hv-muted: #9b9ba8;
    --hv-accent: #f5b83f;
    --hv-soft: rgba(255, 255, 255, 0.06);
    --hv-transition: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    color: var(--hv-text);
    background: var(--hv-bg);
    overflow-x: clip;
}

/* ---------- Shared CTA ---------- */
.home-vod-page .hv-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 46px;
    padding: 0.65rem 1.35rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--hv-primary), #b01d8a);
    color: #fff !important;
    font-weight: 800;
    font-size: 0.92rem;
    line-height: 1;
    text-decoration: none !important;
    border: 1px solid transparent;
    box-shadow: 0 12px 28px rgba(139, 24, 116, 0.35);
    transition: transform var(--hv-transition), box-shadow var(--hv-transition), background var(--hv-transition), border-color var(--hv-transition), color var(--hv-transition);
}

.home-vod-page .hv-cta i {
    font-size: 1.15rem;
}

.home-vod-page .hv-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(225, 25, 143, 0.4);
    color: #fff !important;
}

.home-vod-page .hv-cta--light {
    background: #fff;
    color: #111 !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
    border-color: transparent;
}

.home-vod-page .hv-cta--light:hover {
    background: #f3f3f3;
    color: #111 !important;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.42);
}

.home-vod-page .hv-cta--ghost {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: none;
    backdrop-filter: blur(10px);
}

.home-vod-page .hv-cta--ghost:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(225, 25, 143, 0.4);
    box-shadow: none;
}

.home-vod-page .hv-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.85rem;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    background: rgba(139, 24, 116, 0.24);
    border: 1px solid rgba(225, 25, 143, 0.35);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

/* ---------- Hero (full page) + thumbs grid ---------- */
.home-vod-page .hv-hero {
    position: relative;
    isolation: isolate;
    margin-bottom: 0;
}

.home-vod-page #home-banner-slider.iq-main-slider,
.home-vod-page .homeSwiper {
    height: 90vh;
    min-height: 90vh;
    max-height: none;
    background: #0a0a0a;
}

.home-vod-page .homeSwiper .hv-slide {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.home-vod-page .hv-slide {
    position: relative;
    height: 100%;
}

.home-vod-page .hv-slide-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.12) 45%, rgba(0, 0, 0, 0.55) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.05) 42%, rgba(0, 0, 0, 0.55) 100%);
}

.home-vod-page .hv-slide-inner {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 6.5rem clamp(1.25rem, 5vw, 4rem) 5.5rem;
}

.home-vod-page .hv-slide-content {
    max-width: min(540px, 92%);
    direction: rtl;
    text-align: right;
    animation: hvFadeUp 0.7s var(--hv-transition) both;
}

@keyframes hvFadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

.home-vod-page .hv-title-link {
    text-decoration: none !important;
}

.home-vod-page .hv-title {
    margin: 0 0 0.55rem !important;
    font-size: clamp(2rem, 4vw, 3.5rem) !important;
    font-weight: 800 !important;
    line-height: 1.05 !important;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #fff !important;
    text-shadow: 0 12px 36px rgba(0, 0, 0, 0.65);
}

.home-vod-page .hv-title-link:hover .hv-title {
    opacity: 0.92;
}

.home-vod-page .hv-desc,
.home-vod-page .hv-desc-plain {
    margin: 0 0 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.75;
}

.home-vod-page .hv-desc h1,
.home-vod-page .hv-desc h2,
.home-vod-page .hv-desc h3,
.home-vod-page .hv-desc h4,
.home-vod-page .hv-desc h5 {
    margin: 0 0 0.35rem !important;
    color: #fff !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
}

.home-vod-page .hv-desc p {
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-vod-page .hv-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.home-vod-page .hv-nav-btn {
    position: absolute;
    z-index: 5;
    top: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    background: rgba(10, 10, 12, 0.45);
    color: #fff;
    backdrop-filter: blur(8px);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background var(--hv-transition), border-color var(--hv-transition), transform var(--hv-transition);
}

.home-vod-page .hv-nav-btn--prev {
    right: clamp(1rem, 3vw, 2.25rem);
    left: auto;
}

.home-vod-page .hv-nav-btn--next {
    left: clamp(1rem, 3vw, 2.25rem);
    right: auto;
}

.home-vod-page .hv-nav-btn i {
    font-size: 1.35rem;
    line-height: 1;
}

.home-vod-page .hv-nav-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.05);
}

.home-vod-page .swiper-button-next-home-slider,
.home-vod-page .swiper-button-prev-home-slider {
    margin-top: 0 !important;
    width: 44px !important;
    height: 44px !important;
    background: rgba(10, 10, 12, 0.45) !important;
    box-shadow: none !important;
}

.home-vod-page .swiper-button-next-home-slider::after,
.home-vod-page .swiper-button-prev-home-slider::after {
    display: none !important;
    content: none !important;
}

.home-vod-page .home-slider-pagination {
    bottom: 1.25rem !important;
}

.home-vod-page .home-slider-pagination .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.45);
    opacity: 1;
}

.home-vod-page .home-slider-pagination .swiper-pagination-bullet-active {
    width: 18px;
    border-radius: 999px;
    background: var(--hv-accent, #f5b83f);
}

/* Thumbs grid below full-page hero */
.home-vod-page .hv-thumbs-panel {
    position: relative;
    z-index: 2;
    background: var(--hv-bg, #151515);
    padding: 1rem 0 0.75rem;
}

.home-vod-page .hv-thumbs-inner {
    width: min(1280px, 94%);
    margin: 0 auto;
}

.home-vod-page .hv-thumbs-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
    padding: 0 0.1rem;
}

.home-vod-page .hv-thumbs-title {
    margin: 0;
    color: #e8e8e8;
    font-size: 1rem;
    font-weight: 700;
}

.home-vod-page .hv-thumbs-tools {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.home-vod-page .hv-thumbs-more {
    display: inline-flex;
    align-items: center;
    gap: 0.1rem;
    color: var(--hv-accent, #f5b83f) !important;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: opacity var(--hv-transition), transform var(--hv-transition);
}

.home-vod-page .hv-thumbs-more i {
    font-size: 1.05rem;
    line-height: 1;
}

.home-vod-page .hv-thumbs-more:hover {
    opacity: 0.85;
    transform: translateX(-2px);
    color: #ffd066 !important;
}

.home-vod-page .hv-thumbs-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px 12px;
}

.home-vod-page .hv-thumb {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    opacity: 0.72;
    transition: opacity var(--hv-transition), transform var(--hv-transition);
}

.home-vod-page .hv-thumb:hover {
    opacity: 0.95;
}

.home-vod-page .hv-thumb.is-active {
    opacity: 1;
    transform: translateY(-2px);
}

.home-vod-page .hv-thumb-card {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    background: #222;
    border: 2px solid transparent;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
    transition: border-color var(--hv-transition), box-shadow var(--hv-transition);
}

.home-vod-page .hv-thumb.is-active .hv-thumb-card {
    border-color: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.48);
}

.home-vod-page .hv-thumb-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-vod-page .hv-thumb-shade {
    position: absolute;
    inset: auto 0 0 0;
    height: 45%;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.7));
    pointer-events: none;
}

.home-vod-page .hv-thumb-badge {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.16rem 0.4rem;
    border-radius: 4px;
    font-size: 0.66rem;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}

.home-vod-page .hv-thumb-badge--live {
    top: 0.4rem;
    inset-inline-start: 0.4rem;
    background: rgba(196, 30, 58, 0.94);
    color: #fff;
}

.home-vod-page .hv-thumb-badge--exclusive {
    bottom: 0.4rem;
    left: 50%;
    transform: translateX(-50%);
    background: transparent;
    color: #e8e8e8;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75);
}

.home-vod-page .hv-thumb-badge--exclusive i {
    color: var(--hv-accent, #f5b83f);
    font-size: 0.75rem;
}

@media (max-width: 1199.98px) {
    .home-vod-page .hv-thumbs-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .home-vod-page .hv-slide-inner {
        padding: 5.5rem clamp(1.1rem, 4vw, 2.25rem) 4.5rem;
    }

    .home-vod-page .hv-thumbs-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 9px;
    }
}

@media (max-width: 767.98px) {
    .home-vod-page #home-banner-slider.iq-main-slider,
    .home-vod-page .homeSwiper {
        height: 90svh;
        min-height: 90svh;
    }

    .home-vod-page .hv-slide-shade {
        background:
            linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0.75) 100%);
    }

    .home-vod-page .hv-slide-inner {
        padding: 5rem 1.15rem 4.25rem;
        justify-content: center;
        text-align: center;
    }

    .home-vod-page .hv-slide-content {
        max-width: 100%;
        text-align: center;
    }

    .home-vod-page .hv-actions {
        justify-content: center;
    }

    .home-vod-page .hv-thumbs-inner {
        width: 100%;
        padding-inline: 0.75rem;
    }

    .home-vod-page .hv-thumbs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .home-vod-page .hv-thumbs-title {
        font-size: 0.95rem;
    }
}

/* ---------- Promo ---------- */
.home-vod-page .hv-promo {
    padding: 2rem 0 0.5rem;
}

.home-vod-page .hv-promo-link {
    display: inline-block;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
    transition: transform var(--hv-transition);
}

.home-vod-page .hv-promo-link:hover {
    transform: translateY(-2px);
}

.home-vod-page .hv-promo img {
    display: block;
    border-radius: 16px;
}

/* ---------- Rows ---------- */
.home-vod-page .hv-main {
    position: relative;
    padding: 1rem clamp(0.4rem, 1.1vw, 0.95rem) 4rem;
    background:
        radial-gradient(ellipse 55% 24% at 50% 0%, rgba(139, 24, 116, 0.08), transparent 60%),
        var(--hv-bg);
}

.home-vod-page .hv-row {
    margin: 1.65rem 0;
}

.home-vod-page .hv-row-inner {
    width: 100%;
}

.home-vod-page .hv-row-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 0 0.75rem;
    padding: 0 0.2rem;
}

.home-vod-page .hv-row-title {
    position: relative;
    margin: 0 !important;
    padding: 0 0 0.5rem !important;
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    color: var(--hv-text) !important;
}

.home-vod-page .hv-row-title::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--hv-primary-hover));
}

.home-vod-page .hv-row-more {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.38rem 0.8rem;
    border-radius: 999px;
    background: var(--hv-soft);
    border: 1px solid var(--hv-border);
    color: var(--hv-muted) !important;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: background var(--hv-transition), color var(--hv-transition), border-color var(--hv-transition);
}

.home-vod-page .hv-row-more:hover {
    color: #fff !important;
    background: rgba(139, 24, 116, 0.22);
    border-color: rgba(225, 25, 143, 0.4);
}

.home-vod-page .swiper-contents {
    padding: 0.1rem 0 0.75rem;
    /* Peek next card slightly past the edge for a denser VOD rail. */
    margin-inline: -0.05rem;
}

.home-vod-page .swiper-contents .swiper-slide {
    height: auto !important;
    box-sizing: border-box;
    padding-inline: 0.18rem;
}

.home-vod-page .swiper-button-next-contents,
.home-vod-page .swiper-button-prev-contents {
    width: 40px !important;
    height: 40px !important;
    margin-top: 0 !important;
    top: 38% !important;
    border-radius: 50%;
    background: rgba(12, 12, 16, 0.88) !important;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff !important;
    backdrop-filter: blur(8px);
    box-shadow: none !important;
}

.home-vod-page .swiper-button-next-contents {
    inset-inline-end: 0.15rem !important;
}

.home-vod-page .swiper-button-prev-contents {
    inset-inline-start: 0.15rem !important;
}

.home-vod-page .swiper-button-next-contents::after,
.home-vod-page .swiper-button-prev-contents::after {
    font-size: 13px !important;
    font-weight: 800;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    box-shadow: none !important;
    line-height: 1 !important;
}

/* ---------- Cards ---------- */
.home-vod-page .hv-card,
.home-vod-page .movie-card.hv-card {
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 12px;
    padding: 0 !important;
    height: auto !important;
    /* Keep horizontal margin free so Swiper spaceBetween can apply. */
    margin-block: 0 !important;
    overflow: visible;
    transform: none !important;
    transition: none;
}

.home-vod-page .hv-card:hover,
.home-vod-page .movie-card.hv-card:hover {
    transform: none !important;
}

.home-vod-page .hv-card-link {
    display: block;
    width: 100%;
    text-decoration: none !important;
}

.home-vod-page .hv-poster,
.home-vod-page .movie-poster.hv-poster {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 2 / 3;
    border-radius: 12px;
    overflow: hidden;
    background: #17171c;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.38);
    transition: transform var(--hv-transition), border-color var(--hv-transition), box-shadow var(--hv-transition);
}

.home-vod-page .hv-poster--series {
    --hv-deck-step: 6px;
    --hv-deck-radius: 14px;
    overflow: visible;
    background: transparent;
    border-color: transparent;
    box-shadow: none;
}

.home-vod-page .hv-card:hover .hv-poster {
    transform: translateY(-4px) scale(1.015);
    border-color: rgba(225, 25, 143, 0.35);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.5);
}

.home-vod-page .hv-card:hover .hv-poster--series {
    transform: none;
    border-color: transparent;
    box-shadow: none;
}

.home-vod-page .hv-deck {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.home-vod-page .hv-deck-layer {
    position: absolute;
    left: 0;
    right: 0;
    height: calc(100% - (var(--hv-deck-step) * 2));
    border-radius: var(--hv-deck-radius);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, transparent 18%),
        linear-gradient(180deg, #2a2a32 0%, #16161c 100%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.06),
        0 6px 16px rgba(0, 0, 0, 0.45);
}

.home-vod-page .hv-deck-layer--back {
    top: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 16%),
        linear-gradient(180deg, #22222a 0%, #101014 100%);
    opacity: 0.92;
}

.home-vod-page .hv-deck-layer--mid {
    top: var(--hv-deck-step);
    z-index: 2;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, transparent 18%),
        linear-gradient(180deg, #30303a 0%, #141418 100%);
}

.home-vod-page .hv-poster > img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: 0 !important;
}

.home-vod-page .hv-poster--series > img.hv-deck-face {
    z-index: 3;
    top: calc(var(--hv-deck-step) * 2);
    right: 0;
    bottom: 0;
    left: 0;
    width: 100% !important;
    height: calc(100% - (var(--hv-deck-step) * 2)) !important;
    border-radius: var(--hv-deck-radius) !important;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.08),
        0 10px 26px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(0, 0, 0, 0.35);
    transition: box-shadow var(--hv-transition);
}

.home-vod-page .hv-card:hover .hv-poster--series > img.hv-deck-face {
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(225, 25, 143, 0.4),
        0 14px 30px rgba(0, 0, 0, 0.6);
}

.home-vod-page .hv-poster--series .hv-poster-shade {
    top: calc(var(--hv-deck-step) * 2);
    right: 0;
    bottom: 0;
    left: 0;
    height: auto;
    border-radius: 0 0 var(--hv-deck-radius) var(--hv-deck-radius);
    background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.78) 100%);
}

.home-vod-page .hv-poster--series .hv-play {
    top: calc(var(--hv-deck-step) * 2);
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: var(--hv-deck-radius);
}

.home-vod-page .hv-poster--series .hv-poster-shade,
.home-vod-page .hv-poster--series .hv-play,
.home-vod-page .hv-poster--series .hv-chip {
    z-index: 6;
}

.home-vod-page .hv-poster--series .hv-chip--imdb,
.home-vod-page .hv-poster--series .hv-chip--4k,
.home-vod-page .hv-poster--series .hv-chip--cam {
    top: calc((var(--hv-deck-step) * 2) + 0.4rem);
}

.home-vod-page .hv-poster-shade {
    position: absolute;
    inset: auto 0 0 0;
    height: 42%;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
    opacity: 0.9;
    pointer-events: none;
}

.home-vod-page .hv-play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, 0.28);
    opacity: 0;
    transition: opacity var(--hv-transition);
    z-index: 4;
}

.home-vod-page .hv-play i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--hv-primary), #b01d8a);
    color: #fff;
    font-size: 1.15rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}

.home-vod-page .hv-card:hover .hv-play {
    opacity: 1;
}

.home-vod-page .hv-chip {
    position: absolute;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: rgba(0, 0, 0, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
}

.home-vod-page .hv-chip--imdb {
    top: 0.4rem;
    right: 0.4rem;
    min-height: 22px;
    padding: 0 0.4rem;
    color: #f5c518;
    font-size: 0.7rem;
    font-weight: 800;
}

.home-vod-page .hv-chip--4k,
.home-vod-page .hv-chip--cam {
    top: 0.4rem;
    left: 0.4rem;
    padding: 0.15rem;
}

.home-vod-page .hv-chip--4k img {
    width: 1.1rem;
    height: auto;
    display: block;
    border-radius: 3px;
}

.home-vod-page .hv-chip--cam img {
    width: 1.35rem;
    height: auto;
    display: block;
}

.home-vod-page .hv-chip--4k + .hv-chip--cam {
    top: 2rem;
}

.home-vod-page .hv-poster--series .hv-chip--4k + .hv-chip--cam {
    top: calc((var(--hv-deck-step) * 2) + 2rem);
}

.home-vod-page .hv-chip--rank {
    top: auto;
    right: 0.4rem;
    bottom: 0.45rem;
    left: auto;
    min-width: 1.85rem;
    min-height: 1.85rem;
    padding: 0.2rem 0.45rem;
    border-radius: 999px;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
    background: rgba(0, 0, 0, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 0 1px #000, 0 0 8px rgba(0, 0, 0, 0.55);
}

.home-vod-page .hv-poster--series .hv-chip--rank {
    bottom: 0.45rem;
}

.home-vod-page .hv-chip--dub {
    top: auto;
    right: 50%;
    bottom: 0.5rem;
    left: auto;
    width: auto;
    height: auto;
    min-height: 26px;
    max-width: none;
    gap: 0.35rem;
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    transform: translateX(50%);
    z-index: 7;
    box-sizing: border-box;
    pointer-events: none;
}

.home-vod-page .hv-chip--dub img {
    width: 12px;
    height: 12px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

.home-vod-page .hv-chip--dub .hv-chip-text {
    display: block;
    color: #eef7ff;
    font-size: 0.62rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.01em;
    white-space: nowrap;
    padding-inline-end: 0.05rem;
}

.home-vod-page .hv-poster--series .hv-chip--dub {
    bottom: 0.5rem;
}

.home-vod-page .hv-card-meta {
    padding: 0.55rem 0.1rem 0;
    text-align: center;
}

.home-vod-page .hv-card-title {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--hv-text) !important;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none !important;
}

.home-vod-page .hv-card-sub {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 0.15rem;
    color: var(--hv-muted);
    font-size: 0.7rem;
    line-height: 1.3;
}

/* ---------- Feature block ---------- */
.home-vod-page .hv-feature {
    position: relative;
    isolation: isolate;
    margin: 2.25rem 0.35rem;
    border-radius: 20px;
    overflow: hidden;
    min-height: 340px;
    background-size: cover;
    background-position: center;
    border: 1px solid var(--hv-border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.42);
}

.home-vod-page .hv-feature-shade {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(100deg, rgba(9, 9, 11, 0.92) 0%, rgba(9, 9, 11, 0.78) 48%, rgba(9, 9, 11, 0.4) 100%),
        radial-gradient(ellipse 45% 60% at 15% 50%, rgba(139, 24, 116, 0.22), transparent 65%);
}

.home-vod-page .hv-feature-inner {
    position: relative;
    z-index: 1;
    padding: 1.75rem 0;
}

.home-vod-page .hv-feature-grid {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 1.5rem 1.75rem;
    align-items: center;
    max-width: 920px;
    margin-right: 1rem;
}

.home-vod-page .hv-feature-poster {
    display: block;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.home-vod-page .hv-feature-poster img {
    display: block;
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.home-vod-page .hv-feature-title {
    margin: 0 0 0.7rem !important;
    color: #fff !important;
    font-size: clamp(1.35rem, 2vw, 1.85rem) !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
}

.home-vod-page .hv-feature-desc {
    color: var(--hv-muted);
    font-size: 0.92rem;
    line-height: 1.75;
    margin-bottom: 1.1rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-vod-page .hv-feature-desc p {
    margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .home-vod-page .hv-feature-grid {
        grid-template-columns: 150px minmax(0, 1fr);
        margin-right: 0.5rem;
    }
}

@media (max-width: 767.98px) {
    .home-vod-page .hv-row-head {
        padding: 0 0.15rem;
    }

    .home-vod-page .hv-main {
        padding-inline: 0.35rem;
    }

    .home-vod-page .swiper-contents .swiper-slide {
        padding-inline: 0.12rem;
    }

    .home-vod-page .hv-feature {
        margin: 1.5rem 0.35rem;
    }

    .home-vod-page .hv-feature-grid {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        margin: 0;
    }

    .home-vod-page .hv-feature-poster {
        width: 150px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-vod-page .hv-slide-content,
    .home-vod-page .hv-thumb,
    .home-vod-page .hv-card,
    .home-vod-page .hv-cta,
    .home-vod-page .hv-poster {
        animation: none !important;
        transition: none !important;
    }
}
