﻿.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: 20px 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%;
    height: 520px;
    /*    border-radius: 20px;*/
    overflow: hidden;
    /*    background: #000;
    box-shadow: 0 25px 50px rgba(0,0,0,.55);*/
}

.hero-card-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: auto;
    border-radius: 20px;
}

.hero-media {
    width: 100%;
    height: 100%;
    position: relative;
}

    .hero-media img,
    .hero-media video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    /*    .hero-media img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }*/

    .hero-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }


.hero-overlay {
    position: absolute;
    inset: 0;
    /*    background: linear-gradient( to top, rgba(0,0,0,.95) 5%, rgba(0,0,0,.55) 35%, rgba(0,0,0,.15) 60%, rgba(0,0,0,0) 100%);*/
}


.hero-card-content {
    position: absolute;
    left: 45px;
    bottom: 42px;
    z-index: 5;
    max-width: 55%;
}

.hero-logo {
    /*    max-width: 320px;
    max-height: 130px;*/
    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-wrapper {
        height: 460px;
    }

    .hero-card-content {
        max-width: 70%;
    }
}

@media (max-width:992px) {

    .hero-section {
        background: #0f1014;
        /*    padding: 25px 0 45px;*/
        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-wrapper {
        height: 400px;
    }

    .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:820px) {
    .hero-media img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

@media (max-width:768px) {

    .hero-section {
        background: #0f1014;
        /*    padding: 25px 0 45px;*/
        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;
        align-items: center;
        gap: 10px;
        width: 100%;
        flex-wrap: nowrap;
    }*/

    .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;
}
