/* =========================================================
   IMIRASIRE TV
   PUBLIC WEBSITE STYLES
   ========================================================= */


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

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

html {
    scroll-behavior: smooth;
}

body {
    background: #0b0b0f;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

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

button,
input,
textarea,
select {
    font: inherit;
}

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

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


/* =========================================================
   PUBLIC HEADER — PROFESSIONAL
   ========================================================= */

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

    width: 100%;
    min-height: 68px;

    background:
        linear-gradient(
            180deg,
            rgba(9, 10, 14, 0.98) 0%,
            rgba(9, 10, 14, 0.94) 100%
        );

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

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

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.18);
}


.header-inner {
    width: min(1380px, calc(100% - 48px));
    min-height: 68px;

    margin: 0 auto;

    display: flex;
    align-items: center;

    gap: 30px;
}


/* =========================================================
   LOGO
   ========================================================= */

.site-logo {
    display: inline-flex;
    align-items: center;

    gap: 9px;

    flex: 0 0 auto;

    color: #ffffff;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.site-logo:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}


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

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

    background:
        linear-gradient(
            145deg,
            #ff202b 0%,
            #e50914 55%,
            #b20710 100%
        );

    border-radius: 8px;

    color: #ffffff;

    font-size: 19px;
    font-weight: 900;

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


.logo-text {
    color: #ffffff;

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

    letter-spacing: 1.7px;

    line-height: 1;
}


/* =========================================================
   MOBILE MENU BUTTON
   ========================================================= */

.mobile-menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    margin-left: auto;

    padding: 0;

    align-items: center;
    justify-content: center;
    flex-direction: column;

    gap: 5px;

    background: #15171c;

    border: 1px solid #2b2e36;
    border-radius: 8px;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.mobile-menu-toggle span {
    display: block;

    width: 18px;
    height: 2px;

    border-radius: 2px;

    background: #ffffff;

    transition:
        transform 0.22s ease,
        opacity 0.22s ease;
}

.mobile-menu-toggle:hover {
    background: #1d2026;
    border-color: #444852;
}

.mobile-menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.mobile-menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* =========================================================
   MAIN NAVIGATION
   ========================================================= */

.main-nav {
    min-width: 0;

    display: flex;
    align-items: center;

    flex: 1;

    gap: 28px;
}


.main-nav-links {
    display: flex;
    align-items: center;

    gap: 25px;

    flex: 0 0 auto;
}


.main-nav-links > a,
.nav-dropdown-button {
    position: relative;

    height: 68px;

    display: inline-flex;
    align-items: center;

    border: 0;
    background: transparent;

    color: #9699a3;

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

    letter-spacing: 0.1px;

    white-space: nowrap;

    cursor: pointer;

    transition:
        color 0.2s ease;
}


.main-nav-links > a::after,
.nav-dropdown-button::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 2px;

    background: #e50914;

    border-radius: 2px 2px 0 0;

    transform: scaleX(0);
    transform-origin: center;

    transition:
        transform 0.22s ease;
}


.main-nav-links > a:hover,
.main-nav-links > a.active,
.nav-dropdown-button:hover,
.nav-dropdown.is-open .nav-dropdown-button {
    color: #ffffff;
}


.main-nav-links > a:hover::after,
.main-nav-links > a.active::after,
.nav-dropdown-button:hover::after,
.nav-dropdown.is-open .nav-dropdown-button::after {
    transform: scaleX(1);
}


/* =========================================================
   CATEGORY DROPDOWN
   ========================================================= */

.nav-dropdown {
    position: relative;

    height: 68px;

    display: flex;
    align-items: center;
}


.nav-dropdown-button {
    gap: 7px;
}


.dropdown-arrow {
    display: inline-flex;
    align-items: center;

    color: #777b86;

    font-size: 14px;
    line-height: 1;

    transition:
        transform 0.2s ease,
        color 0.2s ease;
}


.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown.is-open .dropdown-arrow {
    color: #ffffff;
    transform: rotate(180deg);
}


.nav-dropdown-menu {
    position: absolute;

    top: calc(100% + 7px);
    left: -14px;

    width: 220px;
    max-width: calc(100vw - 30px);

    max-height: 380px;

    overflow-y: auto;

    padding: 8px;

    background:
        linear-gradient(
            180deg,
            #181a20 0%,
            #111318 100%
        );

    border: 1px solid #2b2e36;
    border-radius: 10px;

    box-shadow:
        0 20px 55px rgba(0, 0, 0, 0.48),
        0 5px 18px rgba(0, 0, 0, 0.24);

    opacity: 0;
    visibility: hidden;

    transform:
        translateY(-5px)
        scale(0.98);

    transform-origin: top left;

    transition:
        opacity 0.18s ease,
        transform 0.18s ease,
        visibility 0.18s ease;
}


.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;

    transform:
        translateY(0)
        scale(1);
}


.nav-dropdown-menu a,
.nav-dropdown-empty {
    display: block;

    padding: 10px 12px;

    border-radius: 7px;

    color: #b9bbc4;

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

    transition:
        background 0.18s ease,
        color 0.18s ease,
        padding-left 0.18s ease;
}


.nav-dropdown-menu a:hover {
    background: #23262d;
    color: #ffffff;

    padding-left: 15px;
}


.nav-dropdown-empty {
    color: #696d77;
}


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

.header-actions {
    display: flex;
    align-items: center;

    gap: 8px;

    flex: 0 0 auto;

    margin-left: auto;
}


/* =========================================================
   SEARCH FORM
   ========================================================= */

.header-search-form {
    width: 250px;
    height: 38px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: rgba(21, 23, 28, 0.95);

    border: 1px solid #2a2d35;
    border-radius: 8px;

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}


.header-search-form:focus-within {
    background: #181a20;

    border-color: #4a4e59;

    box-shadow:
        0 0 0 3px rgba(229, 9, 20, 0.08);
}


.header-search-icon {
    flex: 0 0 auto;

    padding-left: 11px;

    color: #777b85;

    font-size: 17px;
    line-height: 1;
}


.header-search-form input {
    width: 100%;
    min-width: 0;

    height: 36px;

    padding: 0 8px;

    background: transparent;

    border: 0;
    outline: 0;

    color: #ffffff;

    font-size: 12px;
}


.header-search-form input::placeholder {
    color: #6e727c;
}


.header-search-form button {
    flex: 0 0 auto;

    height: 36px;

    padding: 0 12px;

    background: transparent;

    border: 0;

    color: #bfc2ca;

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

    cursor: pointer;

    transition:
        color 0.18s ease,
        background 0.18s ease;
}


.header-search-form button:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.04);
}


/* =========================================================
   LOGIN / ACCOUNT
   ========================================================= */

.login-button,
.account-button {
    height: 38px;

    padding: 0 15px;

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

    background:
        linear-gradient(
            145deg,
            #ef1722 0%,
            #d90813 100%
        );

    border: 1px solid #e50914;
    border-radius: 8px;

    color: #ffffff;

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

    white-space: nowrap;

    box-shadow:
        0 5px 15px rgba(229, 9, 20, 0.14);

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.login-button:hover,
.account-button:hover {
    background:
        linear-gradient(
            145deg,
            #ff202b 0%,
            #e50914 100%
        );

    border-color: #ff202b;

    transform: translateY(-1px);

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


/* =========================================================
   LOGOUT
   ========================================================= */

.logout-form {
    margin: 0;
}


.logout-button {
    height: 38px;

    padding: 0 13px;

    background: transparent;

    border: 1px solid #30343d;
    border-radius: 8px;

    color: #aeb1ba;

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

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}


.logout-button:hover {
    background: #1c1f25;

    border-color: #484c57;

    color: #ffffff;
}




/* =========================================================
   HOMEPAGE HERO
   ========================================================= */

.home-hero {
    position: relative;

    min-height: 650px;

    overflow: hidden;

    background: #08090c;
}


.home-hero-background {
    position: absolute;

    inset: 0;

    overflow: hidden;

    background: #08090c;
}


.home-hero-image {
    position: absolute;

    width: 100%;
    height: 100%;

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

    opacity: 0.88;

    transform: scale(1.01);

    animation: homeHeroImageIn 1.2s ease-out both;
}


.home-hero-gradient {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            #08090c 0%,
            rgba(8, 9, 12, 0.96) 19%,
            rgba(8, 9, 12, 0.82) 37%,
            rgba(8, 9, 12, 0.46) 60%,
            rgba(8, 9, 12, 0.12) 100%
        );

    z-index: 1;
}


.home-hero-bottom-fade {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 230px;

    background:
        linear-gradient(
            0deg,
            #0b0b0f 0%,
            rgba(11, 11, 15, 0.88) 25%,
            rgba(11, 11, 15, 0.25) 72%,
            transparent 100%
        );

    z-index: 2;

    pointer-events: none;
}


.home-hero-content {
    position: relative;

    z-index: 3;

    min-height: 650px;

    display: flex;

    align-items: center;
}


.home-hero-info {
    width: min(610px, 100%);

    padding: 80px 0 105px;

    animation: homeHeroContentIn 0.8s ease-out both;
}


.home-hero-eyebrow {
    display: flex;

    align-items: center;

    gap: 9px;

    margin-bottom: 18px;

    color: #d3d4d8;

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

    letter-spacing: 2px;
}


.home-hero-eyebrow-line {
    width: 24px;
    height: 2px;

    background: #e50914;

    flex: 0 0 auto;
}


.home-hero-title {
    max-width: 650px;

    margin: 0;

    color: #ffffff;

    font-size: clamp(42px, 5vw, 72px);

    font-weight: 900;

    line-height: 0.99;

    letter-spacing: -2px;

    text-wrap: balance;
}


.home-hero-meta {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 0;

    margin-top: 22px;

    color: #d1d2d6;

    font-size: 13px;

    font-weight: 600;
}


.home-hero-meta-item {
    display: inline-flex;

    align-items: center;

    white-space: nowrap;
}


.home-hero-meta-item + .home-hero-meta-item::before {
    content: "•";

    margin: 0 12px;

    color: #656872;
}


.home-hero-rating {
    color: #f0f1f3;
}


.home-hero-description {
    max-width: 560px;

    margin-top: 20px;

    color: #b8bac1;

    font-size: 14px;

    font-weight: 500;

    line-height: 1.75;
}


.home-hero-actions {
    display: flex;

    align-items: center;

    gap: 11px;

    margin-top: 29px;
}


.home-btn {
    min-height: 46px;

    padding: 0 19px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    border-radius: 6px;

    font-size: 12px;

    font-weight: 800;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.home-btn:hover {
    transform: translateY(-2px);
}


.home-btn-icon {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    font-size: 11px;

    line-height: 1;
}


.home-btn-primary {
    background: #e50914;

    border: 1px solid #e50914;

    color: #ffffff;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.30);
}


.home-btn-primary:hover {
    background: #f20d18;

    border-color: #f20d18;

    color: #ffffff;

    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.40);
}


.home-btn-secondary {
    background: rgba(20, 21, 26, 0.82);

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

    color: #ffffff;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}


.home-btn-secondary:hover {
    background: rgba(38, 39, 46, 0.94);

    border-color: rgba(255, 255, 255, 0.32);
}


.home-btn-info-icon {
    width: 15px;
    height: 15px;

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

    border-radius: 50%;

    font-size: 9px;
}


.home-hero-bottom {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    z-index: 4;

    pointer-events: none;
}


.home-hero-scroll-label {
    padding-bottom: 20px;

    color: #686b74;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}


@keyframes homeHeroImageIn {

    from {
        opacity: 0;
        transform: scale(1.04);
    }

    to {
        opacity: 0.88;
        transform: scale(1.01);
    }

}


@keyframes homeHeroContentIn {

    from {
        opacity: 0;
        transform: translateY(18px);
    }

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

}


/* =========================================================
   HOMEPAGE CONTENT
   ========================================================= */


.home-content {
    position: relative;
    z-index: 2;

    background: #0b0b0f;
}

.home-section {
    padding: 55px 0 0;
}

.home-section + .home-section {
    padding-top: 65px;
}

.home-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 22px;
}

.home-section-kicker {
    display: block;

    margin-bottom: 5px;

    color: #777982;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.home-section-header h2 {
    color: #ffffff;

    font-size: 25px;
    font-weight: 800;
    line-height: 1.2;
}

.home-view-all {
    color: #a9abb3;

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

    transition: color 0.2s ease;
}

.home-view-all:hover {
    color: #ffffff;
}


/* =========================================================
   HOME MEDIA CARDS
   ========================================================= */

.home-card-row {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 22px;
}

.home-media-card {
    min-width: 0;
    display: block;

    color: inherit;

    transition:
        transform 0.2s ease;
}

.home-media-card:hover {
    transform: translateY(-4px);
}


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

.home-card-poster {
    position: relative;

    width: 100%;
    aspect-ratio: 2 / 3;

    overflow: hidden;

    background: #15161b;
    border: 1px solid #292b32;
    border-radius: 8px;

    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.18);

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.home-media-card:hover .home-card-poster {
    border-color: #3d4049;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.38);
}


.home-card-poster img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.4s ease,
        opacity 0.3s ease,
        filter 0.3s ease;
}

.home-media-card:hover .home-card-poster img {
    transform: scale(1.055);

    opacity: 0.68;

    filter: brightness(0.82);
}


/* =========================================================
   HOVER OVERLAY
   ========================================================= */

.home-card-overlay {
    position: absolute;
    inset: 0;

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

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.08) 0%,
            rgba(0, 0, 0, 0.42) 100%
        );

    opacity: 0;

    transition:
        opacity 0.25s ease;
}

.home-media-card:hover .home-card-overlay {
    opacity: 1;
}


.home-card-play {
    width: 48px;
    height: 48px;

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

    padding-left: 2px;

    background: #e50914;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;

    color: #ffffff;

    font-size: 14px;

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.5);

    transform: scale(0.86);

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.home-media-card:hover .home-card-play {
    transform: scale(1);
}

.home-card-play:hover {
    background: #f6121d;
}


/* =========================================================
   POSTER PLACEHOLDER
   ========================================================= */

.home-card-placeholder {
    width: 100%;
    height: 100%;

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

    padding: 18px;

    background:
        linear-gradient(
            145deg,
            #1d1f26 0%,
            #111217 100%
        );

    color: #8d9099;

    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;

    text-align: center;
}


/* =========================================================
   NEW BADGE
   ========================================================= */

.home-new-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;

    padding: 5px 8px;

    background: #e50914;
    border-radius: 4px;

    color: #ffffff;

    font-size: 8px;
    font-weight: 900;
    line-height: 1;

    letter-spacing: 1px;

    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.35);
}


/* =========================================================
   CARD INFORMATION
   ========================================================= */

.home-card-info {
    min-height: 61px;

    padding-top: 11px;
}


.home-card-info h3 {
    overflow: hidden;

    color: #f1f1f2;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;

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

    transition:
        color 0.2s ease;
}

.home-media-card:hover .home-card-info h3 {
    color: #ffffff;
}


.home-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;

    margin-top: 6px;

    color: #777a84;

    font-size: 10px;
    font-weight: 600;
    line-height: 1.4;
}


.home-card-meta span {
    white-space: nowrap;
}


.home-card-meta span + span::before {
    content: "•";

    margin: 0 8px;

    color: #4f525b;
}


/* =========================================================
   EMPTY STATES
   ========================================================= */

.home-empty {
    min-height: 110px;

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

    gap: 5px;

    padding: 25px 20px;

    background: #121318;
    border: 1px solid #24262d;
    border-radius: 8px;

    color: #777982;

    font-size: 12px;
    text-align: center;
}

.home-empty strong {
    color: #c9cbd0;

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

.home-empty span {
    color: #696c75;

    font-size: 11px;
}


/* =========================================================
   HOME CATEGORIES
   ========================================================= */

.home-categories-section {
    padding-bottom: 10px;
}

.home-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.home-category-card {
    min-height: 70px;

    display: flex;
    align-items: center;
    gap: 12px;

    padding: 0 16px;

    background: #131419;
    border: 1px solid #25272e;
    border-radius: 7px;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.15s ease;
}

.home-category-card:hover {
    background: #1b1c22;
    border-color: #3a3c44;
    transform: translateY(-2px);
}

.home-category-icon {
    width: 30px;
    height: 30px;

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

    background: #211316;
    border-radius: 50%;

    color: #e50914;

    font-size: 10px;
}

.home-category-name {
    flex: 1;

    color: #d7d8dc;

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

.home-category-arrow {
    color: #666872;

    font-size: 16px;

    transition: transform 0.2s ease;
}

.home-category-card:hover .home-category-arrow {
    color: #ffffff;
    transform: translateX(3px);
}


/* =========================================================
   EMPTY STATES
   ========================================================= */

.home-empty {
    padding: 45px 20px;

    background: #121318;
    border: 1px solid #24262d;
    border-radius: 8px;

    color: #777982;

    font-size: 13px;
    text-align: center;
}


/* =========================================================
   PUBLIC MOVIES / SERIES PAGES
   ========================================================= */

.public-movies-page,
.public-series-page {
    min-height: 70vh;
    padding: 55px 0 80px;
}

.public-movies-header,
.public-series-header {
    margin-bottom: 25px;
}

.public-page-label {
    margin-bottom: 8px;

    color: #777982;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.public-movies-header h1,
.public-series-header h1 {
    color: #ffffff;

    font-size: 38px;
    line-height: 1.2;
}

.public-movies-header p,
.public-series-header p {
    margin-top: 9px;

    color: #888b94;

    font-size: 15px;
}


/* =========================================================
   CATEGORY FILTERS
   ========================================================= */

.movie-category-filters,
.series-category-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;

    margin-bottom: 35px;
}

.movie-category-filter,
.series-category-filter {
    min-height: 40px;
    padding: 0 17px;

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

    background: #141419;
    border: 1px solid #292931;
    border-radius: 7px;

    color: #aaaab4;

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

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.movie-category-filter:hover,
.series-category-filter:hover {
    background: #24242b;
    color: #ffffff;
    border-color: #44444c;
}

.movie-category-filter.active,
.series-category-filter.active {
    background: #ffffff;
    border-color: #ffffff;
    color: #111111;
}


/* =========================================================
   MOVIE / SERIES GRIDS
   ========================================================= */

.public-movie-grid,
.public-series-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 25px 18px;
}

.public-movie-card,
.public-series-card {
    display: block;
    min-width: 0;
}


/* =========================================================
   MOVIE / SERIES POSTERS
   ========================================================= */

.public-movie-poster,
.public-series-poster {
    position: relative;

    width: 100%;
    aspect-ratio: 2 / 3;

    overflow: hidden;

    background: #18181e;
    border: 1px solid #25252d;
    border-radius: 8px;
}

.public-movie-poster img,
.public-series-poster img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.35s ease,
        opacity 0.35s ease;
}

.public-movie-card:hover img,
.public-series-card:hover img {
    transform: scale(1.045);
    opacity: 0.72;
}

.public-movie-placeholder,
.public-series-placeholder {
    width: 100%;
    height: 100%;

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

    background: linear-gradient(145deg, #1b1c22, #101115);

    color: #666872;

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

.public-movie-overlay,
.public-series-overlay {
    position: absolute;
    inset: 0;

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

    background: rgba(0, 0, 0, 0.28);

    opacity: 0;

    transition: opacity 0.25s ease;
}

.public-movie-card:hover .public-movie-overlay,
.public-series-card:hover .public-series-overlay {
    opacity: 1;
}

.public-watch-icon,
.public-series-watch-icon {
    width: 46px;
    height: 46px;

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

    padding-left: 2px;

    background: #e50914;
    border-radius: 50%;

    color: #ffffff;

    font-size: 14px;
}


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

.public-movie-info,
.public-series-info {
    padding-top: 11px;
}

.public-movie-info h2,
.public-series-info h2 {
    overflow: hidden;

    color: #eeeeef;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;

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

.public-movie-meta,
.public-series-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;

    margin-top: 5px;

    color: #777982;

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


/* =========================================================
   PAGINATION
   ========================================================= */

.public-movie-pagination,
.public-series-pagination {
    margin-top: 40px;

    display: flex;
    justify-content: center;
}

.public-movie-pagination nav,
.public-series-pagination nav {
    display: flex;
    justify-content: center;
}

.public-movie-pagination svg,
.public-series-pagination svg {
    width: 16px;
    height: 16px;
}

.public-movie-pagination a,
.public-movie-pagination span,
.public-series-pagination a,
.public-series-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 38px;
    height: 38px;

    margin: 0 3px;

    background: #15161b;
    border: 1px solid #292c33;
    border-radius: 6px;

    color: #b8bac1;

    font-size: 12px;
}

.public-movie-pagination a:hover,
.public-series-pagination a:hover {
    background: #22242b;
    color: #ffffff;
}

.public-movie-pagination span[aria-current="page"],
.public-series-pagination span[aria-current="page"] {
    background: #e50914;
    border-color: #e50914;
    color: #ffffff;
}


/* =========================================================
   EMPTY PUBLIC PAGES
   ========================================================= */

.public-movies-empty,
.public-series-empty {
    padding: 80px 20px;

    background: #121318;
    border: 1px solid #24262d;
    border-radius: 9px;

    text-align: center;
}

.public-empty-icon {
    margin-bottom: 14px;

    color: #555861;

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

.public-movies-empty h2,
.public-series-empty h2 {
    color: #d9dade;

    font-size: 20px;
}

.public-movies-empty p,
.public-series-empty p {
    margin-top: 7px;

    color: #777982;

    font-size: 13px;
}


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

footer {
    margin-top: 70px;
    padding: 35px 20px;

    background: #08080b;
    border-top: 1px solid #202229;

    color: #6f727b;

    font-size: 12px;
    text-align: center;
}

footer p + p {
    margin-top: 6px;
}

footer a {
    color: #a9abb3;
}

footer a:hover {
    color: #ffffff;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

    .header-inner {
        gap: 18px;
    }

    .main-nav {
        gap: 17px;
    }

    .header-search-form input {
        width: 115px;
    }

    .home-card-row {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .home-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .public-movie-grid,
    .public-series-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }


    .home-hero {
        min-height: 610px;
    }

    .home-hero-content {
        min-height: 610px;
    }

    .home-hero-title {
        font-size: clamp(40px, 5vw, 62px);
    }

}


@media (max-width: 850px) {

    .site-header,
    .header-inner {
        height: auto;
        min-height: 64px;
    }

    .header-inner {
        padding: 12px 0;

        flex-wrap: wrap;

        gap: 10px 18px;
    }

    .main-nav {
        order: 3;

        width: 100%;

        flex-basis: 100%;

        overflow-x: auto;
    }

    .main-nav > a,
    .nav-dropdown-button,
    .nav-dropdown {
        height: 42px;
    }

    .header-actions {
        margin-left: auto;
    }


    .home-hero {
        min-height: 570px;
    }

    .home-hero-content {
        min-height: 570px;

        align-items: center;
    }

    .home-hero-info {
        padding: 65px 0 95px;
    }


    .home-hero-gradient {
        background:
            linear-gradient(
                90deg,
                #08090c 0%,
                rgba(8, 9, 12, 0.91) 34%,
                rgba(8, 9, 12, 0.58) 68%,
                rgba(8, 9, 12, 0.18) 100%
            );
    }


    .home-card-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

}


@media (max-width: 600px) {

    .container,
    .header-inner {
        width: min(100% - 24px, 1240px);
    }


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


    .logo-text {
        font-size: 17px;
    }


    .header-actions {
        width: 100%;

        margin-left: 0;
    }


    .header-search-form {
        flex: 1;
    }


    .header-search-form input {
        width: 100%;
    }


    .logout-button,
    .account-button,
    .login-button {
        padding-left: 10px;
        padding-right: 10px;
    }


    .home-hero {
        min-height: 610px;
    }


    .home-hero-content {
        min-height: 610px;

        align-items: flex-end;
    }


    .home-hero-background {
        height: 100%;
    }


    .home-hero-image {
        object-position: 62% center;

        opacity: 0.76;
    }


    .home-hero-gradient {
        background:
            linear-gradient(
                0deg,
                #08090c 0%,
                rgba(8, 9, 12, 0.96) 25%,
                rgba(8, 9, 12, 0.78) 48%,
                rgba(8, 9, 12, 0.30) 78%,
                rgba(8, 9, 12, 0.10) 100%
            );
    }


    .home-hero-bottom-fade {
        height: 190px;
    }


    .home-hero-info {
        width: 100%;

        padding: 45px 0 72px;
    }


    .home-hero-eyebrow {
        margin-bottom: 14px;

        font-size: 9px;

        letter-spacing: 1.6px;
    }


    .home-hero-title {
        max-width: 100%;

        font-size: 40px;

        line-height: 1.02;

        letter-spacing: -1.2px;
    }


    .home-hero-meta {
        margin-top: 16px;

        font-size: 11px;
    }


    .home-hero-meta-item + .home-hero-meta-item::before {
        margin: 0 8px;
    }


    .home-hero-description {
        margin-top: 15px;

        font-size: 12px;

        line-height: 1.65;
    }


    .home-hero-actions {
        margin-top: 22px;

        gap: 8px;
    }


    .home-btn {
        min-height: 42px;

        padding: 0 15px;

        font-size: 11px;
    }


    .home-hero-scroll-label {
        display: none;
    }


    .home-section {
        padding-top: 42px;
    }


    .home-section-header h2 {
        font-size: 21px;
    }


    .home-card-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 18px 12px;
    }


    .home-category-grid {
        grid-template-columns: 1fr;
    }


    .public-movies-page,
    .public-series-page {
        padding-top: 38px;
    }


    .public-movies-header h1,
    .public-series-header h1 {
        font-size: 30px;
    }


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

        gap: 22px 12px;
    }

}


@media (max-width: 400px) {

    .home-hero {
        min-height: 600px;
    }


    .home-hero-content {
        min-height: 600px;
    }


    .home-hero-title {
        font-size: 34px;
    }


    .home-hero-actions {
        flex-direction: column;

        align-items: stretch;
    }


    .home-btn {
        width: 100%;
    }


    .header-actions {
        flex-wrap: wrap;
    }

}


/* =========================================================
   PROFESSIONAL HEADER — FINAL RESPONSIVE OVERRIDES
   ========================================================= */

@media (max-width: 1100px) {

    .header-inner {
        width: min(100% - 36px, 1380px);
        gap: 22px;
    }

    .main-nav {
        gap: 18px;
    }

    .main-nav-links {
        gap: 18px;
    }

    .header-search-form {
        width: 210px;
    }

}


@media (max-width: 900px) {

    .header-inner {
        width: min(100% - 30px, 1380px);
        gap: 16px;
    }

    .main-nav {
        gap: 12px;
    }

    .main-nav-links {
        gap: 15px;
    }

    .header-search-form {
        width: 185px;
    }

    .header-search-form button {
        display: none;
    }

    .login-button,
    .account-button {
        padding-left: 12px;
        padding-right: 12px;
    }

}


@media (max-width: 760px) {

    .site-header {
        min-height: 64px;
    }

    .header-inner {
        min-height: 64px;

        width: min(100% - 24px, 1380px);

        flex-wrap: wrap;

        gap: 0;
    }


    /* -----------------------------------------------------
       MOBILE TOGGLE
       ----------------------------------------------------- */

    .mobile-menu-toggle {
        display: inline-flex;
    }


    /* -----------------------------------------------------
       MOBILE NAVIGATION
       ----------------------------------------------------- */

    .main-nav {
        display: none;

        width: 100%;

        flex: 0 0 100%;

        margin-top: 12px;

        padding: 12px;

        flex-direction: column;
        align-items: stretch;

        gap: 10px;

        background:
            linear-gradient(
                180deg,
                #15171c 0%,
                #101216 100%
            );

        border: 1px solid #292c33;
        border-radius: 12px;

        box-shadow:
            0 18px 45px rgba(0, 0, 0, 0.35);
    }


    .main-nav.is-open {
        display: flex;
    }


    .main-nav-links {
        width: 100%;

        flex-direction: column;
        align-items: stretch;

        gap: 3px;
    }


    .main-nav-links > a,
    .nav-dropdown-button {
        width: 100%;
        height: 44px;

        justify-content: flex-start;

        padding: 0 13px;

        border-radius: 7px;

        font-size: 13px;
    }


    .main-nav-links > a::after,
    .nav-dropdown-button::after {
        display: none;
    }


    .main-nav-links > a:hover,
    .main-nav-links > a.active,
    .nav-dropdown-button:hover,
    .nav-dropdown.is-open .nav-dropdown-button {
        background: #22252c;
    }


    .nav-dropdown {
        width: 100%;
        height: auto;

        display: block;
    }


    .nav-dropdown-button {
        gap: 8px;
    }


    .nav-dropdown-menu {
        position: static;

        width: 100%;
        max-width: none;

        max-height: 250px;

        margin-top: 4px;

        padding: 5px;

        border-radius: 8px;

        box-shadow: none;

        opacity: 1;
        visibility: visible;

        transform: none;

        display: none;
    }


    .nav-dropdown.is-open .nav-dropdown-menu {
        display: block;
    }


    .nav-dropdown-menu a,
    .nav-dropdown-empty {
        padding: 10px 12px;
    }


    /* -----------------------------------------------------
       ACTIONS
       ----------------------------------------------------- */

    .header-actions {
        width: 100%;

        margin: 5px 0 0;

        padding-top: 10px;

        border-top: 1px solid #25282f;

        flex-wrap: wrap;

        gap: 8px;
    }


    .header-search-form {
        width: 100%;
        flex: 1 1 100%;
    }


    .header-search-form button {
        display: inline-flex;
        align-items: center;
    }


    .login-button,
    .account-button,
    .logout-button {
        height: 36px;

        flex: 1;
    }

}


@media (max-width: 480px) {

    .header-inner {
        width: calc(100% - 20px);
    }


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

        font-size: 17px;
    }


    .logo-text {
        font-size: 17px;
        letter-spacing: 1.3px;
    }


    .mobile-menu-toggle {
        width: 40px;
        height: 40px;
    }


    .main-nav {
        padding: 10px;
    }


    .header-search-form {
        height: 38px;
    }


    .header-search-form input {
        font-size: 12px;
    }


    .login-button,
    .account-button,
    .logout-button {
        padding-left: 9px;
        padding-right: 9px;

        font-size: 10px;
    }

}


@media (max-width: 360px) {

    .logo-text {
        font-size: 15px;
        letter-spacing: 1px;
    }

    .header-inner {
        width: calc(100% - 16px);
    }

}




/* =========================================================
   DESKTOP HERO SIZE ONLY
   ========================================================= */

@media (min-width: 1024px) {

    .home-hero {
        min-height: 480px;
    }

    .home-hero-content {
        min-height: 480px;
    }

    .home-hero-info {
        padding: 55px 0 75px;
    }

}


/* =========================================================
   CREATE ACCOUNT
   ========================================================= */

.create-account-button {
    height: 38px;

    padding: 0 15px;

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

    background: transparent;

    border: 1px solid #3a3e48;
    border-radius: 8px;

    color: #d8d9dd;

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

    white-space: nowrap;

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


.create-account-button:hover {
    background: #181b21;

    border-color: #626773;

    color: #ffffff;

    transform: translateY(-1px);
}


/* =========================================================
   CREATE ACCOUNT — RESPONSIVE
   ========================================================= */

@media (max-width: 1024px) {

    .create-account-button {
        padding-left: 10px;
        padding-right: 10px;
    }

}


@media (max-width: 760px) {

    .create-account-button {
        height: 36px;

        flex: 1;
    }

}


@media (max-width: 480px) {

    .create-account-button {
        padding-left: 9px;
        padding-right: 9px;

        font-size: 10px;
    }

}

/* =========================================================
   IMIRASIRE TV LOGO ACCENT
   ========================================================= */

.logo-tv {
    color: #e50914;
    font-weight: 900;
}


/* =========================================================
   HOMEPAGE — WIDER DESKTOP LAYOUT
   ========================================================= */

@media (min-width: 1201px) {

    .home-content .container,
    .home-hero-content,
    .home-hero-bottom .container {
        max-width: 1400px;
    }

}

/* =========================================================
   GLOBAL RESPONSIVE FOUNDATION
   ========================================================= */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

.container,
.header-inner {
    width: min(1440px, calc(100% - 48px));
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
}

img,
video,
iframe {
    max-width: 100%;
}

@media (max-width: 1200px) {
    .container,
    .header-inner {
        width: calc(100% - 40px);
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .container,
    .header-inner {
        width: calc(100% - 32px);
    }
}

@media (max-width: 480px) {
    .container,
    .header-inner {
        width: calc(100% - 24px);
    }
}

/* =========================================================
   HOMEPAGE CONTENT CARD UPGRADE
   ========================================================= */

.home-media-card {
    position: relative;
    min-width: 0;
    display: block;
    color: inherit;
    text-decoration: none;
    transition: transform 0.25s ease;
}

.home-media-card:hover {
    transform: translateY(-5px);
}

.home-card-poster {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #15161b;
    border: 1px solid #292b32;
    border-radius: 10px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.22);
    isolation: isolate;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.home-media-card:hover .home-card-poster {
    border-color: #41444d;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.42);
}

.home-card-poster img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition:
        transform 0.45s ease,
        opacity 0.3s ease,
        filter 0.3s ease;
}

.home-media-card:hover .home-card-poster img {
    transform: scale(1.055);
    opacity: 0.76;
    filter: brightness(0.78);
}

.home-card-gradient {
    position: absolute;
    z-index: 1;
    inset: auto 0 0;
    height: 48%;
    pointer-events: none;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.86) 0%,
        rgba(0, 0, 0, 0.52) 42%,
        rgba(0, 0, 0, 0) 100%
    );
}

.home-card-overlay {
    position: absolute;
    z-index: 3;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.08) 0%,
        rgba(0, 0, 0, 0.22) 45%,
        rgba(0, 0, 0, 0.62) 100%
    );
    opacity: 0;
    transition: opacity 0.25s ease;
}

.home-media-card:hover .home-card-overlay,
.home-media-card:focus-visible .home-card-overlay {
    opacity: 1;
}

.home-card-watch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 116px;
    min-height: 38px;
    padding: 9px 16px;
    border: 1px solid rgba(255, 255, 255, 0.92);
    border-radius: 5px;
    background: #e50914;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.8px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.48);
    transform: translateY(7px) scale(0.94);
    transition:
        transform 0.25s ease,
        background 0.2s ease;
}

.home-media-card:hover .home-card-watch,
.home-media-card:focus-visible .home-card-watch {
    transform: translateY(0) scale(1);
}

.home-card-watch:hover {
    background: #f6121d;
}

.home-access-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 22px;
    padding: 5px 8px;
    border-radius: 4px;
    color: #fff;
    font-size: 8px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.9px;
    box-shadow: 0 4px 13px rgba(0, 0, 0, 0.4);
}

.home-access-premium {
    background: rgba(229, 9, 20, 0.94);
}

.home-access-free {
    background: rgba(25, 25, 29, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.home-card-info {
    min-height: 61px;
    padding-top: 11px;
}

.home-card-info h3 {
    overflow: hidden;
    margin: 0;
    color: #f1f1f2;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.home-media-card:hover .home-card-info h3 {
    color: #fff;
}

.home-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 6px;
    color: #777a84;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.4;
}

.home-card-meta span {
    white-space: nowrap;
}

.home-card-meta span + span::before {
    content: "•";
    margin: 0 8px;
    color: #4f525b;
}

@media (max-width: 768px) {

    .home-media-card:hover {
        transform: none;
    }

    .home-media-card:hover .home-card-poster {
        box-shadow: 0 5px 18px rgba(0, 0, 0, 0.22);
    }

    .home-card-overlay {
        display: none;
    }

    .home-card-gradient {
        height: 42%;
    }
}

@media (max-width: 480px) {

    .home-card-poster {
        border-radius: 8px;
    }

    .home-access-badge {
        top: 8px;
        right: 8px;
        min-height: 20px;
        padding: 4px 7px;
        font-size: 7px;
    }

    .home-card-info {
        padding-top: 9px;
    }

    .home-card-info h3 {
        font-size: 12px;
    }

    .home-card-meta {
        font-size: 9px;
    }
}


/* WATCH YOUR WAY SECTION */

.home-watch-your-way {
    padding: clamp(58px, 6vw, 82px) 0 clamp(64px, 7vw, 92px);
}

.watch-your-way-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: clamp(32px, 4vw, 64px);
    align-items: center;
    min-width: 0;
    overflow: hidden;
    padding: clamp(36px, 4vw, 52px) clamp(24px, 4vw, 56px);
    border: 1px solid #292b32;
    border-radius: 14px;
    background:
        radial-gradient(
            circle at 0% 100%,
            rgba(229, 9, 20, 0.13),
            transparent 42%
        ),
        linear-gradient(
            135deg,
            #17181d 0%,
            #111216 55%,
            #0d0e11 100%
        );
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.watch-your-way-copy {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.watch-your-way-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 15px;
    color: #e50914;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
    line-height: 1;
}

.watch-your-way-kicker::before {
    content: "";
    flex: 0 0 22px;
    width: 22px;
    height: 2px;
    background: #e50914;
}

.watch-your-way-copy h2 {
    margin: 0;
    max-width: 620px;
    color: #f5f5f6;
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 800;
    letter-spacing: -0.8px;
    line-height: 1.08;
    overflow-wrap: break-word;
}

.watch-your-way-copy p {
    max-width: 500px;
    margin: 18px 0 0;
    color: #858891;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.7;
}

.watch-your-way-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 42px;
    margin-top: 25px;
    padding: 0 18px;
    border: 1px solid #e50914;
    border-radius: 5px;
    background: #e50914;
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.9px;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.3);
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.watch-your-way-cta span {
    font-size: 14px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.watch-your-way-cta:hover {
    background: #f6121d;
    border-color: #f6121d;
    transform: translateY(-2px);
}

.watch-your-way-cta:hover span {
    transform: translateX(3px);
}

.watch-your-way-features {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #292b32;
    border-radius: 10px;
    background: #292b32;
}

.watch-your-way-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
    min-height: 116px;
    padding: clamp(20px, 2vw, 24px) clamp(16px, 2vw, 22px);
    background: rgba(18, 19, 23, 0.94);
    transition: background 0.2s ease;
}

.watch-your-way-feature:hover {
    background: rgba(28, 29, 34, 0.98);
}

.watch-your-way-icon {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #383a42;
    border-radius: 8px;
    background: #18191e;
    color: #e50914;
    font-size: 12px;
    font-weight: 900;
}

.watch-your-way-feature > div {
    min-width: 0;
}

.watch-your-way-feature h3 {
    margin: 1px 0 6px;
    color: #e9e9eb;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
}

.watch-your-way-feature p {
    margin: 0;
    color: #777a84;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.55;
    overflow-wrap: break-word;
}

@media (max-width: 1050px) {
    .watch-your-way-inner {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
        gap: 34px;
        padding-left: 36px;
        padding-right: 36px;
    }
}

@media (max-width: 900px) {
    .watch-your-way-inner {
        grid-template-columns: 1fr;
        gap: 34px;
        padding: 40px 36px;
    }

    .watch-your-way-copy p {
        max-width: 700px;
    }

    .watch-your-way-features {
        width: 100%;
    }
}

@media (max-width: 650px) {
    .home-watch-your-way {
        padding: 52px 0 62px;
    }

    .watch-your-way-inner {
        display: grid;
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 32px 20px;
        border-radius: 12px;
    }

    .watch-your-way-copy {
        text-align: left;
    }

    .watch-your-way-kicker {
        justify-content: flex-start;
        gap: 7px;
        margin-bottom: 14px;
        font-size: 9px;
        letter-spacing: 1.7px;
    }

    .watch-your-way-kicker::before {
        flex-basis: 18px;
        width: 18px;
    }

    .watch-your-way-copy h2 {
        max-width: 340px;
        margin: 0;
        font-size: clamp(27px, 7.5vw, 32px);
        line-height: 1.1;
        letter-spacing: -0.5px;
    }

    .watch-your-way-copy p {
        max-width: 400px;
        margin: 15px 0 0;
        font-size: 12px;
        line-height: 1.65;
    }

    .watch-your-way-cta {
        min-height: 42px;
        margin-top: 21px;
        padding: 0 18px;
    }

    .watch-your-way-features {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1px;
        width: 100%;
        margin-top: 0;
        border-radius: 10px;
    }

    .watch-your-way-feature {
        min-width: 0;
        min-height: 110px;
        padding: 18px 15px;
        gap: 10px;
    }

    .watch-your-way-feature > div {
        min-width: 0;
    }

    .watch-your-way-icon {
        flex: 0 0 30px;
        width: 30px;
        height: 30px;
        border-radius: 7px;
        font-size: 11px;
    }

    .watch-your-way-feature h3 {
        margin: 1px 0 5px;
        font-size: 11px;
        line-height: 1.3;
    }

    .watch-your-way-feature p {
        font-size: 9.5px;
        line-height: 1.5;
        overflow-wrap: break-word;
    }
}

@media (max-width: 480px) {
    .home-watch-your-way {
        padding: 46px 0 56px;
    }

    .watch-your-way-inner {
        padding: 28px 16px;
        gap: 25px;
        border-radius: 11px;
    }

    .watch-your-way-copy h2 {
        max-width: 300px;
        font-size: 25px;
        line-height: 1.13;
    }

    .watch-your-way-copy p {
        max-width: 330px;
        font-size: 11.5px;
    }

    .watch-your-way-cta {
        min-height: 43px;
        font-size: 10px;
    }

    .watch-your-way-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .watch-your-way-feature {
        min-height: 105px;
        padding: 16px 12px;
        gap: 9px;
    }

    .watch-your-way-feature h3 {
        font-size: 11px;
    }

    .watch-your-way-feature p {
        font-size: 9px;
    }
}

@media (max-width: 360px) {
    .watch-your-way-inner {
        padding-left: 13px;
        padding-right: 13px;
    }

    .watch-your-way-copy h2 {
        font-size: 23px;
    }

    .watch-your-way-feature {
        padding: 15px 10px;
        gap: 8px;
    }

    .watch-your-way-icon {
        flex-basis: 28px;
        width: 28px;
        height: 28px;
    }

    .watch-your-way-feature h3 {
        font-size: 10.5px;
    }

    .watch-your-way-feature p {
        font-size: 8.8px;
    }
}


/* =========================================================
   IMIRASIRE TV — LEGAL & SUPPORT PAGES
   ========================================================= */

.legal-page,
.contact-page {
    width: 100%;
    padding: 0 0 90px;
    background: #0b0b0f;
}


/* =========================================================
   PAGE HERO
   ========================================================= */

.legal-hero,
.contact-hero {
    position: relative;

    width: 100%;

    padding: 76px 24px 64px;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(229, 9, 20, 0.13),
            transparent 42%
        ),
        linear-gradient(
            180deg,
            #101116 0%,
            #0b0b0f 100%
        );

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

    overflow: hidden;
}

.legal-hero::after,
.contact-hero::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: -80px;

    width: 420px;
    height: 160px;

    transform: translateX(-50%);

    background: rgba(229, 9, 20, 0.08);

    filter: blur(65px);

    pointer-events: none;
}

.legal-hero-inner,
.contact-hero-inner {
    position: relative;
    z-index: 1;

    width: min(1120px, 100%);

    margin: 0 auto;
}

.legal-kicker,
.contact-kicker {
    margin-bottom: 14px;

    color: #e50914;

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

    text-transform: uppercase;
    letter-spacing: 2px;
}

.legal-hero h1,
.contact-hero h1 {
    margin: 0;

    color: #ffffff;

    font-size: clamp(34px, 5vw, 54px);
    font-weight: 900;

    line-height: 1.08;

    letter-spacing: -1.2px;
}

.legal-hero-description,
.contact-hero-description {
    max-width: 720px;

    margin-top: 18px;

    color: #9699a3;

    font-size: 16px;
    line-height: 1.75;
}


/* =========================================================
   LEGAL CONTENT AREA
   ========================================================= */

.legal-content,
.contact-content {
    width: min(1120px, calc(100% - 48px));

    margin: 0 auto;

    padding-top: 54px;
}


/* =========================================================
   DOCUMENT META
   ========================================================= */

.legal-meta {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 42px;

    color: #777982;

    font-size: 13px;
}

.legal-meta-dot {
    width: 5px;
    height: 5px;

    flex: 0 0 auto;

    background: #e50914;

    border-radius: 50%;
}


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

.legal-section,
.contact-section {
    padding: 0 0 38px;

    margin-bottom: 38px;

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

.legal-section:last-child,
.contact-section:last-child {
    margin-bottom: 0;
    border-bottom: 0;
}

.legal-section h2,
.contact-section h2 {
    position: relative;

    margin: 0 0 18px;

    padding-left: 18px;

    color: #ffffff;

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

    line-height: 1.3;
}

.legal-section h2::before,
.contact-section h2::before {
    content: "";

    position: absolute;

    left: 0;
    top: 3px;

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

    background: #e50914;

    border-radius: 3px;
}

.legal-section h3,
.contact-section h3 {
    margin: 25px 0 12px;

    color: #eeeeef;

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

.legal-section p,
.contact-section p {
    max-width: 900px;

    margin: 0 0 15px;

    color: #b8bac1;

    font-size: 15px;

    line-height: 1.85;
}

.legal-section strong,
.contact-section strong {
    color: #ffffff;
}

.legal-section ul,
.contact-section ul {
    max-width: 900px;

    margin: 13px 0 20px 22px;

    padding: 0;
}

.legal-section li,
.contact-section li {
    margin-bottom: 9px;

    color: #b8bac1;

    font-size: 15px;

    line-height: 1.8;
}

.legal-section li::marker,
.contact-section li::marker {
    color: #e50914;
}


/* =========================================================
   LEGAL LINKS
   ========================================================= */

.legal-section a,
.contact-section a {
    color: #f20d18;

    transition: color 0.2s ease;
}

.legal-section a:hover,
.contact-section a:hover {
    color: #ff3942;

    text-decoration: underline;
}


/* =========================================================
   CONTACT PAGE
   ========================================================= */

.contact-content {
    padding-top: 48px;
}

.contact-intro {
    max-width: 780px;

    margin: 0 0 42px;

    color: #b8bac1;

    font-size: 16px;

    line-height: 1.85;
}

.contact-details {
    display: grid;

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

    gap: 16px;

    margin-bottom: 52px;
}

.contact-detail {
    position: relative;

    padding: 25px 26px;

    background:
        linear-gradient(
            145deg,
            #15161b 0%,
            #101115 100%
        );

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

    border-radius: 9px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.20);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease;
}

.contact-detail:hover {
    transform: translateY(-2px);

    border-color: rgba(229, 9, 20, 0.38);
}

.contact-detail-label {
    margin-bottom: 8px;

    color: #777982;

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

    text-transform: uppercase;

    letter-spacing: 1.3px;
}

.contact-detail-value {
    color: #ffffff;

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

    line-height: 1.5;
}

.contact-detail a {
    color: #ffffff;
}

.contact-detail a:hover {
    color: #ff3942;
    text-decoration: none;
}


/* =========================================================
   CONTACT NOTICE
   ========================================================= */

.contact-notice {
    margin: 22px 0 28px;

    padding: 19px 21px;

    background: rgba(229, 9, 20, 0.055);

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

    border-left: 3px solid #e50914;

    border-radius: 7px;

    color: #bfc2ca;

    font-size: 14px;

    line-height: 1.75;
}


/* =========================================================
   CONTACT SUBJECTS
   ========================================================= */

.contact-subjects {
    display: grid;

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

    gap: 10px 30px;

    max-width: 850px;

    margin-top: 16px;
}


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

@media (max-width: 760px) {

    .legal-hero,
    .contact-hero {
        padding: 52px 20px 46px;
    }

    .legal-content,
    .contact-content {
        width: calc(100% - 32px);

        padding-top: 38px;
    }

    .legal-hero h1,
    .contact-hero h1 {
        font-size: 35px;
    }

    .legal-hero-description,
    .contact-hero-description {
        font-size: 14px;
    }

    .legal-section,
    .contact-section {
        padding-bottom: 30px;
        margin-bottom: 30px;
    }

    .legal-section h2,
    .contact-section h2 {
        font-size: 21px;
    }

    .legal-section p,
    .contact-section p,
    .legal-section li,
    .contact-section li {
        font-size: 14px;
        line-height: 1.8;
    }

    .contact-details,
    .contact-subjects {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {

    .legal-hero,
    .contact-hero {
        padding: 42px 16px 38px;
    }

    .legal-content,
    .contact-content {
        width: calc(100% - 24px);

        padding-top: 30px;
    }

    .legal-hero h1,
    .contact-hero h1 {
        font-size: 31px;
    }

    .legal-section h2,
    .contact-section h2 {
        padding-left: 14px;

        font-size: 20px;
    }

    .contact-detail {
        padding: 21px 20px;
    }
}


/* =========================================================
   IMIRASIRE TV — LEGAL PAGE COMPATIBILITY FIX
   Keep legal/support pages aligned with the main website.
   ========================================================= */

.legal-page,
.contact-page {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
}

.legal-hero-inner,
.contact-hero-inner,
.legal-content,
.contact-content {
    width: min(1180px, calc(100% - 48px));
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

.legal-content,
.contact-content {
    box-sizing: border-box;
}

.legal-section,
.contact-section {
    width: 100%;
    max-width: none;
}

.legal-section p,
.contact-section p,
.legal-section ul,
.contact-section ul {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}

.contact-intro {
    width: 100%;
    max-width: 900px;
}

@media (max-width: 760px) {
    .legal-hero-inner,
    .contact-hero-inner,
    .legal-content,
    .contact-content {
        width: calc(100% - 32px);
        max-width: none;
    }
}

@media (max-width: 480px) {
    .legal-hero-inner,
    .contact-hero-inner,
    .legal-content,
    .contact-content {
        width: calc(100% - 24px);
        max-width: none;
    }
}


/* =========================================================
   HOMEPAGE — RESPONSIVE HORIZONTAL CONTENT ROWS
   ========================================================= */

.home-card-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 22px;

    width: 100%;
    min-width: 0;

    overflow-x: auto;
    overflow-y: hidden;

    padding: 2px 2px 14px;

    scroll-behavior: smooth;
    scroll-snap-type: x proximity;

    -webkit-overflow-scrolling: touch;

    scrollbar-width: thin;
}

.home-card-row::-webkit-scrollbar {
    height: 6px;
}

.home-card-row::-webkit-scrollbar-track {
    background: transparent;
}

.home-card-row::-webkit-scrollbar-thumb {
    background: #34363d;
    border-radius: 999px;
}

.home-card-row .home-media-card {
    flex: 0 0 180px;
    width: 180px;
    min-width: 180px;

    scroll-snap-align: start;
}

/* Large desktop */
@media (min-width: 1400px) {
    .home-card-row {
        gap: 22px;
    }

    .home-card-row .home-media-card {
        flex-basis: 184px;
        width: 184px;
        min-width: 184px;
    }
}

/* Desktop / laptop */
@media (min-width: 992px) and (max-width: 1399px) {
    .home-card-row {
        gap: 20px;
    }

    .home-card-row .home-media-card {
        flex-basis: 174px;
        width: 174px;
        min-width: 174px;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
    .home-card-row {
        gap: 16px;
        padding-bottom: 12px;
    }

    .home-card-row .home-media-card {
        flex-basis: 168px;
        width: 168px;
        min-width: 168px;
    }
}

/* Mobile */
@media (min-width: 481px) and (max-width: 767px) {
    .home-card-row {
        gap: 14px;
        padding-bottom: 10px;
    }

    .home-card-row .home-media-card {
        flex-basis: 155px;
        width: 155px;
        min-width: 155px;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .home-card-row {
        gap: 12px;
        padding-left: 1px;
        padding-right: 1px;
        padding-bottom: 9px;

        scrollbar-width: none;
    }

    .home-card-row::-webkit-scrollbar {
        display: none;
    }

    .home-card-row .home-media-card {
        flex-basis: 145px;
        width: 145px;
        min-width: 145px;
    }
}

/* Prevent the overall homepage from becoming horizontally scrollable. */
.home-content {
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
}

.home-section {
    min-width: 0;
    max-width: 100%;
}

.home-section .container {
    min-width: 0;
    max-width: 100%;
}


/* =========================================================
   HOMEPAGE CAROUSEL NAVIGATION
   ========================================================= */

.home-carousel {
    position: relative;
    width: 100%;
    min-width: 0;
}

.home-carousel .home-card-row {
    width: 100%;
    min-width: 0;
}

.home-carousel-arrow {
    position: absolute;
    top: 42%;
    z-index: 10;

    width: 42px;
    height: 42px;

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

    padding: 0;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;

    background: rgba(12, 13, 16, 0.92);
    color: #ffffff;

    font-size: 24px;
    line-height: 1;

    cursor: pointer;

    opacity: 0;
    visibility: hidden;

    transform: translateY(-50%) scale(0.94);

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.home-carousel:hover .home-carousel-arrow.is-visible,
.home-carousel:focus-within .home-carousel-arrow.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scale(1);
}

.home-carousel-arrow:hover:not(:disabled) {
    background: #1d1f25;
    border-color: rgba(255, 255, 255, 0.24);
}

.home-carousel-arrow:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

.home-carousel-arrow:disabled {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none;
}

.home-carousel-arrow-left {
    left: -16px;
}

.home-carousel-arrow-right {
    right: -16px;
}

/* Keep navigation visible when the device does not have
   a hover-capable pointer. */
@media (hover: none) and (pointer: coarse) {
    .home-carousel-arrow.is-visible {
        opacity: 0.9;
        visibility: visible;
        transform: translateY(-50%) scale(1);
    }
}

/* Tablet */
@media (max-width: 991px) {
    .home-carousel-arrow {
        width: 38px;
        height: 38px;
        font-size: 21px;
    }

    .home-carousel-arrow-left {
        left: -8px;
    }

    .home-carousel-arrow-right {
        right: -8px;
    }
}

/* Mobile — prioritize natural touch swiping. */
@media (max-width: 767px) {
    .home-carousel-arrow {
        display: none;
    }
}

/* Prevent carousel controls from causing page-level overflow. */
.home-section {
    overflow: visible;
}

.home-section .container {
    min-width: 0;
}


/* =========================================================
   IMIRASIRE TV
   HOMEPAGE — FINAL VISUAL POLISH
   ========================================================= */

/* ---------------------------------------------------------
   SECTION SYSTEM
   --------------------------------------------------------- */

.home-content {
    background: #0b0b0f;
}

.home-section {
    padding-top: 52px;
}

.home-section + .home-section {
    padding-top: 62px;
}

.home-section-header {
    margin-bottom: 20px;
    align-items: center;
}

.home-section-kicker {
    margin-bottom: 6px;
    color: #777b86;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1.2;
    text-transform: uppercase;
}

.home-section-header h2 {
    margin: 0;
    color: #f5f5f7;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.35px;
}

.home-view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #9699a3;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
}

.home-view-all::after {
    content: "›";
    font-size: 16px;
    line-height: 0;
    transform: translateY(-1px);
    transition: transform .2s ease;
}

.home-view-all:hover {
    color: #ffffff;
}

.home-view-all:hover::after {
    transform: translate(3px, -1px);
}


/* ---------------------------------------------------------
   CAROUSEL
   --------------------------------------------------------- */

.home-carousel .home-card-row {
    gap: 20px;
    padding-top: 3px;
    padding-bottom: 15px;
    scroll-padding-left: 2px;
    scroll-padding-right: 2px;
}

.home-card-row .home-media-card {
    scroll-snap-align: start;
}


/* ---------------------------------------------------------
   MEDIA CARD
   --------------------------------------------------------- */

.home-media-card {
    position: relative;
    min-width: 0;
    display: block;
    color: inherit;
    text-decoration: none;
    transform: translateZ(0);
    transition:
        transform .25s cubic-bezier(.2,.7,.2,1),
        filter .25s ease;
}

.home-media-card:hover {
    transform: translateY(-5px);
}


/* ---------------------------------------------------------
   POSTER
   --------------------------------------------------------- */

.home-card-poster {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #15161b;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 9px;
    box-shadow:
        0 5px 18px rgba(0,0,0,.24),
        0 1px 2px rgba(0,0,0,.18);
    isolation: isolate;
    transition:
        border-color .25s ease,
        box-shadow .25s ease,
        transform .25s ease;
}

.home-media-card:hover .home-card-poster {
    border-color: rgba(255,255,255,.19);
    box-shadow:
        0 16px 36px rgba(0,0,0,.46),
        0 5px 14px rgba(0,0,0,.25);
}

.home-card-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,0) 52%,
            rgba(0,0,0,.06) 72%,
            rgba(0,0,0,.32) 100%
        );
    opacity: .7;
    transition: opacity .25s ease;
}

.home-media-card:hover .home-card-poster::after {
    opacity: 1;
}

.home-card-poster img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.001);
    transition:
        transform .45s cubic-bezier(.2,.7,.2,1),
        opacity .3s ease,
        filter .3s ease;
}

.home-media-card:hover .home-card-poster img {
    transform: scale(1.055);
    opacity: .72;
    filter: brightness(.84);
}


/* ---------------------------------------------------------
   HOVER OVERLAY
   --------------------------------------------------------- */

.home-card-overlay {
    z-index: 4;
    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,.02) 0%,
            rgba(0,0,0,.12) 45%,
            rgba(0,0,0,.52) 100%
        );
}

.home-card-play {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255,255,255,.94);
    box-shadow:
        0 10px 28px rgba(0,0,0,.55);
}

.home-media-card:focus-visible {
    outline: none;
}

.home-media-card:focus-visible .home-card-poster {
    border-color: rgba(255,255,255,.65);
    box-shadow:
        0 0 0 3px rgba(255,255,255,.12),
        0 14px 32px rgba(0,0,0,.42);
}


/* ---------------------------------------------------------
   CARD INFORMATION
   --------------------------------------------------------- */

.home-media-card .home-card-info {
    padding-top: 10px;
}

.home-media-card .home-card-info h3 {
    margin: 0;
    color: #e6e7eb;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -.05px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-media-card:hover .home-card-info h3 {
    color: #ffffff;
}

.home-media-card .home-card-meta {
    margin-top: 5px;
    color: #727681;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.4;
}

.home-media-card .home-card-meta span + span::before {
    margin: 0 7px;
    color: #464951;
}


/* ---------------------------------------------------------
   CAROUSEL ARROWS
   --------------------------------------------------------- */

.home-carousel-arrow {
    width: 40px;
    height: 40px;
    border-color: rgba(255,255,255,.14);
    background: rgba(10,11,14,.94);
    box-shadow:
        0 8px 24px rgba(0,0,0,.34);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.home-carousel-arrow:hover:not(:disabled) {
    background: rgba(30,31,36,.98);
    border-color: rgba(255,255,255,.28);
    box-shadow:
        0 10px 28px rgba(0,0,0,.46);
}

.home-carousel-arrow-left {
    left: -12px;
}

.home-carousel-arrow-right {
    right: -12px;
}


/* ---------------------------------------------------------
   LARGE DESKTOP
   --------------------------------------------------------- */

@media (min-width: 1400px) {

    .home-section {
        padding-top: 56px;
    }

    .home-section + .home-section {
        padding-top: 66px;
    }

    .home-section-header {
        margin-bottom: 22px;
    }

    .home-section-header h2 {
        font-size: 25px;
    }

    .home-carousel .home-card-row {
        gap: 22px;
    }

    .home-card-row .home-media-card {
        flex-basis: 184px;
        width: 184px;
        min-width: 184px;
    }

}


/* ---------------------------------------------------------
   DESKTOP / LAPTOP
   --------------------------------------------------------- */

@media (min-width: 992px) and (max-width: 1399px) {

    .home-section-header h2 {
        font-size: 23px;
    }

    .home-carousel .home-card-row {
        gap: 20px;
    }

    .home-card-row .home-media-card {
        flex-basis: 174px;
        width: 174px;
        min-width: 174px;
    }

}


/* ---------------------------------------------------------
   TABLET
   --------------------------------------------------------- */

@media (min-width: 768px) and (max-width: 991px) {

    .home-section {
        padding-top: 44px;
    }

    .home-section + .home-section {
        padding-top: 52px;
    }

    .home-section-header {
        margin-bottom: 17px;
    }

    .home-section-kicker {
        font-size: 8px;
        letter-spacing: 1.7px;
    }

    .home-section-header h2 {
        font-size: 21px;
    }

    .home-carousel .home-card-row {
        gap: 16px;
        padding-bottom: 13px;
    }

    .home-card-row .home-media-card {
        flex-basis: 168px;
        width: 168px;
        min-width: 168px;
    }

    .home-carousel-arrow-left {
        left: -7px;
    }

    .home-carousel-arrow-right {
        right: -7px;
    }

}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 767px) {

    .home-section {
        padding-top: 36px;
    }

    .home-section + .home-section {
        padding-top: 44px;
    }

    .home-section-header {
        margin-bottom: 14px;
        gap: 12px;
    }

    .home-section-kicker {
        margin-bottom: 5px;
        font-size: 8px;
        letter-spacing: 1.5px;
    }

    .home-section-header h2 {
        font-size: 19px;
        letter-spacing: -.2px;
    }

    .home-view-all {
        font-size: 10px;
    }

    .home-carousel .home-card-row {
        gap: 14px;
        padding-bottom: 11px;
        scrollbar-width: none;
    }

    .home-carousel .home-card-row::-webkit-scrollbar {
        display: none;
    }

    .home-media-card .home-card-info {
        padding-top: 8px;
    }

    .home-media-card .home-card-info h3 {
        font-size: 12px;
    }

    .home-media-card .home-card-meta {
        margin-top: 4px;
        font-size: 9px;
    }

}


/* ---------------------------------------------------------
   SMALL PHONES
   --------------------------------------------------------- */

@media (max-width: 480px) {

    .home-section {
        padding-top: 31px;
    }

    .home-section + .home-section {
        padding-top: 39px;
    }

    .home-section-header {
        margin-bottom: 12px;
    }

    .home-section-header h2 {
        font-size: 18px;
    }

    .home-carousel .home-card-row {
        gap: 12px;
        padding-left: 1px;
        padding-right: 1px;
        padding-bottom: 9px;
    }

    .home-card-row .home-media-card {
        flex-basis: 145px;
        width: 145px;
        min-width: 145px;
    }

    .home-media-card .home-card-info h3 {
        font-size: 11px;
    }

    .home-media-card .home-card-meta {
        font-size: 9px;
    }

}


/* ---------------------------------------------------------
   VERY SMALL PHONES
   --------------------------------------------------------- */

@media (max-width: 360px) {

    .home-section {
        padding-top: 27px;
    }

    .home-section + .home-section {
        padding-top: 35px;
    }

    .home-section-header h2 {
        font-size: 17px;
    }

    .home-card-row .home-media-card {
        flex-basis: 138px;
        width: 138px;
        min-width: 138px;
    }

}


/* ---------------------------------------------------------
   REDUCE MOTION
   --------------------------------------------------------- */

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

    .home-media-card,
    .home-card-poster,
    .home-card-poster img,
    .home-card-overlay,
    .home-card-play,
    .home-carousel-arrow,
    .home-view-all::after {
        transition: none !important;
    }

}


/* =========================================================
   HOMEPAGE — HIDE CARD ROW SCROLLBAR
   Keep horizontal carousel scrolling functional.
   ========================================================= */

.home-card-row {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.home-card-row::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}



/* =========================================================
   NOTIFICATION CENTER
   ========================================================= */

.header-notifications {
    position: relative;
    flex: 0 0 auto;
}

.notification-bell {
    position: relative;

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

    width: 42px;
    height: 42px;

    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;

    background: rgba(255, 255, 255, 0.04);
    color: inherit;

    cursor: pointer;

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

.notification-bell:hover,
.header-notifications.is-open .notification-bell {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
}

.notification-bell svg {
    width: 20px;
    height: 20px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.notification-badge {
    position: absolute;

    top: -5px;
    right: -5px;

    min-width: 19px;
    height: 19px;

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

    padding: 0 5px;

    border: 2px solid var(--header-bg, #111);
    border-radius: 999px;

    background: #dc2626;
    color: #fff;

    font-size: 10px;
    font-weight: 800;
    line-height: 1;
}

.notification-dropdown {
    position: absolute;

    top: calc(100% + 12px);
    right: 0;

    width: min(390px, calc(100vw - 30px));

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;

    background: #151515;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);

    pointer-events: none;

    transition:
        opacity 0.18s ease,
        visibility 0.18s ease,
        transform 0.18s ease;

    z-index: 1000;
}

.header-notifications.is-open .notification-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.notification-dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 16px;

    padding: 15px 16px;

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

.notification-dropdown-header > div {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.notification-dropdown-header strong {
    font-size: 14px;
}

.notification-dropdown-header span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
}

.notification-dropdown-header a {
    color: #e5e5e5;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.notification-dropdown-header a:hover {
    color: #fff;
}

.notification-item {
    display: flex;
    align-items: flex-start;

    gap: 12px;

    padding: 13px 16px;

    color: inherit;
    text-decoration: none;

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

    transition: background-color 0.18s ease;
}

.notification-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.notification-item.is-unread {
    background: rgba(220, 38, 38, 0.06);
}

.notification-item.is-unread:hover {
    background: rgba(220, 38, 38, 0.1);
}

.notification-item-icon {
    flex: 0 0 auto;

    width: 34px;
    height: 34px;

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

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

    background: rgba(255, 255, 255, 0.04);

    font-size: 14px;
}

.notification-item-content {
    min-width: 0;

    display: flex;
    flex-direction: column;
    gap: 3px;
}

.notification-item-content strong {
    overflow: hidden;

    color: #fff;

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

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

.notification-item-content span {
    display: -webkit-box;
    overflow: hidden;

    color: rgba(255, 255, 255, 0.62);

    font-size: 12px;
    line-height: 1.45;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.notification-item-content small {
    color: rgba(255, 255, 255, 0.38);
    font-size: 10px;
}

.notification-empty {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 4px;

    padding: 32px 20px;

    text-align: center;
}

.notification-empty strong {
    color: #fff;
    font-size: 13px;
}

.notification-empty span {
    color: rgba(255, 255, 255, 0.45);
    font-size: 12px;
}

.notification-dropdown-footer {
    display: block;

    padding: 13px 16px;

    color: #fff;
    background: rgba(255, 255, 255, 0.025);

    font-size: 12px;
    font-weight: 750;
    text-align: center;
    text-decoration: none;

    transition: background-color 0.18s ease;
}

.notification-dropdown-footer:hover {
    background: rgba(255, 255, 255, 0.06);
}


/* =========================================================
   NOTIFICATION PAGE
   ========================================================= */

.notifications-page {
    width: min(920px, calc(100% - 32px));

    margin: 0 auto;

    padding: 42px 0 70px;
}

.notifications-page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 24px;

    margin-bottom: 24px;
}

.notifications-page-header h1 {
    margin: 0;

    color: #fff;

    font-size: clamp(26px, 4vw, 36px);
    line-height: 1.1;
}

.notifications-page-header p {
    margin: 8px 0 0;

    color: rgba(255, 255, 255, 0.55);

    font-size: 13px;
}

.notifications-mark-all {
    flex: 0 0 auto;

    padding: 10px 14px;

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

    background: rgba(255, 255, 255, 0.04);
    color: #fff;

    cursor: pointer;

    font-size: 12px;
    font-weight: 750;

    transition:
        background-color 0.18s ease,
        border-color 0.18s ease;
}

.notifications-mark-all:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.24);
}

.notifications-list {
    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;

    background: #121212;
}

.notification-page-item {
    display: flex;
    align-items: flex-start;

    gap: 15px;

    padding: 18px;

    color: inherit;
    text-decoration: none;

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

    transition: background-color 0.18s ease;
}

.notification-page-item:last-child {
    border-bottom: 0;
}

.notification-page-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.notification-page-item.is-unread {
    background: rgba(220, 38, 38, 0.055);
}

.notification-page-item.is-unread:hover {
    background: rgba(220, 38, 38, 0.09);
}

.notification-page-icon {
    flex: 0 0 auto;

    width: 42px;
    height: 42px;

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

    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 11px;

    background: rgba(255, 255, 255, 0.04);

    font-size: 17px;
}

.notification-page-content {
    flex: 1;
    min-width: 0;
}

.notification-page-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.notification-page-title-row h2 {
    margin: 0;

    color: #fff;

    font-size: 14px;
    line-height: 1.3;
}

.notification-unread-dot {
    width: 7px;
    height: 7px;

    flex: 0 0 auto;

    border-radius: 50%;

    background: #dc2626;
}

.notification-page-message {
    margin: 5px 0 7px;

    color: rgba(255, 255, 255, 0.62);

    font-size: 13px;
    line-height: 1.5;
}

.notification-page-time {
    color: rgba(255, 255, 255, 0.38);

    font-size: 11px;
}

.notifications-empty-page {
    padding: 70px 20px;

    text-align: center;
}

.notifications-empty-page h2 {
    margin: 0 0 7px;

    color: #fff;

    font-size: 18px;
}

.notifications-empty-page p {
    margin: 0;

    color: rgba(255, 255, 255, 0.48);

    font-size: 13px;
}

.notifications-pagination {
    margin-top: 22px;
}


/* =========================================================
   NOTIFICATION RESPONSIVE
   ========================================================= */

@media (max-width: 640px) {

    .notification-dropdown {
        position: fixed;

        top: calc(var(--site-header-height, 70px) + 8px);
        right: 15px;
        left: 15px;

        width: auto;
    }

    .notifications-page {
        width: min(100% - 24px, 920px);

        padding-top: 28px;
    }

    .notifications-page-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .notifications-mark-all {
        width: 100%;
    }

    .notification-page-item {
        padding: 15px;
    }

}


/* Notification page action forms */

.notification-page-form {
    margin: 0;
    padding: 0;
    border: 0;
}

.notification-page-form .notification-page-item {
    width: 100%;
    margin: 0;

    appearance: none;
    -webkit-appearance: none;
    background-color: #181818;
    color: #ffffff;

    border-top: 0;
    border-right: 0;
    border-left: 0;

    font: inherit;
    text-align: left;
    cursor: pointer;
}

.notification-page-form .notification-page-item.is-unread {
    background-color: rgba(220, 38, 38, 0.08);
}



/* =========================================================
   ADMIN NOTIFICATION COMPOSER
   ========================================================= */

.admin-notification-page {
    min-height: calc(100vh - 70px);
    padding: 45px 40px 70px;
    background: transparent;
}

.admin-notification-container {
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
}

.admin-notification-header {
    margin-bottom: 25px;
}

.admin-notification-header h1 {
    margin: 0;
    color: #ffffff;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 800;
}

.admin-notification-header p {
    margin: 8px 0 0;
    color: #888891;
    font-size: 13px;
    line-height: 1.6;
}

.admin-notification-alert {
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: 9px;
    font-size: 12px;
    line-height: 1.6;
}

.admin-notification-alert-success {
    background: #18251c;
    border: 1px solid #294b32;
    color: #7fc88c;
}

.admin-notification-alert-error {
    background: #321c1c;
    border: 1px solid #633333;
    color: #e89a9a;
}

.admin-notification-alert-error ul {
    margin: 7px 0 0;
    padding-left: 20px;
}

.admin-notification-card {
    overflow: hidden;
    background: #141419;
    border: 1px solid #292930;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .20);
}

.admin-notification-section {
    padding: 28px;
    border-bottom: 1px solid #292930;
}

.admin-notification-section-header {
    margin-bottom: 22px;
}

.admin-notification-section-header h2 {
    margin: 0;
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
}

.admin-notification-section-header p {
    margin: 6px 0 0;
    color: #888891;
    font-size: 12px;
    line-height: 1.5;
}

.admin-notification-target-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.admin-notification-target {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-height: 86px;
    padding: 17px;
    border: 1px solid #292930;
    border-radius: 10px;
    background: #18181e;
    cursor: pointer;
    transition: .2s ease;
}

.admin-notification-target:hover {
    border-color: #3a3a44;
    background: #1c1c23;
}

.admin-notification-target:has(input:checked) {
    border-color: #e50914;
    background: rgba(229, 9, 20, .08);
}

.admin-notification-target input {
    margin-top: 3px;
    accent-color: #e50914;
}

.admin-notification-target span {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.admin-notification-target strong {
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
}

.admin-notification-target small {
    color: #777780;
    font-size: 10px;
    line-height: 1.5;
}

.admin-notification-specific {
    display: none;
    margin-top: 18px;
    padding: 18px;
    border: 1px solid #292930;
    border-radius: 10px;
    background: #101014;
}

.admin-notification-specific.is-visible {
    display: block;
}

.admin-notification-label {
    display: block;
    margin-bottom: 8px;
    color: #aaaaB4;
    font-size: 11px;
    font-weight: 800;
}

.admin-notification-input,
.admin-notification-select,
.admin-notification-textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #303039;
    border-radius: 8px;
    background: #101014;
    color: #eeeeF2;
    font: inherit;
    font-size: 12px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.admin-notification-input {
    min-height: 43px;
    padding: 0 13px;
}

.admin-notification-select {
    min-height: 170px;
    padding: 8px;
}

.admin-notification-textarea {
    min-height: 140px;
    padding: 12px 13px;
    resize: vertical;
}

.admin-notification-input:focus,
.admin-notification-select:focus,
.admin-notification-textarea:focus {
    border-color: #e50914;
    box-shadow: 0 0 0 3px rgba(229, 9, 20, .10);
}

.admin-notification-input::placeholder,
.admin-notification-textarea::placeholder {
    color: #5f5f68;
}

.admin-notification-select option {
    padding: 8px;
    background: #101014;
    color: #eeeeF2;
}

.admin-notification-help {
    display: block;
    margin-top: 7px;
    color: #666670;
    font-size: 10px;
    line-height: 1.5;
}

.admin-notification-form-group {
    margin-bottom: 20px;
}

.admin-notification-form-group:last-child {
    margin-bottom: 0;
}

.admin-notification-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.admin-notification-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 20px 28px;
    background: #111116;
}

.admin-notification-cancel,
.admin-notification-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 17px;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: .2s ease;
}

.admin-notification-cancel {
    border: 1px solid #303039;
    background: #18181e;
    color: #aaaaB4;
}

.admin-notification-cancel:hover {
    background: #222229;
    color: #ffffff;
}

.admin-notification-submit {
    border: 1px solid #e50914;
    background: #e50914;
    color: #ffffff;
}

.admin-notification-submit:hover {
    border-color: #c70710;
    background: #c70710;
}

@media (max-width: 800px) {

    .admin-notification-page {
        padding: 30px 20px 50px;
    }

    .admin-notification-target-grid {
        grid-template-columns: 1fr;
    }

    .admin-notification-form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

}

@media (max-width: 520px) {

    .admin-notification-page {
        padding: 25px 14px 40px;
    }

    .admin-notification-section {
        padding: 20px;
    }

    .admin-notification-actions {
        padding: 17px 20px;
    }

    .admin-notification-cancel,
    .admin-notification-submit {
        flex: 1;
    }

}


/* Notification dropdown action forms */

.notification-dropdown-form {
    margin: 0;
    padding: 0;
    border: 0;
}

.notification-dropdown-form .notification-item {
    width: 100%;
    margin: 0;
    border-top: 0;
    border-right: 0;
    border-left: 0;
    appearance: none;
    -webkit-appearance: none;
    background-color: rgba(18, 18, 18, 0.98);
    color: #ffffff;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.notification-dropdown-form .notification-item.is-unread {
    background-color: rgba(220, 38, 38, 0.06);
}

.notification-dropdown-form .notification-item:focus-visible {
    outline: 2px solid #e50914;
    outline-offset: -2px;
}


.notification-page-title {
    display: block;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 800;
}

/* =========================================================
   PUBLIC ADVERTISEMENTS
   ========================================================= */

.public-advertisement {
    width: 100%;
    margin: 1.25rem auto;
    overflow: hidden;
}

.public-advertisement-link {
    display: block;
    width: 100%;
    text-decoration: none;
}

.public-advertisement-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border: 0;
}

.public-advertisement-text {
    display: block;
    padding: 1rem 1.25rem;
    text-align: center;
}

.public-advertisement-html,
.public-advertisement-code,
.public-advertisement-video {
    width: 100%;
    overflow: hidden;
}

.public-advertisement-sticky_bottom {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    width: 100%;
    margin: 0;
    padding: .5rem;
    background: rgba(0, 0, 0, .92);
}

@media (max-width: 767px) {
    .public-advertisement {
        margin: 1rem auto;
    }

    .public-advertisement-desktop_sidebar {
        display: none;
    }
}

@media (min-width: 768px) {
    .public-advertisement-mobile_banner {
        display: none;
    }
}

/* =========================================================
   PUBLIC ADVERTISEMENTS
   ========================================================= */

.public-advertisement {
    width: 100%;
    margin: 24px auto;
    position: relative;
    box-sizing: border-box;
}

.public-advertisement-link {
    display: block;
    width: 100%;
    text-decoration: none;
}

.public-advertisement-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}

.public-advertisement-title {
    display: block;
    margin-bottom: 8px;
    color: inherit;
    font-size: 14px;
    font-weight: 700;
}

.public-advertisement-text-link {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    background: rgba(255,255,255,.025);
    color: inherit;
}

.public-advertisement-html {
    overflow: hidden;
    width: 100%;
}

.public-advertisement-video-link {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-radius: 10px;
    background: rgba(255,255,255,.025);
    color: inherit;
}

@media (max-width: 700px) {

    .public-advertisement {
        margin: 18px auto;
    }

    .public-advertisement-image {
        max-height: none;
    }

}


/* ============================================================
   PUBLIC ADVERTISEMENT PRESENTATION
   ============================================================ */

.public-advertisement {
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
}

.public-advertisement img,
.public-advertisement-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border: 0;
}

.public-advertisement-link {
    display: block;
    width: 100%;
    max-width: 100%;
    text-decoration: none;
}

.public-advertisement-link:hover {
    text-decoration: none;
}

.public-advertisement-title {
    margin: 0 0 8px;
    color: #a7a8b0;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.public-advertisement-text-link {
    padding: 12px 14px;
    background: #15161c;
    border: 1px solid #292a31;
    border-radius: 8px;
    color: #ffffff;
}

.public-advertisement-text-link:hover {
    background: #1d1e25;
    color: #ffffff;
}

.public-advertisement-html {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.public-advertisement-video {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.public-advertisement-video-player {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: #000000;
    border-radius: 8px;
}

.public-advertisement-video-click {
    display: block;
    margin-top: 8px;
    color: #a7a8b0;
    font-size: 12px;
    line-height: 1.4;
    text-decoration: none;
}

.public-advertisement-video-click:hover {
    color: #ffffff;
    text-decoration: none;
}

/* WATCH PAGE AD SPACING */

.public-advertisement-watch-top {
    margin: 0 0 18px;
}

.public-advertisement-watch-below-player {
    margin: 16px 0 20px;
}

.public-advertisement-watch-bottom {
    margin: 30px 0 0;
}

/* WATCH PAGE AD IMAGE CONSTRAINTS */

.public-advertisement-watch-top .public-advertisement-image,
.public-advertisement-watch-below-player .public-advertisement-image,
.public-advertisement-watch-bottom .public-advertisement-image {
    border-radius: 8px;
}

/* MOBILE */

@media (max-width: 767px) {

    .public-advertisement {
        width: 100%;
        max-width: 100%;
    }

    .public-advertisement-watch-top {
        margin-bottom: 14px;
    }

    .public-advertisement-watch-below-player {
        margin: 14px 0 16px;
    }

    .public-advertisement-watch-bottom {
        margin-top: 24px;
    }

    .public-advertisement-video-player {
        border-radius: 6px;
    }

}

/* ============================================================
   PUBLIC ADVERTISEMENT — CONTAINED PRESENTATION
   ============================================================ */

.public-advertisement {
    width: calc(100% - 32px);
    max-width: 1200px;
    margin: 28px auto;
    box-sizing: border-box;
}

.public-advertisement-image,
.public-advertisement-video,
.public-advertisement-link {
    border-radius: 10px;
}

.public-advertisement-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.public-advertisement-video {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.public-advertisement-video-player {
    display: block;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border: 0;
    border-radius: 10px;
    background: #000000;
}

.public-advertisement-title {
    margin: 0 0 8px;
}

/*
 * Sticky advertisements are deliberately separated
 * from the viewport edges as well.
 */
.public-advertisement-sticky_bottom {
    left: 16px;
    right: 16px;
    bottom: 16px;
    width: auto;
    max-width: none;
    margin: 0;
    border-radius: 10px;
}

/* Mobile */
@media (max-width: 700px) {
    .public-advertisement {
        width: calc(100% - 20px);
        margin: 20px auto;
    }

    .public-advertisement-sticky_bottom {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }
}


/* ============================================================
   STICKY BOTTOM VIDEO ADVERTISEMENT
   ============================================================ */

.public-advertisement-sticky-bottom {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;

    width: min(380px, calc(100vw - 40px));
    max-width: 380px;
    margin: 0;
    padding: 8px;

    background: #111217;
    border: 1px solid #292a31;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);

    box-sizing: border-box;
}

.public-advertisement-sticky-bottom .public-advertisement-close {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 2;

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

    padding: 3px 7px;

    background: rgba(0, 0, 0, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 5px;

    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;

    cursor: pointer;
}

.public-advertisement-sticky-bottom .public-advertisement-close span {
    font-size: 15px;
    line-height: 10px;
}

.public-advertisement-sticky-bottom .public-advertisement-close:hover {
    background: rgba(0, 0, 0, 0.95);
}

.public-advertisement-sticky-bottom .public-advertisement-title {
    margin: 0 0 6px;
    padding: 0 2px;

    font-size: 10px;
    line-height: 1.3;
}

.public-advertisement-sticky-bottom .public-advertisement-video {
    position: relative;
    width: 100%;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
}

.public-advertisement-sticky-bottom .public-advertisement-video-player {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;

    border: 0;
    border-radius: 8px;
    background: #000000;
}

/* Mobile */
@media (max-width: 700px) {
    .public-advertisement-sticky-bottom {
        right: 10px;
        bottom: 10px;

        width: min(250px, calc(100vw - 20px));
        max-width: 250px;
        padding: 5px;
        border-radius: 9px;
    }

    .public-advertisement-sticky-bottom .public-advertisement-video {
        border-radius: 7px;
    }

    .public-advertisement-sticky-bottom .public-advertisement-video-player {
        border-radius: 7px;
    }

    .public-advertisement-sticky-bottom .public-advertisement-close {
        top: 4px;
        right: 4px;
        padding: 3px 6px;
        font-size: 9px;
    }
}








/* =========================================================
   IMIRASIRE TV — GLOBAL CONFIRMATION MODAL
   ========================================================= */

body.global-confirmation-open {
    overflow: hidden;
}

.global-confirmation-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;

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

    padding: 20px;

    visibility: hidden;
    opacity: 0;

    pointer-events: none;

    transition:
        opacity 180ms ease,
        visibility 180ms ease;
}

.global-confirmation-modal.is-visible {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.global-confirmation-backdrop {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.72);

    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.global-confirmation-panel {
    position: relative;
    z-index: 1;

    width: min(100%, 500px);

    display: flex;
    gap: 20px;

    padding: 28px;

    background: #ffffff;

    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.35);

    transform: translateY(10px) scale(0.98);

    transition:
        transform 180ms ease;
}

.global-confirmation-modal.is-visible
.global-confirmation-panel {
    transform: translateY(0) scale(1);
}

.global-confirmation-icon {
    flex: 0 0 44px;

    width: 44px;
    height: 44px;

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

    border-radius: 50%;

    background: rgba(229, 9, 20, 0.10);
    border: 1px solid rgba(229, 9, 20, 0.25);

    color: #e50914;

    font-size: 24px;
    font-weight: 800;
    line-height: 1;
}

.global-confirmation-content {
    min-width: 0;
    flex: 1;
}

.global-confirmation-content h2 {
    margin: 0;

    color: #171717;

    font-size: 21px;
    font-weight: 800;
    line-height: 1.3;
}

.global-confirmation-content p {
    margin: 10px 0 0;

    color: #555555;

    font-size: 15px;
    line-height: 1.65;

    white-space: pre-line;
}

.global-confirmation-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;

    margin-top: 24px;
}

.global-confirmation-button {
    min-width: 100px;

    padding: 10px 18px;

    border-radius: 8px;

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

    cursor: pointer;

    transition:
        background-color 150ms ease,
        border-color 150ms ease,
        transform 150ms ease;
}

.global-confirmation-button:active {
    transform: translateY(1px);
}

.global-confirmation-button-cancel {
    background: #ffffff;

    border: 1px solid #d5d5d5;

    color: #444444;
}

.global-confirmation-button-cancel:hover {
    background: #f5f5f5;
    border-color: #bdbdbd;
}

.global-confirmation-button-confirm {
    background: #e50914;

    border: 1px solid #e50914;

    color: #ffffff;
}

.global-confirmation-button-confirm:hover {
    background: #c80712;
    border-color: #c80712;
}

.global-confirmation-button:focus-visible {
    outline: 3px solid rgba(229, 9, 20, 0.25);
    outline-offset: 2px;
}

@media (max-width: 600px) {

    .global-confirmation-modal {
        padding: 16px;
    }

    .global-confirmation-panel {
        gap: 14px;

        padding: 22px;

        border-radius: 14px;
    }

    .global-confirmation-icon {
        flex-basis: 38px;

        width: 38px;
        height: 38px;

        font-size: 20px;
    }

    .global-confirmation-content h2 {
        font-size: 19px;
    }

    .global-confirmation-content p {
        font-size: 14px;
    }

    .global-confirmation-actions {
        flex-direction: column-reverse;
    }

    .global-confirmation-button {
        width: 100%;
    }

}


/* IMIRASIRE TV — PWA launch splash */
.pwa-splash {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 220ms ease,
        visibility 220ms ease;
}

.pwa-splash.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.pwa-splash.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.pwa-splash__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.pwa-splash__logo {
    display: block;
    width: 180px;
    height: 180px;
    object-fit: contain;
}

.pwa-splash__name {
    margin-top: 18px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.02em;
}

@media (max-width: 600px) {
    .pwa-splash__logo {
        width: 150px;
        height: 150px;
    }

    .pwa-splash__name {
        margin-top: 14px;
        font-size: 16px;
    }
}

/* IMIRASIRE TV — PWA install prompt */
.pwa-install-prompt {
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
    display: flex;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.pwa-install-prompt.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.pwa-install-prompt__content {
    width: min(460px, 100%);
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(18, 18, 18, 0.97);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
    color: #fff;
}

.pwa-install-prompt__title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}

.pwa-install-prompt__message {
    margin-top: 7px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.5;
}

.pwa-install-prompt__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.pwa-install-prompt__install,
.pwa-install-prompt__dismiss {
    min-height: 38px;
    padding: 8px 16px;
    border-radius: 8px;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
}

.pwa-install-prompt__install {
    border: 0;
    background: #fff;
    color: #000;
    font-weight: 700;
}

.pwa-install-prompt__dismiss {
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: transparent;
    color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 600px) {
    .pwa-install-prompt {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }

    .pwa-install-prompt__content {
        padding: 16px;
    }
}


/* IMIRASIRE MOBILE HEADER ROW LAYOUT */
@media (max-width: 760px) {
    .header-inner {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        column-gap: 10px;
        row-gap: 0;
    }

    .site-logo {
        order: 0;
        margin-right: auto;
    }

    .mobile-menu-toggle {
        order: 0;
        margin-left: 0;
        flex: 0 0 auto;
    }

    .header-actions {
        order: 1;
        display: flex;
        width: 100%;
        flex: 0 0 100%;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
        margin: 10px 0 0;
        padding: 0;
        border: 0;
    }

    .header-search-form {
        order: 0;
        width: 100%;
        flex: 0 0 100%;
        min-width: 0;
    }

    .header-notifications {
        order: 1;
        flex: 0 0 auto;
    }

    .header-actions > .account-button,
    .header-actions > .login-button,
    .header-actions > .create-account-button {
        order: 2;
        flex: 1 1 0;
        min-width: 0;
    }

    .header-actions > .logout-form {
        order: 3;
        display: flex;
        flex: 1 1 0;
        min-width: 0;
    }

    .header-actions > .logout-form .logout-button {
        width: 100%;
    }

    .main-nav {
        order: 2;
        width: 100%;
        flex: 0 0 100%;
        margin-top: 10px;
    }
}


/* IMIRASIRE MOBILE SEARCH ICON */
.header-search-toggle {
    border: 0;
    background: transparent;
    color: #777b85;
    font: inherit;
    cursor: pointer;
}

@media (max-width: 760px) {
    .header-search-form {
        order: 0;
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
        overflow: hidden;
    }

    .header-search-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        padding: 0;
        font-size: 23px;
    }

    .header-search-form input,
    .header-search-form > button[type="submit"] {
        display: none;
    }

    .header-search-form.is-search-open {
        order: 0;
        width: 100%;
        flex: 0 0 100%;
    }

    .header-search-form.is-search-open .header-search-toggle {
        flex: 0 0 40px;
    }

    .header-search-form.is-search-open input {
        display: block;
        flex: 1 1 auto;
        width: 100%;
    }

    .header-search-form.is-search-open > button[type="submit"] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
    }
}


/* IMIRASIRE MOBILE SEARCH ICON FINAL FIX */
@media screen and (max-width: 760px) {
    .site-header .header-inner .header-actions form.header-search-form {
        display: flex !important;
        order: 0 !important;
        width: 34px !important;
        min-width: 34px !important;
        max-width: 34px !important;
        height: 34px !important;
        flex: 0 0 34px !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    .site-header .header-inner .header-actions form.header-search-form .header-search-toggle {
        display: inline-flex !important;
        flex: 0 0 32px !important;
        width: 32px !important;
        min-width: 32px !important;
        height: 32px !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        margin: 0 !important;
        font-size: 23px !important;
    }

    .site-header .header-inner .header-actions form.header-search-form > input[type="search"],
    .site-header .header-inner .header-actions form.header-search-form > button[type="submit"] {
        display: none !important;
    }

    .site-header .header-inner .header-actions form.header-search-form.is-search-open {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    .site-header .header-inner .header-actions form.header-search-form.is-search-open > input[type="search"] {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        flex: 1 1 auto !important;
    }

    .site-header .header-inner .header-actions form.header-search-form.is-search-open > button[type="submit"] {
        display: inline-flex !important;
        flex: 0 0 auto !important;
    }
}


/* IMIRASIRE ALL-DEVICE SEARCH ICON */
.header-actions form.header-search-form {
    display: flex !important;
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    height: 42px !important;
    flex: 0 0 42px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.header-actions form.header-search-form .header-search-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    flex: 0 0 40px !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 23px !important;
}

.header-actions form.header-search-form > input[type="search"],
.header-actions form.header-search-form > button[type="submit"] {
    display: none !important;
}

.header-actions form.header-search-form.is-search-open {
    width: min(320px, 45vw) !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 42px !important;
    flex: 0 1 320px !important;
    overflow: visible !important;
}

.header-actions form.header-search-form.is-search-open > input[type="search"] {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
}

.header-actions form.header-search-form.is-search-open > button[type="submit"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
}

@media screen and (max-width: 760px) {
    .header-actions form.header-search-form.is-search-open {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
}


/* IMIRASIRE MOBILE CENTERED LOGO AND MENU LABEL */
@media screen and (max-width: 760px) {
    .site-header .header-inner {
        position: relative !important;
        justify-content: flex-start !important;
        min-height: 68px;
    }

    .site-header .header-inner > .site-logo {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        margin: 0 !important;
        z-index: 2;
        white-space: nowrap;
    }

    .site-header .header-inner > .site-logo:hover {
        transform: translate(-50%, -50%) !important;
    }

    .site-header .header-inner > .mobile-menu-toggle {
        display: inline-flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 7px !important;
        width: auto !important;
        min-width: 0 !important;
        height: 40px !important;
        margin: 0 auto 0 0 !important;
        padding: 0 8px !important;
        background: transparent !important;
        border: 0 !important;
        border-radius: 6px;
        color: #ffffff;
        position: relative;
        z-index: 3;
    }

    .site-header .mobile-menu-toggle .menu-label {
        display: inline !important;
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        color: #ffffff !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        letter-spacing: 0.7px;
        white-space: nowrap;
        transform: none !important;
        opacity: 1 !important;
    }

    .site-header .mobile-menu-toggle .menu-arrow {
        display: inline-block !important;
        width: 7px !important;
        height: 7px !important;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        background: transparent !important;
        transform: rotate(45deg) !important;
        margin-top: -4px;
        transition: transform 0.2s ease;
    }

    .site-header .mobile-menu-toggle.is-open .menu-arrow {
        transform: rotate(225deg) !important;
        margin-top: 4px;
    }

    .site-header .header-actions > .create-account-button {
        display: none !important;
    }
}


/* IMIRASIRE MOBILE YOUR ACCOUNT LABEL */
.login-label-mobile {
    display: none;
}

@media screen and (max-width: 760px) {
    .site-header .header-actions > .login-button .login-label-desktop {
        display: none !important;
    }

    .site-header .header-actions > .login-button .login-label-mobile {
        display: inline !important;
    }
}


/* IMIRASIRE MOBILE ACCOUNT ICON */
@media screen and (max-width: 760px) {
    .site-header .header-actions > .login-button .login-label-mobile {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        font-size: 0;
    }

    .site-header .header-actions > .login-button .login-label-mobile svg {
        display: block;
        width: 22px;
        height: 22px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }
}


/* IMIRASIRE MOBILE CIRCULAR ACCOUNT BUTTON */
@media screen and (max-width: 760px) {
    .site-header .header-actions > .login-button {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 0 0 38px !important;
        width: 38px !important;
        min-width: 38px !important;
        max-width: 38px !important;
        height: 38px !important;
        padding: 0 !important;
        border-radius: 50% !important;
        box-sizing: border-box !important;
        overflow: hidden;
    }

    .site-header .header-actions > .login-button .login-label-mobile {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 22px !important;
        height: 22px !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .site-header .header-actions > .login-button .login-label-mobile svg {
        width: 20px !important;
        height: 20px !important;
    }
}

/* IMIRASIRE MOBILE SINGLE-ROW HEADER FIX */
@media screen and (max-width: 760px) {
    .site-header .header-inner {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
        column-gap: 4px !important;
        row-gap: 0 !important;
        min-height: 68px !important;
    }

    .site-header .header-inner > .mobile-menu-toggle {
        order: 0 !important;
        flex: 0 0 auto !important;
        margin: 0 auto 0 0 !important;
        position: relative !important;
        z-index: 3 !important;
    }

    .site-header .header-inner > .site-logo {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        margin: 0 !important;
        z-index: 2 !important;
        white-space: nowrap !important;
    }

    .site-header .header-inner > .header-actions {
        order: 1 !important;
        display: flex !important;
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: 48% !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 6px !important;
        margin: 0 0 0 auto !important;
        padding: 0 !important;
        border: 0 !important;
        position: relative !important;
        z-index: 3 !important;
    }

    .site-header .header-actions > .header-notifications {
        flex: 0 0 auto !important;
    }

    .site-header .header-actions > .login-button {
        flex: 0 0 38px !important;
    }

    .site-header .header-inner > .main-nav {
        order: 2 !important;
        width: 100% !important;
        flex: 0 0 100% !important;
        margin-top: 0 !important;
    }

    /* Expand the row only while search is open. */
    .site-header .header-inner:has(.header-search-form.is-search-open) {
        flex-wrap: wrap !important;
    }

    .site-header .header-inner:has(.header-search-form.is-search-open) > .header-actions {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 4px 0 0 !important;
        flex-wrap: wrap !important;
    }

    .site-header .header-inner:has(.header-search-form.is-search-open)
    .header-actions form.header-search-form.is-search-open {
        order: 0 !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
}

/* IMIRASIRE MOBILE LEFT-ALIGNED MENU DROPDOWN */
@media screen and (max-width: 760px) {
    .site-header .header-inner > .main-nav {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: auto !important;
        width: min(280px, calc(100vw - 24px)) !important;
        max-width: calc(100vw - 24px) !important;
        flex: 0 0 auto !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        z-index: 50 !important;
        display: none !important;
    }

    .site-header .header-inner > .main-nav.is-open {
        display: flex !important;
    }
}

/* IMIRASIRE MOBILE SEARCH DROPDOWN BELOW PERSISTENT HEADER */
@media screen and (max-width: 760px) {
    .site-header .header-inner:has(.header-search-form.is-search-open) {
        flex-wrap: nowrap !important;
    }

    .site-header .header-inner:has(.header-search-form.is-search-open)
    > .header-actions {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: 48% !important;
        flex-wrap: nowrap !important;
        margin: 0 0 0 auto !important;
        position: relative !important;
    }

    .site-header .header-actions form.header-search-form.is-search-open {
        position: static !important;
        display: flex !important;
        order: 0 !important;
        width: 42px !important;
        min-width: 42px !important;
        max-width: 42px !important;
        height: 42px !important;
        flex: 0 0 42px !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    .site-header .header-actions form.header-search-form.is-search-open
    > .header-search-toggle {
        position: relative !important;
        z-index: 62 !important;
    }

    .site-header .header-actions form.header-search-form.is-search-open
    > input[type="search"] {
        display: block !important;
        position: absolute !important;
        top: calc(100% + 6px) !important;
        right: 0 !important;
        left: auto !important;
        width: calc(100vw - 24px) !important;
        max-width: 420px !important;
        min-width: 0 !important;
        height: 44px !important;
        box-sizing: border-box !important;
        padding: 0 58px 0 14px !important;
        z-index: 61 !important;
        background: #181a20 !important;
        color: #fff !important;
        border: 1px solid #4a4e59 !important;
        border-radius: 8px !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, .35) !important;
    }

    .site-header .header-actions form.header-search-form.is-search-open
    > button[type="submit"] {
        display: inline-flex !important;
        position: absolute !important;
        top: calc(100% + 6px) !important;
        right: 0 !important;
        width: 48px !important;
        height: 44px !important;
        align-items: center !important;
        justify-content: center !important;
        z-index: 62 !important;
        background: transparent !important;
    }
}

/* IMIRASIRE MOBILE FULL-WIDTH SEARCH DROPDOWN */
@media screen and (max-width: 760px) {
    .site-header .header-actions form.header-search-form.is-search-open
    > input[type="search"] {
        position: fixed !important;
        top: 76px !important;
        left: 12px !important;
        right: 12px !important;
        width: calc(100vw - 24px) !important;
        max-width: none !important;
        height: 48px !important;
        box-sizing: border-box !important;
        padding: 0 58px 0 14px !important;
        z-index: 9999 !important;
        border-radius: 8px !important;
    }

    .site-header .header-actions form.header-search-form.is-search-open
    > button[type="submit"] {
        position: fixed !important;
        top: 76px !important;
        right: 12px !important;
        width: 48px !important;
        height: 48px !important;
        z-index: 10000 !important;
    }
}

/* FIX MOBILE SEARCH ICON OVERLAPPING CENTERED LOGO */
@media screen and (max-width: 760px) {
    .site-header .header-inner:has(.header-search-form.is-search-open)
    > .site-logo {
        z-index: 2 !important;
    }

    .site-header .header-inner:has(.header-search-form.is-search-open)
    > .header-actions {
        z-index: 3 !important;
    }

    .site-header .header-actions form.header-search-form.is-search-open
    > .header-search-toggle {
        position: relative !important;
        z-index: 3 !important;
    }

    .site-header .header-actions form.header-search-form.is-search-open
    > input[type="search"] {
        z-index: 9999 !important;
    }

    .site-header .header-actions form.header-search-form.is-search-open
    > button[type="submit"] {
        z-index: 10000 !important;
    }
}

/* MOBILE HEADER: SHIFT LOGO SLIGHTLY LEFT */
@media screen and (max-width: 760px) {
    .site-header .header-inner > .site-logo {
        left: calc(50% - 8px) !important;
    }
}

/* MOBILE HEADER: SHIFT LOGO 16PX LEFT FROM CENTER */
@media screen and (max-width: 760px) {
    .site-header .header-inner > .site-logo {
        left: calc(50% - 16px) !important;
    }
}



.mobile-account-menu {
    display: none;
}

@media screen and (max-width: 760px) {
    .site-header .header-actions > .login-button {
        display: none !important;
    }

    .site-header .header-actions > .mobile-account-menu {
        display: block !important;
        position: relative !important;
        flex: 0 0 32px !important;
        width: 32px !important;
        height: 32px !important;
        z-index: 10010 !important;
    }

    .site-header .mobile-account-toggle {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 32px !important;
        height: 32px !important;
        padding: 0 !important;
        border: 1px solid #ffffff !important;
        border-radius: 50% !important;
        background: linear-gradient(145deg, #ffffff 0%, #f5f5f5 55%, #e5e7eb 100%) !important;
        color: #000000 !important;
        cursor: pointer;
        box-sizing: border-box !important;
    }

    .site-header .mobile-account-toggle svg {
        display: block;
        width: 17px;
        height: 17px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .site-header .mobile-account-dropdown {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        width: 220px;
        max-width: calc(100vw - 24px);
        padding: 10px;
        gap: 8px;
        box-sizing: border-box;
        background: var(--header-bg, #151515);
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 10px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
        z-index: 10020;
    }

    .site-header .mobile-account-menu.is-open .mobile-account-dropdown {
        display: flex;
        flex-direction: column;
    }

    .site-header .mobile-account-dropdown > a {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 42px;
        margin: 0 !important;
        padding: 10px 12px !important;
        box-sizing: border-box;
        text-align: center;
        text-decoration: none;
        white-space: normal;
        border-radius: 6px;
    }
}

/* MOBILE HEADER: COMPACT IMIRASIRE TV LOGO */
@media screen and (max-width: 760px) {
    .site-header .header-inner > .site-logo {
        gap: 6px !important;
    }

    .site-header .header-inner > .site-logo .logo-mark {
        width: 27px !important;
        height: 27px !important;
        flex: 0 0 27px !important;
        font-size: 15px !important;
    }

    .site-header .header-inner > .site-logo .logo-text {
        font-size: 14px !important;
        letter-spacing: 1px !important;
    }
}

/* MOBILE HEADER: SHIFT SEARCH ICON LEFT */
@media screen and (max-width: 760px) {
    .site-header .header-inner .header-actions form.header-search-form {
        margin-left: 0 !important;
        transform: translateX(-14px) !important;
    }
}

/* KEEP MOBILE HEADER SEARCH ICON LEFT WHEN SEARCH IS OPEN */
@media screen and (max-width: 760px) {
    .site-header .header-actions form.header-search-form.is-search-open {
        transform: translateX(-14px) !important;
    }

    .site-header .header-actions form.header-search-form.is-search-open
    > .header-search-toggle {
        transform: translateX(0) !important;
    }
}

/* MOBILE SEARCH: FULL-WIDTH DROPDOWN BELOW HEADER */
@media screen and (max-width: 760px) {
    .site-header .header-actions form.header-search-form {
        transform: none !important;
        margin-left: 0 !important;
    }

    .site-header .header-actions form.header-search-form
    > .header-search-toggle {
        transform: translateX(-14px) !important;
    }

    .site-header .header-actions form.header-search-form.is-search-open
    > input[type="search"] {
        position: fixed !important;
        top: 76px !important;
        left: 12px !important;
        right: 12px !important;
        width: calc(100vw - 24px) !important;
        max-width: none !important;
        height: 48px !important;
        z-index: 99999 !important;
        box-sizing: border-box !important;
    }

    .site-header .header-actions form.header-search-form.is-search-open
    > button[type="submit"] {
        position: fixed !important;
        top: 76px !important;
        right: 12px !important;
        width: 48px !important;
        height: 48px !important;
        z-index: 100000 !important;
    }
}

/* MOBILE SEARCH REPAIR: keep icon aligned and dropdown visible */
@media screen and (max-width: 760px) {
    .site-header .header-actions form.header-search-form {
        position: relative !important;
        display: flex !important;
        order: 0 !important;
        width: 42px !important;
        min-width: 42px !important;
        max-width: 42px !important;
        height: 42px !important;
        flex: 0 0 42px !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: none !important;
        box-sizing: border-box !important;
        overflow: visible !important;
        background: rgba(21, 23, 28, 0.95) !important;
        border: 1px solid #2a2d35 !important;
        border-radius: 8px !important;
        box-shadow: none !important;
    }

    .site-header .header-actions form.header-search-form
    > .header-search-toggle {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 40px !important;
        min-width: 40px !important;
        height: 40px !important;
        flex: 0 0 40px !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: none !important;
        font-size: 23px !important;
        line-height: 1 !important;
    }

    .site-header .header-actions form.header-search-form:not(.is-search-open)
    > input[type="search"],
    .site-header .header-actions form.header-search-form:not(.is-search-open)
    > button[type="submit"] {
        display: none !important;
    }

    .site-header .header-actions form.header-search-form.is-search-open {
        background: transparent !important;
        border-color: transparent !important;
        box-shadow: none !important;
    }

    .site-header .header-actions form.header-search-form.is-search-open
    > input[type="search"] {
        display: block !important;
        position: fixed !important;
        top: 76px !important;
        left: 12px !important;
        right: 12px !important;
        width: calc(100vw - 24px) !important;
        max-width: none !important;
        height: 48px !important;
        padding: 0 58px 0 14px !important;
        box-sizing: border-box !important;
        background: #181a20 !important;
        color: #fff !important;
        border: 1px solid #4a4e59 !important;
        border-radius: 8px !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, .35) !important;
        z-index: 99999 !important;
    }

    .site-header .header-actions form.header-search-form.is-search-open
    > button[type="submit"] {
        display: inline-flex !important;
        position: fixed !important;
        top: 76px !important;
        right: 12px !important;
        width: 48px !important;
        height: 48px !important;
        align-items: center !important;
        justify-content: center !important;
        z-index: 100000 !important;
    }
}

/* MOBILE SEARCH DROPDOWN: viewport-wide without shifting header icons */
@media screen and (max-width: 760px) {
    .site-header:has(.header-search-form.is-search-open) {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .site-header .header-actions form.header-search-form.is-search-open {
        width: 42px !important;
        min-width: 42px !important;
        max-width: 42px !important;
        flex: 0 0 42px !important;
        overflow: visible !important;
        transform: none !important;
    }

    .site-header .header-actions form.header-search-form.is-search-open
    > input[type="search"] {
        display: block !important;
        position: fixed !important;
        top: 76px !important;
        left: 12px !important;
        right: 12px !important;
        width: calc(100vw - 24px) !important;
        max-width: none !important;
        height: 48px !important;
        box-sizing: border-box !important;
        padding: 0 58px 0 14px !important;
        z-index: 99999 !important;
    }

    .site-header .header-actions form.header-search-form.is-search-open
    > button[type="submit"] {
        display: inline-flex !important;
        position: fixed !important;
        top: 76px !important;
        right: 12px !important;
        width: 48px !important;
        height: 48px !important;
        align-items: center !important;
        justify-content: center !important;
        z-index: 100000 !important;
    }
}

/* FINAL MOBILE SEARCH ICON POSITION LOCK */
@media screen and (max-width: 760px) {
    .site-header .header-inner:has(.header-search-form.is-search-open) {
        flex-wrap: nowrap !important;
    }

    .site-header .header-inner:has(.header-search-form.is-search-open)
    > .header-actions {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: 48% !important;
        margin: 0 0 0 auto !important;
        flex-wrap: nowrap !important;
    }

    .site-header .header-actions form.header-search-form,
    .site-header .header-actions form.header-search-form.is-search-open {
        width: 42px !important;
        min-width: 42px !important;
        max-width: 42px !important;
        flex: 0 0 42px !important;
        margin: 0 !important;
        transform: none !important;
    }

    .site-header .header-actions form.header-search-form > .header-search-toggle {
        width: 40px !important;
        min-width: 40px !important;
        flex: 0 0 40px !important;
        margin: 0 !important;
        transform: none !important;
    }
}

/* MOBILE SEARCH FIX: preserve the icon position beside the account button */
@media screen and (max-width: 760px) {
    .site-header .header-actions form.header-search-form.is-search-open {
        position: absolute !important;
        right: 42px !important;
        top: 50% !important;
        margin: 0 !important;
        transform: translateY(-50%) !important;
        z-index: 4 !important;
    }
}

/* CORRECTION: anchor the icon without breaking the fixed full-width dropdown */
@media screen and (max-width: 760px) {
    .site-header .header-actions form.header-search-form.is-search-open {
        position: absolute !important;
        right: 42px !important;
        top: calc(50% - 20px) !important;
        margin: 0 !important;
        transform: none !important;
        z-index: 4 !important;
    }
}

/* =========================================================
   IMIRASIRE TV — RESPONSIVE DESKTOP HOMEPAGE
   ========================================================= */

@media (min-width: 768px) {

    .home-content {
        min-width: 0;
        max-width: 100%;
    }

    .home-content .container,
    .home-hero-content,
    .home-hero-bottom .container {
        width: calc(100% - clamp(32px, 5vw, 96px));
        max-width: 1440px;
        margin-left: auto;
        margin-right: auto;
    }

    .home-hero,
    .home-hero-content {
        min-height: clamp(420px, 38vw, 620px);
    }

    .home-hero-info {
        width: min(610px, 58%);
        padding-top: clamp(36px, 5vw, 72px);
        padding-bottom: clamp(48px, 6vw, 84px);
    }

    .home-hero-title {
        max-width: 100%;
        font-size: clamp(36px, 4.2vw, 68px);
        line-height: 1.02;
        letter-spacing: clamp(-2px, -0.12vw, -0.5px);
        overflow-wrap: anywhere;
    }

    .home-hero-description {
        max-width: min(560px, 100%);
    }

    .home-section {
        min-width: 0;
    }

    .home-section-header {
        min-width: 0;
        flex-wrap: wrap;
    }

}

@media (min-width: 768px) and (max-width: 1023px) {

    .home-hero-info {
        width: min(560px, 72%);
    }

    .home-hero-title {
        font-size: clamp(34px, 4.5vw, 46px);
    }

}


/* IMIRASIRE TV — REMOVE DESKTOP HOMEPAGE WIDTH CAP */
@media (min-width: 768px) {
    .home-content .container,
    .home-hero-content,
    .home-hero-bottom .container {
        width: calc(100% - clamp(32px, 5vw, 96px));
        max-width: none;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }
}


/* AUTHENTICATED MOBILE HEADER: compact account dropdown */
@media screen and (max-width: 760px) {
    .site-header .header-actions > .account-button,
    .site-header .header-actions > .logout-form {
        display: none !important;
    }

    .site-header .header-actions > .mobile-account-menu {
        display: block !important;
        order: 2 !important;
        position: relative !important;
        flex: 0 0 32px !important;
        width: 32px !important;
        height: 32px !important;
        z-index: 10010 !important;
    }

    .site-header .mobile-account-dropdown > .mobile-account-logout-form {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
    }

    .site-header .mobile-account-dropdown > .mobile-account-logout-form > .mobile-account-logout {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        min-height: 42px !important;
        margin: 0 !important;
        padding: 10px 12px !important;
        border: 1px solid rgba(255, 255, 255, 0.18) !important;
        border-radius: 6px !important;
        box-sizing: border-box !important;
        cursor: pointer;
    }
}

/* MOBILE: reduce notification bell grey box */
@media screen and (max-width: 760px) {
    .site-header .header-actions .header-notifications .notification-bell {
        width: 32px !important;
        height: 32px !important;
        border-radius: 8px !important;
    }
}


/* MOBILE: move the closed search box toward notifications */
@media screen and (max-width: 760px) {
    .site-header .header-actions form.header-search-form:not(.is-search-open) {
        transform: translateX(4px) !important;
    }
}

/* GUEST NOTIFICATIONS: sign-in prompt */
.guest-notification-message {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px;
}

.guest-notification-message strong {
    color: #fff;
    font-size: 13px;
}

.guest-notification-message span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    line-height: 1.5;
}

.guest-notification-actions {
    display: flex;
    gap: 10px;
    padding: 0 16px 16px;
}

.guest-notification-actions a {
    flex: 1;
    padding: 10px 8px;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.guest-notification-actions a:last-child {
    background: #e50914;
}

.guest-notification-actions a:hover {
    opacity: 0.88;
}

/* GUEST NOTIFICATION: Kinyarwanda login and registration links */
.guest-notification-message .guest-notification-link {
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
}

.guest-notification-message .guest-notification-link:last-child {
    color: #ff3540;
}

.guest-notification-message .guest-notification-link:hover {
    text-decoration: underline;
}
