:root {
    --bg-1: #07111f;
    --bg-2: #0e243b;
    --bg-3: #133b5c;
    --surface: rgba(16, 28, 45, 0.8);
    --surface-strong: rgba(9, 20, 35, 0.88);
    --surface-soft: rgba(255, 255, 255, 0.04);
    --border: rgba(255, 255, 255, 0.12);
    --text-main: #f4f7fb;
    --text-soft: rgba(255, 255, 255, 0.72);
    --nav-bg: rgba(7, 17, 31, 0.64);
    --nav-control-bg: rgba(13, 24, 40, 0.82);
    --nav-control-border: rgba(255, 255, 255, 0.18);
    --nav-control-text: rgba(255, 255, 255, 0.9);
    --dropdown-bg: rgba(11, 22, 37, 0.96);
    --dropdown-item-hover: rgba(255, 255, 255, 0.08);
    --input-bg: rgba(255, 255, 255, 0.03);
    --input-bg-focus: rgba(255, 255, 255, 0.05);
    --input-border: rgba(255, 255, 255, 0.12);
    --input-border-focus: rgba(62, 156, 255, 0.4);
    --input-placeholder: rgba(255, 255, 255, 0.4);
    --nav-brand-font-family: "Manrope", "Segoe UI", sans-serif;
    --nav-brand-font-size: 1.5rem;
    --nav-brand-font-weight: 800;
    --nav-brand-color: #ffffff;
    --nav-brand-gradient-start: #ffffff;
    --nav-brand-gradient-end: #ff2a70;
}

:root[data-ui-theme="light"] {
    --bg-1: #f4f7fc;
    --bg-2: #e9f1fb;
    --bg-3: #dae8fb;
    --surface: rgba(255, 255, 255, 0.84);
    --surface-strong: rgba(255, 255, 255, 0.94);
    --surface-soft: rgba(11, 28, 53, 0.05);
    --border: rgba(20, 48, 82, 0.12);
    --text-main: #12243a;
    --text-soft: rgba(18, 36, 58, 0.7);
    --nav-bg: rgba(255, 255, 255, 0.82);
    --nav-control-bg: rgba(244, 248, 255, 0.92);
    --nav-control-border: rgba(20, 48, 82, 0.18);
    --nav-control-text: #1c3152;
    --dropdown-bg: rgba(255, 255, 255, 0.98);
    --dropdown-item-hover: rgba(20, 48, 82, 0.08);
    --input-bg: rgba(255, 255, 255, 0.8);
    --input-bg-focus: rgba(255, 255, 255, 1);
    --input-border: rgba(20, 48, 82, 0.14);
    --input-border-focus: rgba(62, 156, 255, 0.34);
    --input-placeholder: rgba(18, 36, 58, 0.48);
    --nav-brand-color: #4d2353;
}

html,
body {
    min-height: 100%;
}

body.app-shell {
    min-height: 100vh;
    color: var(--text-main);
    background:
        radial-gradient(circle at 12% 10%, rgba(62, 156, 255, 0.18), transparent 44%),
        radial-gradient(circle at 88% 12%, rgba(255, 42, 112, 0.12), transparent 36%),
        linear-gradient(160deg, var(--bg-1), var(--bg-2) 55%, var(--bg-3));
    font-family: "Manrope", "Segoe UI", sans-serif;
    transition: background 0.2s ease, color 0.2s ease;
}

.app-shell-home {
    background:
        radial-gradient(circle at 10% 8%, rgba(255, 42, 112, 0.14), transparent 34%),
        radial-gradient(circle at 88% 12%, rgba(37, 194, 255, 0.18), transparent 36%),
        linear-gradient(160deg, var(--bg-1), var(--bg-2) 55%, var(--bg-3));
}

.app-background {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.35;
    z-index: -1;
}

.glass-nav {
    background: var(--nav-bg);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.brand-mark {
    letter-spacing: -0.02em;
}

.glass-nav .navbar-brand,
.glass-nav .navbar-brand:visited {
    color: var(--nav-brand-color, rgba(255, 255, 255, 0.96));
    font-family: var(--nav-brand-font-family, inherit);
    font-size: var(--nav-brand-font-size, 1.25rem);
    font-weight: var(--nav-brand-font-weight, 700);
    text-decoration: none;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
    transition: filter 0.2s ease, opacity 0.2s ease;
}

.glass-nav .navbar-brand:hover,
.glass-nav .navbar-brand:focus {
    color: var(--nav-brand-color, rgba(255, 255, 255, 0.96));
    filter: brightness(1.06);
}

.glass-nav .navbar-brand[data-brand-mode="gradient"],
.glass-nav .navbar-brand[data-brand-mode="gradient"]:visited {
    color: var(--nav-brand-gradient-start, rgba(255, 255, 255, 0.96));
    background: linear-gradient(135deg, var(--nav-brand-gradient-start, #ffffff) 0%, var(--nav-brand-gradient-end, #ffffff) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.glass-nav .navbar-brand[data-brand-mode="gradient"]:hover,
.glass-nav .navbar-brand[data-brand-mode="gradient"]:focus {
    color: var(--nav-brand-gradient-start, rgba(255, 255, 255, 0.96));
}

.glass-nav .navbar-toggler {
    border: 1px solid rgba(62, 156, 255, 0.42);
    background: rgba(7, 17, 31, 0.56);
    border-radius: 0.7rem;
    padding: 0.38rem 0.58rem;
}

.glass-nav .navbar-toggler:hover {
    border-color: rgba(62, 156, 255, 0.72);
    background: rgba(62, 156, 255, 0.16);
}

.glass-nav .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(62, 156, 255, 0.24);
}

.glass-nav .navbar-toggler-icon {
    width: 1.15em;
    height: 1.15em;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.96%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.25' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

:root[data-ui-theme="light"] .glass-nav .navbar-toggler {
    border-color: rgba(20, 48, 82, 0.24);
    background: rgba(255, 255, 255, 0.7);
}

:root[data-ui-theme="light"] .glass-nav .navbar-toggler:hover {
    border-color: rgba(62, 156, 255, 0.54);
    background: rgba(62, 156, 255, 0.12);
}

:root[data-ui-theme="light"] .glass-nav .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2818,36,58,0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.25' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

:root[data-ui-theme="light"] .vod-access-card {
    border-color: rgba(255, 61, 127, 0.18);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 255, 0.92)),
        radial-gradient(circle at 0% 0%, rgba(255, 61, 127, 0.08), transparent 30%),
        radial-gradient(circle at 100% 100%, rgba(62, 156, 255, 0.08), transparent 32%);
}

.navbar .nav-link {
    color: var(--text-soft);
}

.navbar .nav-link.active,
.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: var(--text-main);
}

.glass-nav .btn-outline-light,
.glass-nav .dropdown-toggle {
    border-color: var(--nav-control-border);
    background: var(--nav-control-bg);
    color: var(--nav-control-text);
}

.glass-nav .btn-outline-light:hover,
.glass-nav .btn-outline-light:focus,
.glass-nav .dropdown-toggle:hover,
.glass-nav .dropdown-toggle:focus {
    border-color: rgba(62, 156, 255, 0.45);
    background: rgba(62, 156, 255, 0.16);
    color: var(--text-main);
}

.glass-nav .btn-primary {
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, #ff3d7f 0%, #ff8a00 100%);
    box-shadow: 0 14px 34px rgba(255, 61, 127, 0.24);
}

.glass-nav .btn-primary:hover,
.glass-nav .btn-primary:focus {
    color: #fff;
    filter: brightness(1.03);
}

.glass-nav .dropdown-menu {
    min-width: 13rem;
    border: 1px solid var(--border);
    background: var(--dropdown-bg);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.glass-nav .dropdown-item {
    color: var(--text-main);
    font-weight: 600;
}

.glass-nav .dropdown-item:hover,
.glass-nav .dropdown-item:focus {
    color: var(--text-main);
    background: var(--dropdown-item-hover);
}

.glass-nav .dropdown-item.active,
.glass-nav .dropdown-item:active {
    color: #fff;
    background: linear-gradient(135deg, #ff3d7f 0%, #ff8a00 100%);
}

.vod-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.vod-access-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
        radial-gradient(circle at 0% 0%, rgba(255, 61, 127, 0.14), transparent 30%),
        radial-gradient(circle at 100% 100%, rgba(62, 156, 255, 0.12), transparent 32%),
        var(--surface-strong);
    border-color: rgba(255, 138, 164, 0.24);
}

.vod-muted {
    color: var(--text-soft);
}

.vod-item-card {
    overflow: hidden;
    height: 100%;
}

.vod-item-cover {
    aspect-ratio: 16 / 9;
    width: 100%;
    object-fit: cover;
    background: var(--surface-soft);
}

.min-w-0 {
    min-width: 0;
}

.vod-library-toolbar {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
        radial-gradient(circle at 100% 0%, rgba(255, 61, 127, 0.12), transparent 28%),
        radial-gradient(circle at 0% 100%, rgba(62, 156, 255, 0.12), transparent 28%),
        var(--surface-strong);
}

.vod-library-filters {
    align-items: center;
}

.vod-library-control-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) repeat(3, minmax(180px, 1fr));
    gap: 1rem;
}

.vod-library-control--search {
    min-width: 0;
}

.vod-library-search-icon {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-soft);
    font-size: 1rem;
    pointer-events: none;
}

.vod-library-meta {
    min-height: 1.5rem;
}

.vod-library-results {
    min-height: 16rem;
}

.vod-library-pagination-wrap {
    margin-bottom: 2rem;
}

.vod-library-pagination .btn {
    min-width: 8.5rem;
}

.vod-library-page-buttons .btn {
    min-width: 3rem;
}

.vod-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.58rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-soft);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.vod-filter-chip span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    height: 1.5rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    font-size: 0.76rem;
}

.vod-filter-chip:hover,
.vod-filter-chip:focus {
    color: var(--text-main);
    border-color: rgba(62, 156, 255, 0.42);
    background: rgba(62, 156, 255, 0.12);
    transform: translateY(-1px);
}

.vod-filter-chip.is-active {
    color: #fff;
    border-color: rgba(255, 138, 0, 0.55);
    background: linear-gradient(135deg, rgba(255, 61, 127, 0.18), rgba(255, 138, 0, 0.22));
    box-shadow: 0 14px 28px rgba(255, 61, 127, 0.18);
}

.vod-view-switch .btn {
    min-width: 8rem;
}

.vod-item-grid-card,
.vod-item-list-card {
    overflow: hidden;
}

.vod-item-grid-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
        var(--surface);
}

.vod-item-grid-media {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--surface-soft);
    text-decoration: none;
}

.vod-item-grid-media::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 45%;
    background: linear-gradient(180deg, transparent, rgba(7, 17, 31, 0.42));
    pointer-events: none;
}

.vod-item-grid-poster {
    display: block;
    width: 100%;
    aspect-ratio: 0.68;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.vod-item-grid-card:hover .vod-item-grid-poster,
.vod-item-grid-card:focus-within .vod-item-grid-poster {
    transform: scale(1.03);
}

.vod-item-grid-badge,
.vod-item-corner-badge {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3.25rem;
    min-height: 2rem;
    padding: 0.35rem 0.7rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #ff345f 0%, #ff6a00 100%);
    color: #fff;
    font-weight: 800;
    font-size: 0.86rem;
    box-shadow: 0 12px 24px rgba(255, 61, 127, 0.24);
}

.vod-item-grid-title,
.vod-item-list-title {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.vod-item-grid-title a,
.vod-item-list-title a {
    color: #ff7c3b;
    text-decoration: none;
}

.vod-item-grid-title a:hover,
.vod-item-grid-title a:focus,
.vod-item-list-title a:hover,
.vod-item-list-title a:focus {
    color: #ff995c;
}

.vod-item-grid-subtitle,
.vod-item-list-subtitle {
    color: #98b7eb;
    font-size: 0.98rem;
}

.vod-item-grid-meta {
    margin-top: 0.45rem;
    color: var(--text-soft);
    font-size: 0.88rem;
}

.vod-item-list-card {
    display: grid;
    grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
        var(--surface);
}

.vod-item-list-poster-wrap {
    position: relative;
    min-height: 100%;
    background: rgba(255, 255, 255, 0.02);
}

.vod-item-list-poster {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
}

.vod-item-list-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vod-fact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 1.5rem;
}

.vod-item-list-fact-grid {
    max-width: 52rem;
}

.vod-detail-fact-grid {
    max-width: 56rem;
}

.vod-fact-label {
    display: block;
    margin-bottom: 0.2rem;
    color: var(--text-soft);
    font-size: 0.9rem;
}

.vod-fact-value {
    display: block;
    color: var(--text-main);
    font-size: 1rem;
    line-height: 1.55;
}

.vod-item-list-description {
    color: rgba(236, 243, 255, 0.8);
    line-height: 1.7;
    max-width: 60rem;
}

.vod-item-list-actions {
    min-width: 12rem;
}

.vod-item-quality-chip,
.vod-item-date-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.8rem;
    border-radius: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-main);
    font-weight: 700;
    font-size: 0.88rem;
}

.vod-item-quality-chip {
    border-color: rgba(152, 183, 235, 0.35);
    box-shadow: inset 0 0 0 1px rgba(152, 183, 235, 0.08);
}

.vod-item-date-chip {
    color: var(--text-soft);
}

.vod-detail-hero {
    position: relative;
    min-height: 32rem;
    background:
        linear-gradient(135deg, rgba(7, 17, 31, 0.92), rgba(11, 25, 43, 0.88)),
        var(--surface-strong);
}

.vod-detail-backdrop,
.vod-detail-overlay {
    position: absolute;
    inset: 0;
}

.vod-detail-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.26;
}

.vod-detail-overlay {
    background:
        linear-gradient(90deg, rgba(7, 17, 31, 0.94) 0%, rgba(7, 17, 31, 0.84) 42%, rgba(7, 17, 31, 0.66) 100%),
        radial-gradient(circle at 100% 0%, rgba(255, 61, 127, 0.12), transparent 30%);
    pointer-events: none;
}

.vod-detail-shell {
    z-index: 1;
}

.vod-detail-backlink {
    color: var(--text-soft);
    text-decoration: none;
    font-weight: 700;
}

.vod-detail-backlink:hover,
.vod-detail-backlink:focus {
    color: var(--text-main);
}

.vod-detail-grid {
    display: grid;
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
    gap: 1.5rem 2rem;
    align-items: end;
}

.vod-detail-poster-wrap {
    position: relative;
    align-self: stretch;
}

.vod-detail-poster {
    width: 100%;
    height: 100%;
    min-height: 24rem;
    object-fit: cover;
    border-radius: 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: var(--surface-soft);
    box-shadow: 0 28px 56px rgba(0, 0, 0, 0.26);
}

.vod-detail-main {
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.vod-detail-description {
    max-width: 64rem;
    color: rgba(236, 243, 255, 0.86);
    font-size: 1.02rem;
    line-height: 1.8;
}

.vod-detail-section {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
        radial-gradient(circle at 100% 0%, rgba(255, 61, 127, 0.08), transparent 24%),
        radial-gradient(circle at 0% 100%, rgba(62, 156, 255, 0.08), transparent 26%),
        var(--surface-strong);
}

.vod-detail-section__head h2 {
    letter-spacing: -0.02em;
}

.vod-trailer-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 1.2rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
        rgba(10, 20, 34, 0.84);
    color: var(--text-main);
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.vod-trailer-card:hover,
.vod-trailer-card:focus {
    color: var(--text-main);
    transform: translateY(-2px);
    border-color: rgba(62, 156, 255, 0.34);
    box-shadow: 0 20px 36px rgba(0, 0, 0, 0.22);
}

.vod-trailer-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
}

.vod-trailer-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.28s ease;
}

.vod-trailer-card:hover .vod-trailer-card__media img,
.vod-trailer-card:focus .vod-trailer-card__media img {
    transform: scale(1.04);
}

.vod-trailer-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 17, 31, 0.02), rgba(7, 17, 31, 0.48));
}

.vod-trailer-card__play {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 1;
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #ff3d7f 0%, #ff8a00 100%);
    box-shadow: 0 16px 34px rgba(255, 61, 127, 0.28);
}

.vod-trailer-card__play i {
    font-size: 1.15rem;
}

.vod-trailer-card__body {
    display: grid;
    gap: 0.45rem;
    padding: 1rem;
}

.vod-trailer-card__title {
    font-size: 1.02rem;
    line-height: 1.45;
}

.vod-trailer-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    color: var(--text-soft);
    font-size: 0.9rem;
}

.vod-content-panel {
    display: grid;
    grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: stretch;
}

.vod-content-panel__media {
    min-height: 15rem;
    border-radius: 1.2rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
}

.vod-content-panel__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vod-content-panel__body {
    padding: 0.4rem 0;
}

.vod-season-tabs {
    gap: 0.7rem;
}

.vod-season-tabs .nav-link {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-soft);
    font-weight: 700;
    padding: 0.7rem 1rem;
}

.vod-season-tabs .nav-link:hover,
.vod-season-tabs .nav-link:focus {
    color: var(--text-main);
    border-color: rgba(62, 156, 255, 0.3);
    background: rgba(62, 156, 255, 0.12);
}

.vod-season-tabs .nav-link.active {
    color: #fff;
    border-color: rgba(255, 138, 0, 0.52);
    background: linear-gradient(135deg, rgba(255, 61, 127, 0.2), rgba(255, 138, 0, 0.18));
    box-shadow: 0 14px 24px rgba(255, 61, 127, 0.16);
}

.vod-episode-list {
    grid-template-columns: 1fr;
}

.vod-episode-card {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 1rem;
    align-items: stretch;
    padding: 1rem;
    border-radius: 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.015)),
        rgba(8, 18, 32, 0.76);
}

.vod-episode-card__thumb {
    min-height: 10rem;
    border-radius: 1rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
}

.vod-episode-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vod-episode-card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

:root[data-ui-theme="light"] .vod-library-toolbar {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(247, 250, 255, 0.92)),
        radial-gradient(circle at 100% 0%, rgba(255, 61, 127, 0.06), transparent 28%),
        radial-gradient(circle at 0% 100%, rgba(62, 156, 255, 0.08), transparent 28%);
}

:root[data-ui-theme="light"] .vod-detail-hero {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(244, 249, 255, 0.9)),
        rgba(255, 255, 255, 0.92);
}

:root[data-ui-theme="light"] .vod-detail-overlay {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.9) 44%, rgba(255, 255, 255, 0.68) 100%),
        radial-gradient(circle at 100% 0%, rgba(255, 61, 127, 0.08), transparent 30%);
}

:root[data-ui-theme="light"] .vod-detail-description {
    color: rgba(18, 36, 58, 0.82);
}

:root[data-ui-theme="light"] .vod-detail-section,
:root[data-ui-theme="light"] .vod-trailer-card,
:root[data-ui-theme="light"] .vod-episode-card {
    border-color: rgba(20, 48, 82, 0.12);
}

:root[data-ui-theme="light"] .vod-trailer-card,
:root[data-ui-theme="light"] .vod-episode-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 255, 0.9)),
        rgba(255, 255, 255, 0.94);
}

:root[data-ui-theme="light"] .vod-season-tabs .nav-link {
    border-color: rgba(20, 48, 82, 0.12);
    background: rgba(20, 48, 82, 0.04);
    color: rgba(18, 36, 58, 0.72);
}

:root[data-ui-theme="light"] .vod-filter-chip {
    border-color: rgba(20, 48, 82, 0.12);
    background: rgba(20, 48, 82, 0.035);
    color: rgba(18, 36, 58, 0.72);
}

:root[data-ui-theme="light"] .vod-filter-chip span {
    background: rgba(20, 48, 82, 0.08);
}

:root[data-ui-theme="light"] .vod-item-list-description {
    color: rgba(18, 36, 58, 0.8);
}

@media (max-width: 991.98px) {
    .vod-library-control-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vod-library-control--search {
        grid-column: 1 / -1;
    }

    .vod-item-list-card {
        grid-template-columns: 1fr;
    }

    .vod-item-list-poster {
        aspect-ratio: 16 / 9;
        min-height: 0;
    }

    .vod-detail-grid,
    .vod-content-panel,
    .vod-episode-card {
        grid-template-columns: 1fr;
    }

    .vod-detail-poster {
        min-height: 20rem;
    }
}

@media (max-width: 767.98px) {
    .vod-library-control-grid {
        grid-template-columns: 1fr;
    }

    .vod-view-switch {
        width: 100%;
    }

    .vod-view-switch .btn {
        flex: 1 1 0;
        min-width: 0;
    }

    .vod-fact-grid {
        grid-template-columns: 1fr;
    }

    .vod-detail-hero {
        min-height: 0;
    }

    .vod-detail-grid {
        gap: 1rem;
    }

    .vod-detail-poster {
        min-height: 16rem;
    }

    .vod-season-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.25rem;
    }

    .vod-season-tabs .nav-link {
        white-space: nowrap;
    }

    .vod-library-pagination .btn {
        width: 100%;
    }
}

.vod-pill {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(37, 194, 255, 0.35);
    background: rgba(37, 194, 255, 0.08);
    color: #b8ebff;
    border-radius: 999px;
    padding: 0.4rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 700;
}

.btn-vod-primary {
    border: 0;
    color: #fff;
    font-weight: 700;
    background: linear-gradient(135deg, #ff3d7f 0%, #ff8a00 100%);
    box-shadow: 0 16px 40px rgba(255, 61, 127, 0.22);
}

.btn-vod-primary:hover,
.btn-vod-primary:focus {
    color: #fff;
    filter: brightness(1.04);
}

.btn-vod-outline {
    border-color: var(--nav-control-border);
    color: var(--text-main);
    background: var(--nav-control-bg);
}

.btn-vod-outline:hover,
.btn-vod-outline:focus {
    color: var(--text-main);
    background: rgba(62, 156, 255, 0.12);
    border-color: rgba(62, 156, 255, 0.4);
}

.form-control,
.form-select {
    background: var(--input-bg);
    border-color: var(--input-border);
    color: var(--text-main);
}

.form-control:focus,
.form-select:focus {
    background: var(--input-bg-focus);
    color: var(--text-main);
    border-color: var(--input-border-focus);
    box-shadow: 0 0 0 0.2rem rgba(62, 156, 255, 0.16);
}

.form-control::placeholder {
    color: var(--input-placeholder);
}

a {
    color: #8fdfff;
}

.alert {
    border-radius: 1rem;
    border-width: 1px;
}

footer .vod-card {
    background: var(--surface-strong);
}

.app-toast-stack {
    z-index: 1095;
    top: 76px !important;
    max-width: min(460px, calc(100vw - 1rem));
}

.app-toast-stack .toast {
    width: min(440px, calc(100vw - 1.5rem));
}

.app-toast {
    --app-toast-accent: #7fc4ff;
    --app-toast-accent-soft: rgba(127, 196, 255, 0.2);
    background:
        radial-gradient(circle at 88% 10%, rgba(255, 255, 255, 0.035), transparent 50%),
        linear-gradient(180deg, rgba(10, 20, 34, 0.94), rgba(8, 16, 28, 0.96));
    color: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 12px 28px rgba(2, 8, 18, 0.34);
    backdrop-filter: blur(14px);
    border-radius: 0.95rem;
    overflow: hidden;
    position: relative;
}

.app-toast::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, var(--app-toast-accent), rgba(255, 255, 255, 0.15));
    opacity: 0.95;
}

.app-toast > .d-flex {
    width: 100%;
}

.app-toast .toast-body {
    flex: 1 1 auto;
    padding: 0.85rem 0.95rem 0.8rem;
    line-height: 1.4;
    min-width: 0;
}

.app-toast .btn-close {
    margin-left: auto;
    opacity: 0.9;
    filter: var(--bs-btn-close-white-filter, invert(1) grayscale(100%) brightness(200%));
    margin-right: 0.5rem !important;
    margin-top: 0.6rem !important;
    padding: 0.4rem;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.03);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}

.app-toast .btn-close:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.app-toast .btn-close:focus {
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.12),
        0 0 0 0.18rem rgba(255, 255, 255, 0.12);
}

.app-toast-icon {
    font-size: 1rem;
    flex: 0 0 auto;
    color: var(--app-toast-accent);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--app-toast-accent-soft);
    width: 1.5rem;
    height: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    margin-top: 0.05rem !important;
}

.app-toast--success {
    --app-toast-accent: #53d9a0;
    --app-toast-accent-soft: rgba(83, 217, 160, 0.24);
}

.app-toast--error {
    --app-toast-accent: #ff8787;
    --app-toast-accent-soft: rgba(255, 135, 135, 0.24);
}

.app-toast--warning {
    --app-toast-accent: #ffc96a;
    --app-toast-accent-soft: rgba(255, 201, 106, 0.24);
}

.app-toast--info {
    --app-toast-accent: #7fc4ff;
    --app-toast-accent-soft: rgba(127, 196, 255, 0.24);
}

.app-toast-progress {
    height: 3px;
    background: rgba(255, 255, 255, 0.04);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.app-toast-progress-bar {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, var(--app-toast-accent), rgba(255, 255, 255, 0.7));
    transform-origin: left center;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.14);
}

.app-toast.is-showing .app-toast-progress-bar,
.app-toast.show .app-toast-progress-bar {
    animation: appToastProgressShrink var(--app-toast-delay-ms, 15000ms) linear forwards;
}

@keyframes appToastProgressShrink {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}

.app-footer {
    padding: 1rem 0 2rem;
}

.app-footer-shell {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1.35rem 1.25rem 1rem;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.app-footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem 1.75rem;
}

.app-footer-col {
    min-width: 0;
}

.app-footer-title {
    margin: 0 0 1rem;
    padding-bottom: 0.85rem;
    color: var(--text-main);
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.2;
    position: relative;
}

.app-footer-title::before,
.app-footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #3e9cff, #4ed1ff);
    box-shadow: 0 0 0 1px rgba(62, 156, 255, 0.15);
}

.app-footer-title::before {
    width: 20px;
}

.app-footer-title::after {
    left: 26px;
    width: 10px;
}

.app-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.8rem;
}

.app-footer-links li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    min-width: 0;
}

.app-footer-links li::before {
    content: "•";
    color: #3eb3ff;
    font-size: 0.95rem;
    line-height: 1.35;
    flex: 0 0 auto;
}

.app-footer-link {
    color: var(--text-soft);
    text-decoration: none;
    transition: color 0.15s ease, transform 0.15s ease;
}

.app-footer-link:hover,
.app-footer-link:focus-visible {
    color: var(--text-main);
    transform: translateX(2px);
}

@media (max-width: 991.98px) {
    .glass-nav .navbar-collapse {
        margin-top: 0.9rem;
        padding-top: 0.9rem;
        border-top: 1px solid var(--border);
    }

    .glass-nav .navbar-collapse .d-flex {
        width: 100%;
        align-items: stretch;
    }

    .glass-nav .navbar-collapse .btn,
    .glass-nav .navbar-collapse .dropdown {
        width: 100%;
    }

    .glass-nav .dropdown-toggle {
        width: 100%;
    }

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

    .app-footer-col:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767.98px) {
    .app-toast-stack {
        top: 68px !important;
        left: 0 !important;
        right: 0 !important;
        max-width: none;
        width: 100%;
        padding: 0.75rem !important;
    }

    .app-toast-stack .toast {
        width: 100%;
        max-width: none;
    }

    .app-footer {
        padding-top: 0.5rem;
    }

    .app-footer-shell {
        padding: 1.1rem 1rem 0.9rem;
    }

    .app-footer-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .app-footer-col:last-child {
        grid-column: auto;
    }

    .app-footer-title {
        font-size: 1.05rem;
        margin-bottom: 0.85rem;
    }
}

:root[data-ui-theme="light"] .app-toast {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(245, 250, 255, 0.98));
    border-color: rgba(19, 59, 95, 0.16);
    color: #15334f;
    box-shadow: 0 16px 34px rgba(22, 62, 102, 0.16);
}

:root[data-ui-theme="light"] .app-toast .btn-close {
    filter: none;
}

:root[data-ui-theme="light"] .app-footer-shell {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(246, 251, 255, 0.94));
    box-shadow: 0 16px 34px rgba(22, 62, 102, 0.1);
}

:root[data-ui-theme="light"] .app-footer-title {
    color: #123250;
}

:root[data-ui-theme="light"] .app-footer-link {
    color: rgba(16, 38, 63, 0.72);
}

:root[data-ui-theme="light"] .app-footer-link:hover,
:root[data-ui-theme="light"] .app-footer-link:focus-visible {
    color: #0f2f4f;
}

.app-shell-home .app-footer-shell {
    border-color: rgba(255, 255, 255, 0.07);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.02)),
        radial-gradient(circle at 0% 0%, rgba(255, 42, 112, 0.12), transparent 28%),
        radial-gradient(circle at 100% 100%, rgba(69, 243, 255, 0.1), transparent 30%);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
}

.app-shell-home .app-footer-title {
    color: rgba(255, 255, 255, 0.94);
}

.app-shell-home .app-footer-link {
    color: rgba(255, 255, 255, 0.62);
}

.app-shell-home .app-footer-link:hover,
.app-shell-home .app-footer-link:focus-visible {
    color: #ffffff;
}

:root[data-ui-theme="light"] .app-shell-home .app-footer-shell {
    border-color: rgba(20, 33, 58, 0.1);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 250, 255, 0.92)),
        radial-gradient(circle at 0% 0%, rgba(255, 42, 112, 0.06), transparent 28%),
        radial-gradient(circle at 100% 100%, rgba(69, 243, 255, 0.08), transparent 30%);
}

:root[data-ui-theme="light"] .app-shell-home .app-footer-title {
    color: #14213a;
}

:root[data-ui-theme="light"] .app-shell-home .app-footer-link {
    color: rgba(20, 33, 58, 0.66);
}

:root[data-ui-theme="light"] .app-shell-home .app-footer-link:hover,
:root[data-ui-theme="light"] .app-shell-home .app-footer-link:focus-visible {
    color: #0f213d;
}
