/* ══════════════════════════════════════════════════════════════════
   RAFLIX · HERO SECTION
   ══════════════════════════════════════════════════════════════════ */

.hero-section {
    position: relative;
    height: min(88vh, 700px);
    min-height: 500px;
    overflow: hidden;
    margin-top: calc(-1 * var(--nav-h));
    border-bottom: var(--border-w-lg) solid var(--border);
    background: var(--bg2);
}
.hero-backdrop {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 20%;
    transition: background-image .6s ease;
    filter: contrast(1.05) saturate(1.05);
}
.hero-backdrop::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--hero-scrim);
}
.hero-gradient {
    display: none;
}
.hero-content {
    position: absolute;
    inset: 0;
    padding: 3rem 3rem 3.5rem;
    max-width: min(760px, 94%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    z-index: 2;
    animation: heroFadeUp .5s ease;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    align-self: flex-start;
    background: var(--accent);
    color: var(--accent-text);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: .45rem .85rem;
    border: var(--border-w-sm) solid #fff;
    border-radius: 0;
    margin-bottom: 1rem;
    box-shadow: 3px 3px 0 rgba(0,0,0,.5);
    line-height: 1;
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 7vw, 5rem);
    line-height: .96;
    letter-spacing: .02em;
    color: #fff;
    margin-bottom: .875rem;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, .5);
    max-width: 90%;
    word-break: break-word;
}
.hero-meta {
    display: flex;
    align-items: center;
    gap: .875rem;
    font-size: .85rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: .875rem;
    flex-wrap: wrap;
    letter-spacing: .04em;
}
.hero-meta .rating {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    color: var(--accent-gold);
    font-weight: 800;
}
.hero-genres {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-bottom: 1.25rem;
}
.genre-tag {
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .35rem .7rem;
    border: var(--border-w-sm) solid #fff;
    color: #fff;
    background: rgba(0, 0, 0, .35);
    line-height: 1;
}
.hero-overview {
    font-size: .9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, .9);
    margin-bottom: 1.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 620px;
    font-weight: 500;
}
.hero-actions {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
}
.hero-actions .cf-btn-secondary {
    background: rgba(255, 255, 255, .08);
    color: #fff;
    border-color: #fff;
}
.hero-actions .cf-btn-secondary:hover {
    background: #fff;
    color: #0a0a0a;
}
.hero-actions .cf-btn-outline {
    background: transparent;
    color: #fff;
    border-color: #fff;
}
.hero-actions .cf-btn-outline:hover {
    background: #fff;
    color: #0a0a0a;
}

/* ─── Hero skeleton ─── */
.hero-skeleton .skel-badge {
    width: 90px;
    height: 26px;
    margin-bottom: 1rem;
}
.hero-skeleton .skel-title {
    width: 420px;
    max-width: 85%;
    height: 60px;
    margin-bottom: .875rem;
}
.hero-skeleton .skel-meta {
    width: 220px;
    height: 18px;
    margin-bottom: .875rem;
}
.hero-skeleton .skel-overview {
    width: 100%;
    max-width: 520px;
    height: 64px;
    margin-bottom: 1.75rem;
}
.hero-skeleton .skel-btns {
    width: 320px;
    height: 46px;
}
.hero-skeleton > div {
    background: rgba(255, 255, 255, .12);
    border: var(--border-w-sm) solid rgba(255, 255, 255, .2);
    animation: shimmer 1.4s linear infinite alternate;
}
