:root {
    color-scheme: dark;
    --bg: #020617;
    --bg-soft: #0f172a;
    --panel: rgba(15, 23, 42, 0.78);
    --panel-strong: rgba(15, 23, 42, 0.94);
    --line: rgba(34, 211, 238, 0.18);
    --line-strong: rgba(34, 211, 238, 0.42);
    --text: #e5f7ff;
    --muted: #94a3b8;
    --soft: #64748b;
    --cyan: #22d3ee;
    --cyan-deep: #0891b2;
    --blue: #38bdf8;
    --orange: #fb923c;
    --radius: 1.25rem;
    --shadow: 0 24px 60px rgba(8, 145, 178, 0.2);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    background:
        radial-gradient(circle at 10% 0%, rgba(34, 211, 238, 0.16), transparent 28rem),
        radial-gradient(circle at 90% 10%, rgba(59, 130, 246, 0.14), transparent 30rem),
        linear-gradient(180deg, #020617 0%, #0f172a 48%, #020617 100%);
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

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

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

.header-shell {
    display: grid;
    grid-template-columns: auto 1fr minmax(230px, 360px) auto;
    align-items: center;
    gap: 1rem;
    width: min(1280px, calc(100% - 32px));
    min-height: 72px;
    margin: 0 auto;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-width: max-content;
}

.brand-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(103, 232, 249, 0.38);
    border-radius: 15px;
    color: #ecfeff;
    font-weight: 900;
    font-size: 1.3rem;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.95), rgba(37, 99, 235, 0.72));
    box-shadow: 0 14px 34px rgba(34, 211, 238, 0.28);
}

.brand-copy {
    display: grid;
    gap: 0.05rem;
}

.brand-copy strong {
    color: #cffafe;
    font-size: 1.08rem;
    letter-spacing: 0.03em;
}

.brand-copy em {
    color: rgba(103, 232, 249, 0.72);
    font-size: 0.72rem;
    font-style: normal;
}

.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.desktop-nav a,
.mobile-nav a {
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 0.65rem 0.95rem;
    color: #cbd5e1;
    transition: 0.25s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active,
.mobile-nav a:hover,
.mobile-nav a.active {
    border-color: rgba(34, 211, 238, 0.28);
    color: #67e8f9;
    background: rgba(8, 145, 178, 0.16);
    box-shadow: 0 12px 28px rgba(8, 145, 178, 0.13);
}

.search-shell {
    position: relative;
}

.global-search,
.filter-bar input,
.filter-bar select {
    width: 100%;
    border: 1px solid rgba(51, 65, 85, 0.9);
    border-radius: 999px;
    outline: none;
    padding: 0.78rem 1rem;
    color: #e0f2fe;
    background: rgba(15, 23, 42, 0.8);
    transition: 0.25s ease;
}

.global-search:focus,
.filter-bar input:focus,
.filter-bar select:focus {
    border-color: var(--line-strong);
    box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.1);
}

.search-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: none;
    width: min(420px, 88vw);
    max-height: 70vh;
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 0.6rem;
    background: rgba(2, 6, 23, 0.96);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.search-panel.is-open {
    display: grid;
    gap: 0.45rem;
}

.search-result {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 0.75rem;
    align-items: center;
    border-radius: 14px;
    padding: 0.55rem;
    color: #e2e8f0;
    transition: 0.2s ease;
}

.search-result:hover {
    background: rgba(34, 211, 238, 0.1);
}

.search-result img {
    width: 54px;
    height: 74px;
    border-radius: 10px;
    object-fit: cover;
    background: #0f172a;
}

.search-result span {
    display: grid;
    gap: 0.18rem;
    min-width: 0;
}

.search-result strong,
.search-result em,
.search-result small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-result em,
.search-result small,
.search-empty {
    color: var(--muted);
    font-style: normal;
    font-size: 0.82rem;
}

.search-empty {
    padding: 1rem;
    text-align: center;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.75);
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    border-radius: 999px;
    background: #67e8f9;
}

.mobile-nav {
    display: none;
    border-top: 1px solid rgba(34, 211, 238, 0.13);
    padding: 0.9rem 1rem 1.2rem;
    background: rgba(2, 6, 23, 0.96);
}

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

.mobile-nav nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.85rem;
}

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

.hero-media,
.detail-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-bg,
.detail-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 0.8s ease, transform 5s ease;
}

.hero-bg.is-active {
    opacity: 0.45;
    transform: scale(1);
}

.hero-vignette,
.detail-hero::before {
    position: absolute;
    inset: 0;
    content: "";
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.7), rgba(2, 6, 23, 0.98)),
        radial-gradient(circle at 72% 24%, rgba(34, 211, 238, 0.2), transparent 26rem),
        linear-gradient(180deg, rgba(2, 6, 23, 0.25), #020617 92%);
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.68fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    min-height: 760px;
    padding: 4rem 0;
}

.hero-copy {
    min-height: 430px;
}

.hero-slide {
    display: none;
    animation: fadeUp 0.56s ease both;
}

.hero-slide.is-active {
    display: block;
}

.eyebrow,
.section-heading p,
.panel-label {
    color: #67e8f9;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
    max-width: 840px;
    margin: 0.5rem 0 0;
    color: transparent;
    font-size: clamp(2.4rem, 6vw, 5.4rem);
    font-weight: 950;
    line-height: 1.03;
    letter-spacing: -0.06em;
    background: linear-gradient(90deg, #ecfeff, #67e8f9 42%, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
}

.hero h2 {
    margin: 1.25rem 0 0.7rem;
    color: #f8fafc;
    font-size: clamp(1.7rem, 4vw, 3.1rem);
    font-weight: 850;
}

.hero p,
.page-hero p {
    max-width: 720px;
    color: #cbd5e1;
    font-size: 1.05rem;
    line-height: 1.9;
}

.hero-tags,
.tag-row,
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.hero-tags {
    margin: 1.3rem 0 1.6rem;
}

.hero-tags span,
.tag-row span,
.detail-meta span {
    border: 1px solid rgba(34, 211, 238, 0.22);
    border-radius: 999px;
    padding: 0.38rem 0.72rem;
    color: #a5f3fc;
    font-size: 0.82rem;
    background: rgba(8, 145, 178, 0.16);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 999px;
    padding: 0.75rem 1.15rem;
    font-weight: 800;
    transition: 0.25s ease;
}

.btn.primary {
    color: #042f2e;
    background: linear-gradient(135deg, #67e8f9, #38bdf8);
    box-shadow: 0 16px 34px rgba(34, 211, 238, 0.28);
}

.btn.ghost {
    border: 1px solid rgba(103, 232, 249, 0.28);
    color: #cffafe;
    background: rgba(15, 23, 42, 0.62);
}

.btn.full {
    width: 100%;
}

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

.hero-panel {
    display: grid;
    gap: 1rem;
}

.hero-search-card,
.ranking-panel,
.detail-card,
.side-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1rem;
    background: var(--panel);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.hero-search-card {
    display: grid;
    gap: 0.75rem;
}

.hero-thumbs {
    display: grid;
    gap: 0.85rem;
}

.hero-thumb {
    display: grid;
    grid-template-columns: 82px 1fr;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    border: 1px solid rgba(51, 65, 85, 0.75);
    border-radius: 18px;
    padding: 0.6rem;
    color: #cbd5e1;
    text-align: left;
    background: rgba(15, 23, 42, 0.72);
    transition: 0.25s ease;
}

.hero-thumb img {
    width: 82px;
    height: 58px;
    border-radius: 13px;
    object-fit: cover;
}

.hero-thumb span {
    overflow: hidden;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hero-thumb:hover,
.hero-thumb.is-active {
    border-color: var(--line-strong);
    color: #ecfeff;
    background: rgba(8, 145, 178, 0.22);
}

.section {
    padding: clamp(2.2rem, 5vw, 4.6rem) 0;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.35rem;
}

.section-heading.inline-heading {
    align-items: center;
}

.section-heading h2 {
    margin: 0.12rem 0 0;
    color: #f8fafc;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 900;
}

.section-heading a {
    color: #67e8f9;
    font-weight: 800;
}

.rail-grid,
.movie-grid,
.category-grid,
.ranking-grid {
    display: grid;
    gap: 1.1rem;
}

.rail-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    overflow-x: auto;
    padding-bottom: 0.3rem;
}

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

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

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

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

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 1.4rem;
    align-items: start;
}

.movie-card {
    min-width: 0;
}

.movie-card a {
    display: grid;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(51, 65, 85, 0.74);
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.7);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    transition: 0.25s ease;
}

.movie-card a:hover {
    border-color: var(--line-strong);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(8, 145, 178, 0.18);
}

.poster-wrap {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #0f172a;
}

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

.movie-card a:hover .poster-wrap img {
    transform: scale(1.06);
}

.poster-wrap::after {
    position: absolute;
    inset: auto 0 0;
    height: 46%;
    content: "";
    background: linear-gradient(180deg, transparent, rgba(2, 6, 23, 0.9));
}

.year-badge,
.type-badge,
.rank-badge,
.card-play {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 850;
}

.year-badge {
    top: 0.65rem;
    right: 0.65rem;
    padding: 0.28rem 0.55rem;
    color: #022c22;
    background: #67e8f9;
}

.type-badge {
    left: 0.65rem;
    bottom: 0.65rem;
    padding: 0.28rem 0.55rem;
    color: #e0f2fe;
    background: rgba(15, 23, 42, 0.8);
}

.rank-badge {
    top: 0.65rem;
    left: 0.65rem;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: #fff7ed;
    background: linear-gradient(135deg, #fb923c, #ef4444);
}

.card-play {
    right: 0.65rem;
    bottom: 0.65rem;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: #082f49;
    background: rgba(103, 232, 249, 0.92);
    opacity: 0;
    transform: translateY(8px);
    transition: 0.25s ease;
}

.movie-card a:hover .card-play {
    opacity: 1;
    transform: translateY(0);
}

.movie-card-body {
    display: grid;
    gap: 0.44rem;
    padding: 0.92rem;
}

.movie-card-body strong {
    overflow: hidden;
    color: #f8fafc;
    font-size: 1rem;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.movie-meta,
.movie-line {
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.6;
}

.movie-line {
    display: -webkit-box;
    min-height: 2.6em;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.tag-row span {
    padding: 0.2rem 0.48rem;
    font-size: 0.72rem;
}

.movie-card.compact .movie-line {
    display: none;
}

.category-card {
    position: relative;
    min-height: 230px;
    overflow: hidden;
    border: 1px solid rgba(34, 211, 238, 0.18);
    border-radius: 24px;
    background: #0f172a;
    box-shadow: var(--shadow);
}

.category-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.62;
    transition: 0.35s ease;
}

.category-card:hover img {
    transform: scale(1.06);
    opacity: 0.75;
}

.category-card-shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 0%, rgba(34, 211, 238, 0.24), transparent 17rem),
        linear-gradient(180deg, transparent, rgba(2, 6, 23, 0.96));
}

.category-card-copy {
    position: absolute;
    inset: auto 0 0;
    display: grid;
    gap: 0.55rem;
    padding: 1.2rem;
}

.category-card-copy strong {
    color: #ecfeff;
    font-size: 1.35rem;
    font-weight: 900;
}

.category-card-copy em {
    display: -webkit-box;
    overflow: hidden;
    color: #cbd5e1;
    font-size: 0.92rem;
    font-style: normal;
    line-height: 1.7;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.ranking-panel {
    position: sticky;
    top: 92px;
}

.ranking-list,
.ranking-grid {
    display: grid;
    gap: 0.75rem;
}

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

.list-card a {
    display: grid;
    grid-template-columns: auto 70px minmax(0, 1fr);
    gap: 0.8rem;
    align-items: center;
    border: 1px solid rgba(51, 65, 85, 0.72);
    border-radius: 18px;
    padding: 0.55rem;
    background: rgba(15, 23, 42, 0.64);
    transition: 0.22s ease;
}

.list-card a:hover {
    border-color: var(--line-strong);
    background: rgba(8, 145, 178, 0.16);
}

.list-card img {
    width: 70px;
    height: 92px;
    border-radius: 12px;
    object-fit: cover;
    background: #0f172a;
}

.list-rank {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 11px;
    color: #fff7ed;
    font-weight: 900;
    background: linear-gradient(135deg, #f97316, #ef4444);
}

.list-card span {
    display: grid;
    gap: 0.22rem;
    min-width: 0;
}

.list-card strong,
.list-card em,
.list-card small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.list-card strong {
    color: #f8fafc;
}

.list-card em,
.list-card small {
    color: var(--muted);
    font-style: normal;
}

.page-hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    padding: 6.4rem 0 3.5rem;
    background:
        radial-gradient(circle at 18% 0%, rgba(34, 211, 238, 0.2), transparent 25rem),
        linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(2, 6, 23, 0.96));
}

.compact-hero {
    padding: 5rem 0 3rem;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #67e8f9;
}

.filter-bar {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(150px, 220px) minmax(150px, 220px);
    gap: 0.8rem;
    margin-bottom: 1.35rem;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 0.8rem;
    background: rgba(15, 23, 42, 0.68);
}

.is-hidden {
    display: none !important;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    padding: 3.5rem 0 0;
}

.detail-bg img {
    opacity: 0.22;
    filter: blur(4px);
    transform: scale(1.08);
}

.detail-container {
    position: relative;
    z-index: 1;
}

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

.watch-column {
    display: grid;
    gap: 1.15rem;
}

.player-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(34, 211, 238, 0.24);
    border-radius: 26px;
    background: #000;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}

.player-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 0.65rem;
    border: 0;
    padding: 1.5rem;
    color: #ecfeff;
    text-align: center;
    background:
        radial-gradient(circle at 50% 38%, rgba(34, 211, 238, 0.2), transparent 18rem),
        linear-gradient(180deg, rgba(2, 6, 23, 0.36), rgba(2, 6, 23, 0.82));
}

.player-card.is-playing .player-overlay {
    opacity: 0;
    pointer-events: none;
}

.play-ring {
    display: grid;
    width: 82px;
    height: 82px;
    place-items: center;
    border: 2px solid rgba(207, 250, 254, 0.75);
    border-radius: 50%;
    color: #082f49;
    font-size: 1.8rem;
    background: rgba(103, 232, 249, 0.95);
    box-shadow: 0 0 0 14px rgba(34, 211, 238, 0.12), 0 18px 40px rgba(8, 145, 178, 0.32);
}

.player-overlay strong {
    font-size: clamp(1.35rem, 3vw, 2.3rem);
    font-weight: 900;
}

.player-overlay em {
    max-width: 620px;
    color: #cbd5e1;
    font-style: normal;
    line-height: 1.7;
}

.movie-copy {
    display: grid;
    gap: 1rem;
    padding: clamp(1.1rem, 3vw, 1.7rem);
}

.movie-copy h1 {
    margin: 0;
    color: #f8fafc;
    font-size: clamp(1.6rem, 4vw, 2.65rem);
    line-height: 1.18;
}

.movie-copy h2,
.side-card h2 {
    margin: 0.8rem 0 0;
    color: #67e8f9;
    font-size: 1.25rem;
    font-weight: 900;
}

.movie-copy p {
    margin: 0;
    color: #dbeafe;
    font-size: 1rem;
    line-height: 1.95;
}

.detail-side {
    display: grid;
    gap: 1rem;
}

.detail-side > img {
    width: 100%;
    border: 1px solid rgba(34, 211, 238, 0.22);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.side-card dl {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 0.65rem 0.75rem;
    margin: 1rem 0;
}

.side-card dt {
    color: var(--soft);
}

.side-card dd {
    margin: 0;
    color: #e2e8f0;
}

.site-footer {
    margin-top: 2rem;
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.72), rgba(2, 6, 23, 0.98));
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.6fr 1fr;
    gap: 2rem;
    padding: 3rem 0;
}

.footer-brand p {
    max-width: 430px;
    color: var(--muted);
    line-height: 1.8;
}

.footer-links {
    display: grid;
    align-content: start;
    gap: 0.55rem;
}

.footer-links h2 {
    margin: 0 0 0.4rem;
    color: #67e8f9;
    font-size: 1rem;
}

.footer-links a {
    color: var(--muted);
}

.footer-links a:hover {
    color: #67e8f9;
}

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

.footer-categories h2 {
    grid-column: 1 / -1;
}

.footer-bottom {
    border-top: 1px solid rgba(34, 211, 238, 0.12);
    padding: 1rem;
    color: var(--soft);
    text-align: center;
    font-size: 0.88rem;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1100px) {
    .header-shell {
        grid-template-columns: auto 1fr auto;
    }

    .desktop-nav,
    .header-shell > .search-shell {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero-inner,
    .detail-layout,
    .split-section {
        grid-template-columns: 1fr;
    }

    .hero,
    .hero-inner {
        min-height: auto;
    }

    .hero-inner {
        padding: 5rem 0 3rem;
    }

    .hero-copy {
        min-height: 0;
    }

    .ranking-panel {
        position: static;
    }

    .rail-grid {
        grid-template-columns: repeat(6, 190px);
    }

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

@media (max-width: 680px) {
    .container,
    .header-shell {
        width: min(100% - 22px, 1180px);
    }

    .brand-copy strong {
        font-size: 0.98rem;
    }

    .hero h1,
    .page-hero h1 {
        font-size: clamp(2.1rem, 14vw, 3.3rem);
    }

    .hero-actions,
    .section-heading,
    .filter-bar {
        align-items: stretch;
        grid-template-columns: 1fr;
    }

    .section-heading {
        display: grid;
    }

    .movie-grid,
    .category-movie-grid,
    .category-grid,
    .category-grid.large,
    .ranking-page .ranking-grid,
    .footer-grid,
    .footer-categories {
        grid-template-columns: 1fr;
    }

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

    .movie-card-body {
        padding: 0.75rem;
    }

    .movie-card-body strong {
        font-size: 0.95rem;
    }

    .movie-line,
    .tag-row {
        display: none;
    }

    .list-card a {
        grid-template-columns: auto 58px minmax(0, 1fr);
    }

    .list-card img {
        width: 58px;
        height: 78px;
    }

    .player-overlay em {
        display: none;
    }
}
