:root {
    color-scheme: dark;
    --bg: #07090d;
    --surface: #0f1218;
    --surface-2: #171b23;
    --surface-3: #202631;
    --line: rgba(255, 255, 255, .1);
    --text: #f7f8fb;
    --muted: #9ba3b3;
    --cyan: #20c8f5;
    --blue: #3278ff;
    --violet: #9a52ff;
    --coral: #ff5b72;
    --amber: #ffbd59;
    --success: #40df9f;
    --page: min(1440px, calc(100% - 64px));
    --header-height: 76px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    min-width: 320px;
    background: var(--bg);
    color: var(--text);
    font-family: Vazirmatn, Tahoma, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    letter-spacing: 0;
}

button, input { font: inherit; letter-spacing: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img { display: block; max-width: 100%; }
svg { width: 20px; height: 20px; flex: 0 0 auto; }

.page-width { width: var(--page); margin-inline: auto; }
.site-main { min-height: 80vh; overflow: hidden; }
.eyebrow { color: var(--cyan); font-size: 13px; font-weight: 800; }

.site-header {
    position: fixed;
    z-index: 50;
    top: 0;
    right: 0;
    left: 0;
    height: var(--header-height);
    background: linear-gradient(to bottom, rgba(5, 7, 11, .9), transparent);
    transition: background .25s ease, border-color .25s ease;
}

.site-header.is-scrolled,
.site-header.is-searching {
    background: rgba(7, 9, 13, .94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.header-inner {
    width: var(--page);
    height: 100%;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 34px;
}

.brand { display: inline-flex; align-items: center; direction: ltr; flex: 0 0 auto; }
.brand-mark { width: 42px; height: 42px; overflow: hidden; position: relative; }
.brand-mark img { position: absolute; width: 86px; max-width: none; left: -22px; top: -10px; }
.brand-word { font-family: Arial, sans-serif; font-size: 23px; line-height: 1; }
.brand-word b { color: #fff; }
.brand-word strong { color: var(--cyan); }

.main-nav { display: flex; align-items: center; gap: 27px; margin-inline-start: 10px; }
.main-nav a { position: relative; color: #d9dce2; font-size: 14px; padding-block: 26px; transition: color .2s ease; }
.main-nav a:hover { color: #fff; }
.main-nav a::after { content: ""; position: absolute; right: 50%; bottom: 15px; width: 0; height: 2px; background: var(--cyan); transition: width .2s ease, right .2s ease; }
.main-nav a:hover::after { right: 15%; width: 70%; }

.header-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.icon-button, .circle-button, .card-save, .input-action {
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.icon-button { width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.icon-button:hover { background: rgba(255, 255, 255, .14); }
.logout-button { color: var(--muted); }
.profile-button { display: flex; align-items: center; gap: 9px; min-width: 132px; }
.profile-button > svg { width: 15px; color: var(--muted); }
.avatar { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 50%; background: #e8f9ff; color: #0b566d; font-weight: 900; }
.profile-copy { display: flex; flex-direction: column; line-height: 1.3; }
.profile-copy small { color: var(--muted); font-size: 10px; }
.profile-copy b { font-size: 12px; }

.header-search {
    position: absolute;
    inset: 0;
    width: min(760px, calc(100% - 40px));
    height: 100%;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: .2s ease;
}
.site-header.is-searching .header-inner { opacity: 0; pointer-events: none; }
.site-header.is-searching .header-search { opacity: 1; pointer-events: auto; transform: none; }
.header-search input { flex: 1; height: 48px; border: 0; border-bottom: 1px solid rgba(255,255,255,.2); outline: 0; background: transparent; color: #fff; font-size: 17px; }
.header-search input:focus { border-color: var(--cyan); }
.search-submit { height: 40px; padding-inline: 20px; border: 0; border-radius: 6px; background: #fff; color: #090b10; font-weight: 800; cursor: pointer; }

.hero {
    position: relative;
    min-height: min(790px, 92vh);
    isolation: isolate;
    background-image: linear-gradient(90deg, rgba(7,9,13,.12) 0%, rgba(7,9,13,.02) 42%, rgba(7,9,13,.48) 66%, rgba(7,9,13,.96) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 36%), var(--hero-image);
    background-position: center;
    background-size: cover;
}
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, transparent 68%, rgba(50,120,255,.08)); }
.hero-content { min-height: inherit; display: flex; align-items: center; position: relative; padding-top: var(--header-height); }
.hero-copy { width: min(590px, 53%); padding-block: 100px 120px; }
.hero-badges { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.nova-original, .hero-rank { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 5px; font-size: 11px; font-weight: 800; }
.nova-original { background: rgba(32,200,245,.14); color: #8ee8ff; border: 1px solid rgba(32,200,245,.25); }
.nova-original svg { width: 14px; }
.hero-rank { background: rgba(255,255,255,.1); color: #e1e5ea; }
.hero-kicker { direction: ltr; text-align: right; color: rgba(255,255,255,.55); text-transform: uppercase; font: 700 13px Arial, sans-serif; margin: 0; }
.hero h1 { font-size: 64px; line-height: 1.08; margin: 6px 0 18px; letter-spacing: 0; text-shadow: 0 4px 24px rgba(0,0,0,.45); }
.hero-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 15px; color: #d0d4da; font-size: 13px; }
.hero-meta > span:not(:first-child) { position: relative; }
.hero-meta > span:not(:first-child)::before { content: ""; position: absolute; right: -9px; top: 50%; width: 3px; height: 3px; border-radius: 50%; background: #68707d; }
.match { color: var(--success); font-weight: 800; }
.rating { display: inline-flex; align-items: center; gap: 4px; direction: ltr; }
.rating svg { width: 15px; fill: var(--amber); color: var(--amber); }
.hero-description { max-width: 560px; margin: 20px 0 26px; color: #d2d5dc; font-size: 16px; line-height: 2; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }

.primary-button, .secondary-button {
    min-height: 47px;
    padding: 0 21px;
    border: 1px solid transparent;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-weight: 850;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.primary-button { background: #f7f8fb; color: #080a0e; }
.primary-button:hover { background: var(--cyan); transform: translateY(-2px); }
.secondary-button { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(10px); }
.secondary-button:hover { background: rgba(255,255,255,.15); transform: translateY(-2px); }
.circle-button { width: 47px; height: 47px; border-radius: 50%; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.14); }
.circle-button:hover, .circle-button.is-active { color: var(--cyan); border-color: rgba(32,200,245,.55); background: rgba(32,200,245,.12); }

.hero-side-note { position: absolute; left: 0; bottom: 120px; display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.52); font-size: 11px; transform: rotate(-90deg); transform-origin: left bottom; }
.hero-side-note .line { width: 44px; height: 1px; background: currentColor; }
.hero-scroll-cue { position: absolute; bottom: 27px; left: 50%; color: rgba(255,255,255,.6); animation: float 1.8s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(7px); } }

.content-section { padding-block: 38px 48px; }
.first-section { margin-top: -36px; position: relative; z-index: 3; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.section-heading > div { display: flex; align-items: center; gap: 10px; }
.section-heading h2 { margin: 0; font-size: 22px; }
.section-heading > a { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; }
.section-heading > a:hover { color: var(--cyan); }
.section-heading > a svg { width: 16px; }
.section-accent { width: 4px; height: 22px; background: var(--coral); border-radius: 3px; }
.section-accent--cyan { background: var(--cyan); }
.section-accent--amber { background: var(--amber); }

.media-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(172px, 1fr); grid-template-rows: auto; gap: 16px; overflow-x: auto; padding-bottom: 12px; scrollbar-width: thin; scrollbar-color: #303744 transparent; }
.media-rail .media-card { width: 100%; }
.media-card { min-width: 0; }
.media-poster, .poster-sprite {
    background-image: none;
    background-size: 300% 200%;
    background-position: var(--poster-position, 0 0);
    background-repeat: no-repeat;
}
.poster-1 { --poster-position: 0% 0%; }
.poster-2 { --poster-position: 50% 0%; }
.poster-3 { --poster-position: 100% 0%; }
.poster-4 { --poster-position: 0% 100%; }
.poster-5 { --poster-position: 50% 100%; }
.poster-6 { --poster-position: 100% 100%; }
.media-poster { position: relative; display: block; aspect-ratio: 2 / 3; border-radius: 6px; overflow: hidden; background-color: var(--surface-2); box-shadow: 0 14px 34px rgba(0,0,0,.22); }
.media-poster::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.08); border-radius: inherit; }
.quality-badge { position: absolute; z-index: 3; top: 9px; right: 9px; padding: 2px 6px; border-radius: 3px; background: rgba(7,9,13,.74); color: #fff; font: 800 9px Arial, sans-serif; }
.poster-shade { position: absolute; inset: 0; background: rgba(3,5,9,.2); opacity: 0; transition: opacity .2s ease; }
.poster-play { position: absolute; z-index: 2; top: 50%; left: 50%; width: 47px; height: 47px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.92); color: #090b0f; opacity: 0; transform: translate(-50%, -42%) scale(.86); transition: .2s ease; }
.poster-play svg { fill: currentColor; }
.media-poster:hover .poster-shade, .media-poster:hover .poster-play { opacity: 1; }
.media-poster:hover .poster-play { transform: translate(-50%, -50%) scale(1); }
.media-card-copy { padding: 11px 2px 0; }
.media-card-title-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 28px; }
.media-card-title-row h3 { margin: 0; font-size: 14px; line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.media-card-title-row > a { min-width: 0; }
.card-save { width: 28px; height: 28px; background: transparent; color: #8e96a5; }
.card-save:hover, .card-save.is-active { color: var(--cyan); }
.card-save svg { width: 17px; }
.media-meta { display: flex; align-items: center; gap: 7px; color: #8e96a5; font-size: 11px; }
.media-meta > i { width: 3px; height: 3px; background: #555d69; border-radius: 50%; }
.media-meta .rating { margin-right: auto; }

.genre-strip { background: #11151c; border-block: 1px solid var(--line); }
.genre-strip-inner { min-height: 112px; display: flex; align-items: center; gap: 34px; }
.genre-intro { min-width: 230px; display: flex; align-items: center; gap: 13px; border-left: 1px solid var(--line); }
.genre-intro > svg { width: 32px; height: 32px; color: var(--coral); }
.genre-intro div { display: flex; flex-direction: column; }
.genre-intro span { color: var(--muted); font-size: 11px; }
.genre-intro strong { font-size: 15px; }
.genre-list { display: flex; align-items: center; gap: 9px; overflow-x: auto; padding-block: 20px; }
.genre-list a, .filter-chip { flex: 0 0 auto; border: 1px solid var(--line); border-radius: 6px; background: #181d26; color: #d7dbe2; padding: 8px 16px; font-size: 12px; }
.genre-list a:hover, .filter-chip:hover, .filter-chip.is-active { border-color: rgba(32,200,245,.5); color: var(--cyan); background: rgba(32,200,245,.08); }

.spotlight-band { min-height: 340px; margin-block: 24px 54px; display: grid; grid-template-columns: .72fr 1fr; overflow: hidden; border-radius: 8px; background: #151922; border: 1px solid var(--line); }
.spotlight-art { min-height: 340px; position: relative; }
.spotlight-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, #151922); }
.spotlight-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 48px; }
.spotlight-copy h2 { margin: 5px 0 12px; font-size: 34px; }
.spotlight-copy p { max-width: 580px; margin: 0 0 24px; color: var(--muted); }
.active-plan { display: inline-flex; align-items: center; gap: 8px; color: var(--success); font-weight: 700; }

.site-footer { margin-top: 56px; border-top: 1px solid var(--line); background: #090b10; }
.footer-inner { width: var(--page); margin: auto; min-height: 180px; display: flex; align-items: center; gap: 46px; }
.brand--footer { margin-bottom: 10px; }
.footer-inner p, .copyright { color: var(--muted); font-size: 12px; }
.footer-links { display: flex; gap: 28px; margin-inline-start: auto; color: #d3d7de; font-size: 13px; }
.copyright { margin-inline-start: 28px; }
.mobile-nav { display: none; }

.inner-hero { padding-top: 150px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.inner-hero--compact { padding-bottom: 34px; }
.inner-hero h1, .plans-hero h1 { margin: 6px 0 8px; font-size: 42px; line-height: 1.3; }
.inner-hero p, .plans-hero > p { margin: 0; color: var(--muted); }
.catalog-search { margin-top: 28px; max-width: 720px; }
.catalog-search-input { height: 54px; display: flex; align-items: center; gap: 12px; padding-right: 17px; border: 1px solid rgba(255,255,255,.14); border-radius: 7px; background: #11151c; }
.catalog-search-input:focus-within { border-color: var(--cyan); }
.catalog-search-input input { flex: 1; height: 100%; border: 0; outline: 0; background: transparent; color: #fff; }
.catalog-search-input button { height: 42px; margin-left: 5px; padding-inline: 23px; border: 0; border-radius: 5px; background: #f6f7f9; color: #090b0f; font-weight: 800; cursor: pointer; }
.catalog-section { padding-block: 30px 70px; }
.filter-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 14px; }
.result-bar { display: flex; justify-content: space-between; align-items: center; margin: 15px 0 20px; color: var(--muted); font-size: 12px; }
.result-bar strong { color: #fff; }
.result-bar svg { width: 17px; }
.media-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px 16px; }
.empty-state { min-height: 390px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.empty-state > svg { width: 46px; height: 46px; color: #555e6e; }
.empty-state h2 { margin: 20px 0 4px; }
.empty-state p { margin: 0 0 20px; color: var(--muted); }

.details-hero { position: relative; min-height: 760px; padding-top: 125px; overflow: hidden; }
.details-glow { position: absolute; inset: -20% -10% auto -10%; height: 110%; filter: blur(38px); opacity: .22; transform: scale(1.1); }
.details-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg), rgba(7,9,13,.74) 42%, rgba(7,9,13,.9)); }
.details-layout { position: relative; display: grid; grid-template-columns: 290px 1fr; align-items: center; gap: 62px; min-height: 570px; }
.details-poster { position: relative; width: 100%; aspect-ratio: 2/3; border-radius: 8px; box-shadow: 0 30px 70px rgba(0,0,0,.5); }
.details-copy { max-width: 790px; }
.details-english { margin: 4px 0 0; direction: ltr; text-align: right; color: var(--muted); font: 700 13px Arial, sans-serif; text-transform: uppercase; }
.details-copy h1 { margin: 4px 0 13px; font-size: 50px; line-height: 1.25; }
.tag-list { display: flex; gap: 7px; margin-top: 15px; }
.tag-list span { padding: 3px 10px; border-radius: 4px; background: rgba(255,255,255,.07); color: #d3d7dd; font-size: 11px; }
.details-synopsis { max-width: 720px; margin: 18px 0 24px; color: #c3c8d1; font-size: 16px; line-height: 2; }
.subscription-nudge { margin-top: 22px; max-width: 590px; display: flex; align-items: center; gap: 10px; padding: 12px 15px; border-radius: 6px; background: rgba(255,189,89,.08); border: 1px solid rgba(255,189,89,.2); color: #ffd591; font-size: 12px; }
.subscription-nudge svg:last-child { margin-right: auto; }
.details-facts { display: grid; gap: 6px; margin-top: 24px; }
.details-facts div { display: grid; grid-template-columns: 74px 1fr; gap: 10px; }
.details-facts dt { color: var(--muted); font-size: 12px; }
.details-facts dd { margin: 0; color: #e0e3e8; font-size: 12px; }
.episodes-section { padding-block: 20px 70px; }
.season-label { padding: 5px 11px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 5px; color: var(--muted); font-size: 12px; }
.episode-list { border-top: 1px solid var(--line); }
.episode-row { min-height: 92px; display: grid; grid-template-columns: 38px 112px 1fr 22px; align-items: center; gap: 17px; border-bottom: 1px solid var(--line); }
.episode-row:hover { background: rgba(255,255,255,.025); }
.episode-number { direction: ltr; color: #6f7784; font: 700 15px Arial, sans-serif; }
.episode-thumb { position: relative; width: 112px; aspect-ratio: 16/9; border-radius: 5px; display: grid; place-items: center; }
.episode-thumb svg { padding: 6px; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.9); color: #080a0e; fill: currentColor; }
.episode-copy { display: flex; flex-direction: column; }
.episode-copy small { color: var(--muted); }
.episode-row > svg { color: #68707d; }

.plans-hero { padding-top: 155px; text-align: center; max-width: 760px; }
.plans-hero .eyebrow { display: inline-flex; align-items: center; gap: 7px; }
.current-plan { width: fit-content; margin: 25px auto 0; padding: 11px 15px; display: flex; align-items: center; gap: 10px; border: 1px solid rgba(64,223,159,.25); background: rgba(64,223,159,.08); border-radius: 7px; text-align: right; }
.current-plan > svg { color: var(--success); }
.current-plan div { display: flex; flex-direction: column; }
.current-plan span { color: var(--muted); font-size: 11px; }
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-block: 54px 25px; max-width: 1080px; }
.plan-card { position: relative; padding: 30px; background: #11151c; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.plan-card--popular { border-color: rgba(32,200,245,.55); background: #131923; transform: translateY(-10px); box-shadow: 0 25px 65px rgba(0,0,0,.3); }
.popular-ribbon { position: absolute; top: 0; left: 0; padding: 5px 13px; background: var(--cyan); color: #061015; font-size: 10px; font-weight: 900; border-radius: 0 0 6px 0; }
.plan-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 7px; background: rgba(50,120,255,.14); color: #6ba0ff; }
.plan-card--popular .plan-icon { background: rgba(32,200,245,.12); color: var(--cyan); }
.plan-card h2 { margin: 18px 0 4px; font-size: 21px; }
.plan-price { display: flex; align-items: baseline; gap: 7px; border-bottom: 1px solid var(--line); padding-bottom: 21px; }
.plan-price strong { font-size: 30px; }
.plan-price span { color: var(--muted); font-size: 11px; }
.plan-card ul { margin: 22px 0; padding: 0; list-style: none; display: grid; gap: 11px; color: #d0d4db; font-size: 12px; }
.plan-card li { display: flex; align-items: center; gap: 8px; }
.plan-card li svg { width: 16px; color: var(--success); }
.plan-card form, .plan-button { width: 100%; }
.plan-button { border: 0; }
.plan-trust { display: flex; justify-content: center; gap: 48px; padding-block: 32px 70px; color: var(--muted); }
.plan-trust span { display: inline-flex; align-items: center; gap: 7px; }
.plan-trust svg { color: var(--cyan); }

.watch-page { padding-top: 125px; padding-bottom: 60px; }
.back-link { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; }
.watch-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 16px 0 20px; }
.watch-heading h1 { margin: 2px 0 0; font-size: 28px; }
.player-status { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; }
.player-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 12px var(--success); }
.video-shell { position: relative; aspect-ratio: 16/9; max-height: calc(100vh - 210px); margin: auto; background: #000; border-radius: 8px; overflow: hidden; box-shadow: 0 28px 80px rgba(0,0,0,.5); }
.video-shell video { width: 100%; height: 100%; object-fit: contain; }
.player-overlay { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(2,3,6,.22); transition: opacity .2s ease; }
.player-overlay.is-hidden { opacity: 0; pointer-events: none; }
.big-play { width: 78px; height: 78px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: #080a0e; cursor: pointer; box-shadow: 0 10px 38px rgba(0,0,0,.3); }
.big-play svg { width: 29px; height: 29px; fill: currentColor; }
.watch-info { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; padding-top: 25px; }
.watch-info h2 { margin: 0 0 7px; }
.watch-info p { max-width: 740px; margin: 0; color: var(--muted); }
.watch-actions { display: flex; gap: 8px; }

.auth-body { min-height: 100vh; background: #06080c; }
.otp-input { text-align:center; letter-spacing:.55em; font-size:23px; font-variant-numeric:tabular-nums; }
.otp-phone { color:var(--cyan); text-align:center; margin:14px 0; }
.otp-resend { display:block; margin:14px auto; background:transparent; border:0; color:var(--cyan); cursor:pointer; padding:8px; }
.otp-resend:disabled { color:var(--muted); cursor:default; }
.auth-alternatives { display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px; margin-top:18px; font-size:13px; }
.plyr__caption { direction:rtl; unicode-bidi:plaintext; font-family:inherit; line-height:1.65; text-shadow:0 1px 3px #000; }
.plyr__captions { font-size:clamp(14px,2.5vw,24px); }
.auth-shell { min-height: 100vh; position: relative; display: flex; justify-content: flex-start; align-items: center; padding: 40px clamp(28px, 7vw, 110px); overflow: hidden; }
.auth-backdrop { position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(5,7,11,.98) 0%, rgba(5,7,11,.82) 42%, rgba(5,7,11,.18) 75%), linear-gradient(0deg, #06080c 0%, transparent 35%), url('/images/hero-orbitfall.png'); background-size: cover; background-position: center; opacity: .82; }
.login-panel { position: relative; z-index: 1; width: min(440px, 100%); padding: 34px 38px; background: rgba(11,14,20,.86); border: 1px solid rgba(255,255,255,.12); border-radius: 8px; box-shadow: 0 30px 90px rgba(0,0,0,.45); backdrop-filter: blur(20px); }
.auth-logo { display: block; width: 116px; height: 76px; overflow: hidden; margin-bottom: 16px; }
.auth-logo img { width: 116px; margin-top: -20px; }
.login-heading h1 { margin: 3px 0 5px; font-size: 28px; }
.login-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.login-form { display: grid; gap: 14px; margin-top: 23px; }
.field-group { display: grid; gap: 6px; color: #dce0e6; font-size: 12px; }
.input-shell { min-width: 0; height: 48px; display: flex; align-items: center; gap: 10px; padding-inline: 13px; background: #0a0d12; border: 1px solid rgba(255,255,255,.12); border-radius: 6px; }
.input-shell:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(32,200,245,.08); }
.input-shell > svg { width: 18px; color: #717b89; }
.input-shell input { min-width: 0; flex: 1; height: 100%; background: transparent; border: 0; outline: 0; color: #fff; text-align: left; }
.input-action { width: 28px; height: 28px; background: transparent; color: #7d8693; }
.input-action svg { width: 17px; }
.security-row { display: grid; grid-template-columns: 1fr 94px; gap: 9px; }
.security-code { display: grid; place-items: center; border-radius: 6px; background: repeating-linear-gradient(-15deg, #1a202a 0 8px, #111720 8px 16px); color: #fff; font: 800 18px Tahoma, sans-serif; letter-spacing: 0; }
.remember-row { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; cursor: pointer; }
.remember-row input { width: 16px; height: 16px; accent-color: var(--cyan); }
.login-submit { width: 100%; border: 0; margin-top: 2px; }
.validation-summary, .field-error { color: #ff8293; font-size: 11px; }
.validation-summary:empty, .field-error:empty { display: none; }
.validation-summary ul { margin: 0; padding-right: 18px; }
.demo-credentials { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 19px; padding-top: 17px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.demo-credentials svg { width: 15px; color: var(--amber); }
.demo-credentials code { padding: 2px 6px; border-radius: 3px; background: rgba(255,255,255,.07); color: #dfe3e8; }

.toast-message { position: fixed; z-index: 100; left: 26px; bottom: 26px; max-width: min(380px, calc(100% - 40px)); padding: 12px 17px; border-radius: 6px; background: #f5f7f9; color: #090b10; font-weight: 750; box-shadow: 0 18px 55px rgba(0,0,0,.35); opacity: 0; pointer-events: none; transform: translateY(10px); transition: .22s ease; }
.toast-message.is-visible { opacity: 1; transform: none; }

@media (max-width: 1120px) {
    :root { --page: min(100% - 40px, 1100px); }
    .main-nav { gap: 18px; }
    .profile-copy, .profile-button > svg { display: none; }
    .profile-button { min-width: auto; }
    .media-grid { grid-template-columns: repeat(5, minmax(0,1fr)); }
    .media-rail { grid-auto-columns: minmax(165px, 1fr); }
}

@media (max-width: 900px) {
    .main-nav { display: none; }
    .header-actions { margin-right: auto; }
    .hero { min-height: 760px; background-position: 35% center; }
    .hero-copy { width: min(600px, 80%); align-self: end; padding-bottom: 105px; }
    .hero h1 { font-size: 52px; }
    .hero-side-note { display: none; }
    .media-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
    .genre-strip-inner { flex-direction: column; align-items: stretch; gap: 0; padding-block: 20px; }
    .genre-intro { border-left: 0; }
    .genre-list { padding-bottom: 0; }
    .details-layout { grid-template-columns: 220px 1fr; gap: 35px; }
    .details-copy h1 { font-size: 40px; }
    .plans-grid { grid-template-columns: 1fr; max-width: 590px; }
    .plan-card--popular { transform: none; }
}

@media (max-width: 700px) {
    :root { --page: calc(100% - 28px); --header-height: 64px; }
    body { padding-bottom: 66px; }
    .site-header { background: rgba(7,9,13,.78); backdrop-filter: blur(14px); }
    .header-inner { gap: 10px; }
    .brand-mark { width: 37px; height: 37px; }
    .brand-mark img { width: 76px; left: -19px; top: -9px; }
    .brand-word { font-size: 19px; }
    .profile-button, .logout-button { display: none; }
    .search-toggle { width: 39px; height: 39px; }
    .mobile-nav { position: fixed; z-index: 45; right: 0; bottom: 0; left: 0; height: 66px; padding-bottom: env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(10,12,17,.96); border-top: 1px solid var(--line); backdrop-filter: blur(16px); }
    .mobile-nav a, .mobile-nav button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; background: transparent; color: #8e96a4; font-size: 9px; cursor: pointer; }
    .mobile-nav svg { width: 19px; height: 19px; }
    .hero { min-height: 690px; background-position: 31% center; background-image: linear-gradient(0deg, var(--bg) 0%, rgba(7,9,13,.88) 37%, rgba(7,9,13,.08) 77%), var(--hero-image); }
    .hero-content { align-items: flex-end; }
    .hero-copy { width: 100%; padding: 260px 0 82px; }
    .hero h1 { font-size: 41px; margin-block: 5px 12px; }
    .hero-description { font-size: 13px; line-height: 1.9; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
    .hero-meta { gap: 7px 13px; font-size: 11px; }
    .hero-scroll-cue { display: none; }
    .primary-button, .secondary-button { min-height: 44px; padding-inline: 16px; font-size: 12px; }
    .circle-button { width: 44px; height: 44px; }
    .first-section { margin-top: -18px; }
    .content-section { padding-block: 28px 35px; }
    .section-heading h2 { font-size: 18px; }
    .media-rail { width: calc(100% + 14px); grid-auto-columns: 42%; gap: 11px; }
    .media-card-title-row h3 { font-size: 13px; }
    .spotlight-band { grid-template-columns: 1fr; min-height: auto; }
    .spotlight-art { min-height: 220px; }
    .spotlight-art::after { background: linear-gradient(0deg, #151922, transparent); }
    .spotlight-copy { padding: 25px 22px 30px; }
    .spotlight-copy h2 { font-size: 25px; }
    .site-footer { display: none; }
    .inner-hero { padding-top: 112px; padding-bottom: 30px; }
    .inner-hero h1, .plans-hero h1 { font-size: 30px; }
    .catalog-search-input button { padding-inline: 14px; }
    .media-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px 11px; }
    .details-hero { padding-top: 95px; }
    .details-layout { display: block; }
    .details-poster { width: 44%; min-width: 150px; margin: 0 auto 28px; }
    .details-copy h1 { font-size: 34px; }
    .details-synopsis { font-size: 13px; }
    .details-facts div { grid-template-columns: 65px 1fr; }
    .episode-row { grid-template-columns: 25px 84px 1fr 18px; gap: 10px; }
    .episode-thumb { width: 84px; }
    .plans-hero { padding-top: 118px; }
    .plans-grid { padding-top: 35px; }
    .plan-trust { gap: 14px; justify-content: space-between; font-size: 10px; }
    .plan-trust svg { width: 16px; }
    .watch-page { padding-top: 95px; }
    .watch-heading { align-items: start; }
    .watch-heading h1 { font-size: 21px; }
    .video-shell { width: calc(100% + 28px); margin-right: -14px; border-radius: 0; }
    .big-play { width: 62px; height: 62px; }
    .watch-info { display: block; }
    .watch-actions { margin-top: 20px; }
    .auth-shell { justify-content: center; padding: 20px 14px; }
    .auth-backdrop { background-position: 35% center; opacity: .42; }
    .login-panel { padding: 27px 22px; }
    .auth-logo { margin-inline: auto; }
    .toast-message { left: 14px; bottom: 80px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.catalog-poster-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.quality-badge { z-index: 2; }
.details-real-glow { width: 120%; object-fit: cover; }
.catalog-pagination { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 36px; color: var(--muted); }
.media-access-section { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding-block: 20px 48px; }
.media-access-card { border: 1px solid var(--line); border-radius: 10px; padding: 28px; background: var(--surface-2); }
.media-access-card > svg { width: 30px; height: 30px; color: var(--cyan); }
.media-access-card h2 { margin: 14px 0 8px; font-size: 22px; }
.media-access-card p { color: var(--muted); margin-bottom: 20px; }
.stream-options { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 20px; }
.player-error { padding: 16px; border-radius: 8px; background: rgba(255,100,100,.1); color: #ffb4b4; }
.download-list { display: grid; gap: 14px; margin-top: 30px; }
.download-row { display: grid; grid-template-columns: 100px 1fr auto; gap: 24px; align-items: center; padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); }
.download-quality { direction: ltr; text-align: center; color: var(--cyan); font-weight: 800; }
.download-row h2 { font-size: 16px; margin: 0 0 5px; }
.download-row p { color: var(--muted); margin: 0; }
@media (max-width: 700px) {
    .media-access-section { grid-template-columns: 1fr; }
    .download-row { grid-template-columns: 80px 1fr; gap: 14px; padding: 18px; }
    .download-row > a { grid-column: 1 / -1; }
    .catalog-pagination { gap: 10px; font-size: 12px; }
}
