:root {
    color-scheme: dark;
    --bg: #020617;
    --bg-soft: #0f172a;
    --panel: rgba(15, 23, 42, 0.72);
    --panel-strong: rgba(15, 23, 42, 0.92);
    --line: rgba(96, 165, 250, 0.22);
    --line-soft: rgba(148, 163, 184, 0.18);
    --text: #e5e7eb;
    --muted: #94a3b8;
    --blue: #60a5fa;
    --cyan: #22d3ee;
    --green: #34d399;
    --rose: #fb7185;
    --amber: #f59e0b;
    --shadow: 0 24px 80px rgba(15, 23, 42, 0.55);
    --radius-lg: 28px;
    --radius: 18px;
    --max: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 15% 8%, rgba(37, 99, 235, 0.28), transparent 34rem),
        radial-gradient(circle at 82% 20%, rgba(8, 145, 178, 0.18), transparent 30rem),
        linear-gradient(180deg, #020617 0%, #0f172a 48%, #000000 100%);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 72%);
}

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--line);
    background: rgba(2, 6, 23, 0.86);
    backdrop-filter: blur(18px);
}

.nav-shell {
    max-width: var(--max);
    margin: 0 auto;
    min-height: 72px;
    padding: 0 22px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.brand-icon {
    width: 36px;
    height: 36px;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    color: white;
    background: linear-gradient(135deg, #2563eb, #22d3ee);
    box-shadow: 0 14px 34px rgba(37, 99, 235, 0.36);
}

.brand-text {
    font-size: 24px;
    font-weight: 850;
    letter-spacing: -0.04em;
    background: linear-gradient(90deg, #60a5fa, #22d3ee);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: auto;
}

.nav-link,
.mobile-link {
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 700;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
    color: var(--blue);
}

.header-search,
.mobile-search,
.large-search {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-search input,
.mobile-search input,
.large-search input,
.filter-toolbar input {
    width: 230px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 10px 15px;
    color: var(--text);
    background: rgba(15, 23, 42, 0.78);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input:focus,
.mobile-search input:focus,
.large-search input:focus,
.filter-toolbar input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.16);
}

.header-search button,
.mobile-search button,
.large-search button,
.btn {
    border: 0;
    border-radius: 999px;
    padding: 10px 16px;
    color: white;
    font-weight: 800;
    cursor: pointer;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    box-shadow: 0 16px 38px rgba(37, 99, 235, 0.32);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-search button:hover,
.mobile-search button:hover,
.large-search button:hover,
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 48px rgba(37, 99, 235, 0.42);
}

.btn-secondary {
    color: #bfdbfe;
    border: 1px solid rgba(96, 165, 250, 0.28);
    background: rgba(15, 23, 42, 0.68);
    box-shadow: none;
}

.mobile-toggle {
    display: none;
    margin-left: auto;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.72);
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: #cbd5e1;
}

.mobile-panel {
    display: none;
    padding: 18px 22px 24px;
    border-top: 1px solid var(--line-soft);
    background: rgba(2, 6, 23, 0.96);
}

.mobile-panel.is-open {
    display: block;
}

.mobile-panel nav {
    display: grid;
    gap: 13px;
    margin-top: 16px;
}

.hero-carousel {
    position: relative;
    min-height: 640px;
    overflow: hidden;
    border-bottom: 1px solid var(--line-soft);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    filter: saturate(1.08) contrast(1.05);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, #020617 0%, rgba(2, 6, 23, 0.86) 36%, rgba(2, 6, 23, 0.24) 100%),
        linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.16) 45%, rgba(2, 6, 23, 0.46) 100%);
}

.hero-content {
    position: absolute;
    left: max(22px, calc((100vw - var(--max)) / 2 + 22px));
    top: 50%;
    max-width: 680px;
    transform: translateY(-46%);
    z-index: 2;
}

.hero-kicker,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #93c5fd;
    font-size: 13px;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-content h1 {
    margin: 16px 0 18px;
    font-size: clamp(42px, 7vw, 78px);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.hero-content p {
    margin: 0;
    max-width: 600px;
    color: #cbd5e1;
    font-size: 18px;
}

.hero-tags,
.detail-tags,
.mini-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-tags {
    margin-top: 22px;
}

.hero-tags span,
.detail-tags span,
.mini-tags span {
    border: 1px solid rgba(96, 165, 250, 0.24);
    border-radius: 999px;
    padding: 5px 10px;
    color: #bfdbfe;
    font-size: 12px;
    background: rgba(15, 23, 42, 0.62);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.hero-stats,
.detail-meta,
.movie-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #94a3b8;
    font-size: 13px;
}

.hero-stats {
    margin-top: 22px;
}

.hero-thumbs {
    position: absolute;
    right: max(22px, calc((100vw - var(--max)) / 2 + 22px));
    bottom: 42px;
    z-index: 3;
    display: grid;
    gap: 12px;
    width: min(340px, 32vw);
}

.hero-thumb {
    display: grid;
    grid-template-columns: 80px 1fr;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(96, 165, 250, 0.16);
    border-radius: 18px;
    padding: 8px;
    color: #cbd5e1;
    text-align: left;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(14px);
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.hero-thumb:hover,
.hero-thumb.is-active {
    border-color: rgba(96, 165, 250, 0.72);
    background: rgba(30, 41, 59, 0.9);
    transform: translateX(-4px);
}

.hero-thumb img {
    width: 80px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 12px;
}

.hero-thumb span {
    font-weight: 800;
    line-height: 1.35;
}

.quick-search-panel,
.content-section,
.page-hero,
.detail-hero-inner,
.footer-grid,
.footer-bottom {
    width: min(var(--max), calc(100% - 44px));
    margin: 0 auto;
}

.quick-search-panel {
    display: grid;
    grid-template-columns: 1fr minmax(320px, 520px);
    gap: 26px;
    align-items: center;
    margin-top: -52px;
    position: relative;
    z-index: 5;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(15, 23, 42, 0.86);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}

.quick-search-panel h2,
.section-heading h2,
.page-hero h1,
.detail-title-row h1 {
    margin: 8px 0;
    letter-spacing: -0.04em;
}

.quick-search-panel p,
.section-heading p,
.page-hero p {
    margin: 0;
    color: var(--muted);
}

.large-search input {
    width: 100%;
    flex: 1;
    padding: 13px 18px;
}

.large-search button {
    padding: 13px 20px;
}

.content-section {
    padding: 72px 0 0;
}

.inner-section {
    width: 100%;
    padding-top: 30px;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 24px;
}

.section-heading h2 {
    font-size: clamp(28px, 4vw, 42px);
}

.section-more {
    color: #93c5fd;
    font-weight: 850;
}

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 22px;
    background: rgba(15, 23, 42, 0.66);
    box-shadow: 0 20px 46px rgba(2, 6, 23, 0.28);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
    border-color: rgba(96, 165, 250, 0.58);
    transform: translateY(-6px);
    box-shadow: 0 26px 62px rgba(30, 58, 138, 0.36);
}

.movie-poster {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0f172a;
}

.movie-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

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

.poster-shade {
    position: absolute;
    inset: auto 0 0;
    height: 58%;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.82), transparent);
}

.type-badge,
.rank-badge,
.play-chip {
    position: absolute;
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 12px;
    font-weight: 850;
    backdrop-filter: blur(10px);
}

.type-badge {
    top: 12px;
    left: 12px;
    color: #dbeafe;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(96, 165, 250, 0.22);
}

.rank-badge {
    top: 12px;
    right: 12px;
    color: #111827;
    background: linear-gradient(135deg, #fde68a, #f59e0b);
}

.play-chip {
    right: 12px;
    bottom: 12px;
    color: white;
    background: rgba(37, 99, 235, 0.9);
}

.movie-card-body {
    padding: 16px;
}

.movie-meta-row {
    margin-bottom: 8px;
}

.movie-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.35;
}

.movie-card h3 a:hover {
    color: #93c5fd;
}

.movie-card p {
    margin: 0 0 14px;
    color: #94a3b8;
    font-size: 14px;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.glass-section {
    width: min(1288px, calc(100% - 26px));
    padding: 46px 24px 24px;
    margin-top: 72px;
    border: 1px solid rgba(96, 165, 250, 0.18);
    border-radius: 34px;
    background: rgba(15, 23, 42, 0.46);
    backdrop-filter: blur(18px);
}

.feature-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 24px;
    align-items: start;
}

.feature-layout.wide-side {
    grid-template-columns: minmax(0, 1fr) 360px;
}

.side-panel {
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 24px;
    padding: 20px;
    background: rgba(2, 6, 23, 0.44);
}

.side-panel + .side-panel {
    margin-top: 20px;
}

.side-panel h3 {
    margin: 0 0 16px;
    font-size: 20px;
}

.sticky-side {
    position: sticky;
    top: 92px;
}

.compact-list {
    display: grid;
    gap: 12px;
}

.compact-card {
    display: grid;
    grid-template-columns: auto 82px 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border: 1px solid rgba(148, 163, 184, 0.13);
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.58);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.compact-card:hover {
    border-color: rgba(96, 165, 250, 0.55);
    background: rgba(30, 41, 59, 0.72);
}

.compact-card img {
    width: 82px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 12px;
}

.compact-card strong {
    display: block;
    color: #e2e8f0;
    line-height: 1.35;
}

.compact-card small {
    display: block;
    margin-top: 4px;
    color: #94a3b8;
}

.compact-rank {
    width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    border-radius: 10px;
    color: #111827;
    font-size: 12px;
    font-weight: 900;
    background: linear-gradient(135deg, #bfdbfe, #22d3ee);
}

.category-grid,
.category-overview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.category-card,
.category-overview-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 26px;
    padding: 24px;
    min-height: 230px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 0.72));
    box-shadow: 0 24px 58px rgba(2, 6, 23, 0.28);
}

.category-card {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
}

.category-card h3,
.category-overview-card h2 {
    margin: 8px 0;
    font-size: 28px;
    letter-spacing: -0.04em;
}

.category-card p,
.category-overview-card p {
    margin: 0;
    color: var(--muted);
}

.category-card > div:first-child,
.category-overview-card > div {
    position: relative;
    z-index: 2;
}

.poster-stack {
    position: relative;
    display: flex;
    width: 184px;
    min-height: 130px;
}

.poster-stack img {
    position: absolute;
    width: 132px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border: 3px solid rgba(2, 6, 23, 0.9);
    border-radius: 16px;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.35);
}

.poster-stack img:nth-child(1) {
    right: 56px;
    bottom: 0;
    transform: rotate(-8deg);
}

.poster-stack img:nth-child(2) {
    right: 24px;
    bottom: 24px;
}

.poster-stack img:nth-child(3) {
    right: 0;
    bottom: 52px;
    transform: rotate(8deg);
}

.tone-blue::before,
.tone-cyan::before,
.tone-emerald::before,
.tone-amber::before,
.tone-rose::before,
.tone-violet::before,
.tone-indigo::before,
.tone-orange::before,
.tone-lime::before,
.tone-sky::before {
    content: "";
    position: absolute;
    inset: -40% -18% auto auto;
    width: 280px;
    height: 280px;
    border-radius: 999px;
    opacity: 0.18;
    filter: blur(12px);
}

.tone-blue::before { background: #2563eb; }
.tone-cyan::before { background: #06b6d4; }
.tone-emerald::before { background: #10b981; }
.tone-amber::before { background: #f59e0b; }
.tone-rose::before { background: #f43f5e; }
.tone-violet::before { background: #8b5cf6; }
.tone-indigo::before { background: #6366f1; }
.tone-orange::before { background: #f97316; }
.tone-lime::before { background: #84cc16; }
.tone-sky::before { background: #0ea5e9; }

.page-hero {
    position: relative;
    margin-top: 34px;
    padding: 72px 34px;
    border: 1px solid rgba(96, 165, 250, 0.18);
    border-radius: 34px;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.86), rgba(2, 6, 23, 0.72)),
        radial-gradient(circle at 80% 10%, rgba(37, 99, 235, 0.28), transparent 24rem);
    overflow: hidden;
}

.page-hero h1 {
    max-width: 800px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.05;
}

.page-hero p {
    max-width: 760px;
    font-size: 17px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
    color: #94a3b8;
    font-size: 14px;
}

.breadcrumb a:hover {
    color: #93c5fd;
}

.category-overview-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

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

.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.category-pills a {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 13px;
    color: #bfdbfe;
    background: rgba(15, 23, 42, 0.62);
}

.category-pills span {
    margin-left: 5px;
    color: #94a3b8;
}

.filter-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
    padding: 18px;
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 22px;
    background: rgba(15, 23, 42, 0.56);
}

.filter-toolbar label {
    flex: 1;
    display: grid;
    gap: 8px;
    color: #bfdbfe;
    font-size: 14px;
    font-weight: 800;
}

.filter-toolbar input {
    width: 100%;
    border-radius: 16px;
}

.filter-count {
    color: #94a3b8;
    font-weight: 800;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    min-height: 460px;
}

.detail-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.detail-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(16px) saturate(1.1);
    transform: scale(1.08);
    opacity: 0.34;
}

.detail-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, #020617 0%, rgba(2, 6, 23, 0.88) 45%, rgba(2, 6, 23, 0.68) 100%),
        linear-gradient(0deg, #020617 0%, transparent 70%);
}

.detail-hero-inner {
    padding: 54px 0 40px;
}

.detail-title-row {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 34px;
    align-items: end;
    margin-top: 36px;
}

.detail-cover {
    width: 270px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border: 1px solid rgba(96, 165, 250, 0.28);
    border-radius: 26px;
    box-shadow: var(--shadow);
}

.detail-title-row h1 {
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1;
}

.detail-title-row p {
    max-width: 840px;
    margin: 0 0 22px;
    color: #cbd5e1;
    font-size: 18px;
}

.detail-meta {
    margin-bottom: 18px;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    align-items: start;
}

.player-panel,
.detail-text-block {
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 26px;
    background: rgba(15, 23, 42, 0.62);
    overflow: hidden;
}

.video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
}

.video-frame video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.play-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 12px;
    border: 0;
    color: white;
    cursor: pointer;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.18), rgba(2, 6, 23, 0.5));
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.play-overlay.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.play-circle {
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: white;
    font-size: 28px;
    background: linear-gradient(135deg, #2563eb, #22d3ee);
    box-shadow: 0 22px 52px rgba(37, 99, 235, 0.42);
}

.player-message {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    display: none;
    border-radius: 14px;
    padding: 10px 12px;
    color: #fecaca;
    background: rgba(127, 29, 29, 0.78);
}

.player-message.is-visible {
    display: block;
}

.player-info-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 18px;
    color: #cbd5e1;
    font-weight: 800;
}

.detail-text-block {
    margin-top: 22px;
    padding: 24px;
}

.detail-text-block h2 {
    margin: 0 0 14px;
    font-size: 26px;
}

.detail-text-block p {
    margin: 0 0 14px;
    color: #cbd5e1;
}

.detail-text-block p:last-child {
    margin-bottom: 0;
}

.info-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
}

.info-list div {
    padding: 12px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 14px;
    background: rgba(2, 6, 23, 0.26);
}

.info-list dt {
    color: #94a3b8;
    font-size: 13px;
}

.info-list dd {
    margin: 4px 0 0;
    color: #e2e8f0;
    font-weight: 800;
}

.sidebar-link {
    display: block;
    padding: 11px 12px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 14px;
    color: #bfdbfe;
    background: rgba(15, 23, 42, 0.55);
}

.sidebar-link + .sidebar-link {
    margin-top: 10px;
}

.site-footer {
    margin-top: 82px;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(2, 6, 23, 0.72);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 34px;
    padding: 42px 0 28px;
}

.footer-grid p {
    max-width: 520px;
    color: #94a3b8;
}

.footer-grid h3 {
    margin: 0 0 12px;
}

.footer-grid a:not(.brand) {
    display: block;
    margin: 7px 0;
    color: #94a3b8;
}

.footer-grid a:hover {
    color: #93c5fd;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 0 28px;
    color: #64748b;
    font-size: 14px;
}

[data-movie-card].is-hidden {
    display: none;
}

@media (max-width: 1180px) {
    .movie-grid,
    .ranking-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .feature-layout,
    .feature-layout.wide-side,
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .sticky-side {
        position: static;
    }

    .hero-thumbs {
        width: min(520px, calc(100% - 44px));
        left: 22px;
        right: auto;
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .hero-thumb {
        display: block;
    }

    .hero-thumb img {
        width: 100%;
    }

    .hero-thumb span {
        display: none;
    }
}

@media (max-width: 900px) {
    .desktop-nav,
    .header-search {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .quick-search-panel,
    .footer-grid,
    .detail-title-row,
    .category-grid,
    .category-overview-grid {
        grid-template-columns: 1fr;
    }

    .quick-search-panel {
        margin-top: 22px;
    }

    .large-search {
        display: grid;
    }

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

    .detail-cover {
        width: 100%;
        max-width: 360px;
    }

    .filter-toolbar,
    .section-heading,
    .category-overview-head,
    .footer-bottom {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (max-width: 620px) {
    .nav-shell {
        padding: 0 16px;
    }

    .brand-text {
        font-size: 20px;
    }

    .hero-carousel {
        min-height: 620px;
    }

    .hero-content {
        left: 18px;
        right: 18px;
        top: 42%;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-thumbs {
        left: 18px;
        bottom: 24px;
        width: calc(100% - 36px);
        grid-template-columns: repeat(5, 1fr);
    }

    .quick-search-panel,
    .content-section,
    .page-hero,
    .detail-hero-inner,
    .footer-grid,
    .footer-bottom {
        width: calc(100% - 28px);
    }

    .page-hero {
        padding: 46px 22px;
        border-radius: 26px;
    }

    .content-section {
        padding-top: 46px;
    }

    .glass-section {
        width: calc(100% - 16px);
        padding: 32px 14px 18px;
        border-radius: 26px;
    }

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

    .compact-card {
        grid-template-columns: auto 74px 1fr;
    }

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

    .player-info-bar {
        align-items: flex-start;
        flex-direction: column;
    }
}

.sitemap-list {
    columns: 4 220px;
    gap: 32px;
    margin: 0;
    padding-left: 24px;
}

.sitemap-list li {
    break-inside: avoid;
    margin: 0 0 8px;
    color: #cbd5e1;
}

.sitemap-list a:hover {
    color: #93c5fd;
}
