﻿:root {
    --fm-bg: #050506;
    --fm-bg-2: #080809;
    --fm-panel: #0d0d0f;
    --fm-panel-2: #111113;
    --fm-card: #151517;
    --fm-border: rgba(255, 255, 255, 0.08);
    --fm-border-light: rgba(255, 255, 255, 0.14);
    --fm-text: #f7f7f8;
    --fm-muted: #929297;
    --fm-muted-2: #68686d;
    --fm-red: #ff1738;
    --fm-red-dark: #d90d29;
    --fm-yellow: #ffd33d;
    --fm-radius: 12px;
    --fm-header: 72px;
    --fm-content: 1480px;
}

/* =========================================================
   BASE
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(
            circle at top right,
            rgba(255, 23, 56, 0.035),
            transparent 28%
        ),
        var(--fm-bg);
    color: var(--fm-text);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    border: 0;
}

img {
    display: block;
    max-width: 100%;
}

::selection {
    background: rgba(255, 23, 56, 0.28);
    color: #ffffff;
}

/* =========================================================
   SCROLLBAR
========================================================= */

::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}

::-webkit-scrollbar-track {
    background: var(--fm-bg);
}

::-webkit-scrollbar-thumb {
    background: #252529;
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3a3a40;
}

/* =========================================================
   MAIN CONTAINER
========================================================= */

.filmax-page {
    width: 100%;
    max-width: var(--fm-content);
    margin: 0 auto;
    padding: 0 28px;
}

/* =========================================================
   HEADER
========================================================= */

.filmax-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--fm-header);
    background: rgba(5, 5, 6, 0.94);
    border-bottom: 1px solid var(--fm-border);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.filmax-header-inner {
    width: 100%;
    max-width: var(--fm-content);
    height: 100%;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.filmax-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    color: var(--fm-text);
    font-size: 15px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.filmax-logo-mark {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    color: #fff;
    background: var(--fm-red);
    border-radius: 7px;
}

.filmax-logo-mark svg {
    width: 15px;
    height: 15px;
}

.filmax-logo > span:last-child {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.filmax-logo strong {
    font-size: 11px;
    line-height: 1;
}

.filmax-logo small {
    color: var(--fm-muted);
    font-size: 7px;
    line-height: 1;
    letter-spacing: 0.12em;
}

.filmax-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.filmax-nav a {
    color: var(--fm-muted);
    font-size: 11px;
    line-height: 1;
    font-weight: 600;
    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.filmax-nav a:hover,
.filmax-nav a.active {
    color: var(--fm-text);
}

.filmax-nav a:hover {
    transform: translateY(-1px);
}

/* =========================================================
   HEADER ACTIONS
========================================================= */

.filmax-header-actions {
    display: flex;
    align-items: center;
    gap: 9px;
}

.filmax-search-button {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: var(--fm-muted);
    background: var(--fm-panel);
    border: 1px solid var(--fm-border);
    border-radius: 8px;
    cursor: pointer;
    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.filmax-search-button:hover {
    color: #fff;
    background: var(--fm-panel-2);
}

.filmax-search-button svg {
    width: 15px;
    height: 15px;
}

.filmax-signin {
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    color: var(--fm-text);
    background: transparent;
    border: 1px solid var(--fm-border);
    border-radius: 8px;
    font-size: 10px;
    font-weight: 650;
    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.filmax-signin:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--fm-border-light);
}

.filmax-mobile-menu {
    width: 34px;
    height: 34px;
    display: none;
    align-items: center;
    justify-content: center;
    color: var(--fm-text);
    background: var(--fm-panel);
    border: 1px solid var(--fm-border);
    border-radius: 8px;
    cursor: pointer;
}

.filmax-mobile-menu svg {
    width: 16px;
    height: 16px;
}

/* =========================================================
   MOBILE NAV
========================================================= */

.filmax-mobile-nav {
    display: none;
}

/* =========================================================
   SEARCH
========================================================= */

.filmax-search-panel {
    margin-top: 18px;
    padding: 22px;
    background: var(--fm-panel);
    border: 1px solid var(--fm-border);
    border-radius: 12px;
}

.filmax-search-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.filmax-search-heading h2 {
    margin: 5px 0 0;
    font-size: 20px;
}

.filmax-close-search {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: var(--fm-muted);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    cursor: pointer;
}

.filmax-search-box {
    position: relative;
    margin-top: 18px;
}

.filmax-search-box svg {
    position: absolute;
    left: 13px;
    top: 50%;
    width: 15px;
    height: 15px;
    transform: translateY(-50%);
    color: var(--fm-muted);
}

.filmax-search-box input {
    width: 100%;
    height: 42px;
    padding: 0 14px 0 40px;
    color: #fff;
    background: var(--fm-bg);
    border: 1px solid var(--fm-border);
    border-radius: 9px;
    outline: none;
    font-size: 11px;
}

.filmax-search-box input:focus {
    border-color: rgba(255, 23, 56, 0.45);
}

/* =========================================================
   HERO
========================================================= */

.filmax-hero {
    position: relative;
    min-height: 470px;
    margin-top: 26px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border: 1px solid var(--fm-border);
    border-radius: var(--fm-radius);
    background: var(--fm-panel);
}

.filmax-hero-background {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.filmax-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(5, 5, 6, 0.96) 0%,
            rgba(5, 5, 6, 0.84) 28%,
            rgba(5, 5, 6, 0.42) 58%,
            rgba(5, 5, 6, 0.72) 100%
        ),
        linear-gradient(
            0deg,
            rgba(5, 5, 6, 0.92) 0%,
            transparent 48%
        );
    pointer-events: none;
}

.filmax-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 58px 54px 50px;
}

.filmax-kicker {
    margin-bottom: 10px;
    color: var(--fm-red);
    font-size: 8px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.filmax-hero-title,
.filmax-hero h1 {
    max-width: 680px;
    margin: 0;
    color: #fff;
    font-size: clamp(34px, 4.2vw, 62px);
    line-height: 0.98;
    font-weight: 850;
    letter-spacing: -0.045em;
}

.filmax-hero-description,
.filmax-hero p {
    max-width: 590px;
    margin: 19px 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    line-height: 1.7;
}

.filmax-hero-meta {
    display: flex;
    align-items: center;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 9px;
    font-weight: 600;
}

.filmax-hero-meta span {
    position: relative;
}

.filmax-hero-meta span:not(:last-child) {
    margin-right: 13px;
    padding-right: 13px;
}

.filmax-hero-meta span:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 3px;
    height: 3px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.32);
}

.filmax-hero-actions {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 25px;
}

.filmax-red-button {
    min-height: 37px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 16px;
    color: #fff;
    background: var(--fm-red);
    border-radius: 8px;
    font-size: 10px;
    font-weight: 750;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.filmax-red-button svg {
    width: 13px;
    height: 13px;
}

.filmax-red-button:hover {
    background: var(--fm-red-dark);
    transform: translateY(-1px);
}

.filmax-outline-button {
    min-height: 37px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 16px;
    color: var(--fm-text);
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    font-size: 10px;
    font-weight: 650;
    cursor: pointer;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.filmax-outline-button svg {
    width: 13px;
    height: 13px;
}

.filmax-outline-button:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.22);
    transform: translateY(-1px);
}

.filmax-hero-poster {
    position: absolute;
    z-index: 1;
    right: 48px;
    bottom: 40px;
    width: 210px;
    height: 310px;
    overflow: hidden;
    border-radius: 8px;
    opacity: 0.72;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.filmax-hero-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================================================
   HERO CONTROLS
========================================================= */

.filmax-hero-controls {
    position: absolute;
    right: 25px;
    bottom: 25px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 6px;
}

.filmax-hero-controls button {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.72);
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 7px;
    cursor: pointer;
    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.filmax-hero-controls button:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.filmax-hero-controls svg {
    width: 14px;
    height: 14px;
}

.filmax-dots {
    display: flex;
    align-items: center;
    gap: 4px;
}

.filmax-dots button {
    width: 5px;
    height: 5px;
    padding: 0;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 50%;
}

.filmax-dots button.active {
    width: 15px;
    border-radius: 99px;
    background: var(--fm-red);
}

/* =========================================================
   CINE VERSE HERO ANIMATION
========================================================= */

.cine-verse-reveal {
    animation: cineVerseReveal 0.8s ease both;
}

.cine-verse-kicker {
    animation: cineVerseKicker 0.7s ease both;
}

.cine-verse-title {
    animation: cineVerseTitle 0.85s 0.08s ease both;
}

.cine-verse-text {
    animation: cineVerseText 0.85s 0.16s ease both;
}

@keyframes cineVerseReveal {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cineVerseKicker {
    from {
        opacity: 0;
        transform: translateY(8px);
        letter-spacing: 0.28em;
    }

    to {
        opacity: 1;
        transform: translateY(0);
        letter-spacing: 0.18em;
    }
}

@keyframes cineVerseTitle {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cineVerseText {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   BRAND STRIP
========================================================= */

.filmax-brand-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 18px;
    overflow: hidden;
    border: 1px solid var(--fm-border);
    border-radius: 9px;
    background: var(--fm-panel);
}

.filmax-brand {
    min-height: 62px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 18px;
    border-right: 1px solid var(--fm-border);
}

.filmax-brand:last-child {
    border-right: 0;
}

.filmax-brand span {
    color: var(--fm-muted-2);
    font-size: 7px;
    font-weight: 600;
    letter-spacing: 0.12em;
}

.filmax-brand strong {
    margin-top: 3px;
    color: var(--fm-text);
    font-size: 10px;
    font-weight: 800;
}

/* =========================================================
   SECTION
========================================================= */

.filmax-section {
    margin-top: 48px;
}

.filmax-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 17px;
}

.filmax-section-heading h2 {
    margin: 0;
    color: var(--fm-text);
    font-size: 17px;
    line-height: 1.1;
    font-weight: 750;
    letter-spacing: -0.02em;
}

.filmax-section-heading > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--fm-muted);
    font-size: 8px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.filmax-section-heading > a:hover {
    color: var(--fm-text);
    transform: translateX(2px);
}

.filmax-section-heading > a svg {
    width: 11px;
    height: 11px;
}

/* =========================================================
   MAIN LAYOUT
========================================================= */

.filmax-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 275px;
    gap: 28px;
}

.filmax-primary {
    min-width: 0;
}

.filmax-right-sidebar {
    min-width: 0;
}

/* =========================================================
   MOVIE GRID
========================================================= */

.filmax-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.filmax-movie-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background: var(--fm-card);
    border: 1px solid var(--fm-border);
    border-radius: 9px;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.filmax-movie-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.28);
}

.filmax-poster {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: var(--fm-panel-2);
}

.filmax-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform 0.4s ease,
        filter 0.4s ease;
}

.filmax-movie-card:hover .filmax-poster img {
    transform: scale(1.045);
    filter: brightness(0.78);
}

.filmax-card-hover {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 12px;
    opacity: 0;
    background:
        linear-gradient(
            0deg,
            rgba(0, 0, 0, 0.78),
            transparent 60%
        );
    transition: opacity 0.25s ease;
}

.filmax-movie-card:hover .filmax-card-hover {
    opacity: 1;
}

.filmax-card-play {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--fm-red);
    border-radius: 50%;
}

.filmax-card-play svg {
    width: 13px;
    height: 13px;
}

.filmax-rating-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 4px 6px;
    color: #fff;
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 5px;
    font-size: 7px;
    font-weight: 750;
}

.filmax-card-info {
    padding: 11px 11px 12px;
}

.filmax-card-title,
.filmax-card-info h3 {
    margin: 0;
    overflow: hidden;
    color: var(--fm-text);
    font-size: 10px;
    line-height: 1.35;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.filmax-card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 5px;
    color: var(--fm-muted-2);
    font-size: 7.5px;
    line-height: 1.3;
}

/* =========================================================
   FEATURED
========================================================= */

.filmax-featured-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.filmax-featured-card {
    position: relative;
    min-height: 220px;
    overflow: hidden;
    border: 1px solid var(--fm-border);
    border-radius: 10px;
    background: var(--fm-panel);
}

.filmax-featured-card > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform 0.4s ease,
        filter 0.4s ease;
}

.filmax-featured-card:hover > img {
    transform: scale(1.04);
    filter: brightness(0.72);
}

.filmax-featured-content {
    position: relative;
    z-index: 2;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px;
    background:
        linear-gradient(
            0deg,
            rgba(0, 0, 0, 0.9),
            transparent 75%
        );
}

.filmax-featured-content h3 {
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
}

.filmax-featured-content > span:not(.filmax-kicker) {
    margin-top: 5px;
    color: var(--fm-muted);
    font-size: 8px;
}

.filmax-red-button.small {
    width: fit-content;
    min-height: 31px;
    margin-top: 12px;
    padding: 0 11px;
    font-size: 8px;
}

/* =========================================================
   SIDEBAR
========================================================= */

.filmax-side-section {
    margin-top: 48px;
}

.filmax-side-section:first-child {
    margin-top: 26px;
}

.filmax-side-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.filmax-side-heading h2 {
    margin: 4px 0 0;
    color: var(--fm-text);
    font-size: 15px;
    font-weight: 750;
}

.filmax-side-heading > svg {
    width: 15px;
    height: 15px;
    color: var(--fm-muted-2);
}

/* =========================================================
   TOP MOVIES
========================================================= */

.filmax-top-movies {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--fm-border);
    border-radius: 10px;
    background: var(--fm-panel);
}

.filmax-top-movie {
    position: relative;
    display: grid;
    grid-template-columns: 27px 48px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 69px;
    padding: 9px 11px;
    border-bottom: 1px solid var(--fm-border);
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.filmax-top-movie:last-child {
    border-bottom: 0;
}

.filmax-top-movie:hover {
    background: rgba(255, 255, 255, 0.025);
    transform: translateX(2px);
}

.filmax-rank {
    color: var(--fm-muted-2);
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
    text-align: center;
}

.filmax-top-movie:first-child .filmax-rank {
    color: var(--fm-red);
}

.filmax-top-movie img {
    width: 48px;
    height: 55px;
    object-fit: cover;
    border-radius: 5px;
}

.filmax-top-info {
    min-width: 0;
}

.filmax-top-info h3 {
    margin: 0;
    overflow: hidden;
    color: var(--fm-text);
    font-size: 9px;
    line-height: 1.35;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.filmax-top-info > span {
    display: block;
    margin-top: 4px;
    overflow: hidden;
    color: var(--fm-muted-2);
    font-size: 7px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.filmax-stars {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-top: 5px;
    color: var(--fm-yellow);
    font-size: 7px;
    font-weight: 700;
}

.filmax-stars svg {
    width: 9px;
    height: 9px;
    fill: currentColor;
}

/* =========================================================
   SIDEBAR BUTTON
========================================================= */

.filmax-side-button {
    position: relative;
    width: 100%;
    min-height: 37px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 11px;
    color: var(--fm-muted);
    background: var(--fm-panel);
    border: 1px solid var(--fm-border);
    border-radius: 8px;
    font-size: 8px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    overflow: hidden;
    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.filmax-side-button::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 23, 56, 0.08),
        transparent
    );
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.filmax-side-button:hover {
    color: #fff;
    background: rgba(255, 23, 56, 0.08);
    border-color: rgba(255, 23, 56, 0.32);
    transform: translateY(-1px);
}

.filmax-side-button:hover::before {
    transform: translateX(100%);
}

.filmax-side-button svg {
    width: 12px;
    height: 12px;
}

/* =========================================================
   GENRES
========================================================= */

.filmax-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.filmax-genres a {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 0 10px;
    color: var(--fm-muted);
    background: var(--fm-panel);
    border: 1px solid var(--fm-border);
    border-radius: 7px;
    font-size: 7.5px;
    font-weight: 650;
    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.filmax-genres a:hover {
    color: #fff;
    background: rgba(255, 23, 56, 0.07);
    border-color: rgba(255, 23, 56, 0.25);
}

/* =========================================================
   BOOKING CTA
========================================================= */

.filmax-side-cta {
    margin-top: 20px;
    padding: 25px;
    overflow: hidden;
    border: 1px solid rgba(255, 23, 56, 0.2);
    border-radius: 11px;
    background:
        radial-gradient(
            circle at top right,
            rgba(255, 23, 56, 0.17),
            transparent 50%
        ),
        var(--fm-panel);
}

.filmax-side-cta h2 {
    margin: 9px 0 0;
    color: #fff;
    font-size: 22px;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.filmax-side-cta p {
    margin: 12px 0 0;
    color: var(--fm-muted);
    font-size: 9px;
    line-height: 1.6;
}

.filmax-side-cta .filmax-red-button {
    width: 100%;
    margin-top: 17px;
}

/* =========================================================
   CINEMAS
========================================================= */

.filmax-cinema-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.filmax-cinema-card {
    position: relative;
    min-height: 145px;
    padding: 20px;
    border: 1px solid var(--fm-border);
    border-radius: 10px;
    background: var(--fm-panel);
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

.filmax-cinema-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.15);
    background: var(--fm-panel-2);
}

.filmax-cinema-card > svg:first-child {
    width: 18px;
    height: 18px;
    margin-bottom: 13px;
    color: var(--fm-red);
}

.filmax-cinema-card h3 {
    margin: 0;
    color: var(--fm-text);
    font-size: 11px;
    line-height: 1.3;
    font-weight: 700;
}

.filmax-cinema-card p {
    margin: 6px 0 0;
    color: var(--fm-muted);
    font-size: 8px;
    line-height: 1.55;
}

.cinema-arrow {
    position: absolute;
    right: 15px;
    top: 15px;
    width: 13px;
    height: 13px;
    color: var(--fm-muted-2);
}

/* =========================================================
   EMPTY STATES
========================================================= */

.filmax-empty {
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 9px;
    color: var(--fm-muted);
    background: var(--fm-panel);
    border: 1px solid var(--fm-border);
    border-radius: 10px;
    font-size: 9px;
}

.filmax-empty svg {
    width: 19px;
    height: 19px;
    color: var(--fm-muted-2);
}

/* =========================================================
   FOOTER
========================================================= */

.filmax-footer {
    position: relative;
    width: 100%;
    margin-top: 64px;
    padding: 30px 0 22px;
    overflow: hidden;
    background: var(--fm-red);
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.filmax-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.08),
            transparent 35%,
            transparent 65%,
            rgba(0, 0, 0, 0.08)
        );
    pointer-events: none;
}

.filmax-footer-top {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns:
        1.35fr
        0.8fr
        0.8fr
        1fr;
    gap: 35px;
}

.filmax-footer-brand,
.filmax-footer-column {
    min-width: 0;
}

.filmax-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.filmax-footer-logo-mark {
    width: 29px;
    height: 29px;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 7px;
}

.filmax-footer-logo-mark svg {
    width: 14px;
    height: 14px;
}

.filmax-footer-logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.filmax-footer-logo-text strong {
    color: #fff;
    font-size: 14px;
    letter-spacing: 0.1em;
}

.filmax-footer-logo-text small {
    color: rgba(255, 255, 255, 0.7);
    font-size: 9px;
    letter-spacing: 0.14em;
}

.filmax-footer-description {
    max-width: 230px;
    margin: 11px 0 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    line-height: 1.5;
}

.filmax-footer-heading {
    display: block;
    margin-bottom: 11px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.filmax-footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.filmax-footer-links a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    font-weight: 600;
    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.filmax-footer-links a:hover {
    color: #fff;
    transform: translateX(2px);
}

.filmax-footer-secured {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filmax-footer-shield {
      width: 52px;
      height: 30px;
      flex: 0 0 52px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 5px;
      color: #fff;
      background: rgba(0, 0, 0, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.25);
      border-radius: 7px;
  }

.filmax-footer-shield svg {
      width: 14px;
      height: 14px;
      flex: 0 0 14px;
  }

.filmax-footer-secured > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.filmax-footer-secured span {
    color: rgba(255, 255, 255, 0.58);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.filmax-footer-secured strong {
    color: #fff;
    font-size: 12px;
}

.filmax-footer-note {
    margin: 9px 0 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 11px;
}

.filmax-footer-bottom {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 27px;
    padding-top: 16px;
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 13px;
    line-height: 1.5;
    font-weight: 500;
}

.filmax-footer-bottom strong {
    color: #ffffff;
    font-weight: 600;
}

.filmax-footer-bottom-spacer {
    flex: 1 1 auto;
    min-width: 20px;
}

.filmax-footer-bottom-divider {
    color: rgba(255, 255, 255, 0.7);
    flex: 0 0 auto;
}

/* =========================================================
   CUSTOMER SUPPORT WIDGET
========================================================= */

.bocv-support {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 9998;
    font-family: inherit;
}

.bocv-support-trigger {
    position: relative;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: var(--fm-red);
    color: #fff;
    cursor: pointer;
    box-shadow:
        0 0 0 0 rgba(255, 23, 56, 0.42),
        0 12px 35px rgba(0, 0, 0, 0.32);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.bocv-support-trigger:hover {
    transform: translateY(-3px);
    background: var(--fm-red-dark);
    box-shadow:
        0 0 0 7px rgba(255, 23, 56, 0.08),
        0 0 32px rgba(255, 23, 56, 0.34),
        0 16px 42px rgba(0, 0, 0, 0.38);
}

.bocv-support-trigger > svg {
    position: relative;
    z-index: 2;
    width: 25px;
    height: 25px;
    stroke-width: 2;
}

/* =========================================================
   SUPPORT PULSE
========================================================= */

.bocv-support-pulse {
    position: absolute;
    inset: -5px;
    z-index: 0;
    border: 2px solid rgba(255, 23, 56, 0.48);
    border-radius: 50%;
    pointer-events: none;
    animation: bocvSupportPulse 2.2s ease-out infinite;
}

.bocv-support-pulse::after {
    content: "";
    position: absolute;
    inset: -5px;
    border: 1px solid rgba(255, 23, 56, 0.25);
    border-radius: 50%;
    animation: bocvSupportPulseGlow 2.2s ease-out infinite;
}

@keyframes bocvSupportPulse {
    0% {
        transform: scale(0.86);
        opacity: 0.85;
        box-shadow:
            0 0 0 0 rgba(255, 23, 56, 0.48),
            0 0 8px rgba(255, 23, 56, 0.42);
    }

    45% {
        opacity: 0.48;
    }

    75% {
        transform: scale(1.22);
        opacity: 0;
        box-shadow:
            0 0 0 10px rgba(255, 23, 56, 0),
            0 0 30px rgba(255, 23, 56, 0);
    }

    100% {
        transform: scale(1.22);
        opacity: 0;
    }
}

@keyframes bocvSupportPulseGlow {
    0% {
        transform: scale(0.9);
        opacity: 0.5;
    }

    70% {
        transform: scale(1.2);
        opacity: 0;
    }

    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.bocv-support-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    z-index: 4;
    min-width: 19px;
    height: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border: 2px solid var(--fm-bg);
    border-radius: 50%;
    background: #fff;
    color: var(--fm-red);
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
}

/* =========================================================
   SUPPORT PANEL
========================================================= */

.bocv-support-panel {
    position: absolute;
    right: 0;
    bottom: 74px;
    width: 365px;
    max-width: calc(100vw - 32px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: #111216;
    color: #fff;
    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transform:
        translateY(14px)
        scale(0.97);
    transform-origin: bottom right;
    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease;
}

.bocv-support-panel.open {
    opacity: 1;
    visibility: visible;
    transform:
        translateY(0)
        scale(1);
}

.bocv-support-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 18px 16px;
    background:
        linear-gradient(
            135deg,
            #17181d,
            #101114
        );
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.bocv-support-agent {
    display: flex;
    align-items: center;
    gap: 11px;
}

.bocv-support-agent-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 23, 56, 0.14);
    color: #ff3c58;
}

.bocv-support-agent-icon svg {
    width: 19px;
    height: 19px;
}

.bocv-support-agent div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bocv-support-agent strong {
    font-size: 13px;
    font-weight: 700;
}

.bocv-support-agent span {
    color: #8d8f98;
    font-size: 11px;
}

.bocv-support-close {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #8d8f98;
    cursor: pointer;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.bocv-support-close:hover {
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
}

.bocv-support-close svg {
    width: 17px;
    height: 17px;
}

.bocv-support-body {
    padding: 20px;
}

.bocv-support-kicker {
    display: block;
    margin-bottom: 7px;
    color: var(--fm-red);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.bocv-support-welcome h3 {
    margin: 0 0 5px;
    font-size: 24px;
    font-weight: 750;
    letter-spacing: -0.02em;
}

.bocv-support-welcome p {
    margin: 0;
    color: #a7a8b0;
    font-size: 13px;
    line-height: 1.55;
}

/* =========================================================
   SUPPORT RATING
========================================================= */

.bocv-support-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    padding: 13px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
}

.bocv-support-stars {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 10px;
    background: rgba(255, 23, 56, 0.13);
    color: var(--fm-yellow);
}

.bocv-support-stars svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.bocv-support-rating div:last-child {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bocv-support-rating strong {
    font-size: 13px;
    font-weight: 750;
}

.bocv-support-rating span {
    color: #8e9098;
    font-size: 10px;
    line-height: 1.4;
}

/* =========================================================
   SUPPORT PRIMARY ACTION
========================================================= */

.bocv-support-primary {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 14px;
    padding: 13px;
    border-radius: 12px;
    background: var(--fm-red);
    color: #fff;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.bocv-support-primary:hover {
    transform: translateY(-2px);
    background: var(--fm-red-dark);
}

.bocv-support-action-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.13);
}

.bocv-support-action-icon svg {
    width: 17px;
    height: 17px;
}

.bocv-support-primary > span:nth-child(2) {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 2px;
}

.bocv-support-primary strong {
    font-size: 12px;
    font-weight: 700;
}

.bocv-support-primary small {
    color: rgba(255, 255, 255, 0.7);
    font-size: 10px;
}

.bocv-support-action-arrow {
    width: 16px;
    height: 16px;
    opacity: 0.75;
}

/* =========================================================
   SUPPORT DIVIDER
========================================================= */

.bocv-support-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 18px 0 12px;
    color: #6f7179;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.bocv-support-divider::before,
.bocv-support-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: rgba(255, 255, 255, 0.07);
}

/* =========================================================
   SUPPORT CONTACTS
========================================================= */

.bocv-support-contacts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
}

.bocv-support-contact {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    padding: 11px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.025);
    color: #fff;
    text-decoration: none;
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.bocv-support-contact:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.055);
}

.bocv-support-contact-icon {
    width: 31px;
    height: 31px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
}

.bocv-support-contact-icon svg {
    width: 15px;
    height: 15px;
}

.bocv-support-contact > span:nth-child(2) {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: 2px;
}

.bocv-support-contact strong {
    font-size: 11px;
    font-weight: 700;
}

.bocv-support-contact small {
    color: #7f818a;
    font-size: 9px;
}

.bocv-support-external {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    color: #696b74;
}

/* =========================================================
   TRAILER MODAL
========================================================= */

.filmax-trailer-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.filmax-trailer-modal.open {
    opacity: 1;
    visibility: visible;
}

.filmax-trailer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.84);
    backdrop-filter: blur(8px);
}

.filmax-trailer-dialog {
    position: relative;
    z-index: 2;
    width: min(1000px, 100%);
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
    border-radius: 12px;
    box-shadow:
        0 30px 100px rgba(0, 0, 0, 0.6);
}

.filmax-trailer-dialog iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.filmax-trailer-close {
    position: absolute;
    z-index: 3;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    cursor: pointer;
}

.filmax-trailer-close svg {
    width: 16px;
    height: 16px;
}

.filmax-modal-open {
    overflow: hidden;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {
    .filmax-card-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .filmax-layout {
        grid-template-columns: minmax(0, 1fr) 245px;
        gap: 22px;
    }

    .filmax-hero-poster {
        right: 30px;
        width: 180px;
        height: 270px;
    }
}

/* =========================================================
   TABLET / MOBILE NAV
========================================================= */

@media (max-width: 950px) {
    .filmax-header-inner,
    .filmax-page {
        padding-left: 20px;
        padding-right: 20px;
    }

    .filmax-nav {
        display: none;
    }

    .filmax-mobile-menu {
        display: inline-flex;
    }

    .filmax-mobile-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        padding: 10px 20px 16px;
        background: rgba(5, 5, 6, 0.98);
        border-bottom: 1px solid var(--fm-border);
        backdrop-filter: blur(18px);
    }

    .filmax-mobile-nav.open {
        display: flex;
    }

    .filmax-mobile-nav a {
        padding: 12px 4px;
        color: var(--fm-muted);
        font-size: 11px;
        font-weight: 600;
        border-bottom: 1px solid var(--fm-border);
    }

    .filmax-mobile-nav a:last-child {
        border-bottom: 0;
    }

    .filmax-mobile-nav a:hover {
        color: #fff;
    }

    .filmax-layout {
        grid-template-columns: 1fr;
    }

    .filmax-right-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 22px;
        align-items: start;
    }

    .filmax-side-section,
    .filmax-side-section:first-child {
        margin-top: 0;
    }

    .filmax-side-cta {
        margin-top: 0;
    }

    .filmax-featured-grid {
        grid-template-columns: 1fr 1fr;
    }

    .filmax-cinema-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .filmax-footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

/* =========================================================
   800PX
========================================================= */

@media (max-width: 800px) {
    .filmax-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .filmax-hero {
        min-height: 420px;
    }

    .filmax-hero-content {
        padding: 42px 34px 40px;
    }

    .filmax-hero-poster {
        right: 25px;
        width: 145px;
        height: 220px;
        opacity: 0.5;
    }

    .filmax-brand-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .filmax-brand:nth-child(2) {
        border-right: 0;
    }

    .filmax-brand:nth-child(-n + 2) {
        border-bottom: 1px solid var(--fm-border);
    }

    .filmax-featured-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {
    .filmax-header {
        height: 64px;
    }

    .filmax-header-inner,
    .filmax-page {
        padding-left: 15px;
        padding-right: 15px;
    }

    .filmax-header-actions {
        gap: 6px;
    }

    .filmax-search-button {
        width: 32px;
        height: 32px;
    }

    .filmax-signin {
        height: 32px;
        padding: 0 10px;
        font-size: 9px;
    }

    .filmax-mobile-menu {
        width: 32px;
        height: 32px;
    }

    .filmax-mobile-nav {
        padding-left: 15px;
        padding-right: 15px;
    }

    .filmax-hero {
        min-height: 410px;
        margin-top: 18px;
        border-radius: 9px;
    }

    .filmax-hero-content {
        padding: 32px 22px 28px;
    }

    .filmax-hero h1 {
        font-size: 36px;
    }

    .filmax-hero p {
        font-size: 10px;
    }

    .filmax-hero-poster {
        display: none;
    }

    .filmax-hero-actions {
        flex-wrap: wrap;
    }

    .filmax-section {
        margin-top: 38px;
    }

    .filmax-section-heading h2 {
        font-size: 15px;
    }

    .filmax-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 11px;
    }

    .filmax-right-sidebar {
        display: block;
    }

    .filmax-side-section {
        margin-top: 38px;
    }

    .filmax-side-cta {
        margin-top: 20px;
    }

    .filmax-cinema-grid {
        grid-template-columns: 1fr;
    }

    .filmax-brand-strip {
        grid-template-columns: 1fr 1fr;
    }

    .filmax-brand {
        min-height: 54px;
        padding: 0 13px;
    }

    .filmax-footer {
        margin-top: 50px;
        padding: 24px 0 25px;
    }

    .filmax-footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 22px 18px;
    }

    .filmax-footer-brand {
        grid-column: 1 / -1;
    }

    .filmax-footer-bottom {
        flex-wrap: wrap;
        line-height: 1.5;
    }

    .filmax-footer-bottom-spacer {
        display: none;
    }

    /* =====================================================
       SUPPORT - MOBILE
    ===================================================== */

    .bocv-support {
        right: 17px;
        bottom: 17px;
    }

    .bocv-support-panel {
        right: 0;
        bottom: 70px;
        width: calc(100vw - 34px);
        max-width: none;
    }

    .bocv-support-trigger {
        width: 54px;
        height: 54px;
    }

    .bocv-support-trigger > svg {
        width: 23px;
        height: 23px;
    }

    .bocv-support-contacts {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   EXTRA SMALL
========================================================= */

@media (max-width: 390px) {
    .filmax-logo {
        font-size: 13px;
    }

    .filmax-logo-mark {
        width: 25px;
        height: 25px;
    }

    .filmax-signin {
        display: none;
    }

    .filmax-hero h1 {
        font-size: 31px;
    }

    .filmax-hero p {
        font-size: 9px;
    }

    .filmax-section-heading h2 {
        font-size: 14px;
    }

    .filmax-footer-top {
        grid-template-columns: 1fr;
    }

    .filmax-footer-column {
        grid-column: auto;
    }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
/* =========================================================
   BOX OFFICE CINE VERSE
   ON-SITE SUPPORT CHAT — CINEMATIC / SITE-NATIVE
   ========================================================= */

.bocv-support-chat {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 14px;
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(210, 35, 42, 0.08),
            transparent 42%
        ),
        #0b0c0f;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
    transition:
        opacity 220ms ease,
        transform 260ms cubic-bezier(.22, 1, .36, 1),
        visibility 220ms ease;
}

.bocv-support-chat.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.bocv-support-chat-header {
    display: grid;
    grid-template-columns: 42px 1fr 42px;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    margin-bottom: 12px;
}

.bocv-support-chat-back,
.bocv-support-chat-close {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    background: #ffffff;
    color: #111111;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        color 180ms ease,
        box-shadow 180ms ease;
}

.bocv-support-chat-back:hover,
.bocv-support-chat-close:hover {
    color: #c92831;
    border-color: rgba(201, 40, 49, 0.42);
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
}

.bocv-support-chat-back:active,
.bocv-support-chat-close:active {
    transform: scale(0.94);
}

.bocv-support-chat-back svg,
.bocv-support-chat-close svg {
    width: 17px;
    height: 17px;
    stroke-width: 2;
}

.bocv-support-chat-identity {
    min-width: 0;
    text-align: center;
}

.bocv-support-chat-identity strong {
    display: block;
    color: #ffffff;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.bocv-support-messages {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 8px 3px 14px;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

.bocv-support-messages::-webkit-scrollbar {
    width: 4px;
}

.bocv-support-messages::-webkit-scrollbar-track {
    background: transparent;
}

.bocv-support-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.16);
    border-radius: 999px;
}

.bocv-support-message {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 14px;
    animation: bocvSupportMessageIn 260ms cubic-bezier(.22, 1, .36, 1);
}

.bocv-support-message-agent {
    align-items: flex-start;
}

.bocv-support-message-user {
    align-items: flex-end;
}

.bocv-support-message-label {
    margin: 0 8px 5px;
    color: rgba(255, 255, 255, 0.42);
    font-size: 10px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bocv-support-message-bubble {
    max-width: 86%;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    font-size: 13px;
    line-height: 1.55;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
}

.bocv-support-message-agent .bocv-support-message-bubble {
    background: #17191e;
    color: rgba(255, 255, 255, 0.88);
    border-bottom-left-radius: 5px;
}

.bocv-support-message-user .bocv-support-message-bubble {
    background: #ffffff;
    color: #161616;
    border-color: rgba(255, 255, 255, 0.8);
    border-bottom-right-radius: 5px;
}

.bocv-support-composer {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px;
    margin-top: auto;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.045);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.bocv-support-input {
    flex: 1;
    min-width: 0;
    height: 44px;
    padding: 0 15px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    outline: none;
    background: #ffffff;
    color: #161616;
    font: inherit;
    font-size: 13px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.16);
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.bocv-support-input::placeholder {
    color: #8a8a8a;
}

.bocv-support-input:focus {
    border-color: rgba(201, 40, 49, 0.45);
    box-shadow:
        0 5px 18px rgba(0, 0, 0, 0.16),
        0 0 0 3px rgba(201, 40, 49, 0.08);
}

.bocv-support-send {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 50%;
    background: #ffffff;
    color: #161616;
    cursor: pointer;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.18);
    transition:
        transform 180ms ease,
        color 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.bocv-support-send:hover {
    color: #c92831;
    border-color: rgba(201, 40, 49, 0.38);
    transform: translateY(-1px);
    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.22),
        0 0 0 3px rgba(201, 40, 49, 0.06);
}

.bocv-support-send:hover svg {
    transform: translateX(2px);
}

.bocv-support-send:active {
    transform: scale(0.93);
}

.bocv-support-send svg {
    width: 17px;
    height: 17px;
    stroke-width: 2;
    transition: transform 180ms ease;
}

@keyframes bocvSupportMessageIn {
    from {
        opacity: 0;
        transform: translateY(7px) scale(0.985);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 480px) {
    .bocv-support-chat {
        padding: 11px;
    }

    .bocv-support-chat-header {
        grid-template-columns: 40px 1fr 40px;
        gap: 8px;
    }

    .bocv-support-chat-back,
    .bocv-support-chat-close {
        width: 40px;
        height: 40px;
    }

    .bocv-support-message-bubble {
        max-width: 91%;
        font-size: 12.5px;
    }

    .bocv-support-composer {
        gap: 7px;
        padding: 6px;
    }

    .bocv-support-input,
    .bocv-support-send {
        height: 42px;
    }

    .bocv-support-send {
        flex-basis: 42px;
        width: 42px;
    }
}

/* =========================================================
   END — ON-SITE SUPPORT CHAT
   ========================================================= */

/* =========================================================
   SECRET ADMIN ACCESS
   ========================================================== */

.filmax-secret-admin {
    width: 18px;
    height: 38px;
    margin-left: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 18px;
    text-decoration: none;
}

.filmax-secret-admin-dot {
    width: 6px;
    height: 6px;
    display: block;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
    animation: bocv-secret-admin-blink 1.8s ease-in-out infinite;
}

@keyframes bocv-secret-admin-blink {
    0%,
    100% {
        opacity: 0.45;
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45);
    }

    50% {
        opacity: 1;
        box-shadow: 0 0 0 4px rgba(34, 197, 94, 0);
    }
}

@media (max-width: 900px) {
    .filmax-secret-admin {
        width: 16px;
        flex-basis: 16px;
        margin-left: 3px;
    }

    .filmax-secret-admin-dot {
        width: 5px;
        height: 5px;
    }
}

.filmax-footer-bottom > span:last-child {
    color: #ffffff;
    flex: 0 0 auto;
    white-space: nowrap;
}

/* =========================================================
   FULL-BLEED PUBLIC FOOTER
========================================================= */

.filmax-footer {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    box-sizing: border-box;
}

.filmax-footer-top,
.filmax-footer-bottom {
    width: 100%;
    box-sizing: border-box;
    padding-left: 28px;
    padding-right: 28px;
}

.filmax-footer-bottom {
    min-width: 0;
}

.filmax-footer-bottom > span:first-child,
.filmax-footer-bottom > strong {
    flex: 0 1 auto;
    min-width: 0;
}

.filmax-footer-bottom > span:last-child {
    flex: 0 0 auto;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .filmax-footer-top,
    .filmax-footer-bottom {
        padding-left: 13px;
        padding-right: 13px;
    }
}
/* BOCV LIGHT MODE CINEMA CARD CONTRAST */

html[data-theme="light"] {
    --fm-text: #15171b;
    --fm-muted: #3f444c;
    --fm-panel: #ffffff;
    --fm-panel-2: #f5f6f8;
    --fm-border: #dfe2e7;
}

html[data-theme="light"] .filmax-cinema-card {
    color: #15171b !important;
    background: #ffffff !important;
    border-color: #dfe2e7 !important;
}

html[data-theme="light"] .filmax-cinema-card h3 {
    color: #15171b !important;
    opacity: 1 !important;
}

html[data-theme="light"] .filmax-cinema-card p {
    color: #3f444c !important;
    opacity: 1 !important;
}

html[data-theme="light"] .filmax-cinema-card > svg:first-child,
html[data-theme="light"] .filmax-cinema-card .cinema-arrow {
    color: #c8102e !important;
    stroke: #c8102e !important;
    opacity: 1 !important;
}

html[data-theme="light"] .filmax-cinema-card:hover {
    background: #f5f6f8 !important;
    border-color: #c8102e !important;
}


/* BOCV MOBILE NAV FINAL FIX */

@media (max-width: 900px) {

    .filmax-mobile-menu {
        position: relative !important;
        z-index: 99999 !important;
        display: inline-flex !important;
        width: 34px !important;
        height: 34px !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        margin: 0 !important;
        cursor: pointer !important;
        pointer-events: auto !important;
        touch-action: manipulation !important;
    }

    .filmax-mobile-menu svg {
        pointer-events: none !important;
    }

    .filmax-mobile-nav {
        position: absolute !important;
        z-index: 99998 !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: none !important;
        display: none !important;
        flex-direction: column !important;
        pointer-events: auto !important;
    }

    .filmax-mobile-nav.open {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    .filmax-mobile-nav a {
        display: block !important;
        width: 100% !important;
        pointer-events: auto !important;
        cursor: pointer !important;
    }
}

@media (min-width: 901px) {

    .filmax-mobile-menu,
    .filmax-mobile-nav {
        display: none !important;
    }
}

/* BOCV MOBILE NAV WHITE TEXT */
@media (max-width: 900px) {
    .filmax-mobile-nav a {
        color: #ffffff !important;
    }

    .filmax-mobile-nav a:hover,
    .filmax-mobile-nav a:focus,
    .filmax-mobile-nav a:active {
        color: #ffffff !important;
    }
}
