:root {
    --bg: #0f172a;
    --bg-deep: #020617;
    --panel: rgba(30, 41, 59, 0.72);
    --panel-solid: #1e293b;
    --panel-dark: #111827;
    --line: rgba(148, 163, 184, 0.16);
    --text: #f8fafc;
    --muted: #cbd5e1;
    --soft: #94a3b8;
    --accent: #f59e0b;
    --accent-deep: #d97706;
    --accent-soft: rgba(245, 158, 11, 0.14);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --shadow: 0 22px 60px rgba(2, 6, 23, 0.32);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(245, 158, 11, 0.12), transparent 36rem),
        linear-gradient(180deg, #0f172a 0%, #172033 44%, #0f172a 100%);
}

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    backdrop-filter: blur(18px);
}

.header-inner {
    width: min(100% - 32px, 1280px);
    height: 64px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.brand-name {
    font-size: 21px;
}

.brand-mark {
    width: 30px;
    height: 30px;
    display: inline-grid;
    place-items: center;
    border-radius: 10px;
    color: white;
    background: linear-gradient(135deg, var(--accent), #f97316);
    box-shadow: 0 10px 28px rgba(245, 158, 11, 0.28);
    font-size: 13px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link,
.mobile-link {
    color: var(--muted);
    border-radius: 12px;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link {
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 650;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
    color: #fbbf24;
    background: rgba(245, 158, 11, 0.1);
}

.menu-button {
    width: 42px;
    height: 42px;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 0;
    color: white;
    border: 0;
    border-radius: 12px;
    background: rgba(148, 163, 184, 0.1);
    cursor: pointer;
}

.menu-button span {
    width: 18px;
    height: 2px;
    border-radius: 10px;
    background: currentColor;
}

.mobile-nav {
    display: none;
    padding: 8px 16px 16px;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    background: rgba(15, 23, 42, 0.98);
}

.mobile-nav.is-open {
    display: grid;
    gap: 8px;
}

.mobile-link {
    padding: 13px 16px;
    font-weight: 650;
}

.hero {
    position: relative;
    height: 600px;
    min-height: 560px;
    overflow: hidden;
    background: var(--bg-deep);
}

.hero-slider,
.hero-slide,
.hero-backdrop {
    position: absolute;
    inset: 0;
}

.hero-slide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s ease;
}

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

.hero-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.08);
    transform: scale(1.02);
}

.hero-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.72) 44%, rgba(15, 23, 42, 0.28) 100%),
        linear-gradient(0deg, #0f172a 0%, rgba(15, 23, 42, 0.35) 50%, rgba(15, 23, 42, 0.7) 100%);
}

.hero-content {
    position: relative;
    width: min(100% - 32px, 1280px);
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 0 0 84px;
    max-width: 1280px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 7px 11px;
    color: #fbbf24;
    background: rgba(245, 158, 11, 0.13);
    border: 1px solid rgba(245, 158, 11, 0.22);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero h1,
.page-hero h1,
.detail-heading h1 {
    margin: 18px 0 16px;
    max-width: 780px;
    font-size: clamp(38px, 6vw, 70px);
    line-height: 1.04;
    letter-spacing: -0.05em;
}

.hero p,
.page-hero p,
.detail-heading p {
    max-width: 720px;
    margin: 0;
    color: var(--muted);
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.7;
}

.hero-meta,
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
}

.hero-meta span,
.detail-meta span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border-radius: 999px;
    color: var(--muted);
    background: rgba(30, 41, 59, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.12);
    font-size: 13px;
}

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

.primary-button,
.ghost-button,
.outline-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 14px;
    font-weight: 800;
    transition: transform 0.2s ease, background 0.2s ease, border 0.2s ease;
}

.primary-button {
    color: white;
    background: linear-gradient(135deg, var(--accent), #f97316);
    box-shadow: 0 16px 40px rgba(245, 158, 11, 0.24);
}

.ghost-button,
.outline-button {
    color: var(--text);
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(15, 23, 42, 0.46);
}

.primary-button:hover,
.ghost-button:hover,
.outline-button:hover {
    transform: translateY(-2px);
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 28px;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-dot {
    width: 34px;
    height: 5px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    cursor: pointer;
}

.hero-dot.is-active {
    background: var(--accent);
}

.quick-search-section {
    position: relative;
    z-index: 3;
    margin-top: -42px;
}

.quick-search-panel,
.search-panel,
.filter-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: var(--radius-xl);
    background: rgba(15, 23, 42, 0.82);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.quick-search-panel h2,
.section-heading h2,
.related-sidebar h2,
.content-card h2 {
    margin: 8px 0 0;
    font-size: clamp(24px, 4vw, 36px);
    letter-spacing: -0.04em;
}

.quick-search {
    flex: 1;
    max-width: 620px;
    display: flex;
    gap: 10px;
}

.quick-search input,
.search-panel input,
.search-panel select,
.filter-toolbar input {
    width: 100%;
    min-height: 48px;
    color: var(--text);
    background: rgba(30, 41, 59, 0.78);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 14px;
    outline: 0;
    padding: 0 15px;
}

.search-panel select {
    appearance: none;
}

.quick-search button {
    min-width: 100px;
    border: 0;
    border-radius: 14px;
    color: white;
    font-weight: 800;
    background: var(--accent);
    cursor: pointer;
}

.section {
    padding: 72px 0;
}

.section-muted {
    background: rgba(30, 41, 59, 0.32);
    border-top: 1px solid rgba(148, 163, 184, 0.08);
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

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

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

.section-heading a {
    color: #fbbf24;
    font-weight: 700;
}

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

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

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

.poster-wrap {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    margin-bottom: 12px;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(30, 41, 59, 0.7);
    box-shadow: 0 12px 32px rgba(2, 6, 23, 0.24);
}

.poster-wrap img,
.landscape-poster img,
.mini-card img,
.ranking-card img,
.rank-row img,
.detail-cover,
.category-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.32s ease;
}

.poster-shade {
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.76), transparent 70%);
    transition: opacity 0.24s ease;
}

.poster-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 8px;
    color: white;
    font-size: 12px;
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.64);
    backdrop-filter: blur(10px);
}

.movie-card strong {
    display: block;
    color: white;
    font-size: 15px;
    line-height: 1.45;
    min-height: 42px;
    transition: color 0.2s ease;
}

.movie-card em,
.card-tags {
    display: block;
    color: var(--soft);
    font-size: 12px;
    font-style: normal;
    line-height: 1.45;
}

.card-tags {
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.movie-card:hover .poster-wrap img,
.landscape-card:hover img,
.rank-row:hover img,
.ranking-card:hover img,
.mini-card:hover img {
    transform: scale(1.08);
}

.movie-card:hover .poster-shade {
    opacity: 1;
}

.movie-card:hover strong,
.landscape-card:hover strong,
.rank-row:hover strong,
.ranking-card:hover strong,
.mini-card:hover span {
    color: #fbbf24;
}

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

.landscape-card,
.rank-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.54);
    transition: background 0.2s ease, transform 0.2s ease, border 0.2s ease;
}

.landscape-card:hover,
.rank-row:hover {
    transform: translateY(-2px);
    border-color: rgba(245, 158, 11, 0.24);
    background: rgba(15, 23, 42, 0.86);
}

.landscape-poster {
    position: relative;
    flex: 0 0 190px;
    aspect-ratio: 16 / 10;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(30, 41, 59, 0.7);
}

.play-glow {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: white;
    font-size: 32px;
    background: rgba(0, 0, 0, 0.32);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.landscape-card:hover .play-glow {
    opacity: 1;
}

.landscape-info strong,
.ranking-info strong,
.rank-copy strong {
    display: block;
    color: white;
    font-size: 18px;
    transition: color 0.2s ease;
}

.landscape-info em,
.ranking-info em,
.rank-copy em {
    display: -webkit-box;
    margin: 8px 0;
    color: var(--soft);
    font-size: 14px;
    font-style: normal;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.landscape-info span,
.ranking-info span,
.rank-meta {
    color: var(--soft);
    font-size: 12px;
}

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

.category-card,
.category-overview-card,
.content-card,
.related-sidebar,
.ranking-panel,
.player-card {
    border: 1px solid rgba(148, 163, 184, 0.13);
    border-radius: var(--radius-xl);
    background: var(--panel);
    box-shadow: var(--shadow);
}

.category-card,
.category-overview-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 18px;
    transition: transform 0.2s ease, border 0.2s ease;
}

.category-card:hover,
.category-overview-card:hover {
    transform: translateY(-3px);
    border-color: rgba(245, 158, 11, 0.24);
}

.category-preview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    height: 98px;
    overflow: hidden;
    border-radius: 16px;
}

.category-preview img {
    border-radius: 12px;
}

.category-card strong,
.category-card h2,
.category-overview-card h2 {
    margin: 0;
    color: white;
    font-size: 22px;
}

.category-card em,
.category-overview-card p,
.category-card-head p {
    margin: 0;
    color: var(--soft);
    font-size: 14px;
    font-style: normal;
    line-height: 1.7;
}

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

.ranking-panel {
    padding: 22px;
    position: sticky;
    top: 90px;
}

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

.rank-row {
    gap: 12px;
    padding: 10px;
    box-shadow: none;
}

.rank-number {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #fbbf24;
    font-weight: 900;
    background: rgba(245, 158, 11, 0.12);
}

.rank-row img {
    flex: 0 0 92px;
    width: 92px;
    height: 58px;
    border-radius: 12px;
}

.rank-copy {
    min-width: 0;
}

.rank-copy strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
}

.rank-copy em {
    margin: 3px 0 0;
    font-size: 12px;
    -webkit-line-clamp: 1;
}

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    padding: 96px 0;
    background: var(--bg-deep);
}

.compact-hero {
    padding: 78px 0;
    background:
        radial-gradient(circle at 82% 18%, rgba(245, 158, 11, 0.16), transparent 24rem),
        linear-gradient(135deg, #0f172a, #1e293b 58%, #0f172a);
}

.category-hero {
    min-height: 360px;
    display: flex;
    align-items: end;
}

.page-hero-bg,
.detail-bg {
    position: absolute;
    inset: 0;
}

.page-hero-bg img,
.detail-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(2px) saturate(1.1);
    transform: scale(1.03);
}

.page-hero-bg::after,
.detail-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.72)),
        linear-gradient(0deg, #0f172a, transparent 75%);
}

.page-hero-content,
.detail-hero-inner {
    position: relative;
    z-index: 2;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--soft);
    font-size: 14px;
}

.breadcrumb a {
    color: #fbbf24;
}

.filter-toolbar {
    margin-bottom: 28px;
}

.filter-toolbar input {
    max-width: 440px;
}

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

.mini-card {
    position: relative;
    height: 96px;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.7);
}

.mini-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), transparent 72%);
}

.mini-card span {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 9px;
    z-index: 2;
    font-size: 12px;
    font-weight: 750;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-grid {
    display: grid;
    gap: 14px;
}

.ranking-card {
    display: grid;
    grid-template-columns: 58px 160px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 15px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.58);
    transition: transform 0.2s ease, background 0.2s ease;
}

.ranking-card:hover {
    transform: translateX(4px);
    background: rgba(15, 23, 42, 0.86);
}

.ranking-index {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: #fbbf24;
    font-size: 20px;
    font-weight: 900;
    background: rgba(245, 158, 11, 0.12);
}

.ranking-card img {
    width: 160px;
    height: 96px;
    border-radius: 16px;
}

.search-page {
    padding-top: 36px;
}

.search-panel {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 180px 180px 150px;
    margin-bottom: 16px;
}

.search-result-note {
    margin: 0 0 28px;
    color: var(--soft);
    font-size: 14px;
}

.filter-card.is-hidden {
    display: none;
}

.detail-hero {
    min-height: 500px;
    display: flex;
    align-items: end;
    padding: 86px 0 54px;
}

.detail-heading {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 28px;
    align-items: end;
}

.detail-cover {
    width: 220px;
    aspect-ratio: 2 / 3;
    border-radius: 22px;
    box-shadow: 0 28px 70px rgba(2, 6, 23, 0.48);
}

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

.detail-main {
    display: grid;
    gap: 24px;
}

.player-card {
    padding: 12px;
    background: rgba(2, 6, 23, 0.76);
}

.player-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 18px;
    background: #000;
}

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

.play-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 0;
    color: white;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.68), rgba(2, 6, 23, 0.32));
    cursor: pointer;
    transition: opacity 0.24s ease, visibility 0.24s ease;
}

.play-overlay span {
    width: 82px;
    height: 82px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #f97316);
    box-shadow: 0 18px 46px rgba(245, 158, 11, 0.34);
    font-size: 30px;
    padding-left: 4px;
}

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

.content-card,
.related-sidebar {
    padding: 26px;
}

.content-card h2,
.related-sidebar h2 {
    margin: 0 0 14px;
    font-size: 24px;
}

.content-card h2:not(:first-child) {
    margin-top: 28px;
}

.content-card p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.9;
}

.highlight-text {
    color: #fbbf24 !important;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.related-sidebar {
    position: sticky;
    top: 90px;
}

.related-list {
    display: grid;
    gap: 14px;
}

.related-list .landscape-card {
    padding: 10px;
}

.related-list .landscape-poster {
    flex-basis: 120px;
}

.related-list .landscape-info strong {
    font-size: 14px;
}

.related-list .landscape-info em {
    -webkit-line-clamp: 1;
    font-size: 12px;
}

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

.footer-inner {
    width: min(100% - 32px, 1280px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) 220px 260px;
    gap: 40px;
    padding: 48px 0 34px;
}

.footer-about p,
.footer-column a,
.footer-bottom {
    color: var(--soft);
    font-size: 14px;
    line-height: 1.8;
}

.footer-column h2 {
    margin: 0 0 14px;
    color: white;
    font-size: 17px;
}

.footer-column ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 9px;
}

.footer-column a:hover {
    color: #fbbf24;
}

.footer-bottom {
    width: min(100% - 32px, 1280px);
    margin: 0 auto;
    padding: 18px 0 28px;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

@media (max-width: 1100px) {
    .poster-grid,
    .small-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

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

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

    .ranking-panel,
    .related-sidebar {
        position: static;
    }

    .search-panel {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 820px) {
    .desktop-nav {
        display: none;
    }

    .menu-button {
        display: flex;
    }

    .hero {
        height: 620px;
    }

    .hero-content {
        padding-bottom: 76px;
    }

    .quick-search-panel,
    .quick-search,
    .section-heading,
    .filter-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .landscape-grid,
    .poster-grid,
    .small-grid,
    .category-grid,
    .overview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .landscape-card {
        flex-direction: column;
        align-items: stretch;
    }

    .landscape-poster {
        flex-basis: auto;
        width: 100%;
    }

    .ranking-card {
        grid-template-columns: 44px 110px minmax(0, 1fr);
        gap: 12px;
    }

    .ranking-card img {
        width: 110px;
        height: 72px;
    }

    .detail-heading {
        grid-template-columns: 130px minmax(0, 1fr);
        align-items: center;
    }

    .detail-cover {
        width: 130px;
        border-radius: 18px;
    }

    .search-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .container,
    .header-inner,
    .footer-inner,
    .footer-bottom,
    .hero-content {
        width: min(100% - 24px, 1280px);
    }

    .brand-name {
        font-size: 18px;
    }

    .hero,
    .category-hero,
    .detail-hero {
        min-height: 560px;
    }

    .hero-actions {
        width: 100%;
    }

    .primary-button,
    .ghost-button,
    .outline-button {
        flex: 1;
    }

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

    .section {
        padding: 54px 0;
    }

    .movie-card strong {
        font-size: 14px;
    }

    .detail-heading {
        grid-template-columns: 1fr;
    }

    .detail-cover {
        width: 160px;
    }

    .content-card,
    .related-sidebar {
        padding: 20px;
    }

    .play-overlay span {
        width: 66px;
        height: 66px;
        font-size: 24px;
    }

    .ranking-card {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .ranking-card img {
        display: none;
    }
}
