@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* =========================================================
   FILMOTEKA
   PREMIUM CINEMATIC BLUE
   ========================================================= */

:root {
    --bg: #05070b;
    --bg-2: #080b11;
    --surface: #0d1118;
    --surface-2: #111720;
    --surface-3: #161d27;

    --blue: #1677ff;
    --blue-light: #4d9aff;
    --blue-dark: #0b5cff;
    --blue-soft: rgba(22, 119, 255, 0.14);
    --blue-glow: rgba(22, 119, 255, 0.28);

    --white: #ffffff;
    --text: #f2f5f9;
    --text-soft: #c5ccd6;
    --muted: #818b99;
    --muted-2: #5d6672;

    --yellow: #f5c451;

    --border: rgba(255, 255, 255, 0.075);
    --border-light: rgba(255, 255, 255, 0.12);

    --radius: 12px;
    --radius-sm: 8px;

    --container: 1900px;

    --ease: cubic-bezier(.22, 1, .36, 1);
    --transition: .35s var(--ease);
}


/* =========================================================
   RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    min-height: 100vh;

    background:
        radial-gradient(circle at 50% -15%,
            rgba(22, 119, 255, 0.055),
            transparent 38%),
        linear-gradient(180deg,
            #05070b 0%,
            #07090d 45%,
            #05070b 100%);

    color: var(--text);

    font-family: 'Outfit', sans-serif;

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    max-width: 100%;
}

a,
button {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    font-family: inherit;
}

button {
    outline: none;
}

::selection {
    background: rgba(22, 119, 255, .35);
    color: white;
}


/* =========================================================
   SCROLLBAR
   ========================================================= */

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #05070b;
}

::-webkit-scrollbar-thumb {
    background: #202936;
    border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2d394a;
}


/* =========================================================
   NAVBAR
   ========================================================= */

.navbar {
    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    height: 76px;

    z-index: 1000;

    display: flex;
    align-items: center;

    gap: 45px;

    padding: 0 clamp(22px, 4vw, 70px);

    background:
        linear-gradient(180deg,
            rgba(5, 7, 11, .88),
            rgba(5, 7, 11, .56));

    border-bottom: 1px solid rgba(255, 255, 255, .035);

    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);

    transition:
        background .35s ease,
        border-color .35s ease;
}

.navbar::after {
    content: '';

    position: absolute;

    left: 0;
    right: 0;
    bottom: -1px;

    height: 1px;

    background:
        linear-gradient(90deg,
            transparent,
            rgba(22, 119, 255, .16),
            transparent);

    pointer-events: none;
}


/* =========================================================
   LOGO
   ========================================================= */

.logo {
    position: relative;

    flex-shrink: 0;

    color: #fff;

    font-size: 27px;
    font-weight: 800;

    letter-spacing: -1.3px;

    transition: var(--transition);
}

.logo span {
    color: var(--blue);
}

.logo:hover {
    transform: translateY(-1px);
}

.logo:hover span {
    color: var(--blue-light);
}


/* =========================================================
   NAV LINKS
   ========================================================= */

.nav-links {
    display: flex;
    align-items: center;

    gap: 28px;

    height: 100%;
}

.nav-links a,
.dropbtn {
    position: relative;

    display: flex;
    align-items: center;

    height: 100%;

    color: #8d97a5;

    font-size: 14px;
    font-weight: 500;

    white-space: nowrap;

    background: transparent;
    border: 0;

    cursor: pointer;

    transition: color .25s ease;
}

.nav-links a::after,
.dropbtn::after {
    content: '';

    position: absolute;

    left: 0;
    right: 0;

    bottom: 0;

    width: 0;
    height: 2px;

    margin: auto;

    border-radius: 10px;

    background: var(--blue);

    box-shadow:
        0 0 14px rgba(22, 119, 255, .35);

    transition: width .3s var(--ease);
}

.nav-links a:hover,
.nav-links a.active,
.dropbtn:hover {
    color: #fff;
}

.nav-links a:hover::after,
.nav-links a.active::after,
.dropbtn:hover::after {
    width: 100%;
}


/* =========================================================
   DROPDOWN
   ========================================================= */

.dropdown {
    position: relative;

    height: 100%;

    display: flex;
    align-items: center;
}

.dropdown-content {
    position: absolute;

    top: calc(100% + 13px);
    left: -20px;

    width: 285px;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 5px;

    padding: 10px;

    background:
        rgba(12, 16, 23, .96);

    border: 1px solid var(--border-light);

    border-radius: 12px;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, .65),
        0 0 35px rgba(22, 119, 255, .04);

    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);

    opacity: 0;
    visibility: hidden;

    transform:
        translateY(8px) scale(.98);

    transition:
        opacity .25s ease,
        visibility .25s ease,
        transform .25s var(--ease);
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
    opacity: 1;
    visibility: visible;

    transform:
        translateY(0) scale(1);
}

.dropdown-content a {
    display: block;

    height: auto;

    padding: 11px;

    border-radius: 7px;

    color: #929ba8;

    font-size: 12px;

    transition:
        color .2s ease,
        background .2s ease;
}

.dropdown-content a::after {
    display: none;
}

.dropdown-content a:hover {
    color: #fff;

    background:
        rgba(22, 119, 255, .10);
}


/* =========================================================
   SEARCH
   ========================================================= */

.search-box {
    position: relative;

    margin-left: auto;

    flex-shrink: 0;
}

.search-box::before {
    content: '';

    position: absolute;

    left: 15px;
    top: 50%;

    width: 13px;
    height: 13px;

    transform:
        translateY(-58%) rotate(-45deg);

    border: 2px solid #66717f;

    border-radius: 50%;

    z-index: 2;

    pointer-events: none;
}

.search-box::after {
    content: '';

    position: absolute;

    left: 28px;
    top: 50%;

    width: 6px;
    height: 2px;

    transform:
        translateY(2px) rotate(45deg);

    background: #66717f;

    border-radius: 2px;

    z-index: 2;

    pointer-events: none;
}

.search-box input {
    width: 270px;
    height: 42px;

    padding:
        0 15px 0 47px;

    color: white;

    font-size: 12px;

    background:
        rgba(255, 255, 255, .045);

    border: 1px solid rgba(255, 255, 255, .08);

    border-radius: 9px;

    outline: none;

    transition:
        width .4s var(--ease),
        border-color .3s ease,
        background .3s ease,
        box-shadow .3s ease;
}

.search-box input::placeholder {
    color: #66707d;
}

.search-box input:hover {
    background:
        rgba(255, 255, 255, .06);
}

.search-box input:focus {
    width: 340px;

    background:
        rgba(255, 255, 255, .065);

    border-color:
        rgba(22, 119, 255, .5);

    box-shadow:
        0 0 0 3px rgba(22, 119, 255, .08),
        0 10px 40px rgba(0, 0, 0, .25);
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;

    width: min(100%, var(--container));

    min-height: min(850px, 92vh);

    margin: 0 auto;

    display: flex;
    align-items: flex-end;

    padding:
        130px clamp(25px, 5vw, 90px) 85px;

    overflow: hidden;
}

#hero-bg {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;

    z-index: 0;

    filter:
        brightness(.76) saturate(.82);

    transform: scale(1.025);

    transition:
        opacity .7s ease,
        transform 8s var(--ease);
}


/* LEFT CINEMATIC GRADIENT */

.hero::before {
    content: '';

    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(90deg,
            #05070b 0%,
            rgba(5, 7, 11, .96) 15%,
            rgba(5, 7, 11, .78) 35%,
            rgba(5, 7, 11, .36) 62%,
            rgba(5, 7, 11, .05) 100%);
}


/* BOTTOM CINEMATIC GRADIENT */

.hero::after {
    content: '';

    position: absolute;

    inset: 0;

    z-index: 2;

    background:
        linear-gradient(0deg,
            #05070b 0%,
            rgba(5, 7, 11, .94) 5%,
            rgba(5, 7, 11, .3) 35%,
            transparent 65%);
}


/* EXTRA BLUE CINEMATIC LIGHT */

.hero-overlay {
    position: absolute;

    inset: 0;

    z-index: 3;

    background:
        radial-gradient(ellipse at 70% 42%,
            rgba(22, 119, 255, .08),
            transparent 38%);
}


/* =========================================================
   HERO CONTENT
   ========================================================= */

.hero-content {
    position: relative;

    z-index: 10;

    width: min(720px, 100%);
}

.neon-badge {
    display: inline-flex;
    align-items: center;

    padding:
        6px 10px;

    margin-bottom: 18px;

    color: #70aaff;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1.4px;

    text-transform: uppercase;

    background:
        rgba(22, 119, 255, .11);

    border:
        1px solid rgba(22, 119, 255, .3);

    border-radius: 5px;

    box-shadow:
        0 0 25px rgba(22, 119, 255, .06);
}

.hero h1 {
    max-width: 800px;

    margin-bottom: 17px;

    color: white;

    font-size:
        clamp(42px,
            5.7vw,
            82px);

    font-weight: 800;

    line-height: .98;

    letter-spacing: -3px;

    text-shadow:
        0 4px 30px rgba(0, 0, 0, .35);
}

.hero p {
    max-width: 630px;

    margin-bottom: 28px;

    color: #b3bbc6;

    font-size:
        clamp(14px,
            1.25vw,
            17px);

    font-weight: 400;

    line-height: 1.7;
}


/* =========================================================
   HERO BUTTON
   ========================================================= */

.cyber-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    min-height: 47px;

    padding:
        0 24px;

    color: white;

    background:
        linear-gradient(135deg,
            var(--blue),
            var(--blue-dark));

    border: 0;

    border-radius: 8px;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 8px 30px rgba(22, 119, 255, .18);

    transition:
        transform .35s var(--ease),
        box-shadow .35s ease,
        filter .35s ease;
}

.cyber-btn:hover {
    transform: translateY(-3px);

    filter: brightness(1.08);

    box-shadow:
        0 14px 42px rgba(22, 119, 255, .3);
}

.cyber-btn:active {
    transform: translateY(-1px);
}


/* =========================================================
   MAIN
   ========================================================= */

.container {
    width: min(100%, var(--container));

    margin: 0 auto;

    padding:
        30px clamp(20px, 4vw, 70px) 80px;
}


/* =========================================================
   AD
   ========================================================= */

.ad-slot {
    width: 100%;

    min-height: 82px;

    margin:
        0 0 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1px dashed rgba(255, 255, 255, .07);

    border-radius: 10px;

    background:
        rgba(255, 255, 255, .012);

    color: #464e58;

    font-size: 10px;

    letter-spacing: .8px;

    text-transform: uppercase;
}

.ad-slot:nth-of-type(2) {
    margin-top: 55px;
}


/* =========================================================
   SECTION TITLE
   ========================================================= */

.section-title {
    position: relative;

    display: flex;
    align-items: center;

    margin-bottom: 22px;

    padding-left: 15px;

    color: white;

    font-size:
        clamp(20px,
            2vw,
            27px);

    font-weight: 700;

    letter-spacing: -.7px;
}

.section-title::before {
    content: '';

    position: absolute;

    left: 0;

    width: 4px;
    height: 24px;

    border-radius: 8px;

    background:
        linear-gradient(180deg,
            var(--blue-light),
            var(--blue-dark));

    box-shadow:
        0 0 18px rgba(22, 119, 255, .25);
}


/* =========================================================
   MOVIE GRID
   ========================================================= */

.movie-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fill,
            minmax(175px,
                1fr));

    gap: 20px;
}


/* =========================================================
   MOVIE CARD
   ========================================================= */

.card {
    position: relative;

    min-width: 0;

    overflow: hidden;

    background: var(--surface);

    border:
        1px solid rgba(255, 255, 255, .055);

    border-radius: var(--radius);

    cursor: pointer;

    transition:
        transform .45s var(--ease),
        border-color .35s ease,
        box-shadow .45s ease;
}

.card:hover {
    transform:
        translateY(-7px) scale(1.015);

    border-color:
        rgba(22, 119, 255, .35);

    box-shadow:
        0 18px 45px rgba(0, 0, 0, .5),
        0 0 25px rgba(22, 119, 255, .06);

    z-index: 5;
}


/* POSTER */

.card img {
    display: block;

    width: 100%;

    aspect-ratio: 2 / 3;

    object-fit: cover;

    background:
        linear-gradient(135deg,
            #10151c,
            #080a0e);

    transition:
        transform .65s var(--ease),
        filter .45s ease;
}

.card:hover img {
    transform: scale(1.055);

    filter:
        brightness(.68) saturate(.92);
}


/* =========================================================
   CARD CINEMATIC GRADIENT
   ========================================================= */

.card::after {
    content: '';

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 58%;

    z-index: 2;

    pointer-events: none;

    background:
        linear-gradient(180deg,
            transparent 0%,
            rgba(5, 7, 11, .15) 20%,
            rgba(5, 7, 11, .82) 75%,
            rgba(5, 7, 11, .98) 100%);

    opacity: .92;
}


/* =========================================================
   CARD INFO
   ========================================================= */

.card-info {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    z-index: 5;

    padding:
        45px 14px 14px;
}

.card-title {
    overflow: hidden;

    margin-bottom: 7px;

    color: white;

    font-size: 14px;

    font-weight: 700;

    line-height: 1.25;

    white-space: nowrap;

    text-overflow: ellipsis;
}

.card-meta {
    display: flex;

    align-items: center;

    gap: 9px;

    color: #8993a0;

    font-size: 11px;

    font-weight: 500;
}

.card-meta span.rating {
    color: var(--yellow);

    font-weight: 700;
}


/* =========================================================
   PLAY OVERLAY
   ========================================================= */

.card::before {
    content: '▶';

    position: absolute;

    left: 50%;
    top: 50%;

    width: 53px;
    height: 53px;

    display: grid;
    place-items: center;

    transform:
        translate(-50%, -50%) scale(.72);

    z-index: 10;

    color: #07101c;

    background:
        rgba(255, 255, 255, .94);

    border-radius: 50%;

    font-size: 15px;

    padding-left: 2px;

    opacity: 0;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, .4);

    transition:
        opacity .3s ease,
        transform .4s var(--ease);
}

.card:hover::before {
    opacity: 1;

    transform:
        translate(-50%, -50%) scale(1);
}


/* =========================================================
   CARD BADGES
   ========================================================= */

/*
   Ako JS pravi .quality / .rating / .year
   ovo ih automatski hvata.
*/

.card .quality,
.card .quality-badge,
.card .badge-quality {
    position: absolute;

    top: 10px;
    left: 10px;

    z-index: 8;

    padding:
        4px 7px;

    color: #fff;

    background:
        rgba(5, 8, 13, .75);

    border:
        1px solid rgba(255, 255, 255, .16);

    border-radius: 5px;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: .4px;

    backdrop-filter: blur(10px);
}

.card .rating,
.card .rating-badge,
.card .badge-rating {
    position: absolute;

    top: 10px;
    right: 10px;

    z-index: 8;

    padding:
        4px 7px;

    color: var(--yellow);

    background:
        rgba(5, 8, 13, .75);

    border:
        1px solid rgba(245, 196, 81, .2);

    border-radius: 5px;

    font-size: 9px;

    font-weight: 700;

    backdrop-filter: blur(10px);
}


/* =========================================================
   SKELETON
   ========================================================= */

.loader {
    grid-column: 1 / -1;

    min-height: 320px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: var(--muted);

    font-size: 13px;
}

.loader::before {
    content: '';

    width: 30px;
    height: 30px;

    margin-right: 13px;

    border:
        3px solid rgba(255, 255, 255, .08);

    border-top-color:
        var(--blue);

    border-radius: 50%;

    animation:
        spin .8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   SKELETON CARDS
   ========================================================= */

.skeleton {
    position: relative;

    overflow: hidden;

    background:
        linear-gradient(110deg,
            #0d1117,
            #151b23,
            #0d1117);

    background-size: 200% 100%;

    animation:
        skeleton 1.5s infinite;
}

.skeleton::after {
    content: '';

    position: absolute;

    inset: 0;

    background:
        linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, .045),
            transparent);

    transform: translateX(-100%);

    animation:
        skeleton-shine 1.3s infinite;
}

@keyframes skeleton {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

@keyframes skeleton-shine {
    100% {
        transform: translateX(100%);
    }
}


/* =========================================================
   PLAYER
   ========================================================= */

.player-container {
    width: min(1300px, 100%);

    margin: 0 auto;

    padding:
        115px 25px 60px;
}

.video-wrapper {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #000;

    border:
        1px solid var(--border);

    border-radius: var(--radius);

    box-shadow:
        0 30px 80px rgba(0, 0, 0, .5);
}

.video-wrapper iframe {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    border: 0;
}


/* =========================================================
   PLAYER LAYOUT
   ========================================================= */

.player-layout {
    width: min(1600px, 100%);

    margin: 0 auto;

    padding:
        110px 4% 70px;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr) 310px;

    gap: 25px;

    align-items: start;
}

.player-main {
    min-width: 0;

    display: flex;

    flex-direction: column;

    gap: 18px;
}

.player-info {
    padding: 25px;

    background:
        linear-gradient(145deg,
            rgba(255, 255, 255, .035),
            rgba(255, 255, 255, .012));

    border:
        1px solid var(--border);

    border-radius: var(--radius);
}

.info-title {
    margin-bottom: 14px;

    color: white;

    font-size:
        clamp(25px,
            3vw,
            40px);

    font-weight: 800;

    letter-spacing: -1.3px;
}

.info-meta {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 20px;
}

.badge-year,
.badge-rating,
.badge-quality,
.badge-duration {
    padding:
        5px 9px;

    background:
        rgba(255, 255, 255, .035);

    border:
        1px solid var(--border);

    border-radius: 5px;

    color: #9da6b2;

    font-size: 11px;
}

.badge-rating {
    color: var(--yellow);
}

.badge-quality {
    color: #71aaff;

    border-color:
        rgba(22, 119, 255, .25);
}

.info-desc {
    max-width: 900px;

    margin-bottom: 20px;

    color: #919aa6;

    font-size: 14px;

    line-height: 1.8;
}

.info-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin-bottom: 22px;
}

.tag {
    padding:
        5px 9px;

    color: #8e99a7;

    background:
        rgba(22, 119, 255, .06);

    border:
        1px solid rgba(22, 119, 255, .12);

    border-radius: 5px;

    font-size: 11px;
}

.info-cast {
    display: flex;

    flex-direction: column;

    gap: 8px;

    padding-top: 20px;

    border-top:
        1px solid var(--border);

    color: #7f8996;

    font-size: 12px;
}

.info-cast strong {
    min-width: 70px;

    display: inline-block;

    color: #d8dee6;
}


/* =========================================================
   SIDEBAR
   ========================================================= */

.player-sidebar {
    position: sticky;

    top: 95px;

    padding: 18px;

    background:
        rgba(13, 17, 24, .82);

    border:
        1px solid var(--border);

    border-radius: var(--radius);

    backdrop-filter: blur(20px);
}

.sidebar-title {
    margin-bottom: 16px;

    color: white;

    font-size: 16px;

    font-weight: 700;
}

.related-grid {
    display: flex;

    flex-direction: column;

    gap: 8px;
}

.related-card {
    display: flex;

    align-items: center;

    gap: 11px;

    padding: 7px;

    border:
        1px solid transparent;

    border-radius: 8px;

    cursor: pointer;

    transition: var(--transition);
}

.related-card:hover {
    background:
        rgba(22, 119, 255, .06);

    border-color:
        rgba(22, 119, 255, .14);
}

.related-card img {
    width: 48px;
    height: 68px;

    flex-shrink: 0;

    object-fit: cover;

    border-radius: 5px;
}

.related-name {
    color: #cbd1d9;

    font-size: 12px;

    font-weight: 600;

    line-height: 1.4;
}


/* =========================================================
   TV CONTROLS
   ========================================================= */

.tv-controls {
    display: flex;

    flex-wrap: wrap;

    gap: 9px;

    margin-bottom: 20px;
}

.cyber-select {
    padding:
        10px 35px 10px 13px;

    color: #c5ccd5;

    background:
        var(--surface);

    border:
        1px solid var(--border);

    border-radius: 7px;

    font-size: 12px;

    cursor: pointer;
}

.cyber-link {
    color: #8290a0;

    font-size: 12px;

    transition: color .25s ease;
}

.cyber-link:hover {
    color: var(--blue-light);
}


/* =========================================================
   PLAYER LOADING
   ========================================================= */

.player-loading {
    position: absolute;

    inset: 0;

    z-index: 20;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    background: #020304;

    transition:
        opacity .35s ease,
        visibility .35s ease;
}

.player-loading.hidden {
    opacity: 0;

    visibility: hidden;

    pointer-events: none;
}

.spinner {
    width: 40px;
    height: 40px;

    margin-bottom: 13px;

    border:
        3px solid rgba(255, 255, 255, .08);

    border-top-color:
        var(--blue);

    border-radius: 50%;

    animation:
        spin .8s linear infinite;
}

.player-loading p {
    color: #68727e;

    font-size: 12px;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
    position: relative;

    padding:
        55px clamp(20px, 5vw, 80px) 25px;

    border-top:
        1px solid var(--border);

    background:
        linear-gradient(180deg,
            #07090d,
            #040507);

    text-align: center;
}

.footer-logo {
    margin-bottom: 9px;

    color: white;

    font-size: 25px;

    font-weight: 800;

    letter-spacing: -1px;
}

.footer-logo span {
    color: var(--blue);
}

.footer-content>p {
    color: #68717d;

    font-size: 12px;
}

.footer-links {
    display: flex;

    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 22px;

    margin: 23px 0;
}

.footer-links a {
    color: #707985;

    font-size: 12px;

    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--blue-light);
}

.footer-bottom {
    padding-top: 20px;

    border-top:
        1px solid rgba(255, 255, 255, .045);

    color: #444c56;

    font-size: 10px;
}


/* =========================================================
   PAGE ENTER
   ========================================================= */

body {
    animation:
        pageEnter .45s ease both;
}

@keyframes pageEnter {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================================
   FOCUS
   ========================================================= */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
    outline:
        2px solid var(--blue-light);

    outline-offset: 3px;
}


/* =========================================================
   4K / ULTRAWIDE
   ========================================================= */

@media (min-width: 1800px) {

    .navbar {
        padding-left: 60px;
        padding-right: 60px;
    }

    .movie-grid {
        grid-template-columns:
            repeat(auto-fill,
                minmax(190px,
                    1fr));

        gap: 22px;
    }

    .hero {
        min-height: 900px;
    }
}


/* =========================================================
   1200px
   ========================================================= */

@media (max-width: 1200px) {

    .navbar {
        gap: 25px;
    }

    .nav-links {
        gap: 19px;
    }

    .search-box input {
        width: 220px;
    }

    .search-box input:focus {
        width: 270px;
    }

    .player-layout {
        grid-template-columns:
            minmax(0, 1fr) 270px;
    }
}


/* =========================================================
   1000px
   ========================================================= */

@media (max-width: 1000px) {

    .nav-links {
        gap: 15px;
    }

    .nav-links a,
    .dropbtn {
        font-size: 13px;
    }

    .search-box input {
        width: 190px;
    }

    .search-box input:focus {
        width: 230px;
    }

    .player-layout {
        grid-template-columns: 1fr;
    }

    .player-sidebar {
        position: static;
    }

    .related-grid {
        display: grid;

        grid-template-columns:
            repeat(auto-fill,
                minmax(200px, 1fr));
    }
}


/* =========================================================
   800px
   ========================================================= */

@media (max-width: 800px) {

    .navbar {
        gap: 20px;

        padding:
            0 20px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        min-height: 700px;

        padding:
            140px 30px 70px;
    }

    .hero::before {
        background:
            linear-gradient(90deg,
                #05070b 0%,
                rgba(5, 7, 11, .82) 45%,
                rgba(5, 7, 11, .25) 100%);
    }

    .movie-grid {
        grid-template-columns:
            repeat(auto-fill,
                minmax(160px,
                    1fr));
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .navbar {
        height: auto;
        min-height: 64px;

        flex-wrap: wrap;

        gap: 10px;

        padding:
            12px 15px;
    }

    .logo {
        font-size: 23px;
    }

    .search-box {
        order: 3;

        width: 100%;

        margin: 2px 0 0;
    }

    .search-box input,
    .search-box input:focus {
        width: 100%;

        height: 40px;
    }

    .hero {
        min-height: 650px;

        padding:
            205px 20px 55px;
    }

    #hero-bg {
        height: 70%;

        object-position:
            center top;

        filter:
            brightness(.72) saturate(.8);
    }

    .hero::before {
        background:
            linear-gradient(180deg,
                rgba(5, 7, 11, .05) 0%,
                rgba(5, 7, 11, .22) 25%,
                rgba(5, 7, 11, .82) 68%,
                #05070b 94%);
    }

    .hero::after {
        background:
            linear-gradient(0deg,
                #05070b 0%,
                transparent 55%);
    }

    .hero h1 {
        font-size:
            clamp(34px,
                11vw,
                50px);

        letter-spacing: -2px;
    }

    .hero p {
        font-size: 13px;

        line-height: 1.6;

        margin-bottom: 20px;

        display: -webkit-box;

        -webkit-line-clamp: 3;

        -webkit-box-orient: vertical;

        overflow: hidden;
    }

    .cyber-btn {
        width: auto;

        min-height: 44px;

        padding:
            0 19px;
    }

    .container {
        padding:
            22px 15px 60px;
    }

    .ad-slot {
        min-height: 65px;

        margin-bottom: 30px;
    }

    .section-title {
        margin-bottom: 16px;

        font-size: 19px;
    }

    .movie-grid {
        grid-template-columns:
            repeat(3,
                minmax(0, 1fr));

        gap: 10px;
    }

    .card {
        border-radius: 8px;
    }

    .card-info {
        padding:
            38px 9px 9px;
    }

    .card-title {
        font-size: 11px;
    }

    .card-meta {
        font-size: 9px;

        gap: 6px;
    }

    .card::before {
        width: 42px;
        height: 42px;

        font-size: 12px;
    }

    .player-container {
        padding:
            105px 12px 50px;
    }

    .player-layout {
        padding:
            100px 12px 50px;
    }

    .player-info {
        padding: 18px;
    }

    .info-title {
        font-size: 25px;
    }

    .info-desc {
        font-size: 13px;

        line-height: 1.7;
    }

    .related-grid {
        grid-template-columns:
            repeat(2,
                minmax(0, 1fr));
    }

    .related-card {
        flex-direction: column;

        align-items: stretch;
    }

    .related-card img {
        width: 100%;
        height: auto;

        aspect-ratio: 2 / 3;
    }

    .related-name {
        padding:
            3px 3px 7px;
    }

    footer {
        padding:
            45px 20px 22px;
    }
}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 400px) {

    .movie-grid {
        grid-template-columns:
            repeat(2,
                minmax(0, 1fr));

        gap: 12px;
    }

    .hero {
        min-height: 620px;

        padding:
            200px 16px 45px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero-buttons {
        width: 100%;
    }

    .cyber-btn {
        width: 100%;
    }
}


/* =========================================================
   REDUCE MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}