/* ==========================================================================
   NOVA pages — auth, browse, detail, watch, pricing, account, library, misc
   ========================================================================== */

/* Authentication ---------------------------------------------------------- */
.auth-page {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: clamp(26px, 5vw, 64px);
    align-items: center;
    min-height: calc(100vh - var(--header-h));
    padding-top: 34px;
    padding-bottom: 54px;
}
.auth-page--single { grid-template-columns: minmax(0, 480px); justify-content: center; }
.auth-visual {
    position: relative;
    min-height: 590px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    background: #0c0c14;
    display: flex;
    align-items: flex-end;
    isolation: isolate;
}
.auth-visual__bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(600px 420px at 72% 12%, rgba(139, 92, 246, 0.34), transparent 62%),
        radial-gradient(520px 380px at 18% 82%, rgba(255, 61, 90, 0.28), transparent 60%),
        linear-gradient(150deg, #17111f 0%, #0a0a12 52%, #1c0d14 100%);
}
.auth-visual__bg::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 66px),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 66px);
    mask-image: radial-gradient(ellipse at 50% 40%, #000 15%, transparent 75%);
}
.auth-visual__bg::after {
    content: "";
    position: absolute;
    width: 460px; height: 620px;
    left: 50%; top: 44%;
    transform: translate(-50%, -50%) rotate(-8deg);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    background:
        linear-gradient(0deg, rgba(7, 7, 11, 0.94), rgba(7, 7, 11, 0.1)),
        url("../img/backdrop-placeholder.svg") center / cover no-repeat;
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.65);
    opacity: 0.85;
}
.auth-visual__scrim { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 7, 11, 0.96) 4%, rgba(7, 7, 11, 0.42) 44%, rgba(7, 7, 11, 0.05) 78%); }
.auth-visual__content { position: relative; z-index: 2; padding: clamp(28px, 4vw, 46px); }
.auth-visual__content h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); max-width: 460px; margin-bottom: 12px; }
.auth-visual__content > p { color: rgba(255, 255, 255, 0.68); font-size: 13.5px; max-width: 420px; line-height: 1.7; }
.auth-points { display: flex; flex-direction: column; gap: 9px; margin: 20px 0; }
.auth-points li { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--text-soft); }
.auth-points svg { color: #6ee7b7; }
.auth-quote { display: flex; gap: 8px; margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.auth-quote span { font-family: Georgia, serif; font-size: 34px; line-height: 1; color: #ff8fa2; }
.auth-quote p { margin: 0; font-size: 12px; line-height: 1.6; color: rgba(255, 255, 255, 0.5); font-style: italic; }
.auth-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.auth-stats strong { display: block; font-family: "Outfit", sans-serif; font-size: 22px; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.auth-stats span { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); }
.auth-visual--compact { min-height: 420px; }
.auth-visual--compact .auth-visual__bg::after { height: 460px; opacity: 0.55; }

.auth-panel { display: flex; justify-content: center; }
.auth-card {
    width: 100%;
    max-width: 430px;
    padding: clamp(24px, 3.6vw, 38px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(21, 21, 31, 0.9), rgba(13, 13, 20, 0.92));
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(18px);
}
.auth-card--center { text-align: center; }
.auth-card--center .auth-card__head p { margin-inline: auto; }
.auth-card__head { margin-bottom: 22px; }
.auth-card__head h1 { font-size: clamp(1.7rem, 3vw, 2.15rem); margin-bottom: 7px; }
.auth-card__head p { margin: 0; font-size: 13px; color: var(--muted); }
.auth-card__head a { color: #ff9db0; font-weight: 600; }
.auth-card__head a:hover { text-decoration: underline; text-underline-offset: 3px; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--muted-2); font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.auth-social { display: grid; gap: 9px; }
.auth-social__btn { justify-content: flex-start; padding-inline: 15px; }
.auth-social__btn > span:last-child { flex: 1; text-align: center; }
.auth-social__icon { display: inline-flex; width: 18px; height: 18px; flex: 0 0 auto; }
.auth-social__note { margin: 10px 0 0; font-size: 10.5px; line-height: 1.6; color: var(--muted-2); text-align: center; }
.auth-fine { margin: 18px 0 0; font-size: 10.5px; line-height: 1.6; color: var(--muted-2); text-align: center; }
.auth-icon { width: 64px; height: 64px; display: grid; place-items: center; margin: 0 auto 16px; border-radius: 18px; background: var(--gradient-soft); border: 1px solid rgba(255, 255, 255, 0.12); color: #ffc2cd; }
.auth-card__links { display: flex; justify-content: center; gap: 20px; margin-top: 16px; font-size: 12.5px; }

/* Browse ------------------------------------------------------------------ */
.browse-body { padding-top: 24px; padding-bottom: 20px; }
.filter-bar {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(16, 16, 24, 0.7);
    margin-bottom: 18px;
}
.filter-search { position: relative; flex: 1 1 220px; min-width: 190px; }
.filter-search > svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted-2); }
.filter-search input {
    width: 100%; height: 40px;
    padding: 0 13px 0 40px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: rgba(8, 8, 13, 0.75);
    color: var(--text);
    font-size: 13px;
}
.filter-search input:focus { outline: none; border-color: rgba(255, 61, 90, 0.55); box-shadow: 0 0 0 3px rgba(255, 61, 90, 0.1); }
.filter-submit { min-height: 40px; padding: 0 20px; }
.filter-reset { display: inline-flex; align-items: center; gap: 4px; padding: 10px 6px; font-size: 12px; color: var(--muted); }
.filter-reset:hover { color: #ff9db0; }
.browse-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; font-size: 12px; color: var(--muted-2); }
.browse-toolbar strong { color: var(--text); }
.filter-chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 99px; border: 1px solid rgba(255, 61, 90, 0.35); background: rgba(255, 61, 90, 0.09); color: #ffb3c0; font-size: 11px; font-weight: 600; }

.poster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(146px, 1fr));
    gap: 22px 15px;
}
.poster-grid .movie-card { flex: none; }

/* Title detail ------------------------------------------------------------ */
.detail-hero { position: absolute; top: 0; left: 0; right: 0; height: 550px; z-index: -1; overflow: hidden; }
.detail-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center 18%; filter: saturate(1.05); }
.detail-hero__scrim {
    position: absolute; inset: 0;
    background:
        linear-gradient(0deg, var(--bg) 0%, rgba(7, 7, 11, 0.82) 30%, rgba(7, 7, 11, 0.35) 72%, rgba(7, 7, 11, 0.86) 100%),
        linear-gradient(90deg, rgba(7, 7, 11, 0.8), transparent 55%, rgba(7, 7, 11, 0.55));
}
.page-title-detail .site-main { position: relative; }
.detail-wrap { position: relative; padding-top: 200px; padding-bottom: 20px; }
.detail-main { display: flex; align-items: flex-start; gap: clamp(24px, 4vw, 46px); }
.detail-poster { position: relative; flex: 0 0 clamp(190px, 19vw, 250px); margin-top: 44px; }
.detail-poster img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: var(--shadow-lg); background: var(--surface-2); }
.detail-poster__rating { position: absolute; bottom: 12px; left: 12px; right: 12px; display: flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 9px; background: rgba(7, 7, 11, 0.86); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, 0.12); font-size: 13px; font-weight: 700; color: #fde68a; }
.detail-poster__rating small { margin-left: auto; font-size: 9px; letter-spacing: 0.08em; color: var(--muted-2); font-weight: 700; }
.detail-info { flex: 1; min-width: 0; padding-top: 10px; }
.detail-eyebrow { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.type-pill { padding: 3px 9px; border-radius: 5px; background: rgba(255, 255, 255, 0.08); border: 1px solid var(--border-strong); font-size: 9.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-soft); }
.detail-title { font-size: clamp(2.3rem, 5vw, 4rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1; margin: 0 0 16px; text-shadow: 0 6px 30px rgba(0, 0, 0, 0.4); }
.detail-meta { display: flex; align-items: center; gap: 11px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }
.resume-chip { padding: 4px 9px; border-radius: 99px; border: 1px solid rgba(139, 92, 246, 0.4); background: rgba(139, 92, 246, 0.12); color: #ddd6fe; font-size: 10.5px; font-weight: 600; }
.member-rating-chip {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 3px 9px; border-radius: 99px;
    border: 1px solid rgba(246, 211, 101, 0.24); background: rgba(246, 211, 101, 0.07);
    color: var(--accent-3); font-size: 11px; font-weight: 600;
    transition: 0.2s ease;
}
.member-rating-chip strong { font-size: 11.5px; color: #fde68a; }
.member-rating-chip > span:last-child { font-size: 10.5px; color: var(--muted); }
.member-rating-chip:hover { border-color: rgba(246, 211, 101, 0.45); background: rgba(246, 211, 101, 0.13); }
.genre-chips { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 16px; }
.genre-chip { padding: 5px 11px; border-radius: 99px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.045); font-size: 11px; color: var(--text-soft); transition: 0.2s ease; }
.genre-chip:hover { border-color: rgba(255, 61, 90, 0.4); color: #ffb3c0; background: rgba(255, 61, 90, 0.07); }
.detail-overview { max-width: 800px; color: rgba(230, 230, 240, 0.82); font-size: 14px; line-height: 1.7; margin-bottom: 22px; }
.detail-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.favorite-btn.is-active { border-color: rgba(255, 61, 90, 0.45); background: rgba(255, 61, 90, 0.13); color: #ffb3c0; }
.favorite-btn.is-active svg { fill: #ff5c73; stroke: #ff5c73; }
.detail-ad { margin: 4px 0 24px; max-width: 970px; }
.detail-ad--lower { margin: 34px auto 8px; }
.detail-facts { display: grid; gap: 0; margin: 0; max-width: 860px; border-top: 1px solid var(--border); }
.detail-facts > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.045); }
.detail-facts dt { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); padding-top: 2px; }
.detail-facts dd { margin: 0; font-size: 12.5px; color: var(--text-soft); }

.episodes-section { margin: 42px 0 8px; }
.season-list { display: flex; flex-direction: column; gap: 9px; }
.season-block { border: 1px solid var(--border); border-radius: 12px; background: rgba(16, 16, 24, 0.55); overflow: hidden; }
.season-block > summary {
    display: flex; align-items: center; gap: 12px;
    padding: 13px 16px;
    cursor: pointer;
    list-style: none;
    font-size: 13.5px; font-weight: 600;
    transition: background 0.15s ease;
}
.season-block > summary::-webkit-details-marker { display: none; }
.season-block > summary:hover { background: rgba(255, 255, 255, 0.03); }
.season-block__num { padding: 3px 8px; border-radius: 5px; background: var(--gradient-soft); border: 1px solid var(--border); font-size: 10px; font-weight: 800; color: #ffc2cd; }
.season-block__count { margin-left: auto; font-size: 11px; font-weight: 500; color: var(--muted-2); }
.season-block__chev { color: var(--muted-2); transition: transform 0.25s ease; }
.season-block[open] .season-block__chev { transform: rotate(180deg); }
.episode-list { border-top: 1px solid var(--border); }
.episode-row { display: flex; align-items: flex-start; gap: 14px; padding: 13px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.035); transition: background 0.15s ease; }
.episode-row:last-child { border-bottom: 0; }
.episode-row:hover { background: rgba(255, 255, 255, 0.035); }
.episode-row__num { width: 26px; flex-shrink: 0; font-family: "Outfit", sans-serif; font-size: 16px; font-weight: 700; color: var(--muted-2); line-height: 1.3; }
.episode-row__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.episode-row__title { font-size: 13px; font-weight: 600; }
.episode-row__desc { font-size: 11.5px; color: var(--muted); line-height: 1.55; }
.episode-row__meta { font-size: 10.5px; color: var(--muted-2); }
.episode-row__play { width: 30px; height: 30px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.03); color: var(--muted); }
.episode-row:hover .episode-row__play { background: var(--accent); border-color: transparent; color: #fff; }
.episode-row.is-current { background: rgba(255, 61, 90, 0.055); }
.episode-row.is-current .episode-row__num { color: #ff8fa2; }
.episode-row--more { align-items: center; color: var(--muted-2); }
.episode-row--more .episode-row__num { display: grid; place-items: center; }
.episode-row--more .episode-row__title { font-weight: 500; color: var(--muted); }
.episode-row--more:hover .episode-row__title { color: #fff; }
.episodes-more { display: flex; justify-content: center; margin-top: 14px; }

/* Member reviews ---------------------------------------------------------- */
.reviews-section { margin: 50px 0 12px; scroll-margin-top: calc(var(--header-h) + 18px); }
.reviews-head {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap;
    margin-bottom: 22px; padding-top: 30px; border-top: 1px solid var(--border);
}
.reviews-head h2 { margin: 3px 0 7px; font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.02em; }
.reviews-head p { margin: 0; max-width: 640px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.reviews-head__score {
    display: flex; align-items: center; gap: 13px;
    padding: 11px 16px; border: 1px solid var(--border); border-radius: 14px;
    background: linear-gradient(135deg, rgba(246, 211, 101, 0.08), rgba(139, 92, 246, 0.08));
}
.reviews-head__score strong { font-family: "Outfit", sans-serif; font-size: 2rem; line-height: 1; color: var(--accent-3); }
.reviews-head__score span { display: block; margin-top: 4px; font-size: 10.5px; color: var(--muted); }
.reviews-layout { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 20px; align-items: start; }
.reviews-aside { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.review-card {
    padding: 18px; border: 1px solid var(--border); border-radius: 15px;
    background: linear-gradient(165deg, rgba(23, 23, 34, 0.92), rgba(12, 12, 19, 0.94));
    scroll-margin-top: calc(var(--header-h) + 18px);
}
.review-card__head { margin-bottom: 15px; }
.review-card__head h3, .review-distribution__head h3, .reviews-list__head h3 { margin: 0; font-size: 1rem; letter-spacing: -0.01em; }
.review-card__head p { margin: 6px 0 0; font-size: 12px; line-height: 1.55; color: var(--muted); }
.review-card__head .eyebrow { margin-bottom: 5px; }

.star-field { margin: 0 0 14px; padding: 0; border: 0; min-width: 0; }
.star-field legend { margin-bottom: 7px; padding: 0; font-size: 12.5px; font-weight: 600; color: var(--text-soft); }
.star-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.star-input input {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.star-input label {
    display: inline-flex; padding: 2px; cursor: pointer; color: rgba(246, 211, 101, 0.3);
    transition: color 0.14s ease, transform 0.14s ease;
}
.star-input label svg { fill: transparent; stroke: currentColor; transition: fill 0.14s ease; }
.star-input label:hover,
.star-input label:hover ~ label,
.star-input input:checked ~ label { color: var(--accent-3); }
.star-input label:hover svg,
.star-input label:hover ~ label svg,
.star-input input:checked ~ label svg { fill: currentColor; }
.star-input label:hover { transform: translateY(-1px); }
.star-input input:focus-visible + label { outline: 2px solid rgba(246, 211, 101, 0.65); outline-offset: 2px; border-radius: 5px; }
.review-form { display: flex; flex-direction: column; gap: 2px; }
.review-form .field > span:first-child small { font-weight: 400; }
.review-form__actions { margin-top: 13px; }
.review-form__actions .btn { width: 100%; justify-content: center; }
.review-delete { margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--border); }
.review-delete .link-danger { font-size: 12px; }

.review-card--guest { text-align: left; }
.review-guest-icon {
    display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 13px;
    border-radius: 12px; border: 1px solid rgba(246, 211, 101, 0.24);
    background: rgba(246, 211, 101, 0.1); color: var(--accent-3);
}
.review-card--guest h3 { margin: 0 0 7px; font-size: 1.08rem; }
.review-card--guest p { margin: 0 0 15px; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.review-guest-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.review-distribution { padding: 16px 18px; border: 1px solid var(--border); border-radius: 15px; background: rgba(16, 16, 24, 0.55); }
.review-distribution__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.review-distribution__head span { font-size: 10.5px; color: var(--muted-2); }
.review-bar { display: grid; grid-template-columns: 40px 1fr 32px; align-items: center; gap: 8px; margin: 7px 0; }
.review-bar__label { display: flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 600; color: var(--muted); }
.review-bar__track { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.review-bar__track > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #f6d365, #ffab4a); }
.review-bar__count { font-size: 10.5px; text-align: right; color: var(--muted-2); font-variant-numeric: tabular-nums; }

.reviews-list { min-width: 0; }
.reviews-list__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 2px 0 12px; }
.reviews-list__head .muted { font-size: 11px; }
.review-item {
    padding: 16px 17px; margin-bottom: 10px;
    border: 1px solid var(--border); border-radius: 14px;
    background: rgba(16, 16, 24, 0.55);
}
.review-item.is-own { border-color: rgba(139, 92, 246, 0.32); background: linear-gradient(160deg, rgba(139, 92, 246, 0.08), rgba(16, 16, 24, 0.6)); }
.review-item__head { display: flex; align-items: flex-start; gap: 11px; }
.review-item__avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border-strong); }
.review-item__who { flex: 1; min-width: 0; }
.review-item__name { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 13px; font-weight: 600; color: var(--text); }
.review-item__date { display: block; margin-top: 3px; font-size: 10.5px; color: var(--muted-2); }
.review-item__rating { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; flex-shrink: 0; }
.review-item__rating > span:last-child { font-size: 10px; font-weight: 600; color: var(--muted-2); }
.review-item__body { margin: 12px 0 0; font-size: 13px; line-height: 1.72; color: var(--text-soft); overflow-wrap: anywhere; }
.review-item__body--empty { font-style: italic; color: var(--muted-2); }
.review-item__foot { margin-top: 11px; padding-top: 9px; border-top: 1px solid rgba(255, 255, 255, 0.055); }
.review-edit-link { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; color: #c4b5fd; }
.review-own-badge, .review-premium-badge {
    display: inline-flex; align-items: center; gap: 3px; padding: 2px 6px;
    border-radius: 99px; font-size: 9px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.review-own-badge { border: 1px solid rgba(139, 92, 246, 0.4); background: rgba(139, 92, 246, 0.15); color: #ddd6fe; }
.review-premium-badge { border: 1px solid rgba(246, 211, 101, 0.3); background: rgba(246, 211, 101, 0.09); color: #fde68a; }
.reviews-empty {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    padding: 42px 20px; text-align: center;
    border: 1px dashed var(--border-strong); border-radius: 14px; background: rgba(16, 16, 24, 0.4);
}
.reviews-empty > svg { color: rgba(246, 211, 101, 0.55); }
.reviews-empty h4 { margin: 4px 0 0; font-size: 14px; }
.reviews-empty p { margin: 0 0 9px; font-size: 12.5px; color: var(--muted); }
.reviews-pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 16px; flex-wrap: wrap; }

.rating-stars { position: relative; display: inline-flex; line-height: 0; vertical-align: middle; }
.rating-stars__base, .rating-stars__fill { display: inline-flex; gap: 2px; }
.rating-stars__base { color: rgba(246, 211, 101, 0.28); }
.rating-stars__base svg { fill: none; stroke: currentColor; }
.rating-stars__fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap; color: var(--accent-3); }
.rating-stars__fill svg { fill: currentColor; stroke: none; flex-shrink: 0; }

/* Watch ------------------------------------------------------------------- */
.watch-shell { position: relative; padding: calc(var(--header-h) + 24px) 0 70px; background: radial-gradient(1000px 460px at 50% -8%, rgba(139, 92, 246, 0.12), transparent 66%); overflow: hidden; }
.watch-ambient {
    position: absolute; top: 0; left: 0; right: 0;
    height: 680px;
    background-size: cover;
    background-position: center 20%;
    filter: blur(48px) saturate(1.25);
    opacity: 0.22;
    transform: scale(1.12);
    transform-origin: top center;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.55) 52%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.55) 52%, transparent 100%);
}
.watch-container { position: relative; z-index: 1; }
.watch-breadcrumb { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.watch-breadcrumb a { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.watch-breadcrumb a:hover { color: #fff; }
.watch-crumb__status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid var(--border); border-radius: 99px; background: rgba(255, 255, 255, 0.035); color: #ffb3c0; font-size: 10px; font-weight: 700; letter-spacing: 0.04em; }
.watch-crumb__status svg { color: #ff3d5a; }
.player-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    overflow: hidden;
    background: #000;
    border: 1px solid var(--border-strong);
    box-shadow: 0 36px 90px rgba(0, 0, 0, 0.6);
}
.player-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.player-error { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 24px; text-align: center; }
.player-error svg { color: var(--accent-3); }
.player-error h2 { font-size: 1.2rem; margin: 8px 0 0; }
.player-error p { font-size: 12.5px; color: var(--muted); max-width: 420px; }

/* Player intro ------------------------------------------------------------ */
.player-intro {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #05050a;
    opacity: 1;
    transition: opacity 0.38s ease;
}
.player-intro[hidden] { display: none; }
.player-intro.is-leaving { opacity: 0; }
.player-intro__glow {
    position: absolute;
    inset: -18%;
    background:
        radial-gradient(460px 320px at 50% 46%, rgba(255, 61, 90, 0.3), transparent 66%),
        radial-gradient(620px 380px at 64% 58%, rgba(139, 92, 246, 0.22), transparent 72%);
    filter: blur(10px);
    animation: introGlow 2.6s ease both;
}
.player-intro::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 95% at 50% 48%, transparent 38%, rgba(0, 0, 0, 0.72) 100%);
    pointer-events: none;
}
.player-intro__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 0 24px;
    text-align: center;
}
.player-intro__mark {
    position: relative;
    width: 66px;
    height: 66px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 18px 50px rgba(255, 61, 90, 0.38);
    animation: introMark 2.6s var(--ease) both;
}
.player-intro__mark svg { fill: #fff; stroke: none; }
.player-intro__mark::before {
    content: "";
    position: absolute;
    inset: -16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    opacity: 0;
    animation: introRing 2.6s ease-out both;
}
.player-intro__word {
    padding-left: 0.3em;
    font-family: "Outfit", sans-serif;
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.3em;
    background: linear-gradient(100deg, #fff 0%, #fff 38%, #ffb3c0 50%, #fff 62%, #fff 100%);
    background-size: 240% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: introWord 2.6s var(--ease) both;
}
.player-intro__tagline {
    padding-left: 0.38em;
    color: var(--muted);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.38em;
    text-transform: uppercase;
    animation: introTagline 2.6s ease both;
}
.player-intro__skip {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 13px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 99px;
    background: rgba(8, 8, 13, 0.58);
    color: var(--text-soft);
    font: inherit;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(10px);
    opacity: 0;
    animation: introSkip 0.6s ease both;
}
.player-intro__skip:hover { border-color: rgba(255, 255, 255, 0.32); color: #fff; }
.player-intro__bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
}
.player-intro__bar span {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #ff3d5a, #8b5cf6);
    box-shadow: 0 0 12px rgba(255, 61, 90, 0.45);
    animation: introBar 2.6s linear both;
}
@keyframes introGlow {
    0% { opacity: 0; transform: scale(1.1); }
    40%, 100% { opacity: 1; }
}
@keyframes introMark {
    0% { opacity: 0; transform: scale(0.62); filter: blur(8px); }
    28% { opacity: 1; transform: scale(1.06); filter: blur(0); }
    46% { transform: scale(1); }
    100% { opacity: 1; transform: scale(1); }
}
@keyframes introRing {
    0%, 22% { opacity: 0; transform: scale(0.7); }
    46% { opacity: 0.7; }
    100% { opacity: 0; transform: scale(1.28); }
}
@keyframes introWord {
    0% { opacity: 0; letter-spacing: 0.55em; filter: blur(7px); background-position: 100% 0; }
    27% { opacity: 1; filter: blur(0); }
    55% { background-position: -90% 0; }
    100% { opacity: 1; letter-spacing: 0.3em; filter: blur(0); background-position: -90% 0; }
}
@keyframes introTagline {
    0%, 30% { opacity: 0; transform: translateY(6px); }
    52%, 100% { opacity: 1; transform: none; }
}
@keyframes introSkip {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: none; }
}
@keyframes introBar {
    from { width: 0; }
    to { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .player-intro { display: none !important; }
}

.watch-layout { display: grid; grid-template-columns: minmax(0, 1fr) 336px; gap: 30px; margin-top: 26px; align-items: start; }
.watch-primary { min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.watch-aside { display: flex; flex-direction: column; gap: 16px; }

.watch-head { padding-top: 2px; }
.watch-kicker-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 11px; }
.watch-title { margin: 0; font-size: clamp(1.8rem, 3.2vw, 2.75rem); line-height: 1.02; letter-spacing: -0.035em; }
.watch-episode-name { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin: 10px 0 0; font-size: 1rem; font-weight: 600; color: #ffb3c0; }
.watch-episode-tag { display: inline-flex; padding: 3px 8px; border: 1px solid rgba(255, 61, 90, 0.25); border-radius: 6px; background: rgba(255, 61, 90, 0.12); color: #ff9db0; font-size: 9.5px; font-weight: 800; letter-spacing: 0.08em; }
.watch-meta { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.inline-rating { display: inline-flex; align-items: center; gap: 4px; color: #fde68a; font-weight: 600; }
.watch-overview { max-width: 780px; margin: 16px 0 0; color: rgba(232, 232, 240, 0.76); font-size: 13.5px; line-height: 1.72; }
.watch-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.watch-actions .btn { min-height: 40px; }
.watch-text-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 3px; border: 0; background: none; color: var(--muted); font: inherit; font-size: 11.5px; font-weight: 600; cursor: pointer; }
.watch-text-btn:hover { color: #fff; }

.watch-episodes { padding: 22px; border: 1px solid var(--border); border-radius: 18px; background: linear-gradient(180deg, rgba(18, 18, 27, 0.82), rgba(11, 11, 17, 0.92)); }
.watch-episodes__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.watch-episodes__head h2 { margin: 0; font-size: 1.35rem; }
.watch-episodes__meta { display: block; margin-top: 4px; font-size: 11px; color: var(--muted-2); }
.season-tabs { display: flex; gap: 4px; max-width: 100%; padding: 4px; border: 1px solid var(--border); border-radius: 11px; background: rgba(255, 255, 255, 0.025); overflow-x: auto; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.18) transparent; }
.season-tabs::-webkit-scrollbar { height: 5px; }
.season-tabs::-webkit-scrollbar-thumb { border-radius: 99px; background: rgba(255, 255, 255, 0.16); }
.season-tab { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 8px; color: var(--muted); font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.season-tab span { color: var(--muted-2); font-size: 9.5px; font-weight: 700; }
.season-tab:hover { background: rgba(255, 255, 255, 0.05); color: #fff; }
.season-tab.is-active { background: rgba(255, 61, 90, 0.14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 61, 90, 0.25); }
.season-tab.is-active span { color: #ff9db0; }

.watch-episode-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.watch-episode { display: flex; gap: 12px; min-width: 0; padding: 10px; border: 1px solid transparent; border-radius: 12px; background: rgba(255, 255, 255, 0.028); transition: background 0.18s ease, border-color 0.18s ease; }
.watch-episode:hover { background: rgba(255, 255, 255, 0.055); border-color: rgba(255, 255, 255, 0.08); }
.watch-episode.is-active { border-color: rgba(255, 61, 90, 0.38); background: linear-gradient(100deg, rgba(255, 61, 90, 0.12), rgba(139, 92, 246, 0.07)); }
.watch-episode.is-watched:not(.is-active) { background: rgba(52, 211, 153, 0.035); }
.watch-episode__thumb { position: relative; flex: 0 0 138px; aspect-ratio: 16 / 9; border-radius: 9px; overflow: hidden; background: linear-gradient(135deg, #1c1c28, #0d0d14); }
.watch-episode__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.watch-episode:hover .watch-episode__thumb img { transform: scale(1.05); }
.watch-episode__badge { position: absolute; top: 6px; left: 6px; padding: 2px 6px; border-radius: 5px; background: rgba(4, 4, 8, 0.76); backdrop-filter: blur(6px); color: #fff; font-size: 9px; font-weight: 800; letter-spacing: 0.04em; }
.watch-episode__overlay { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(4, 4, 8, 0.35); color: #fff; opacity: 0; transition: opacity 0.18s ease; }
.watch-episode__overlay svg { padding: 7px; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 50%; background: rgba(255, 255, 255, 0.16); box-sizing: content-box; backdrop-filter: blur(6px); }
.watch-episode:hover .watch-episode__overlay { opacity: 1; }
.watch-episode__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, 0.16); }
.watch-episode__progress span { display: block; height: 100%; background: linear-gradient(90deg, #ff3d5a, #8b5cf6); }
.watch-episode__body { display: flex; flex: 1; flex-direction: column; gap: 4px; min-width: 0; padding: 1px 0; }
.watch-episode__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.watch-episode__name { color: var(--text); font-size: 12.5px; font-weight: 600; line-height: 1.35; }
.watch-episode__runtime { flex-shrink: 0; padding-top: 1px; color: var(--muted-2); font-size: 10px; }
.watch-episode__desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--muted); font-size: 11px; line-height: 1.5; }
.watch-episode__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: auto; color: var(--muted-2); font-size: 10px; }
.watch-episode__state { display: inline-flex; align-items: center; gap: 3px; color: #6ee7b7; font-weight: 700; }
.watch-episode__pct { color: #c4b5fd; font-weight: 700; }
.playing-badge { display: inline-flex; align-items: center; gap: 3px; color: #ff9db0; font-size: 8.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.watch-episode-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.watch-episode-nav .btn { min-height: 38px; }
.watch-episode-nav .up-next { margin: 0 0 0 auto; }

.watch-card { padding: 18px; border: 1px solid var(--border); border-radius: 16px; background: rgba(16, 16, 24, 0.72); }
.watch-card__eyebrow { display: block; margin-bottom: 12px; color: var(--muted-2); font-size: 9px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.watch-about__top { display: flex; align-items: flex-start; gap: 13px; }
.watch-about__poster { flex: 0 0 84px; aspect-ratio: 2 / 3; border: 1px solid var(--border); border-radius: 9px; overflow: hidden; box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35); }
.watch-about__poster img { display: block; width: 100%; height: 100%; object-fit: cover; }
.watch-about__identity { min-width: 0; }
.watch-about__identity h2 { margin: 0 0 6px; font-size: 15px; line-height: 1.3; }
.watch-about__identity h2 a:hover { color: #ff9db0; }
.watch-about__meta { display: block; color: var(--muted-2); font-size: 10.5px; line-height: 1.65; }
.watch-about__rating { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; padding: 3px 7px; border-radius: 5px; background: rgba(246, 211, 101, 0.12); color: #fde68a; font-size: 10px; font-weight: 700; }
.watch-about__desc { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; margin: 14px 0 0; color: var(--muted); font-size: 11.5px; line-height: 1.65; }
.watch-about__facts { display: grid; gap: 8px; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--border); }
.watch-about__facts > div { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 8px; }
.watch-about__facts dt { color: var(--muted-2); font-size: 9.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.watch-about__facts dd { margin: 0; color: var(--text-soft); font-size: 10.5px; line-height: 1.5; }
.watch-about__genres { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 13px; }
.watch-about__genres a { padding: 3px 7px; border: 1px solid var(--border); border-radius: 5px; background: rgba(255, 255, 255, 0.02); color: var(--muted); font-size: 9.5px; }
.watch-about__genres a:hover { border-color: rgba(255, 255, 255, 0.18); color: #fff; }
.watch-card__link { display: inline-flex; align-items: center; gap: 5px; margin-top: 14px; color: #ff9db0; font-size: 11.5px; font-weight: 600; }
.watch-card__link:hover { color: #fff; }

.watch-next { display: block; padding: 16px; border: 1px solid rgba(255, 61, 90, 0.22); border-radius: 16px; background: linear-gradient(160deg, rgba(255, 61, 90, 0.09), rgba(139, 92, 246, 0.055)); transition: border-color 0.18s ease, transform 0.18s ease; }
.watch-next:hover { border-color: rgba(255, 61, 90, 0.4); transform: translateY(-2px); }
.watch-next .watch-card__eyebrow { color: #ff9db0; }
.watch-next__media { position: relative; display: block; aspect-ratio: 16 / 9; margin-bottom: 12px; border-radius: 10px; overflow: hidden; background: #0a0a11; }
.watch-next__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.watch-next__play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(4, 4, 8, 0.22); }
.watch-next__play svg { padding: 8px; border-radius: 50%; background: #ff3d5a; color: #fff; box-sizing: content-box; box-shadow: 0 8px 24px rgba(255, 61, 90, 0.4); }
.watch-next__label { display: block; color: #ff9db0; font-size: 10px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }
.watch-next__desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 6px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.watch-next__cta { display: inline-flex; align-items: center; gap: 5px; margin-top: 12px; color: #fff; font-size: 11.5px; font-weight: 700; }

.watch-source p { display: flex; align-items: flex-start; gap: 8px; margin: 0; color: var(--muted); font-size: 10.5px; line-height: 1.65; }
.watch-source p svg { flex-shrink: 0; margin-top: 1px; color: #6ee7b7; }
.watch-source__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border); color: var(--muted-2); font-size: 10px; }
.watch-source__row strong { color: var(--text-soft); font-weight: 600; }

.watch-similar .rail { margin: 0; }
.watch-similar .rail__head h2 { font-size: 1.3rem; }
.watch-similar .rail__arrows { display: flex; }

/* Pricing ----------------------------------------------------------------- */
.pricing-hero { position: relative; padding: 68px 0 44px; text-align: center; overflow: hidden; border-bottom: 1px solid var(--border); }
.pricing-hero__glow { position: absolute; width: 900px; height: 460px; left: 50%; top: -230px; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(139, 92, 246, 0.24), transparent 65%); pointer-events: none; }
.pricing-hero__inner { position: relative; z-index: 1; max-width: 760px; }
.pricing-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); margin-bottom: 12px; }
.pricing-hero p { color: var(--muted); font-size: 14.5px; max-width: 580px; margin: 0 auto 20px; }
.pricing-hero__meta { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; font-size: 11.5px; color: var(--text-soft); }
.pricing-hero__meta span { display: inline-flex; align-items: center; gap: 5px; }
.pricing-hero__meta svg { color: #6ee7b7; }
.pricing-body { padding-top: 32px; padding-bottom: 30px; }
.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 880px; margin: 10px auto 48px; align-items: stretch; }
.plan-card { position: relative; display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(21, 21, 31, 0.9), rgba(13, 13, 20, 0.9)); }
.plan-card--premium { border-color: rgba(255, 61, 90, 0.38); background: linear-gradient(180deg, rgba(42, 20, 46, 0.78), rgba(16, 13, 24, 0.92)); box-shadow: 0 26px 70px rgba(139, 92, 246, 0.16); }
.plan-card__ribbon { position: absolute; top: 18px; right: 18px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 99px; background: var(--gradient); font-size: 9px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: #fff; }
.plan-kicker { font-size: 10px; font-weight: 800; letter-spacing: 0.2em; color: var(--muted-2); }
.plan-card--premium .plan-kicker { color: #ff9db0; }
.plan-card__head h2 { font-size: 1.55rem; margin: 5px 0 8px; }
.plan-card__head p { color: var(--muted); font-size: 12.5px; min-height: 38px; margin-bottom: 16px; }
.plan-price { display: flex; align-items: baseline; gap: 5px; margin-bottom: 14px; }
.plan-price__amount { font-family: "Outfit", sans-serif; font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.plan-card--premium .plan-price__amount { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan-price__period { font-size: 12px; color: var(--muted-2); }
.feature-list { display: flex; flex-direction: column; gap: 9px; margin-bottom: 24px; flex: 1; }
.feature-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; color: var(--text-soft); }
.feature-list li svg { margin-top: 2px; color: #6ee7b7; }
.feature-list__muted { color: var(--muted-2) !important; }
.feature-list__muted svg { color: var(--muted-2) !important; }
.plan-card__cta { display: flex; flex-direction: column; gap: 9px; }
.plan-card__cta small { text-align: center; font-size: 10.5px; color: var(--muted-2); }

.compare-section { max-width: 880px; margin: 0 auto 48px; }
.compare-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; background: rgba(16, 16, 24, 0.55); }
.compare-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.compare-table th, .compare-table td { padding: 12px 18px; text-align: center; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.compare-table th:first-child, .compare-table td:first-child { text-align: left; width: 55%; color: var(--text-soft); }
.compare-table thead th { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-2); }
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table .is-premium-col { background: rgba(255, 61, 90, 0.05); }
.compare-yes { color: #6ee7b7; }
.compare-no { color: var(--muted-2); }
.compare-note { display: flex; align-items: flex-start; gap: 7px; margin-top: 12px; font-size: 11px; line-height: 1.6; color: var(--muted-2); }
.payment-history { max-width: 880px; margin: 0 auto 48px; }
.faq-section { max-width: 980px; margin: 0 auto; }
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.faq-item { border: 1px solid var(--border); border-radius: 12px; background: rgba(16, 16, 24, 0.55); padding: 15px 18px; }
.faq-item summary { cursor: pointer; font-size: 13px; font-weight: 600; color: var(--text); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--muted-2); font-size: 17px; line-height: 1; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 10px 0 0; font-size: 12px; line-height: 1.65; color: var(--muted); }
.pricing-legal { max-width: 880px; margin: 34px auto 10px; text-align: center; font-size: 10.5px; line-height: 1.7; color: var(--muted-2); }

/* Account ----------------------------------------------------------------- */
.account-shell { padding-top: 34px; padding-bottom: 28px; }
.account-head {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    padding: 26px 28px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background:
        radial-gradient(620px 220px at 0% -40%, rgba(255, 61, 90, 0.16), transparent 62%),
        radial-gradient(560px 240px at 100% 0%, rgba(139, 92, 246, 0.13), transparent 60%),
        linear-gradient(120deg, rgba(28, 18, 36, 0.92), rgba(13, 13, 20, 0.96));
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    margin-bottom: 20px;
}
.account-head::after { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent); pointer-events: none; }
.account-head > * { position: relative; z-index: 1; }
.account-head__identity { display: flex; align-items: center; gap: 20px; min-width: 0; }
.account-head__copy { min-width: 0; }
.account-head .eyebrow { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 6px; }
.account-head__sep { opacity: 0.45; margin: 0 3px; }
.account-avatar { position: relative; flex-shrink: 0; }
.account-avatar::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.1); pointer-events: none; }
.account-avatar img { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255, 255, 255, 0.18); box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4); }
.account-avatar .avatar-initials { width: 92px; height: 92px; font-size: 29px; box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4); }
.account-avatar__crown { position: absolute; right: -2px; bottom: 2px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #f6d365, #fda085); border: 2px solid #12121b; color: #3b2500; }
.account-head h1 { font-size: clamp(1.7rem, 3.1vw, 2.35rem); margin: 0 0 7px; letter-spacing: -0.015em; overflow-wrap: anywhere; }
.account-head__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.account-head__email, .account-head__login { display: inline-flex; align-items: center; gap: 6px; }
.account-head__email svg, .account-head__login svg { color: var(--muted-2); flex: 0 0 auto; }
.account-head__login { color: var(--muted-2); font-size: 11px; }
.account-head__actions { display: flex; gap: 9px; flex-wrap: wrap; }
.account-head__actions .btn { min-height: 42px; }
.account-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.account-stat { position: relative; display: flex; align-items: center; gap: 13px; padding: 17px 18px; border: 1px solid var(--border); border-radius: 14px; background: linear-gradient(180deg, rgba(20, 20, 30, 0.72), rgba(14, 14, 22, 0.55)); overflow: hidden; transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease; }
.account-stat:hover { border-color: var(--border-strong); background: linear-gradient(180deg, rgba(24, 24, 36, 0.8), rgba(15, 15, 24, 0.65)); transform: translateY(-1px); }
.account-stat::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 0; height: 1px; background: linear-gradient(90deg, rgba(255, 61, 90, 0.4), transparent); opacity: 0; transition: opacity 0.2s ease; }
.account-stat:hover::after { opacity: 1; }
.account-stat__icon { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 11px; border: 1px solid rgba(255, 61, 90, 0.16); background: rgba(255, 61, 90, 0.07); color: #ff9db0; }
.account-stat__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.account-stat strong { font-family: "Outfit", sans-serif; font-size: 22px; font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; }
.account-stat__body > span { font-size: 10px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted-2); }
.account-tabs { position: sticky; top: calc(var(--header-h) + 10px); z-index: 45; display: flex; gap: 4px; padding: 5px; margin-bottom: 20px; border: 1px solid var(--border); border-radius: 13px; background: rgba(10, 10, 16, 0.82); backdrop-filter: blur(16px) saturate(140%); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22); overflow-x: auto; scrollbar-width: none; }
.account-tabs::-webkit-scrollbar { display: none; }
.account-tabs a { display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border-radius: 9px; font-size: 12.5px; font-weight: 600; color: var(--muted); white-space: nowrap; transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease; }
.account-tabs a svg { opacity: 0.65; transition: opacity 0.18s ease, color 0.18s ease; }
.account-tabs a:hover { color: #fff; background: rgba(255, 255, 255, 0.04); }
.account-tabs a.is-active { background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.055)); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 1px 2px rgba(0, 0, 0, 0.2); }
.account-tabs a.is-active svg { opacity: 1; color: #ff9db0; }
.account-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.account-main { min-width: 0; }
.account-side { min-width: 0; }
.account-section { margin-bottom: 28px; }
.account-main .account-section { padding-top: 24px; border-top: 1px solid var(--border); }
.account-main .account-section:first-child { padding-top: 0; border-top: 0; }
.account-main .section-head { margin-bottom: 16px; }
.account-main .section-head > div { position: relative; padding-left: 14px; }
.account-main .section-head > div::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 2px; border-radius: 99px; background: linear-gradient(180deg, #ff3d5a, rgba(255, 61, 90, 0.05)); }
.page-account .account-section, .page-account .account-grid, .page-account .account-side .panel, .page-account .account-billing { scroll-margin-top: calc(var(--header-h) + 74px); }
.mini-feature-list { display: flex; flex-direction: column; gap: 7px; margin: 0 0 16px; }
.mini-feature-list li { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--text-soft); }
.mini-feature-list svg { color: #6ee7b7; }
.avatar-form { display: flex; flex-direction: column; gap: 12px; }
.avatar-form__preview { display: flex; align-items: center; gap: 14px; }
.avatar-form__preview img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border-strong); }
.avatar-form__controls { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.avatar-form__buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.avatar-form__pick { position: relative; overflow: hidden; cursor: pointer; }
.avatar-form__pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.account-side .panel { padding: 20px; background: linear-gradient(180deg, rgba(20, 20, 30, 0.88), rgba(13, 13, 20, 0.92)); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12); }
.account-side .panel__head { padding-bottom: 13px; border-bottom: 1px solid var(--border); }
.account-side .panel__head .eyebrow { display: inline-flex; align-items: center; gap: 6px; }
.account-side .panel__head .eyebrow svg { color: #ff8aa0; }
.connection-list { display: grid; gap: 9px; margin-top: 14px; }
.connection-row { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px; background: rgba(255, 255, 255, 0.025); transition: border-color 0.18s ease, background 0.18s ease; }
.connection-row:hover { border-color: var(--border-strong); background: rgba(255, 255, 255, 0.04); }
.connection-row__icon { width: 32px; height: 32px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 9px; background: rgba(255, 255, 255, 0.06); }
.connection-row__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.connection-row__body strong { font-size: 12.5px; }
.connection-row__body small { display: flex; align-items: center; font-size: 10.5px; color: var(--muted-2); }
.connection-row form { margin: 0; }
.connection-dot { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: var(--muted-2); flex: 0 0 auto; }
.connection-dot.is-on { background: #34d399; box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.1); }
.account-empty { padding: 54px 24px; border-style: solid; background: radial-gradient(420px 180px at 50% 0%, rgba(255, 61, 90, 0.06), transparent 70%), rgba(255, 255, 255, 0.015); }
.account-empty__icon { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 4px; border-radius: 16px; border: 1px solid rgba(255, 61, 90, 0.16); background: rgba(255, 61, 90, 0.07); color: #ff9db0; }
.account-empty h2 { font-size: 1.45rem; }
.account-billing { margin-top: 8px; }
.account-billing .panel__head h2 { font-size: 1.3rem; }
.account-billing__table { padding: 0 22px; }
.account-billing .data-table th:first-child, .account-billing .data-table td:first-child { padding-left: 0; }
.account-billing .data-table th:last-child, .account-billing .data-table td:last-child { padding-right: 0; }
.account-billing .data-table th { padding-top: 10px; padding-bottom: 10px; }
.account-billing .data-table td { padding-top: 13px; padding-bottom: 13px; }
.account-billing__empty { padding: 10px 22px 26px; text-align: left; }
.amount-cell { text-align: right; font-variant-numeric: tabular-nums; }

/* Library ----------------------------------------------------------------- */
.page-head--library { padding-top: 36px; }
.library-body { padding-top: 22px; }
.library-hint { display: flex; align-items: center; gap: 7px; padding: 10px 14px; border: 1px solid var(--border); border-radius: 10px; background: rgba(255, 255, 255, 0.025); font-size: 12px; color: var(--muted); margin-bottom: 18px; }
.history-list--large { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 14px; }
.history-card { display: flex; gap: 14px; padding: 12px; border: 1px solid var(--border); border-radius: 13px; background: rgba(16, 16, 24, 0.55); }
.history-card__media { position: relative; flex: 0 0 96px; aspect-ratio: 2 / 3; border-radius: 9px; overflow: hidden; background: var(--surface-2); }
.history-card__media img { width: 100%; height: 100%; object-fit: cover; }
.history-card__play { position: absolute; inset: 0; margin: auto; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(7, 7, 11, 0.6); border: 1px solid rgba(255, 255, 255, 0.3); opacity: 0; transition: opacity 0.2s ease; }
.history-card__media:hover .history-card__play { opacity: 1; }
.history-card__play svg { fill: #fff; stroke: none; margin-left: 1px; }
.history-card__body { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.history-card__body .movie-card__title { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.history-card__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 10.5px; color: var(--muted-2); margin-bottom: 2px; }
.history-card__body .btn { margin-top: auto; }

/* Checkout success -------------------------------------------------------- */
.success-page { display: grid; place-items: center; min-height: 74vh; padding-top: 34px; padding-bottom: 40px; }
.success-card { position: relative; width: min(620px, 100%); padding: clamp(28px, 5vw, 48px); border: 1px solid rgba(255, 61, 90, 0.24); border-radius: 24px; background: linear-gradient(160deg, rgba(38, 19, 44, 0.9), rgba(12, 12, 19, 0.95)); text-align: center; overflow: hidden; box-shadow: var(--shadow-lg); }
.success-orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.07); pointer-events: none; }
.success-orbit--one { width: 440px; height: 440px; top: -250px; right: -140px; }
.success-orbit--two { width: 300px; height: 300px; bottom: -190px; left: -100px; }
.success-icon { position: relative; width: 82px; height: 82px; display: grid; place-items: center; margin: 0 auto 18px; border-radius: 24px; background: var(--gradient); color: #fff; box-shadow: 0 18px 40px rgba(255, 61, 90, 0.32); }
.success-card h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 10px; }
.success-lead { color: var(--muted); font-size: 13.5px; max-width: 460px; margin: 0 auto 22px; }
.success-summary { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 0 0 20px; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--border); text-align: left; }
.success-summary > div { padding: 11px 14px; background: rgba(12, 12, 19, 0.92); }
.success-summary span { display: block; font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-2); }
.success-summary strong { font-size: 12.5px; font-weight: 600; }
.success-perks { display: flex; flex-direction: column; gap: 7px; margin: 0 0 22px; text-align: left; }
.success-perks li { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--text-soft); }
.success-perks svg { color: #6ee7b7; }
.success-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.success-fine { margin: 20px 0 0; font-size: 10px; line-height: 1.6; color: var(--muted-2); }
.success-card .notice { text-align: left; }

/* Error pages ------------------------------------------------------------- */
.error-page { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 68vh; padding-top: 40px; padding-bottom: 50px; text-align: center; }
.error-code { font-family: "Outfit", sans-serif; font-size: clamp(5rem, 17vw, 10rem); font-weight: 800; line-height: 0.9; letter-spacing: -0.05em; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0.9; }
.error-page h1 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin: 8px 0 8px; }
.error-page > p { color: var(--muted); max-width: 520px; font-size: 13.5px; }
.error-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 8px 0 26px; }
.error-search { display: flex; align-items: center; gap: 8px; width: min(430px, 100%); padding: 6px 6px 6px 14px; border: 1px solid var(--border); border-radius: 12px; background: rgba(16, 16, 24, 0.8); }
.error-search > svg { color: var(--muted-2); }
.error-search input { flex: 1; min-width: 0; height: 34px; border: 0; background: transparent; color: var(--text); font-size: 13px; outline: none; }

/* Genres ------------------------------------------------------------------ */
.genres-body { padding-top: 24px; padding-bottom: 20px; }
.genre-grid { display: grid; gap: 14px; }
.genre-grid--large { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.genre-grid--home { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.genre-card { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
.genre-card__media { position: absolute; inset: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 1px; opacity: 0.92; transition: transform 0.5s var(--ease); }
.genre-card__shot { background-size: cover; background-position: center; background-color: var(--surface-2); filter: saturate(1.05); }
.genre-card__scrim { position: absolute; inset: 0; background: linear-gradient(15deg, rgba(5, 5, 10, 0.94) 6%, rgba(5, 5, 10, 0.42) 52%, rgba(5, 5, 10, 0.08) 100%); }
.genre-card__body { position: absolute; inset: auto 14px 12px; display: flex; flex-direction: column; gap: 1px; }
.genre-card__body strong { font-family: "Outfit", sans-serif; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.genre-card__body small { font-size: 10px; color: rgba(255, 255, 255, 0.62); text-transform: uppercase; letter-spacing: 0.09em; font-weight: 600; }
.genre-card__arrow { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgba(7, 7, 11, 0.52); border: 1px solid rgba(255, 255, 255, 0.18); color: #fff; opacity: 0; transform: translateX(-4px); transition: 0.25s ease; backdrop-filter: blur(6px); }
.genre-card:hover .genre-card__arrow { opacity: 1; transform: none; }
.genre-card:hover .genre-card__media { transform: scale(1.045); }
.genre-card--compact { aspect-ratio: 16 / 10; border-radius: 12px; }
.genre-card--compact .genre-card__body { inset: auto 11px 9px; }
.genre-card--compact .genre-card__body strong { font-size: 15px; }
.genre-card--compact .genre-card__arrow { display: none; }
.genre-section { margin-top: 36px; }
.genre-siblings { margin-top: 38px; padding-top: 26px; border-top: 1px solid var(--border); }
.genre-siblings .section-head { margin-bottom: 14px; }
.genre-chip-row { display: flex; flex-wrap: wrap; gap: 7px; }
.genre-chip-row .genre-chip span { margin-left: 3px; color: var(--muted-2); font-size: 9.5px; }
.breadcrumbs { display: flex; align-items: center; gap: 7px; margin: 0 0 9px; font-size: 11.5px; color: var(--muted-2); }
.breadcrumbs a:hover { color: #ff9db0; }
.breadcrumbs svg { opacity: 0.5; }

/* Episode progress -------------------------------------------------------- */
.episode-row { position: relative; }
.episode-row.is-watched .episode-row__play { border-color: rgba(52, 211, 153, 0.3); background: rgba(52, 211, 153, 0.13); color: #6ee7b7; }
.episode-row.is-watched .episode-row__title { color: var(--text-soft); }
.episode-row__progress { position: absolute; left: 56px; right: 60px; bottom: 5px; height: 2px; border-radius: 99px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.episode-row__progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #ff3d5a, #8b5cf6); }

/* Watch extras ------------------------------------------------------------ */
.watched-chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 99px; border: 1px solid rgba(52, 211, 153, 0.3); background: rgba(52, 211, 153, 0.1); color: #6ee7b7; font-size: 9.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.watched-chip--progress { border-color: rgba(139, 92, 246, 0.35); background: rgba(139, 92, 246, 0.1); color: #ddd6fe; }
[data-mark-watched].is-active, [data-mark-watched]:disabled { border-color: rgba(52, 211, 153, 0.35); background: rgba(52, 211, 153, 0.1); color: #6ee7b7; opacity: 1; }

/* Playback report dialog -------------------------------------------------- */
.report-modal { width: min(520px, 94vw); padding: 0; border: 1px solid var(--border-strong); border-radius: 16px; background: #0b0b13; color: var(--text); box-shadow: var(--shadow-lg); }
.report-modal::backdrop { background: rgba(3, 3, 6, 0.82); backdrop-filter: blur(6px); }
.report-form { display: flex; flex-direction: column; gap: 13px; padding: 22px; }
.report-modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.report-modal__head h2 { margin: 2px 0 0; font-size: 1.35rem; }
.report-modal__lead { margin: 0; font-size: 12.5px; line-height: 1.65; color: var(--muted); }
.report-form .field { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--text-soft); }
.report-form select, .report-form textarea { width: 100%; padding: 9px 11px; border: 1px solid var(--border); border-radius: 9px; background: rgba(255, 255, 255, 0.04); color: var(--text); font: inherit; }
.report-form textarea { min-height: 76px; resize: vertical; }
.report-modal__actions { display: flex; justify-content: flex-end; gap: 8px; }
.report-modal__status { margin: 0; min-height: 16px; font-size: 12px; color: #93c5fd; }

/* History management ------------------------------------------------------ */
.history-row-wrap { position: relative; display: flex; align-items: center; border-radius: 10px; }
.history-row-wrap .history-row { flex: 1; padding-right: 42px; }
.history-row-remove { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); opacity: 0; transition: opacity 0.15s ease; }
.history-row-wrap:hover .history-row-remove, .history-row-remove:focus-within { opacity: 1; }
.icon-btn--danger:hover { border-color: rgba(251, 113, 133, 0.4); background: rgba(251, 113, 133, 0.1); color: #fda4af; }
.history-card { position: relative; }
.history-card__remove { position: absolute; top: 8px; right: 8px; z-index: 2; }
.history-card__remove .icon-btn { width: 28px; height: 28px; background: rgba(7, 7, 11, 0.62); border: 1px solid var(--border); backdrop-filter: blur(6px); }
.library-actions { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
@media (hover: none) { .history-row-remove { opacity: 1; } }
