:root {
    --fog-50: #f7f9fb;
    --fog-100: #edf2f7;
    --fog-200: #dce5ee;
    --fog-300: #c4d0dc;
    --fog-400: #8a9bac;
    --fog-500: #657587;
    --fog-600: #4c5a69;
    --fog-700: #364150;
    --fog-800: #202a36;
    --fog-900: #111827;
    --steel-400: #73a9d6;
    --steel-500: #4c8fbe;
    --steel-600: #2f74a4;
    --steel-700: #235b82;
    --accent-300: #f7d58c;
    --accent-400: #f3bc55;
    --accent-500: #df9431;
    --white: #ffffff;
    --shadow-soft: 0 18px 50px rgba(17, 24, 39, 0.12);
    --shadow-card: 0 12px 32px rgba(17, 24, 39, 0.10);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 12px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--fog-900);
    background: linear-gradient(180deg, var(--fog-50), #ffffff 360px);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

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: 100;
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(220, 229, 238, 0.88);
    backdrop-filter: blur(18px);
}

.nav-bar {
    height: 76px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: var(--fog-900);
    white-space: nowrap;
}

.brand-mark {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--steel-600), var(--accent-400));
    box-shadow: 0 10px 22px rgba(47, 116, 164, 0.28);
}

.brand-text {
    font-size: 22px;
    letter-spacing: 0.02em;
}

.brand-light {
    color: #ffffff;
}

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

.nav-link,
.nav-drop-button {
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    color: var(--fog-700);
    font-weight: 700;
    background: transparent;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.nav-drop-button:hover {
    color: var(--steel-700);
    background: var(--fog-100);
}

.nav-dropdown {
    position: relative;
}

.nav-drop-panel {
    position: absolute;
    top: 46px;
    right: 0;
    width: 190px;
    padding: 10px;
    border: 1px solid var(--fog-200);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-card);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
}

.nav-dropdown:hover .nav-drop-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-drop-panel a {
    display: block;
    padding: 9px 12px;
    border-radius: 10px;
    color: var(--fog-700);
    font-weight: 700;
}

.nav-drop-panel a:hover {
    color: var(--steel-700);
    background: var(--fog-100);
}

.nav-search {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 6px;
}

.nav-search input,
.mobile-panel input,
.filter-panel input,
.filter-panel select {
    min-width: 0;
    border: 1px solid var(--fog-200);
    border-radius: 14px;
    color: var(--fog-800);
    background: #ffffff;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-search input {
    width: 230px;
    height: 42px;
    padding: 0 14px;
}

.nav-search input:focus,
.mobile-panel input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--steel-500);
    box-shadow: 0 0 0 4px rgba(76, 143, 190, 0.16);
}

.nav-search button,
.mobile-panel button {
    height: 42px;
    padding: 0 16px;
    border: 0;
    border-radius: 14px;
    color: #ffffff;
    font-weight: 800;
    background: var(--steel-600);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    margin-left: auto;
    border: 0;
    border-radius: 14px;
    background: var(--fog-100);
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    border-radius: 999px;
    background: var(--fog-700);
}

.mobile-panel {
    display: none;
    border-top: 1px solid var(--fog-200);
    padding: 16px;
    background: #ffffff;
}

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

.mobile-panel form {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.mobile-panel input {
    width: 100%;
    height: 44px;
    padding: 0 14px;
}

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

.mobile-panel nav a {
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--fog-700);
    background: var(--fog-50);
    font-weight: 800;
}

.hero {
    position: relative;
    min-height: 680px;
    overflow: hidden;
    background: var(--fog-900);
}

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

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

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05) contrast(1.05);
}

.hero-shade,
.detail-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 75% 28%, rgba(243, 188, 85, 0.28), transparent 32%),
        linear-gradient(90deg, rgba(17, 24, 39, 0.96) 0%, rgba(17, 24, 39, 0.82) 34%, rgba(17, 24, 39, 0.44) 68%, rgba(17, 24, 39, 0.75) 100%);
}

.hero-content {
    position: relative;
    min-height: 680px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    align-items: center;
    gap: 64px;
    padding: 92px 0 88px;
}

.hero-copy {
    max-width: 760px;
    color: #ffffff;
}

.eyebrow,
.section-kicker {
    margin: 0 0 12px;
    color: var(--accent-400);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.detail-copy h1 {
    margin: 0;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.hero h1 {
    max-width: 780px;
    font-size: clamp(42px, 7vw, 82px);
}

.hero-desc {
    max-width: 680px;
    margin: 26px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(17px, 2vw, 22px);
}

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

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

.hero-tags span,
.movie-tags span,
.detail-tags a {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.hero-tags span {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
    color: var(--fog-900);
    background: linear-gradient(135deg, var(--accent-300), var(--accent-500));
    box-shadow: 0 18px 34px rgba(223, 148, 49, 0.32);
}

.btn-soft {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-poster {
    position: relative;
    display: block;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 36px 80px rgba(0, 0, 0, 0.38);
    transform: rotate(2deg);
}

.hero-poster img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.hero-poster span {
    position: absolute;
    left: 18px;
    bottom: 18px;
    padding: 8px 12px;
    border-radius: 999px;
    color: #ffffff;
    font-weight: 900;
    background: rgba(17, 24, 39, 0.72);
    backdrop-filter: blur(12px);
}

.hero-controls {
    position: absolute;
    left: 50%;
    bottom: 26px;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    transform: translateX(-50%);
}

.hero-arrow {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    font-size: 30px;
    line-height: 1;
}

.hero-dots {
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.38);
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
    width: 30px;
    background: var(--accent-400);
}

.channel-strip {
    position: relative;
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: -28px;
    padding: 18px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(18px);
}

.channel-strip a {
    padding: 9px 14px;
    border-radius: 999px;
    color: var(--fog-700);
    background: var(--fog-100);
    font-weight: 900;
}

.channel-strip a:hover {
    color: #ffffff;
    background: var(--steel-600);
}

.section-block {
    padding: 74px 0;
}

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

.category-preview:nth-of-type(even) {
    background: transparent;
}

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

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

.section-head h2,
.category-card h2,
.content-card h2 {
    margin: 0;
    color: var(--fog-900);
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.text-link {
    color: var(--steel-700);
    font-weight: 900;
}

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

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid var(--fog-200);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: 0 6px 22px rgba(17, 24, 39, 0.06);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(76, 143, 190, 0.5);
    box-shadow: var(--shadow-card);
}

.poster-link {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--fog-100);
}

.poster-link img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    transition: transform 0.35s ease;
}

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

.play-chip,
.rank-badge {
    position: absolute;
    top: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    background: rgba(17, 24, 39, 0.72);
    backdrop-filter: blur(12px);
}

.play-chip {
    right: 12px;
}

.rank-badge {
    left: 12px;
    background: linear-gradient(135deg, var(--accent-400), var(--accent-500));
}

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

.movie-tags span {
    color: var(--steel-700);
    background: var(--fog-100);
}

.movie-card h2 {
    margin: 10px 0 6px;
    color: var(--fog-900);
    font-size: 18px;
    line-height: 1.32;
}

.movie-card h2 a:hover {
    color: var(--steel-700);
}

.movie-meta {
    margin: 0 0 10px;
    color: var(--fog-500);
    font-size: 13px;
    font-weight: 700;
}

.movie-line {
    margin: 0;
    color: var(--fog-600);
    font-size: 14px;
}

.movie-card.horizontal {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
}

.movie-card.horizontal .poster-link img {
    height: 100%;
    aspect-ratio: auto;
}

.horizontal-list {
    display: grid;
    gap: 16px;
}

.split-section {
    padding: 74px 0;
    background: linear-gradient(180deg, #ffffff, var(--fog-50));
}

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

.ranking-panel {
    position: sticky;
    top: 100px;
    padding: 24px;
    border: 1px solid var(--fog-200);
    border-radius: var(--radius-xl);
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

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

.compact-card {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 16px;
    background: var(--fog-50);
    transition: background 0.2s ease, transform 0.2s ease;
}

.compact-card:hover {
    background: var(--fog-100);
    transform: translateX(2px);
}

.compact-card img {
    width: 58px;
    height: 76px;
    border-radius: 12px;
    object-fit: cover;
}

.compact-card strong {
    display: block;
    color: var(--fog-900);
    line-height: 1.35;
}

.compact-card em {
    display: block;
    margin-top: 4px;
    color: var(--fog-500);
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
}

.compact-card > span {
    min-width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--fog-900);
    background: var(--accent-400);
    font-weight: 900;
}

.page-main {
    min-height: 60vh;
}

.page-hero {
    position: relative;
    padding: 90px 0 86px;
    color: #ffffff;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 18%, rgba(243, 188, 85, 0.34), transparent 28%),
        linear-gradient(135deg, var(--fog-900), var(--steel-700));
}

.page-hero h1 {
    max-width: 860px;
    font-size: clamp(40px, 6vw, 70px);
}

.page-hero p {
    max-width: 760px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 18px;
}

.breadcrumb {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    font-weight: 800;
}

.breadcrumb a:hover {
    color: #ffffff;
}

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

.category-card {
    padding: 24px;
    border: 1px solid var(--fog-200);
    border-radius: var(--radius-xl);
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
}

.category-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.category-card-head span {
    color: var(--steel-700);
    font-weight: 900;
}

.category-card p {
    color: var(--fog-600);
}

.compact-list.mini {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 170px 170px;
    gap: 12px;
    margin-bottom: 28px;
    padding: 16px;
    border: 1px solid var(--fog-200);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.05);
}

.library-filter {
    grid-template-columns: minmax(220px, 1fr) repeat(4, minmax(130px, 170px));
}

.filter-panel input,
.filter-panel select {
    height: 46px;
    padding: 0 14px;
}

.empty-state {
    display: none;
    margin: 30px 0 0;
    padding: 26px;
    border-radius: var(--radius-lg);
    text-align: center;
    color: var(--fog-500);
    background: var(--fog-100);
    font-weight: 900;
}

.empty-state.is-visible {
    display: block;
}

.rank-hero-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 34px;
}

.rank-hero-card {
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.rank-hero-card a:first-child {
    position: relative;
    display: block;
}

.rank-hero-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.rank-hero-card span {
    position: absolute;
    left: 16px;
    top: 16px;
    padding: 6px 12px;
    border-radius: 999px;
    color: var(--fog-900);
    background: var(--accent-400);
    font-weight: 900;
}

.rank-hero-card h2,
.rank-hero-card p,
.rank-hero-card strong {
    margin-left: 18px;
    margin-right: 18px;
}

.rank-hero-card h2 {
    margin-top: 18px;
    margin-bottom: 8px;
    font-size: 20px;
}

.rank-hero-card p {
    color: var(--fog-600);
}

.rank-hero-card strong {
    display: block;
    margin-bottom: 18px;
    color: var(--accent-500);
    font-size: 22px;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 54px 84px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--fog-200);
    border-radius: var(--radius-lg);
    background: #ffffff;
}

.rank-number {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    background: var(--steel-600);
    font-weight: 900;
}

.rank-row-img img {
    width: 84px;
    height: 104px;
    border-radius: 14px;
    object-fit: cover;
}

.rank-row h2 {
    margin: 0 0 6px;
    font-size: 19px;
}

.rank-row p,
.rank-row span {
    display: block;
    margin: 0;
    color: var(--fog-500);
    font-size: 14px;
}

.rank-row strong {
    color: var(--accent-500);
    font-size: 20px;
}

.detail-hero {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    color: #ffffff;
    background: var(--fog-900);
}

.detail-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(6px) saturate(1.08);
    transform: scale(1.04);
}

.detail-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 48px;
    align-items: center;
    min-height: 600px;
    padding: 86px 0;
}

.detail-poster {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.38);
}

.detail-poster img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.detail-poster span {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--fog-900);
    background: linear-gradient(135deg, var(--accent-300), var(--accent-500));
    font-weight: 900;
}

.detail-copy h1 {
    font-size: clamp(38px, 6vw, 72px);
}

.detail-line {
    max-width: 780px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 20px;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.detail-meta span {
    padding: 7px 12px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    font-weight: 800;
}

.detail-tags {
    margin-top: 18px;
}

.detail-tags a {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.player-section {
    margin-top: -64px;
    position: relative;
    z-index: 4;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: #000000;
    box-shadow: 0 34px 80px rgba(17, 24, 39, 0.26);
}

.movie-video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
}

.play-layer {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    color: #ffffff;
    background: radial-gradient(circle at 50% 42%, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.72));
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.play-icon {
    width: 76px;
    height: 76px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-left: 5px;
    border-radius: 50%;
    color: var(--fog-900);
    background: linear-gradient(135deg, var(--accent-300), var(--accent-500));
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
    font-size: 30px;
}

.play-layer strong {
    font-size: 24px;
}

.play-layer em {
    color: rgba(255, 255, 255, 0.78);
    font-style: normal;
    font-weight: 800;
}

.detail-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    padding: 56px 0 0;
}

.content-card {
    padding: 28px;
    border: 1px solid var(--fog-200);
    border-radius: var(--radius-xl);
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
}

.content-card p {
    margin: 18px 0 0;
    color: var(--fog-700);
    font-size: 17px;
}

.site-footer {
    margin-top: 42px;
    padding: 58px 0 24px;
    color: var(--fog-300);
    background: var(--fog-900);
}

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

.footer-brand p {
    max-width: 480px;
    color: var(--fog-400);
}

.site-footer h2 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: 18px;
}

.footer-links {
    display: grid;
    gap: 10px;
}

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

.footer-links a:hover {
    color: var(--accent-400);
}

.footer-bottom {
    margin-top: 44px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--fog-500);
    font-size: 14px;
    text-align: center;
}

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

    .menu-toggle {
        display: block;
    }

    .hero-content,
    .detail-hero-grid,
    .split-grid {
        grid-template-columns: 1fr;
    }

    .hero-poster,
    .detail-poster {
        width: min(300px, 80vw);
    }

    .ranking-panel {
        position: static;
    }

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

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

@media (max-width: 760px) {
    .container {
        width: min(100% - 24px, 1180px);
    }

    .nav-bar {
        height: 66px;
    }

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

    .hero,
    .hero-content {
        min-height: 720px;
    }

    .hero-content {
        padding: 76px 0 106px;
        gap: 30px;
    }

    .hero-actions,
    .section-head,
    .category-card-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .movie-grid,
    .small-grid,
    .feature-grid,
    .category-grid,
    .rank-hero-grid,
    .detail-content,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .movie-card.horizontal {
        grid-template-columns: 120px minmax(0, 1fr);
    }

    .filter-panel,
    .library-filter {
        grid-template-columns: 1fr;
    }

    .rank-row {
        grid-template-columns: 42px 70px minmax(0, 1fr);
    }

    .rank-row strong {
        grid-column: 3;
    }

    .rank-row-img img {
        width: 70px;
        height: 92px;
    }

    .detail-hero-grid {
        gap: 28px;
        padding: 70px 0 96px;
    }

    .player-section {
        margin-top: -42px;
    }
}
