:root {
    --bg: #050507;
    --surface: #0d0d12;
    --surface-soft: #131319;
    --text: #ffffff;
    --muted: #aaa9b3;
    --line: rgba(255, 255, 255, .1);
    --red: #e52131;
    --red-dark: #a90e1d;
    --gold: #d7b271;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0 0 70px;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
}

.offer-strip {
    position: relative;
    z-index: 1200;
    min-height: 38px;
    padding: 8px clamp(22px, 5vw, 76px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    background: linear-gradient(90deg, #6e0815, #e52131, #6e0815);
    color: #fff;
    font-size: 12px;
}

.offer-strip p {
    margin: 0;
}

.offer-strip strong {
    margin-right: 12px;
    font-size: 10px;
    letter-spacing: .14em;
}

.offer-strip a {
    border-bottom: 1px solid rgba(255, 255, 255, .7);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

body .navbar {
    position: absolute;
    top: 38px;
    left: 0;
    z-index: 1100;
    width: 100%;
    height: 82px;
    padding: 0 clamp(22px, 5vw, 76px);
    display: flex;
    align-items: center;
    gap: clamp(30px, 4vw, 64px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    background: linear-gradient(180deg, rgba(4, 4, 6, .9), rgba(4, 4, 6, .28));
    backdrop-filter: blur(10px);
}

body .navbar.scrolled {
    position: fixed;
    top: 0;
    background: rgba(5, 5, 7, .94);
    box-shadow: 0 14px 35px rgba(0, 0, 0, .28);
}

body .logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: .04em;
    text-decoration: none;
}

body .logo strong {
    color: var(--red);
}

.logo-mark {
    width: 33px;
    height: 35px;
    display: inline-grid;
    place-items: center;
    clip-path: polygon(12% 0, 90% 0, 100% 50%, 90% 100%, 12% 100%, 0 50%);
    background: var(--red);
    color: #fff;
    font-size: 17px;
    font-style: italic;
    box-shadow: 0 0 30px rgba(229, 33, 49, .44);
}

body .nav-links {
    align-self: stretch;
    display: flex;
    align-items: stretch;
    gap: 30px;
}

body .nav-links a {
    position: relative;
    display: flex;
    align-items: center;
    color: #b9b9c3;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

body .nav-links a:hover {
    color: #fff;
}

body .nav-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-search,
.nav-login {
    color: #c8c8d0;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.nav-search i {
    margin-right: 7px;
}

body .btn-register {
    min-height: 38px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 4px;
    background: linear-gradient(135deg, #f42a3b, #b10d1c);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(229, 33, 49, .25);
}

body .layout-wrapper {
    padding-top: 0 !important;
    background: var(--bg);
}

body .main-content {
    min-width: 0;
    padding: 0 !important;
    background: var(--bg) !important;
    font-family: Arial, Helvetica, sans-serif !important;
}

body .sidebar-desktop {
    border-right-color: rgba(255, 255, 255, .08) !important;
    background: #070709 !important;
}

body .sidebar {
    top: 0;
    padding-top: 130px;
    border-right: 1px solid rgba(255, 255, 255, .08);
    background: linear-gradient(180deg, #08080b, #050507 70%);
}

body .sidebar-title {
    color: #686771;
}

body .sidebar-menu a {
    border-left: 2px solid transparent;
    border-radius: 3px;
    color: #9897a1;
}

body .sidebar-menu a:hover,
body .sidebar-menu a.active {
    border-left-color: var(--red);
    background: linear-gradient(90deg, rgba(229, 33, 49, .14), transparent);
    color: #fff;
}

.cinematic-hero {
    position: relative;
    min-height: min(760px, 92vh);
    padding: 210px clamp(28px, 7vw, 110px) 95px;
    display: flex;
    align-items: center;
    isolation: isolate;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(90deg, #050507 0%, rgba(5, 5, 7, .94) 39%, rgba(5, 5, 7, .32) 72%, #050507 100%),
        radial-gradient(ellipse at 76% 44%, rgba(128, 12, 29, .42), transparent 38%),
        linear-gradient(135deg, #08080b, #20161c 52%, #050507);
}

.cinematic-hero::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    opacity: .14;
    background-image:
        linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(90deg, transparent, #000 60%, transparent);
}

.hero-copy {
    position: relative;
    z-index: 3;
    width: min(680px, 62vw);
}

.eyebrow,
.section-kicker {
    margin: 0 0 18px;
    color: var(--gold);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #eeeaf0;
}

.eyebrow span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 14px rgba(229, 33, 49, .9);
}

.cinematic-hero h1 {
    max-width: 690px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(52px, 6.3vw, 98px);
    font-weight: 400;
    letter-spacing: -.055em;
    line-height: .91;
    text-shadow: 0 8px 50px rgba(0, 0, 0, .6);
}

.cinematic-hero h1 em {
    display: block;
    color: transparent;
    font-style: normal;
    -webkit-text-stroke: 1px rgba(255, 255, 255, .88);
}

.hero-description {
    max-width: 580px;
    margin: 27px 0 0;
    color: #bebdc7;
    font-size: clamp(15px, 1.3vw, 18px);
    line-height: 1.7;
}

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

.hero-tags span {
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 999px;
    background: rgba(255, 255, 255, .04);
    color: #c9c8cf;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hero-actions {
    margin-top: 34px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-button {
    min-height: 51px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid transparent;
    border-radius: 4px;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.hero-button:hover {
    transform: translateY(-2px);
}

.hero-button.primary {
    background: linear-gradient(135deg, #f42a3b, #b10d1c);
    box-shadow: 0 14px 35px rgba(229, 33, 49, .26);
}

.hero-button.ghost {
    border-color: rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .04);
    backdrop-filter: blur(8px);
}

.hero-atmosphere {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.hero-ring {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    transform: rotate(-12deg);
}

.ring-one {
    top: 19%;
    right: 1%;
    width: min(54vw, 820px);
    aspect-ratio: 1;
    box-shadow: inset 0 0 120px rgba(229, 33, 49, .07);
}

.ring-two {
    top: 28%;
    right: 11%;
    width: min(35vw, 520px);
    aspect-ratio: 1;
    border-color: rgba(229, 33, 49, .22);
}

.hero-flare {
    position: absolute;
    top: 36%;
    right: 24%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #fff;
    box-shadow:
        0 0 35px 16px rgba(255, 255, 255, .3),
        0 0 110px 38px rgba(229, 33, 49, .24);
}

.hero-filmstrip {
    position: absolute;
    right: 3%;
    bottom: 11%;
    width: min(42vw, 600px);
    height: 240px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    opacity: .5;
    transform: perspective(900px) rotateY(-18deg) rotateZ(-4deg);
    mask-image: linear-gradient(90deg, transparent, #000 20%, #000 75%, transparent);
}

.hero-filmstrip i {
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 4px;
    background:
        linear-gradient(160deg, transparent 25%, rgba(229, 33, 49, .38) 26%, transparent 61%),
        radial-gradient(circle at 45% 35%, rgba(255, 210, 153, .28), transparent 16%),
        linear-gradient(160deg, #16131a, #31222b 60%, #09090c);
}

.hero-filmstrip i:nth-child(2) {
    transform: translateY(-28px);
    filter: hue-rotate(50deg);
}

.hero-filmstrip i:nth-child(3) {
    transform: translateY(18px);
    filter: hue-rotate(150deg);
}

.hero-filmstrip i:nth-child(4) {
    transform: translateY(-12px);
    filter: hue-rotate(260deg);
}

.hero-feature {
    position: absolute;
    right: clamp(24px, 4vw, 64px);
    bottom: 78px;
    z-index: 4;
    width: 270px;
    padding: 21px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(7, 7, 10, .74);
    backdrop-filter: blur(16px);
}

.hero-feature small {
    color: var(--red);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.hero-feature strong {
    margin-top: 9px;
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: 400;
}

.hero-feature p {
    margin: 7px 0 0;
    color: #aaa9b2;
    font-size: 11px;
    line-height: 1.5;
}

.feature-progress {
    height: 2px;
    margin: 16px 0 10px;
    display: block;
    background: rgba(255, 255, 255, .12);
}

.feature-progress i {
    width: 64%;
    height: 100%;
    display: block;
    background: var(--red);
}

.hero-feature em {
    color: #777681;
    font-size: 9px;
    font-style: normal;
}

.catalog-shell {
    padding: clamp(65px, 7vw, 100px) clamp(20px, 4vw, 58px);
    background:
        radial-gradient(circle at 20% 10%, rgba(229, 33, 49, .05), transparent 24rem),
        var(--bg);
}

.catalog-search {
    margin-bottom: 38px;
}

.catalog-filter-shell {
    min-height: 100vh;
    padding-top: 150px;
}

.catalog-lower {
    padding-top: clamp(85px, 9vw, 135px);
}

body .filter-container {
    padding: 10px !important;
    border: 1px solid var(--line) !important;
    border-radius: 4px !important;
    background: rgba(16, 16, 22, .9) !important;
}

body .search-box input,
body .select-box select {
    min-height: 40px;
    border: 1px solid rgba(255, 255, 255, .12) !important;
    border-radius: 3px !important;
    background: #09090d !important;
}

body .carousel-wrapper {
    margin-bottom: 58px !important;
}

body .carousel-header {
    margin: 0 0 24px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 400;
    letter-spacing: -.03em;
}

body .carousel-container {
    gap: 18px !important;
    padding: 8px 3px 25px !important;
}

body .carousel-item {
    transition: transform .2s ease;
}

body .carousel-item:hover {
    z-index: 5;
    transform: translateY(-7px);
}

body .movie-card,
body .series-card,
body .live-card {
    overflow: hidden !important;
    border: 1px solid rgba(255, 255, 255, .1) !important;
    border-radius: 5px !important;
    background: #111116 !important;
    box-shadow: 0 15px 34px rgba(0, 0, 0, .28) !important;
    transform: none !important;
}

body .movie-card:hover,
body .series-card:hover,
body .live-card:hover {
    border-color: rgba(255, 255, 255, .28) !important;
    box-shadow: 0 24px 42px rgba(0, 0, 0, .46) !important;
}

body .movie-card .image-container,
body .series-card .image-container {
    height: 280px !important;
}

body .movie-card img,
body .series-card img {
    transition: transform .45s ease, filter .45s ease;
}

body .movie-card:hover img,
body .series-card:hover img {
    transform: scale(1.045);
    filter: contrast(1.06) saturate(1.06);
}

body .live-card .image-container {
    height: 175px !important;
    background: linear-gradient(145deg, #15151b, #08080b) !important;
}

body .btn-nav {
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 0;
    background: rgba(8, 8, 11, .9);
    color: #fff;
    cursor: pointer;
}

.subscription-banner {
    position: relative;
    min-height: 430px;
    margin: 10px clamp(20px, 4vw, 58px) 0;
    padding: clamp(42px, 5vw, 72px);
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    align-items: center;
    gap: clamp(30px, 6vw, 90px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .14);
    background:
        linear-gradient(110deg, rgba(9, 9, 13, .98), rgba(27, 10, 15, .9) 58%, rgba(121, 12, 28, .76)),
        #120b0e;
    box-shadow: 0 35px 90px rgba(0, 0, 0, .34);
}

.subscription-banner::before {
    position: absolute;
    inset: 0;
    content: "";
    opacity: .17;
    background-image:
        linear-gradient(120deg, transparent 46%, rgba(255, 255, 255, .1) 47%, transparent 48%),
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 100% 100%, 100% 34px;
}

.banner-copy,
.banner-card {
    position: relative;
    z-index: 2;
}

.banner-copy h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(35px, 3.6vw, 54px);
    font-weight: 400;
    letter-spacing: -.035em;
}

.banner-copy > p:not(.section-kicker) {
    max-width: 620px;
    margin: 19px 0 25px;
    color: #b6b4bd;
    font-size: 14px;
    line-height: 1.65;
}

.banner-copy ul {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 11px;
    list-style: none;
}

.banner-copy li {
    color: #d9d8de;
    font-size: 12px;
}

.banner-copy li i {
    margin-right: 8px;
    color: var(--red);
}

.banner-card {
    padding: 31px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid rgba(255, 255, 255, .15);
    background: rgba(4, 4, 7, .62);
    backdrop-filter: blur(13px);
}

.banner-card > span {
    margin-bottom: 22px;
    padding: 6px 9px;
    background: rgba(229, 33, 49, .15);
    color: #ff7985;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.banner-card strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    font-weight: 400;
}

.banner-card p {
    margin: 9px 0 22px;
    color: #a6a4ad;
    font-size: 12px;
    line-height: 1.5;
}

.banner-card a {
    width: 100%;
    min-height: 49px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 3px;
    background: #fff;
    color: #111116;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
}

.banner-card small {
    align-self: center;
    margin-top: 13px;
    color: #74727c;
    font-size: 8px;
}

.site-footer {
    padding: 30px clamp(22px, 5vw, 76px) 92px;
    display: flex;
    align-items: center;
    gap: 30px;
    border-top: 1px solid var(--line);
    background: #050507;
    color: #777681;
    font-size: 10px;
}

.site-footer .footer-logo {
    font-size: 14px;
}

.site-footer .logo-mark {
    width: 25px;
    height: 27px;
    font-size: 12px;
}

.site-footer p {
    margin: 0;
}

.site-footer nav {
    margin-left: auto;
    display: flex;
    gap: 18px;
}

.site-footer nav a {
    color: #777681;
    text-decoration: none;
}

body .mobile-footer-nav {
    display: none;
}

@media (max-width: 1024px) {
    body .nav-links {
        display: none;
    }

    .hero-copy {
        width: 78vw;
    }

    .hero-feature {
        display: none;
    }

    .subscription-banner {
        grid-template-columns: 1fr;
    }

    .banner-card {
        max-width: 450px;
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 70px;
    }

    .offer-strip {
        min-height: 44px;
        justify-content: space-between;
        gap: 10px;
    }

    .offer-strip p {
        max-width: 220px;
        font-size: 10px;
    }

    .offer-strip strong {
        display: none;
    }

    .offer-strip a {
        flex: 0 0 auto;
        font-size: 10px;
    }

    body .navbar {
        top: 44px;
        height: 67px;
    }

    body .logo {
        font-size: 16px;
    }

    .logo-mark {
        width: 27px;
        height: 29px;
        font-size: 13px;
    }

    .nav-search,
    .nav-login {
        display: none;
    }

    body .btn-register {
        min-height: 35px;
        padding: 0 12px;
        font-size: 9px;
    }

    body .sidebar-desktop {
        display: none !important;
    }

    .cinematic-hero {
        min-height: 715px;
        padding: 165px 22px 95px;
        align-items: flex-start;
    }

    .hero-copy {
        width: 100%;
    }

    .cinematic-hero h1 {
        font-size: clamp(48px, 15vw, 72px);
    }

    .hero-filmstrip {
        right: -27%;
        bottom: 8%;
        width: 95vw;
        height: 180px;
    }

    .ring-one {
        top: 40%;
        right: -45%;
        width: 115vw;
    }

    .ring-two {
        top: 49%;
        right: -16%;
        width: 72vw;
    }

    .catalog-shell {
        padding-right: 18px;
        padding-left: 18px;
    }

    body .carousel-item {
        flex: 0 0 calc(50% - 9px) !important;
    }

    body .movie-card .image-container,
    body .series-card .image-container {
        height: 250px !important;
    }

    .subscription-banner {
        margin: 0;
        padding: 52px 22px;
        border-right: 0;
        border-left: 0;
    }

    .banner-card {
        padding: 25px;
    }

    .site-footer {
        padding-bottom: 100px;
        flex-direction: column;
        text-align: center;
    }

    .site-footer nav {
        margin-left: 0;
        flex-wrap: wrap;
        justify-content: center;
    }

    body .mobile-footer-nav {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 2000;
        min-height: 64px;
        padding: 9px 5px 7px;
        display: flex;
        justify-content: space-around;
        border-top: 1px solid rgba(255, 255, 255, .1);
        background: rgba(5, 5, 7, .96);
        backdrop-filter: blur(12px);
    }

    body .mobile-footer-nav a {
        min-width: 48px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
        color: #777681;
        font-size: 17px;
        text-decoration: none;
    }

    body .mobile-footer-nav a.active {
        color: var(--red);
    }

    body .mobile-footer-nav span {
        font-size: 8px;
        font-weight: 800;
        letter-spacing: .05em;
        text-transform: uppercase;
    }
}

@media (max-width: 480px) {
    body .carousel-item {
        flex-basis: calc(58% - 9px) !important;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
    }
}
