﻿.hero-section {
    background: #0f1014;
    padding: 82px 0 45px;
    overflow: hidden;
}

.heroSwiper .swiper-slide .hero-actions {
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .35s ease, transform .35s ease, visibility .35s;
}

.heroSwiper .swiper-slide-active .hero-actions {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.heroSwiper .swiper-slide:not(.swiper-slide-active) .hero-actions {
    pointer-events: none;
}

.heroSwiper .swiper-slide-active .hero-actions {
    pointer-events: auto;
}

.heroSwiper {
    width: 100%;
    overflow: visible;
    padding: 45px 0 55px;
}

    .heroSwiper .swiper-wrapper {
        align-items: center;
    }

    .heroSwiper .swiper-slide {
        transition: all .45s ease;
        transform: scale(.92);
        opacity: .65;
    }

    .heroSwiper .swiper-slide-prev,
    .heroSwiper .swiper-slide-next {
        transform: scale(.96);
        opacity: .4;
    }

    .heroSwiper .swiper-slide-active {
        transform: scale(1);
        opacity: 1;
    }

    .heroSwiper .swiper-slide-active {
        transform: scale(1);
        opacity: 1;
        z-index: 10;
    }

.hero-card-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-card-wrapper {
    width: 100%;
    min-height: auto;
    border-radius: 20px;
}

.hero-media {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
    position: relative;
}

    .hero-media img,
    .hero-media video {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
        display: block;
    }

    .hero-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }


.hero-overlay {
    position: absolute;
    inset: 0;
}


.hero-card-content {
    position: absolute;
    left: 45px;
    bottom: 42px;
    z-index: 5;
    max-width: 55%;
}

.hero-logo {
    max-width: 150px;
    max-height: 102px;
    margin-bottom: 18px;
    margin-bottom: 18px;
}

.hero-title-fallback {
    color: #fff;
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: #fff;
    margin-bottom: 22px;
    font-size: .95rem;
}

.meta-badge {
    background: rgba(255,255,255,.15);
    border-radius: 5px;
    padding: 4px 8px;
    font-size: .75rem;
    font-weight: 600;
}

.meta-dot {
    color: #ffd400;
}

.meta-text {
    color: #ddd;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.btn-voice {
    text-decoration: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: .25s;
    font-weight: 600;
}

    .btn-voice:hover {
        transform: translateY(-2px);
    }

.btn-voice-icon {
    width: 54px;
    height: 54px;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(8px);
    color: #fff;
    border-radius: 10px;
    font-size: 1.3rem;
}

.heroSwiper .swiper-slide {
    border-radius: 20px;
    overflow: hidden;
}

.hero-card-wrapper,
.hero-media,
.hero-media img,
.hero-media video {
    border-radius: 20px;
    overflow: hidden;
}

.swiper-pagination {
    bottom: 8px !important;
}

.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255,255,255,.4);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    width: 24px;
    border-radius: 10px;
    background: #fff;
}

.swiper-button-next,
.swiper-button-prev {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(0,0,0,.35);
    backdrop-filter: blur(10px);
    color: #fff;
}

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 18px;
        font-weight: bold;
    }


@media (max-width:1200px) {

    .hero-card-content {
        max-width: 70%;
    }
}

@media (max-width:992px) {

    .hero-section {
        background: #0f1014;
        padding: 61px 0 35px;
        overflow: hidden;
    }

    .heroSwiper .swiper-slide,
    .heroSwiper .swiper-slide-prev,
    .heroSwiper .swiper-slide-next,
    .heroSwiper .swiper-slide-active {
        transform: none;
        opacity: 1;
    }

    .hero-card-content {
        left: 25px;
        bottom: 25px;
        max-width: 85%;
    }

    .hero-logo {
        max-width: 160px;
    }

    .hero-title-fallback {
        font-size: 2rem;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
}

@media (max-width:768px) {

    .hero-section {
        background: #0f1014;
        padding: 56px 0 25px;
        overflow: hidden;
    }

    .heroSwiper {
        padding-bottom: 40px;
    }

    .hero-card-wrapper {
        border-radius: 16px;
    }

    .hero-card-content {
        max-width: 90%;
    }

    .hero-logo {
        max-width: 110px;
    }
}

@media (max-width: 767px) {

    .hero-section {
        background: #0f1014;
        padding: 56px 0 25px;
        overflow: hidden;
    }

    .hero-actions {
        display: flex;
        flex-wrap: nowrap;
        gap: 8px;
        margin-left: -13px;
    }

        .hero-actions .btn-ott {
            white-space: nowrap;
            padding: 8px 12px;
            font-size: 13px;
        }

        .hero-actions .button-text {
            white-space: nowrap;
        }

        .hero-actions button[data-volume] {
            width: 44px;
            min-width: 44px;
        }

        .hero-actions .btn-ott {
            white-space: nowrap;
            padding: 8px 12px;
            font-size: 13px;
        }

        .hero-actions .button-text {
            white-space: nowrap;
        }

        .hero-actions button[data-volume] {
            width: 44px;
            min-width: 44px;
        }

    .btn-voice-icon,
    .hero-volume {
        width: 46px;
        height: 46px;
        min-width: 46px;
        padding: 0;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .btn-voice-icon i,
        .hero-volume i {
            font-size: 12px;
        }
}


.btn-ott {
    --bs-btn-padding-y: 8px;
    --bs-btn-padding-x: 15px;
    --bs-btn-font-weight: 600;
    --bs-btn-border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    border: 1px solid transparent;
    letter-spacing: -0.01em;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}


.hero-card-content {
    position: absolute;
    left: 5%;
    bottom: 8%;
    max-width: 45%;
    z-index: 5;
}

@media(max-width:768px) {

    .hero-card-content {
        left: 20px;
        right: 20px;
        bottom: 20px;
        max-width: 85%;
    }
}

@media (max-width:768px) {

    .hero-section {
        padding: 56px 0 24px;
    }

    .heroSwiper {
        padding-bottom: 40px;
    }

        .heroSwiper .swiper-slide,
        .heroSwiper .swiper-slide-active,
        .heroSwiper .swiper-slide-prev,
        .heroSwiper .swiper-slide-next {
            transform: none;
            opacity: 1;
        }

    .hero-card-wrapper {
        height: auto;
        min-height: auto;
        border-radius: 18px;
        background: #000;
        overflow: hidden;
    }

    .hero-media {
        display: flex;
        align-items: center;
        justify-content: center;
        background: #000;
        height: 100%;
    }

        .hero-media img,
        .hero-media video {
            width: 100%;
            height: 100%;
            object-fit: contain;
            object-position: center;
            display: block;
        }

    .hero-overlay {
        background: linear-gradient( to top, rgba(0,0,0,.82) 8%, rgba(0,0,0,.25) 45%, rgba(0,0,0,0) 80% );
    }

    .hero-card-content {
        position: absolute;
        left: 18px;
        right: 18px;
        bottom: 18px;
        max-width: 60%;
        z-index: 5;
    }

    .hero-logo {
        max-width: 120px;
        max-height: 70px;
        margin-bottom: 10px;
    }

    .hero-copy {
        font-size: 13px;
        line-height: 1.35;
        margin-bottom: 10px;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hero-actions {
        display: flex;
        gap: 8px;
        flex-wrap: nowrap;
    }

        .hero-actions .btn-ott {
            max-width: 150px;
            padding: 8px 16px !important;
            font-size: 13px;
        }

        .hero-actions .btn-ott {
            padding: 8px 14px;
            font-size: 13px;
            white-space: nowrap;
        }

    .hero-actions {
        display: flex;
        justify-content: flex-start;
        gap: 10px;
        margin-left: 0;
        width: auto;
    }

        .hero-actions .btn-ott {
            width: auto !important;
            min-width: unset;
            max-width: 180px;
            padding: 3px 8px !important;
            font-size: 14px;
            border-radius: 999px;
            white-space: nowrap;
            flex: none;
            margin-left: -83px;
        }

        .hero-actions .button-text {
            white-space: nowrap;
        }

        .hero-actions .btn i {
            font-size: 12px;
        }

    .swiper-button-prev,
    .swiper-button-next {
        display: none;
    }
}

@media (max-width:820px) {
    .hero-media img {
        object-fit: contain;
    }
}

@media (max-width: 768px) {
    .hero-actions .btn, .banner-actions .btn, .watch-now-btn, .watch-trailer-btn {
        width: auto;
        min-height: 0px !important;
        border-radius: 999px !important;
    }
}