.fn-hero {
    position: relative;
    width: 100%;
    background: var(--fn-bg-deep);
}

.fn-hero-swiper {
    width: 100%;
    height: min(70vh, 560px);
    max-height: min(70vh, 560px);
    overflow: hidden;
}

.fn-hero-swiper.swiper-fade .swiper-wrapper,
.fn-hero-swiper.swiper-fade .swiper-slide {
    height: 100%;
}

body.fn-app .fn-hero .btn-carousel-video {
    background: var(--fn-glass) !important;
    border-color: var(--fn-border-subtle) !important;
    color: #fff !important;
}

.fn-hero-slide {
    position: relative;
    width: 100%;
    height: min(70vh, 560px);
    min-height: 420px;
    max-height: min(70vh, 560px);
    overflow: hidden;
}

.fn-hero-media-layer {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.fn-hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    pointer-events: none;
}

.fn-hero-fallback {
    z-index: 0;
}

video.fn-hero-media,
video.fn-hero-video {
    background: #000;
    z-index: 1;
}

video.fn-hero-video.fn-hero-video--failed {
    display: none;
}

.fn-hero-volume {
    z-index: 3;
}

.fn-hero-volume--mobile {
    z-index: 3;
}

.fn-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to left, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.85) 55%, #000 100%),
        linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.55) 35%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

[dir="ltr"] .fn-hero-overlay {
    background:
        linear-gradient(to right, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.85) 55%, #000 100%),
        linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.55) 35%, transparent 70%);
}

.fn-hero-content {
    position: absolute;
    z-index: 2;
    bottom: 12%;
    right: 8%;
    max-width: min(520px, 90%);
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
}

[dir="ltr"] .fn-hero-content {
    right: auto;
    left: 8%;
    text-align: left;
    align-items: flex-start;
}

.fn-hero-genre {
    display: inline-block;
    padding: 0.25rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--fn-neon-purple);
    color: var(--fn-neon-purple);
    font-size: 0.8rem;
    box-shadow: var(--fn-neon-purple-glow);
}

.fn-hero-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    margin: 0;
    line-height: 1.2;
    color: #fff;
}

.fn-hero-year {
    margin: 0;
    color: var(--fn-text-muted);
    font-size: 0.95rem;
}

.fn-hero-desc {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.9rem;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fn-hero-logo {
    max-height: 56px;
    width: auto;
    margin-bottom: 0.25rem;
}

.fn-hero-logo--mobile {
    max-height: 40px;
}

.fn-hero-actions {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

[dir="ltr"] .fn-hero-actions {
    flex-direction: row;
}

.fn-hero-add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border-radius: 50%;
    border: 1px solid var(--fn-border-subtle);
    background: var(--fn-glass);
    color: #fff;
    text-decoration: none;
    line-height: 1;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fn-hero-add:hover {
    color: #fff;
    border-color: var(--fn-neon-purple);
    box-shadow: var(--fn-neon-purple-glow);
}

.fn-hero-pagination {
    bottom: 1.25rem !important;
    left: 50% !important;
    transform: translateX(-50%);
    width: auto !important;
}

.fn-hero-pagination .swiper-pagination-bullet {
    width: 28px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
    opacity: 1;
    transition: width 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.fn-hero-pagination .swiper-pagination-bullet-active {
    width: 40px;
    background: var(--fn-neon-purple);
    box-shadow: var(--fn-neon-purple-glow);
}

.fn-hero-content--mobile {
    bottom: 18%;
    right: 5%;
    max-width: 92%;
}

@media (max-width: 767.98px) {
    .fn-hero-swiper {
        height: min(45vh, 320px);
        max-height: min(45vh, 320px);
    }

    .fn-hero-slide {
        height: min(45vh, 320px);
        min-height: 240px;
        max-height: min(45vh, 320px);
    }

    .fn-hero-title {
        font-size: 1.35rem;
    }

    .fn-hero-desc {
        -webkit-line-clamp: 2;
    }
}
