.flixpro-hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    background: #080b11;
}

.flixpro-hero-slides {
    position: relative;
    min-height: 520px;
}

.flixpro-hero-slide {
    position: absolute;
    inset: 0;
    min-height: 520px;
    overflow: hidden;
    background-position: center 18%;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

.flixpro-hero-slide.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.flixpro-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(8, 11, 17, 0.97) 0%, rgba(8, 11, 17, 0.84) 38%, rgba(8, 11, 17, 0.34) 72%, rgba(8, 11, 17, 0.65) 100%),
        linear-gradient(0deg, rgba(8, 11, 17, 0.94) 0%, rgba(8, 11, 17, 0.05) 62%);
}

.flixpro-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    min-height: 520px;
    padding: 54px clamp(28px, 5vw, 72px);
    box-sizing: border-box;
}

.flixpro-hero-slide.has-poster .flixpro-hero-inner {
    grid-template-columns: minmax(180px, 245px) minmax(0, 720px);
    gap: 34px;
}

.flixpro-hero-poster img {
    display: block;
    width: 100%;
    max-width: 245px;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 9px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.48);
}

.flixpro-hero-content {
    max-width: 760px;
    color: #fff;
}

.flixpro-hero-kicker {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    font-style: italic;
}

.flixpro-hero-content h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(38px, 5vw, 66px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.025em;
}

.flixpro-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.flixpro-hero-meta > span {
    display: inline-flex;
    min-height: 29px;
    align-items: center;
    padding: 5px 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.42);
    color: rgba(255, 255, 255, 0.92);
    font-size: 12px;
    line-height: 1;
    backdrop-filter: blur(7px);
}

.flixpro-hero-rating {
    font-weight: 700;
}

.flixpro-hero-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 14px;
}

.flixpro-hero-genres span {
    padding: 5px 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.11);
    color: #fff;
    font-size: 12px;
}

.flixpro-hero-overview {
    max-width: 700px;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 15px;
    line-height: 1.65;
}

.flixpro-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.flixpro-hero-watch,
.flixpro-hero-trailer {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.flixpro-hero-watch {
    background: #fff;
    color: #101318;
}

.flixpro-hero-watch:hover,
.flixpro-hero-watch:focus {
    color: #101318;
    opacity: 0.92;
    transform: translateY(-1px);
}

.flixpro-hero-trailer {
    border: 1px solid rgba(255, 255, 255, 0.23);
    background: rgba(0, 0, 0, 0.36);
    color: #fff;
    backdrop-filter: blur(7px);
}

.flixpro-hero-trailer:hover,
.flixpro-hero-trailer:focus {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    transform: translateY(-1px);
}

.flixpro-hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 10;
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: rgba(5, 7, 11, 0.68);
    color: #fff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    opacity: 0;
    transform: translateY(-50%);
    transition: opacity 0.2s ease, background 0.2s ease;
    backdrop-filter: blur(7px);
}

.flixpro-hero-slider:hover .flixpro-hero-arrow,
.flixpro-hero-slider:focus-within .flixpro-hero-arrow {
    opacity: 1;
}

.flixpro-hero-arrow:hover,
.flixpro-hero-arrow:focus {
    background: rgba(255, 255, 255, 0.18);
}

.flixpro-hero-prev {
    left: 18px;
}

.flixpro-hero-next {
    right: 18px;
}

.flixpro-hero-dots {
    position: absolute;
    z-index: 11;
    right: 28px;
    bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.flixpro-hero-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.42);
    cursor: pointer;
    transition: width 0.2s ease, border-radius 0.2s ease, background 0.2s ease;
}

.flixpro-hero-dot.is-active {
    width: 25px;
    border-radius: 8px;
    background: #fff;
}

.flixpro-banner-empty {
    color: rgba(255, 255, 255, 0.65);
}

@media (prefers-reduced-motion: reduce) {
    .flixpro-hero-slide,
    .flixpro-hero-dot,
    .flixpro-hero-arrow {
        transition: none;
    }
}

@media (max-width: 900px) {
    .flixpro-hero-slides,
    .flixpro-hero-slide,
    .flixpro-hero-inner {
        min-height: 460px;
    }

    .flixpro-hero-slide.has-poster .flixpro-hero-inner {
        grid-template-columns: 170px minmax(0, 1fr);
        gap: 24px;
    }

    .flixpro-hero-poster img {
        max-width: 170px;
    }
}

@media (max-width: 650px) {
    .flixpro-hero-slider {
        border-radius: 0;
    }

    .flixpro-hero-slides,
    .flixpro-hero-slide,
    .flixpro-hero-inner {
        min-height: 0;
    }

    .flixpro-hero-inner,
    .flixpro-hero-slide.has-poster .flixpro-hero-inner {
        grid-template-columns: 1fr;
        padding: 38px 22px 56px;
    }

    .flixpro-hero-poster {
        display: flex;
        justify-content: center;
    }

    .flixpro-hero-poster img {
        max-width: 190px;
    }

    .flixpro-hero-content {
        text-align: center;
    }

    .flixpro-hero-meta,
    .flixpro-hero-genres,
    .flixpro-hero-actions {
        justify-content: center;
    }

    .flixpro-hero-content h1 {
        font-size: 40px;
    }

    .flixpro-hero-arrow {
        display: none;
    }

    .flixpro-hero-dots {
        right: 50%;
        bottom: 18px;
        transform: translateX(50%);
    }
}
