/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background: #07090d;
    color: #f4f5f7;
    line-height: 1.6;

    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(7, 9, 13, .88);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(255,255,255,.07);

    transition:
        background .25s ease,
        box-shadow .25s ease;
}

.site-header.scrolled {
    background: rgba(5, 7, 10, .96);

    box-shadow:
        0 12px 40px rgba(0,0,0,.25);
}

.header-inner {
    height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    font-size: 20px;
    font-weight: 800;

    letter-spacing: -.04em;

    white-space: nowrap;
}

.logo-mark {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border-radius: 9px;

    background: #e50914;

    color: #fff;

    font-size: 13px;

    box-shadow:
        0 8px 30px rgba(229,9,20,.25);
}

.logo-text span {
    color: #e50914;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;

    margin-left: auto;
    margin-right: 34px;
}

.main-nav a {
    position: relative;

    color: #a8adb8;

    font-size: 14px;
    font-weight: 600;

    transition: .2s ease;
}

.main-nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;
    height: 2px;

    border-radius: 2px;

    background: #e50914;

    transition: width .2s ease;
}

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

.main-nav a:hover::after {
    width: 100%;
}

.header-button {
    padding: 10px 18px;

    border: 1px solid rgba(255,255,255,.12);
    border-radius: 9px;

    background: rgba(255,255,255,.04);

    color: #fff;

    font-size: 13px;
    font-weight: 700;

    transition: .2s ease;
}

.header-button:hover {
    border-color: rgba(229,9,20,.5);

    background: rgba(229,9,20,.08);

    transform: translateY(-1px);
}

.mobile-menu {
    display: none;

    width: 42px;
    height: 42px;

    border: 1px solid rgba(255,255,255,.1);
    border-radius: 9px;

    background: transparent;
}

.mobile-menu span {
    display: block;

    width: 18px;
    height: 2px;

    margin: 4px auto;

    border-radius: 2px;

    background: #fff;

    transition: .2s ease;
}

.mobile-menu.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-menu.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav {
    display: none;
}


/* =========================================================
   HERO
   CENTERED LIKE REFERENCE LAYOUT
========================================================= */

.hero {
    position: relative;

    min-height: 650px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    text-align: center;

    border-bottom: 1px solid rgba(255,255,255,.06);

    background:
        linear-gradient(
            180deg,
            rgba(7,9,13,.72) 0%,
            rgba(7,9,13,.82) 55%,
            #07090d 100%
        ),
        url("/assets/bg-hero.jpg")
        center center / cover no-repeat;

    transition:
        background-position 1s ease;
}

.hero::before {
    content: "";

    position: absolute;

    inset: 0;

    z-index: 0;

    background:
        linear-gradient(
            90deg,
            rgba(7,9,13,.96) 0%,
            rgba(7,9,13,.72) 28%,
            rgba(7,9,13,.45) 50%,
            rgba(7,9,13,.72) 75%,
            rgba(7,9,13,.96) 100%
        );

    pointer-events: none;
}

.hero::after {
    content: "";

    position: absolute;

    inset: 0;

    z-index: 0;

    background:
        radial-gradient(
            circle at 50% 42%,
            rgba(229,9,20,.16),
            transparent 35%
        ),
        linear-gradient(
            to bottom,
            transparent 40%,
            rgba(7,9,13,.85) 100%
        );

    pointer-events: none;
}

.hero:hover {
    background-position: center 46%;
}

.hero-container {
    position: relative;
    z-index: 2;

    width: 100%;
}

.hero-content {
    width: 100%;
    max-width: 920px;

    margin: 0 auto;

    padding: 95px 0 90px;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    color: #e50914;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .16em;
    text-transform: uppercase;
}

.pulse {
    width: 7px;
    height: 7px;

    flex: 0 0 7px;

    border-radius: 50%;

    background: #e50914;

    box-shadow:
        0 0 0 5px rgba(229,9,20,.1),
        0 0 18px rgba(229,9,20,.55);

    animation: pulseGlow 2s ease-in-out infinite;
}

.hero h1 {
    width: 100%;
    max-width: 900px;

    margin-top: 22px;

    font-size: clamp(48px, 7vw, 64px);

    line-height: .98;

    letter-spacing: -.065em;

    font-weight: 850;
}

.hero h1 span {
    display: block;

    color: #e50914;

    text-shadow:
        0 0 35px rgba(229,9,20,.12);
}

.hero-description {
    width: 100%;
    max-width: 690px;

    margin-top: 27px;

    color: #9298a5;

    font-size: 17px;

    line-height: 1.8;

    text-align: center;
}


/* =========================================================
   HERO SEARCH
========================================================= */

.search-box {
    position: relative;

    display: flex;
    align-items: center;

    width: min(760px, 100%);
    height: 66px;

    margin-top: 36px;

    padding: 7px;

    background: #11151d;

    border: 1px solid rgba(255,255,255,.1);

    border-radius: 13px;

    box-shadow:
        0 25px 70px rgba(0,0,0,.35),
        0 0 0 1px rgba(255,255,255,.01);

    transition: .25s ease;
}

.search-box:hover {
    border-color: rgba(255,255,255,.14);
}

.search-box:focus-within {
    border-color: rgba(229,9,20,.55);

    box-shadow:
        0 0 0 4px rgba(229,9,20,.08),
        0 25px 70px rgba(0,0,0,.35);
}

.search-icon {
    width: 52px;

    display: grid;
    place-items: center;

    flex: 0 0 52px;

    color: #717784;
}

.search-icon svg {
    width: 20px;
    height: 20px;
}

.search-box input {
    flex: 1;

    min-width: 0;

    height: 100%;

    padding: 0 8px;

    border: 0;
    outline: 0;

    background: transparent;

    color: #fff;

    font-size: 15px;
}

.search-box input::placeholder {
    color: #676d79;
}

.search-submit {
    height: 50px;

    padding: 0 25px;

    border: 0;

    border-radius: 9px;

    background: #e50914;

    color: #fff;

    font-weight: 800;

    transition: .2s ease;
}

.search-submit:hover {
    background: #ff1724;

    transform: translateY(-1px);

    box-shadow:
        0 10px 30px rgba(229,9,20,.18);
}


/* =========================================================
   SEARCH RESULTS
========================================================= */

.search-results {
    display: none;

    width: min(760px, 100%);

    margin-top: 8px;

    overflow: hidden;

    border: 1px solid rgba(255,255,255,.08);

    border-radius: 12px;

    background: #10141b;

    box-shadow:
        0 20px 60px rgba(0,0,0,.5);

    text-align: left;
}

.search-results.active {
    display: block;
}

.search-result {
    display: flex;
    align-items: center;

    gap: 15px;

    padding: 14px 17px;

    border-bottom: 1px solid rgba(255,255,255,.06);

    cursor: pointer;

    transition: .2s ease;
}

.search-result:last-child {
    border-bottom: 0;
}

.search-result:hover {
    background: rgba(255,255,255,.04);
}

.result-thumb {
    width: 40px;
    height: 50px;

    display: grid;
    place-items: center;

    flex: 0 0 40px;

    border-radius: 6px;

    background:
        linear-gradient(
            135deg,
            #321216,
            #171a22
        );

    color: #e50914;

    font-size: 11px;
    font-weight: 800;
}

.result-info {
    flex: 1;

    min-width: 0;
}

.result-info strong {
    display: block;

    overflow: hidden;

    color: #fff;

    font-size: 14px;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.result-info span {
    color: #737987;

    font-size: 12px;
}

.result-type {
    color: #e50914;

    font-size: 10px;
    font-weight: 800;
}


/* =========================================================
   HERO ACTIONS
========================================================= */

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    margin-top: 22px;
}

.primary-button,
.secondary-button,
.outline-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    min-height: 48px;

    padding: 0 20px;

    border-radius: 9px;

    font-size: 13px;
    font-weight: 800;

    transition: .2s ease;
}

.primary-button {
    background: #e50914;

    color: #fff;

    box-shadow:
        0 12px 35px rgba(229,9,20,.18);
}

.primary-button:hover {
    background: #ff1724;

    transform: translateY(-2px);

    box-shadow:
        0 15px 40px rgba(229,9,20,.25);
}

.secondary-button {
    border: 1px solid rgba(255,255,255,.12);

    background: rgba(255,255,255,.03);

    color: #ddd;
}

.secondary-button:hover {
    background: rgba(255,255,255,.07);

    border-color: rgba(255,255,255,.18);

    transform: translateY(-2px);
}

.outline-button {
    min-height: 42px;

    border: 1px solid rgba(255,255,255,.1);

    color: #b8bdc7;
}

.outline-button:hover {
    border-color: rgba(229,9,20,.5);

    color: #fff;
}


/* =========================================================
   POPULAR SEARCH LINKS
========================================================= */

.popular-row {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 9px;

    margin-top: 30px;

    color: #747b87;

    font-size: 12px;
}

.popular-label {
    color: #555c67;

    font-weight: 700;
}

.popular-row a {
    padding: 5px 10px;

    border-radius: 6px;

    background: rgba(255,255,255,.035);

    transition: .2s ease;
}

.popular-row a:hover {
    color: #fff;

    background: rgba(229,9,20,.1);
}


/* =========================================================
   SECTION GLOBAL
========================================================= */

.features-section,
.discovery-section,
.categories-section,
.top-rated-section,
.faq-section {
    padding: 50px 0;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;

    gap: 40px;

    margin-bottom: 42px;
}

.section-heading h2 {
    margin-top: 8px;

    font-size: clamp(30px, 4vw, 45px);

    line-height: 1.05;

    letter-spacing: -.045em;
}

.section-heading p {
    max-width: 500px;

    color: #7d8490;

    font-size: 14px;
}

.section-label {
    display: inline-flex;
    align-items: center;

    color: #e50914;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .16em;
}

.centered {
    display: block;

    max-width: 680px;

    margin-left: auto;
    margin-right: auto;

    text-align: center;
}

.centered p {
    margin: 16px auto 0;
}


/* =========================================================
   FEATURES
========================================================= */

.feature-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 14px;
}

.feature-card {
    min-height: 260px;

    padding: 27px;

    border: 1px solid rgba(255,255,255,.07);

    border-radius: 14px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.045),
            rgba(255,255,255,.015)
        );

    transition: .25s ease;
}

.feature-card:hover {
    transform: translateY(-5px);

    border-color: rgba(229,9,20,.3);

    background:
        linear-gradient(
            145deg,
            rgba(229,9,20,.08),
            rgba(255,255,255,.02)
        );
}

.feature-icon {
    width: 46px;
    height: 46px;

    display: grid;
    place-items: center;

    margin-bottom: 25px;

    border-radius: 11px;

    background: rgba(229,9,20,.08);

    font-size: 20px;
}

.feature-card h3 {
    margin-bottom: 10px;

    font-size: 17px;
}

.feature-card p {
    min-height: 72px;

    color: #747b88;

    font-size: 13px;

    line-height: 1.7;
}

.feature-card a {
    display: inline-block;

    margin-top: 20px;

    color: #e50914;

    font-size: 12px;
    font-weight: 800;
}


/* =========================================================
   CATALOG
========================================================= */

.catalog-section {
    padding: 50px 0;
}

.catalog-panel {
    position: relative;

    display: grid;

    grid-template-columns: 1fr 420px;

    min-height: 480px;

    overflow: hidden;

    border: 1px solid rgba(255,255,255,.07);

    border-radius: 18px;

    background:
        radial-gradient(
            circle at 80% 40%,
            rgba(229,9,20,.12),
            transparent 35%
        ),
        #0d1016;
}

.catalog-content {
    align-self: center;

    padding: 65px;
}

.catalog-content h2 {
    max-width: 590px;

    margin: 14px 0 20px;

    font-size: clamp(35px, 4vw, 54px);

    line-height: 1;

    letter-spacing: -.05em;
}

.catalog-content p {
    max-width: 600px;

    color: #7e8591;

    font-size: 15px;
}

.catalog-content a {
    color: #e50914;
}

.catalog-links {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-top: 28px;
}

.catalog-links a {
    padding: 8px 13px;

    border: 1px solid rgba(255,255,255,.08);

    border-radius: 7px;

    color: #aeb4bf;

    font-size: 12px;

    transition: .2s ease;
}

.catalog-links a:hover {
    color: #fff;

    border-color: rgba(229,9,20,.4);

    background: rgba(229,9,20,.04);
}


/* =========================================================
   CATALOG VISUAL
========================================================= */

.catalog-visual {
    position: relative;

    min-height: 480px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}


/* =========================================================
   MAIN VISUAL CARD
========================================================= */

.visual-card {
    position: relative;
    z-index: 2;

    width: 310px;
    height: 390px;

    overflow: hidden;

    border: 1px solid rgba(255,255,255,.12);

    border-radius: 17px;

    background: #11151c;

    box-shadow:
        0 30px 80px rgba(0,0,0,.55),
        0 0 50px rgba(229,9,20,.06);
}


/* =========================================================
   MOVIE BACKGROUND IMAGE
========================================================= */

.visual-movie-image {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    opacity: .9;

    transform: scale(1.02);

    transition:
        transform .7s ease,
        opacity .4s ease;

    z-index: 0;
}


/* =========================================================
   IMAGE OVERLAY
========================================================= */

.visual-overlay {
    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            to bottom,
            rgba(5,7,10,.72) 0%,
            rgba(5,7,10,.18) 32%,
            rgba(5,7,10,.32) 50%,
            rgba(5,7,10,.96) 100%
        );
}


/* =========================================================
   RED CINEMATIC GLOW
========================================================= */

.visual-overlay::after {
    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    right: -80px;
    bottom: 80px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(229,9,20,.28),
            transparent 70%
        );

    filter: blur(20px);

    pointer-events: none;
}


/* =========================================================
   VISUAL TOP
========================================================= */

.visual-top {
    position: absolute;

    top: 24px;
    left: 24px;
    right: 24px;

    z-index: 3;

    display: flex;

    align-items: center;
    justify-content: space-between;

    color: rgba(255,255,255,.7);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: .12em;
}


/* =========================================================
   STATUS DOT
========================================================= */

.status-dot {
    width: 7px;
    height: 7px;

    flex: 0 0 7px;

    border-radius: 50%;

    background: #e50914;

    box-shadow:
        0 0 0 4px rgba(229,9,20,.12),
        0 0 18px rgba(229,9,20,.75);

    animation:
        pulseGlow 2s ease-in-out infinite;
}


/* =========================================================
   MOVIE CONTENT
========================================================= */

.visual-movie-content {
    position: absolute;

    left: 25px;
    right: 25px;
    bottom: 25px;

    z-index: 3;
}


/* =========================================================
   MOVIE CATEGORY
========================================================= */

.visual-category {
    display: inline-block;

    margin-bottom: 9px;

    color: #e50914;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: .14em;
}


/* =========================================================
   MOVIE TITLE
========================================================= */

.visual-title {
    max-width: 270px;

    font-size: 28px;

    line-height: 1;

    font-weight: 850;

    letter-spacing: -.045em;

    color: #fff;

    text-shadow:
        0 4px 25px rgba(0,0,0,.6);
}


/* =========================================================
   VISUAL LINES
========================================================= */

.visual-lines {
    margin-top: 18px;

    width: 100%;
}

.visual-lines span {
    display: block;

    width: 100%;
    height: 4px;

    margin: 7px 0;

    border-radius: 5px;

    background:
        rgba(255,255,255,.18);
}

.visual-lines span:nth-child(1) {
    width: 100%;
}

.visual-lines span:nth-child(2) {
    width: 72%;
}

.visual-lines span:nth-child(3) {
    width: 46%;
}


/* =========================================================
   VISUAL RATING
========================================================= */

.visual-rating {
    display: flex;

    align-items: baseline;

    gap: 9px;

    margin-top: 18px;
}

.visual-rating strong {
    color: #fff;

    font-size: 30px;

    line-height: 1;

    font-weight: 850;

    letter-spacing: -.04em;
}

.visual-rating strong::before {
    content: "★";

    margin-right: 6px;

    color: #f4b740;

    font-size: 17px;
}

.visual-rating span {
    color: rgba(255,255,255,.58);

    font-size: 10px;

    font-weight: 600;
}


/* =========================================================
   VISUAL HOVER
========================================================= */

.visual-card:hover .visual-movie-image {
    transform: scale(1.07);

    opacity: 1;
}


/* =========================================================
   FLOATING CARDS
========================================================= */

.floating-card {
    position: absolute;

    z-index: 4;

    display: flex;
    align-items: center;

    gap: 9px;

    padding: 11px 15px;

    border: 1px solid rgba(255,255,255,.1);

    border-radius: 9px;

    background:
        rgba(21,25,32,.92);

    box-shadow:
        0 15px 40px rgba(0,0,0,.45);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    font-size: 11px;
    font-weight: 700;

    white-space: nowrap;
}

.card-one {
    top: 72px;
    left: 5px;

    animation:
        floatCard 5s ease-in-out infinite;
}

.card-two {
    right: 0;
    bottom: 72px;

    animation:
        floatCard 5s ease-in-out 1.4s infinite;
}


/* =========================================================
   MOVIE GRID
========================================================= */

.movie-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 17px;
}


/* =========================================================
   MOVIE CARD
========================================================= */

.movie-card {
    overflow: hidden;

    border: 1px solid rgba(255,255,255,.07);

    border-radius: 12px;

    background: #0d1016;

    transition: .25s ease;

    cursor: pointer;
}

.movie-card:hover {
    transform: translateY(-6px);

    border-color: rgba(229,9,20,.25);

    box-shadow:
        0 20px 45px rgba(0,0,0,.2);
}


/* =========================================================
   MOVIE POSTER
========================================================= */

.movie-poster {
    position: relative;

    height: 310px;

    overflow: hidden;

    display: flex;
    align-items: end;

    padding: 24px;

    background-size: cover;
    background-position: center;

    isolation: isolate;
}

.movie-poster img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    z-index: -3;

    transition:
        transform .5s ease,
        filter .5s ease;
}

.movie-poster::before {
    content: "";

    position: absolute;

    inset: 0;

    z-index: -1;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.95) 0%,
            rgba(0,0,0,.68) 35%,
            rgba(0,0,0,.18) 72%,
            rgba(0,0,0,.05) 100%
        );

    pointer-events: none;
}

.movie-poster::after {
    content: "";

    position: absolute;

    inset: 0;

    z-index: -2;

    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,.25),
            transparent 35%
        );

    pointer-events: none;
}


/* =========================================================
   POSTER FALLBACK BACKGROUNDS
========================================================= */

.poster-one {
    background:
        radial-gradient(
            circle at 70% 20%,
            #81232b,
            transparent 35%
        ),
        linear-gradient(
            145deg,
            #171d28,
            #4d1118
        );
}

.poster-two {
    background:
        radial-gradient(
            circle at 30% 30%,
            #5c5960,
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #111827,
            #312f34
        );
}

.poster-three {
    background:
        radial-gradient(
            circle at 70% 30%,
            #8c2732,
            transparent 35%
        ),
        linear-gradient(
            145deg,
            #10151d,
            #241016
        );
}

.poster-four {
    background:
        radial-gradient(
            circle at 40% 20%,
            #7b4b25,
            transparent 35%
        ),
        linear-gradient(
            145deg,
            #121820,
            #332113
        );
}


/* =========================================================
   POSTER NUMBER
========================================================= */

.poster-number {
    position: absolute;

    top: 15px;
    left: 15px;

    padding: 5px 8px;

    border-radius: 5px;

    background: rgba(0,0,0,.5);

    border: 1px solid rgba(255,255,255,.08);

    color: rgba(255,255,255,.7);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: .04em;

    z-index: 3;

    backdrop-filter: blur(6px);
}


/* =========================================================
   POSTER CONTENT
========================================================= */

.poster-content {
    position: relative;

    z-index: 3;
}

.poster-content small {
    display: block;

    margin-bottom: 5px;

    color: #e50914;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: .15em;
}

.poster-content strong {
    display: block;

    font-size: 28px;

    line-height: .95;

    letter-spacing: -.05em;

    color: #fff;
}


/* =========================================================
   IMAGE HOVER
========================================================= */

.movie-card:hover .movie-poster img {
    transform: scale(1.07);

    filter: brightness(1.08);
}

.movie-card:hover .movie-poster::before {
    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.96) 0%,
            rgba(0,0,0,.68) 38%,
            rgba(0,0,0,.15) 75%,
            rgba(0,0,0,.04) 100%
        );
}


/* =========================================================
   MOVIE INFO
========================================================= */

.movie-info {
    position: relative;

    padding: 17px;
}

.movie-info h3 {
    padding-right: 50px;

    margin: 0;

    font-size: 14px;
}

.movie-meta {
    display: flex;

    gap: 7px;

    margin-top: 5px;

    color: #656c78;

    font-size: 11px;
}

.rating {
    position: absolute;

    top: 18px;
    right: 17px;

    color: #f4b740;

    font-size: 11px;
    font-weight: 800;
}


/* =========================================================
   GENRES
========================================================= */

.categories-section {
    background:
        linear-gradient(
            180deg,
            #07090d,
            #0a0d12,
            #07090d
        );
}

.genre-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 12px;
}

.genre-card {
    min-height: 140px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 24px;

    border: 1px solid rgba(255,255,255,.07);

    border-radius: 12px;

    background: rgba(255,255,255,.02);

    transition: .25s ease;
}

.genre-card:hover {
    transform: translateY(-4px);

    border-color: rgba(229,9,20,.35);

    background: rgba(229,9,20,.05);
}

.genre-card > span {
    margin-bottom: 12px;

    font-size: 22px;
}

.genre-card strong {
    font-size: 15px;
}

.genre-card small {
    margin-top: 2px;

    color: #666d79;

    font-size: 11px;
}


/* =========================================================
   SERIES
========================================================= */

.series-section {
    padding: 50px 0;
}

.series-panel {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;

    padding: 65px;

    border: 1px solid rgba(255,255,255,.07);

    border-radius: 18px;

    background:
        radial-gradient(
            circle at 0 50%,
            rgba(229,9,20,.08),
            transparent 40%
        ),
        #0c0f15;
}

.series-text h2 {
    max-width: 500px;

    margin: 14px 0 20px;

    font-size: clamp(35px, 4vw, 52px);

    line-height: 1;

    letter-spacing: -.05em;
}

.series-text p {
    max-width: 520px;

    margin-bottom: 27px;

    color: #777e8a;

    font-size: 14px;
}

.episode-preview {
    padding: 20px;

    border: 1px solid rgba(255,255,255,.08);

    border-radius: 13px;

    background: #10141b;
}

.episode-header {
    display: flex;
    justify-content: space-between;

    padding: 4px 5px 15px;

    color: #555c68;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: .1em;
}

.episode-row {
    display: flex;
    align-items: center;

    gap: 13px;

    padding: 13px 5px;

    border-top: 1px solid rgba(255,255,255,.06);
}

.episode-thumb {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    flex: 0 0 48px;

    border-radius: 7px;

    background:
        linear-gradient(
            135deg,
            #321419,
            #181b23
        );

    color: #e50914;

    font-size: 10px;
    font-weight: 800;
}

.episode-details {
    flex: 1;

    min-width: 0;
}

.episode-details strong {
    display: block;

    overflow: hidden;

    font-size: 12px;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.episode-details span {
    color: #626975;

    font-size: 10px;
}

.episode-arrow {
    color: #555c68;
}


/* =========================================================
   TOP RATED
========================================================= */

.rating-list {
    border-top: 1px solid rgba(255,255,255,.07);
}

.rating-item {
    display: flex;
    align-items: center;

    min-height: 90px;

    border-bottom: 1px solid rgba(255,255,255,.07);
}

.rank {
    width: 80px;

    color: #444b56;

    font-size: 13px;
    font-weight: 800;
}

.rating-title {
    flex: 1;
}

.rating-title strong {
    display: block;

    font-size: 15px;
}

.rating-title span {
    color: #626976;

    font-size: 11px;
}

.rating-score {
    color: #f4b740;

    font-size: 13px;
    font-weight: 800;
}


/* =========================================================
   REQUEST
========================================================= */

.request-section {
    padding: 50px 0;
}

.request-box {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;

    padding: 48px 55px;

    border: 1px solid rgba(229,9,20,.2);

    border-radius: 15px;

    background:
        linear-gradient(
            110deg,
            rgba(229,9,20,.09),
            rgba(255,255,255,.02)
        );
}

.request-box h2 {
    margin: 8px 0;

    font-size: 30px;

    letter-spacing: -.04em;
}

.request-box p {
    max-width: 680px;

    color: #777e89;

    font-size: 13px;
}


/* =========================================================
   FAQ
========================================================= */

.faq-container {
    max-width: 850px;
}

.faq-list {
    margin-top: 45px;
}

.faq-item {
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 23px 0;

    list-style: none;

    cursor: pointer;

    font-size: 14px;
    font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary span {
    color: #e50914;

    font-size: 20px;

    transition: .2s ease;
}

.faq-item[open] summary span {
    transform: rotate(45deg);
}

.faq-item p {
    max-width: 720px;

    padding: 0 40px 25px 0;

    color: #727985;

    font-size: 13px;

    line-height: 1.8;
}


/* =========================================================
   SEO CONTENT — PUTLOCKER
========================================================= */

.seo-content-section {
    position: relative;

    padding: 50px 0;

    background:
        linear-gradient(
            180deg,
            #07090d 0%,
            #090c11 50%,
            #07090d 100%
        );
}


/* =========================================================
   SEO CONTENT PANEL
========================================================= */

.seo-content-panel {
    position: relative;

    margin: 0 auto;

    padding: 65px 70px;

    overflow: hidden;

    border: 1px solid rgba(255,255,255,.07);

    border-radius: 18px;

    background-image:
        linear-gradient(
            rgba(255,255,255,.012) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.012) 1px,
            transparent 1px
        ),
        radial-gradient(
            circle at 100% 0%,
            rgba(229,9,20,.09),
            transparent 32%
        ),
        radial-gradient(
            circle at 0% 100%,
            rgba(229,9,20,.045),
            transparent 30%
        ),
        #0c0f15;

    background-size:
        45px 45px,
        45px 45px,
        auto,
        auto,
        auto;

    box-shadow:
        0 30px 80px rgba(0,0,0,.22);
}


/* =========================================================
   SEO DECORATIVE GLOW
========================================================= */

.seo-content-panel::before {
    content: "";

    position: absolute;

    top: -100px;
    right: -100px;

    width: 280px;
    height: 280px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(229,9,20,.12),
            transparent 70%
        );

    filter: blur(25px);

    pointer-events: none;
}

.seo-content-panel::after {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 3px;
    height: 100%;

    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(229,9,20,.65),
            transparent
        );

    opacity: .7;

    pointer-events: none;
}


/* =========================================================
   SEO SECTION LABEL
========================================================= */

.seo-content-panel .section-label {
    position: relative;
    z-index: 2;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 15px;

    color: #e50914;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .17em;

    text-transform: uppercase;
}

.seo-content-panel .section-label::before {
    content: "";

    width: 22px;
    height: 2px;

    border-radius: 2px;

    background: #e50914;

    box-shadow:
        0 0 12px rgba(229,9,20,.35);
}


/* =========================================================
   SEO MAIN HEADING
========================================================= */

.seo-content-panel h2 {
    position: relative;
    z-index: 2;

    max-width: 800px;

    margin: 0 0 30px;

    color: #fff;

    font-size: clamp(32px, 4vw, 48px);

    line-height: 1.05;

    letter-spacing: -.05em;

    font-weight: 850;
}


/* =========================================================
   SEO PARAGRAPHS
========================================================= */

.seo-content-panel p {
    position: relative;
    z-index: 2;

    max-width: 850px;

    margin: 0 0 21px;

    color: #7d8490;

    font-size: 14px;

    line-height: 1.85;
}


/* =========================================================
   SEO SUB HEADINGS
========================================================= */

.seo-content-panel h3 {
    position: relative;
    z-index: 2;

    margin: 48px 0 17px;

    padding-left: 17px;

    color: #f5f6f8;

    font-size: 20px;

    line-height: 1.3;

    letter-spacing: -.025em;

    font-weight: 800;
}

.seo-content-panel h3::before {
    content: "";

    position: absolute;

    top: 3px;
    left: 0;

    width: 3px;
    height: calc(100% - 6px);

    border-radius: 4px;

    background: #e50914;

    box-shadow:
        0 0 14px rgba(229,9,20,.35);
}


/* =========================================================
   SEO LIST
========================================================= */

.seo-list {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 10px 28px;

    margin: 25px 0 30px;

    padding: 0;

    list-style: none;
}

.seo-list li {
    position: relative;

    min-height: 42px;

    display: flex;
    align-items: flex-start;

    padding: 11px 14px 11px 37px;

    border: 1px solid rgba(255,255,255,.055);

    border-radius: 8px;

    background:
        rgba(255,255,255,.018);

    color: #858c98;

    font-size: 12px;

    line-height: 1.55;

    transition:
        border-color .2s ease,
        background .2s ease,
        transform .2s ease;
}

.seo-list li::before {
    content: "✓";

    position: absolute;

    top: 10px;
    left: 13px;

    width: 17px;
    height: 17px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: rgba(229,9,20,.1);

    color: #e50914;

    font-size: 9px;
    font-weight: 900;
}

.seo-list li:hover {
    transform: translateY(-2px);

    border-color: rgba(229,9,20,.25);

    background:
        rgba(229,9,20,.035);

    color: #b5bac3;
}


/* =========================================================
   SEO LINKS
========================================================= */

.seo-content-panel a {
    color: #e50914;

    font-weight: 700;

    transition: color .2s ease;
}

.seo-content-panel a:hover {
    color: #ff2632;
}


/* =========================================================
   SEO FINAL PARAGRAPH
========================================================= */

.seo-content-panel > p:last-child {
    position: relative;

    margin-top: 8px;

    padding-top: 28px;

    border-top: 1px solid rgba(255,255,255,.06);
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    padding: 70px 0 25px;

    border-top: 1px solid rgba(255,255,255,.07);

    background: #05070a;
}

.footer-main {
    display: grid;

    grid-template-columns:
        2fr 1fr 1fr 1fr;

    gap: 50px;

    padding-bottom: 60px;
}

.footer-brand p {
    max-width: 300px;

    margin-top: 17px;

    color: #646b76;

    font-size: 12px;
}

.footer-column {
    display: flex;
    flex-direction: column;

    gap: 11px;
}

.footer-column h3 {
    margin-bottom: 8px;

    color: #fff;

    font-size: 11px;

    letter-spacing: .08em;

    text-transform: uppercase;
}

.footer-column a {
    color: #626975;

    font-size: 12px;

    transition: .2s ease;
}

.footer-column a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;

    gap: 20px;

    padding-top: 25px;

    border-top: 1px solid rgba(255,255,255,.06);

    color: #4e5560;

    font-size: 10px;
}

.footer-bottom div {
    display: flex;

    gap: 20px;
}

.footer-bottom a:hover {
    color: #fff;
}


/* =========================================================
   SCROLL REVEAL
========================================================= */

.reveal {
    opacity: 0;

    transform: translateY(20px);

    transition:
        opacity .7s ease,
        transform .7s ease;
}

.reveal.visible {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   ANIMATION
========================================================= */

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }

}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 1;

        box-shadow:
            0 0 0 5px rgba(229,9,20,.1),
            0 0 18px rgba(229,9,20,.55);
    }

    50% {
        opacity: .65;

        box-shadow:
            0 0 0 8px rgba(229,9,20,.04),
            0 0 25px rgba(229,9,20,.35);
    }

}


/* =========================================================
   SELECTION
========================================================= */

::selection {
    background: rgba(229,9,20,.3);
    color: #fff;
}


/* =========================================================
   SCROLLBAR
========================================================= */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #05070a;
}

::-webkit-scrollbar-thumb {
    background: #242832;

    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e50914;
}


/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 1000px) {

    .main-nav {
        gap: 18px;
        margin-right: 15px;
    }

    .feature-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .movie-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .genre-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .catalog-panel {
        grid-template-columns: 1fr;
    }

    .catalog-visual {
        min-height: 400px;
    }

    .series-panel {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns:
            2fr 1fr 1fr;
    }

    /* SEO */

    .seo-content-panel {
        padding: 55px 45px;
    }

    .seo-content-panel h2 {
        font-size: 40px;
    }

    .seo-list {
        gap: 9px 15px;
    }

}


/* =========================================================
   RESPONSIVE - TABLET SMALL
========================================================= */

@media (max-width: 760px) {

    .movie-grid {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 14px;
    }

    .movie-poster {
        height: 280px;

        padding: 20px;
    }

    .poster-content strong {
        font-size: 24px;
    }

}


/* =========================================================
   RESPONSIVE - MOBILE
========================================================= */

@media (max-width: 700px) {

    .container {
        width: min(
            100% - 28px,
            1180px
        );
    }

    .header-inner {
        height: 65px;
    }

    .main-nav,
    .header-button {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .mobile-nav {
        position: fixed;

        top: 65px;
        left: 0;
        right: 0;

        z-index: 999;

        display: none;
        flex-direction: column;

        padding: 15px;

        background: #0a0d12;

        border-bottom: 1px solid rgba(255,255,255,.08);

        box-shadow:
            0 20px 40px rgba(0,0,0,.25);
    }

    .mobile-nav.active {
        display: flex;
    }

    .mobile-nav a {
        padding: 14px;

        border-radius: 7px;

        color: #aaa;

        font-size: 13px;
    }

    .mobile-nav a:hover {
        background: rgba(255,255,255,.04);

        color: #fff;
    }


    /* =====================================================
       HERO MOBILE
    ===================================================== */

    .hero {
        min-height: 600px;

        text-align: center;
    }

    .hero-content {
        padding: 70px 0;
    }

    .eyebrow {
        font-size: 10px;
    }

    .hero h1 {
        max-width: 100%;

        font-size: 48px;

        letter-spacing: -.06em;
    }

    .hero-description {
        max-width: 600px;

        font-size: 14px;

        line-height: 1.7;
    }

    .search-box {
        height: 60px;

        margin-top: 30px;
    }

    .search-icon {
        width: 42px;

        flex-basis: 42px;
    }

    .search-submit {
        padding: 0 15px;
    }

    .hero-actions {
        width: 100%;

        flex-direction: column;

        gap: 10px;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
    }

    .popular-row {
        justify-content: center;

        text-align: center;
    }


    /* =====================================================
       SECTIONS
    ===================================================== */

    .features-section,
    .discovery-section,
    .categories-section,
    .top-rated-section,
    .faq-section,
    .series-section {
        padding: 70px 0;
    }

    .section-heading {
        display: block;
    }

    .section-heading > * {
        margin-bottom: 20px;
    }


    /* =====================================================
       GRIDS
    ===================================================== */

    .feature-grid,
    .movie-grid {
        grid-template-columns: 1fr;
    }

    .genre-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    /* =====================================================
       CATALOG
    ===================================================== */

    .catalog-content {
        padding: 35px 25px;
    }

    .catalog-visual {
        min-height: 410px;

        padding: 20px 0;
    }

    .visual-card {
        width: 270px;
        height: 350px;
    }

    .visual-title {
        font-size: 24px;
    }

    .visual-rating strong {
        font-size: 27px;
    }

    .card-one {
        left: -2px;
        top: 65px;
    }

    .card-two {
        right: -2px;
        bottom: 60px;
    }


    /* =====================================================
       SERIES
    ===================================================== */

    .series-panel {
        padding: 30px 20px;
    }


    /* =====================================================
       REQUEST
    ===================================================== */

    .request-box {
        flex-direction: column;

        align-items: flex-start;

        padding: 35px 25px;
    }


    /* =====================================================
       SEO CONTENT
    ===================================================== */

    .seo-content-section {
        padding: 70px 0;
    }

    .seo-content-panel {
        padding: 40px 25px;

        border-radius: 14px;
    }

    .seo-content-panel::after {
        width: 2px;
    }

    .seo-content-panel .section-label {
        font-size: 9px;

        letter-spacing: .14em;
    }

    .seo-content-panel h2 {
        margin-bottom: 25px;

        font-size: 32px;

        line-height: 1.08;
    }

    .seo-content-panel p {
        font-size: 13px;

        line-height: 1.8;

        margin-bottom: 18px;
    }

    .seo-content-panel h3 {
        margin-top: 38px;

        font-size: 18px;
    }

    .seo-list {
        grid-template-columns: 1fr;

        gap: 8px;

        margin-top: 22px;
    }

    .seo-list li {
        padding: 10px 12px 10px 36px;

        font-size: 12px;
    }


    /* =====================================================
       FOOTER
    ===================================================== */

    .footer-main {
        grid-template-columns:
            1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
    }

}


/* =========================================================
   RESPONSIVE - SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .movie-grid {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 10px;
    }

    .movie-poster {
        height: 230px;

        padding: 15px;
    }

    .poster-number {
        top: 10px;
        left: 10px;
    }

    .poster-content small {
        font-size: 8px;
    }

    .poster-content strong {
        font-size: 19px;
    }

    .movie-info {
        padding: 13px;
    }

    .movie-info h3 {
        font-size: 12px;
        padding-right: 42px;
    }

    .movie-meta {
        font-size: 9px;
        gap: 5px;
    }

    .rating {
        top: 14px;
        right: 13px;

        font-size: 10px;
    }

}


/* =========================================================
   RESPONSIVE - 430px
========================================================= */

@media (max-width: 430px) {

    .hero {
        min-height: 570px;
    }

    .hero-content {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-description {
        font-size: 13px;
    }

    .search-box {
        height: 57px;

        padding: 5px;
    }

    .search-icon {
        width: 36px;

        flex-basis: 36px;
    }

    .search-icon svg {
        width: 18px;
    }

    .search-box input {
        font-size: 13px;
    }

    .search-submit {
        height: 47px;

        padding: 0 13px;

        font-size: 12px;
    }

    .popular-row {
        gap: 5px;

        font-size: 11px;
    }

    .popular-row a {
        padding: 5px 8px;
    }

    .genre-grid {
        grid-template-columns: 1fr;
    }

    .movie-poster {
        height: 330px;
    }


    /* =====================================================
       CATALOG MOBILE
    ===================================================== */

    .catalog-visual {
        min-height: 380px;
    }

    .visual-card {
        width: 245px;
        height: 325px;
    }

    .visual-top {
        top: 20px;
        left: 20px;
        right: 20px;
    }

    .visual-movie-content {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }

    .visual-title {
        font-size: 22px;
    }

    .floating-card {
        padding: 9px 11px;

        font-size: 10px;
    }

    .card-one {
        left: -8px;
    }

    .card-two {
        right: -8px;
    }


    /* =====================================================
       SEO CONTENT MOBILE
    ===================================================== */

    .seo-content-section {
        padding: 55px 0;
    }

    .seo-content-panel {
        padding: 32px 20px;

        border-radius: 12px;
    }

    .seo-content-panel h2 {
        font-size: 28px;

        letter-spacing: -.045em;
    }

    .seo-content-panel h3 {
        margin-top: 34px;

        padding-left: 14px;

        font-size: 17px;
    }

    .seo-content-panel p {
        font-size: 12.5px;

        line-height: 1.8;
    }

    .seo-list li {
        min-height: auto;

        font-size: 11.5px;
    }


    /* =====================================================
       FOOTER
    ===================================================== */

    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: auto;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

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

}