/* KuzgunBet — 3D foto hero slider */

.home-hero .home-hero-stage.home-shell {
    max-width: 100%;
    width: 100%;
    padding-left: clamp(0.25rem, 1.2vw, 0.85rem);
    padding-right: clamp(0.25rem, 1.2vw, 0.85rem);
}

@media (min-width: 769px) {
    .home-hero .home-hero-stage.home-shell {
        max-width: min(100%, 1520px);
        padding-left: clamp(0.5rem, 1.5vw, 1.25rem);
        padding-right: clamp(0.5rem, 1.5vw, 1.25rem);
    }
}

.home-hero__frame--3d {
    --home-slider-aspect: 16 / 9;
    position: relative;
    aspect-ratio: var(--home-slider-aspect);
    width: 100%;
    min-height: 0;
    border-radius: 16px;
    overflow: hidden;
    isolation: isolate;
    transform: none;
    transform-origin: center center;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.home-hero__frame--3d::after { display: none !important; content: none !important; }

@media (min-width: 1200px) {
    .home-hero__frame--3d {
        min-height: 0;
    }
}

.home-slider--3d .home-hero__slide-img {
    transform: none;
    object-fit: contain;
    object-position: center center;
    background: #041526;
    width: 100%;
    height: 100%;
}

.home-slider--3d .swiper-slide-active .home-hero__slide-img {
    transform: none;
}

.home-slider--3d .swiper-button-next,
.home-slider--3d .swiper-button-prev {
    color: #2ec7ff;
    opacity: 0.85;
    width: 46px;
    height: 46px;
}

.home-slider--3d .swiper-button-next:hover,
.home-slider--3d .swiper-button-prev:hover {
    opacity: 1;
}

.home-slider--3d .swiper-pagination {
    bottom: 14px !important;
}

.home-slider--3d .swiper-pagination-bullet {
    background: rgba(46, 199, 255, 0.35);
}

.home-slider--3d .swiper-pagination-bullet-active {
    background: #2ec7ff;
}

.home-hero:has(.home-hero__frame--3d) {
    padding-top: 0.85rem;
    padding-bottom: 0;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .home-hero,
    .home-hero:has(.home-hero__frame--3d) {
        padding: 0 !important;
        margin: 0 0 0.35rem !important;
    }

    .home-hero .home-hero-stage.home-shell {
        padding: 0 !important;
        margin: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .home-hero__frame,
    .home-hero__frame.home-hero__frame--3d {
        --home-slider-aspect: 16 / 9;
        aspect-ratio: 16 / 9 !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin: 0 !important;
        border-radius: 0 0 14px 14px !important;
        border: 0 !important;
        overflow: hidden;
        transform: none;
        transform-origin: center center;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
    }

    .home-hero__frame.home-hero__frame--3d > .home-slider,
    .home-hero__frame.home-hero__frame--3d > .swiper,
    .home-hero__frame--3d .swiper-wrapper,
    .home-hero__frame--3d .swiper-slide,
    .home-hero__frame--3d .home-hero__slide-link,
    .home-hero__frame--3d .home-hero__slide,
    .home-hero__frame--3d .home-hero__slide-media {
        height: auto !important;
        min-height: 0 !important;
        border-radius: 0 0 14px 14px;
        background: transparent !important;
    }

    .home-hero__frame--3d .home-hero__slide-img,
    .home-slider--3d .home-hero__slide-img {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        max-width: none !important;
        aspect-ratio: 16 / 9;
        object-fit: cover;
        object-position: center top;
        transform: none !important;
    }

    .home-slider--3d .swiper-pagination {
        bottom: 8px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero__frame--3d {
        transform: none;
    }
}
