:root {
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --blue-950: #172554;
    --blue-900: #1e3a8a;
    --blue-700: #1d4ed8;
    --amber-500: #f59e0b;
    --orange-500: #f97316;
    --text-dark: #111827;
    --text-soft: #64748b;
    --line-soft: rgba(148, 163, 184, 0.24);
    --page-bg: #f6f9ff;
    --card-bg: #ffffff;
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
    --shadow-strong: 0 28px 80px rgba(15, 23, 42, 0.28);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text-dark);
    background: linear-gradient(180deg, #f8fafc 0%, #eff6ff 45%, #f8fafc 100%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.65;
}

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    color: #fff;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(30, 58, 138, 0.94), rgba(15, 23, 42, 0.96));
    box-shadow: 0 14px 40px rgba(2, 6, 23, 0.25);
    backdrop-filter: blur(18px);
}

.nav-wrap {
    width: min(1180px, calc(100% - 32px));
    height: 68px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

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

.brand-mark {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 999px;
    background: linear-gradient(135deg, #fbbf24, #f97316);
    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.34);
}

.brand-text {
    font-size: 21px;
    background: linear-gradient(90deg, #fde68a, #fdba74, #fbbf24);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 68px;
    color: rgba(226, 232, 240, 0.9);
    font-size: 15px;
    font-weight: 700;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    border-radius: 999px 999px 0 0;
    transform: scaleX(0);
    transform-origin: center;
    background: linear-gradient(90deg, #fbbf24, #f97316);
    transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #fbbf24;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.menu-button {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.menu-button span {
    width: 20px;
    height: 2px;
    margin: 4px auto;
    display: block;
    background: #fff;
    border-radius: 999px;
}

.mobile-nav {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 10px 0 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.mobile-link {
    padding: 12px 14px;
    color: #e2e8f0;
    border-radius: 12px;
    font-weight: 700;
}

.mobile-link.active,
.mobile-link:hover {
    color: #fff;
    background: rgba(245, 158, 11, 0.95);
}

.hero-slider {
    position: relative;
    height: 620px;
    overflow: hidden;
    background: var(--slate-950);
}

.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,
.detail-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 76% 22%, rgba(245, 158, 11, 0.32), transparent 28%),
        linear-gradient(90deg, rgba(2, 6, 23, 0.92) 0%, rgba(15, 23, 42, 0.76) 44%, rgba(15, 23, 42, 0.18) 100%),
        linear-gradient(0deg, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.12));
}

.hero-content {
    position: relative;
    height: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    align-items: center;
    gap: 54px;
    color: #fff;
}

.hero-copy {
    max-width: 700px;
}

.hero-tags,
.movie-meta-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-tags span,
.hero-tags a,
.hero-tags em {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 12px;
    color: #fff;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.95);
    font-size: 13px;
    font-style: normal;
    font-weight: 800;
}

.hero-tags a {
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
}

.hero-tags em {
    color: #fde68a;
    background: transparent;
    border: 1px solid rgba(253, 230, 138, 0.4);
}

.hero-copy h1 {
    margin: 18px 0 18px;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.02;
    letter-spacing: -0.06em;
}

.hero-copy p {
    max-width: 650px;
    margin: 0;
    color: rgba(226, 232, 240, 0.92);
    font-size: 18px;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.primary-button,
.ghost-button,
.panel-more,
.card-arrow,
.text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
    color: #fff;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    box-shadow: 0 16px 34px rgba(245, 158, 11, 0.28);
}

.ghost-button {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
}

.primary-button:hover,
.ghost-button:hover,
.panel-more:hover,
.card-arrow:hover,
.text-link:hover {
    transform: translateY(-2px);
}

.hero-poster {
    position: relative;
    overflow: hidden;
    min-height: 430px;
    border-radius: 30px;
    box-shadow: var(--shadow-strong);
    border: 1px solid rgba(255, 255, 255, 0.26);
}

.hero-poster img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-poster span {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.92);
    font-weight: 900;
    backdrop-filter: blur(10px);
}

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

.hero-controls {
    position: absolute;
    right: max(24px, calc((100vw - 1180px) / 2));
    bottom: 34px;
    z-index: 5;
    display: flex;
    gap: 12px;
}

.hero-controls button {
    width: 48px;
    height: 48px;
    border: 0;
    color: #fff;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    cursor: pointer;
    font-size: 32px;
    line-height: 1;
    backdrop-filter: blur(12px);
}

.hero-dots {
    position: absolute;
    left: max(24px, calc((100vw - 1180px) / 2));
    bottom: 48px;
    z-index: 5;
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 28px;
    height: 4px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.36);
    cursor: pointer;
}

.hero-dot.is-active {
    background: #fbbf24;
}

.section-wrap {
    padding: 64px 0;
}

.section-heading {
    margin-bottom: 26px;
}

.section-heading p,
.page-hero p,
.panel-title span {
    margin: 0 0 8px;
    color: #f59e0b;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section-heading h2,
.panel-title h2 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.split-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.text-link {
    min-height: auto;
    padding: 10px 16px;
    color: #1d4ed8;
    background: #dbeafe;
}

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

.category-tile,
.category-card {
    position: relative;
    overflow: hidden;
    min-height: 178px;
    padding: 22px;
    border-radius: 24px;
    color: #fff;
    background: linear-gradient(135deg, #1e3a8a, #0f172a);
    box-shadow: var(--shadow-soft);
}

.category-tile::after,
.category-card::after {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    right: -70px;
    bottom: -70px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
}

.category-kicker,
.category-card-body span {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    font-weight: 800;
}

.category-tile strong,
.category-card h2 {
    position: relative;
    z-index: 1;
    display: block;
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.15;
}

.category-tile p,
.category-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
}

.accent-orange { background: linear-gradient(135deg, #f59e0b, #c2410c); }
.accent-blue { background: linear-gradient(135deg, #2563eb, #1e3a8a); }
.accent-green { background: linear-gradient(135deg, #10b981, #166534); }
.accent-purple { background: linear-gradient(135deg, #8b5cf6, #581c87); }
.accent-red { background: linear-gradient(135deg, #ef4444, #991b1b); }
.accent-indigo { background: linear-gradient(135deg, #6366f1, #312e81); }
.accent-pink { background: linear-gradient(135deg, #ec4899, #9d174d); }
.accent-cyan { background: linear-gradient(135deg, #06b6d4, #155e75); }
.accent-amber { background: linear-gradient(135deg, #d97706, #78350f); }
.accent-violet { background: linear-gradient(135deg, #7c3aed, #4c1d95); }

.two-column-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 30px;
    align-items: start;
}

.filter-panel {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    padding: 14px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(14px);
}

.search-box,
.select-box {
    display: grid;
    gap: 6px;
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
}

.search-box {
    flex: 1 1 auto;
}

.search-box input,
.select-box select {
    width: 100%;
    min-height: 44px;
    border: 1px solid rgba(148, 163, 184, 0.34);
    border-radius: 14px;
    color: #0f172a;
    outline: none;
    background: #fff;
}

.search-box input {
    padding: 0 14px;
}

.select-box select {
    padding: 0 38px 0 12px;
}

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

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

.movie-card {
    overflow: hidden;
    border-radius: 24px;
    background: var(--card-bg);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-soft);
}

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

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

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

.year-badge,
.score-badge {
    position: absolute;
    top: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 4px 10px;
    color: #fff;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    backdrop-filter: blur(10px);
}

.year-badge {
    left: 12px;
    background: rgba(15, 23, 42, 0.74);
}

.score-badge {
    right: 12px;
    background: rgba(245, 158, 11, 0.94);
}

.movie-body {
    padding: 16px;
}

.movie-meta-line {
    gap: 8px;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.movie-meta-line a {
    color: #1d4ed8;
}

.movie-body h2 {
    margin: 10px 0 8px;
    font-size: 18px;
    line-height: 1.28;
}

.movie-body p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

.tag-row,
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.tag-row span,
.detail-tags a {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 3px 10px;
    color: #475569;
    border-radius: 999px;
    background: #f1f5f9;
    font-size: 12px;
    font-weight: 800;
}

.ranking-panel {
    position: sticky;
    top: 92px;
    padding: 22px;
    border-radius: 28px;
    color: #fff;
    background: linear-gradient(180deg, #0f172a, #1e3a8a);
    box-shadow: var(--shadow-soft);
}

.ranking-panel .panel-title h2 {
    color: #fff;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 42px 54px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 72px;
    padding: 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    transition: background 0.2s ease, transform 0.2s ease;
}

.rank-row:hover {
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.15);
}

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

.rank-num,
.rank-score {
    color: #fbbf24;
    font-weight: 900;
}

.rank-title {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 800;
}

.panel-more {
    width: 100%;
    margin-top: 18px;
    color: #fff;
    background: linear-gradient(135deg, #f59e0b, #f97316);
}

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, #0f172a, #1e3a8a 52%, #0f172a);
}

.page-hero {
    padding: 74px 0;
}

.page-hero::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    right: -140px;
    top: -130px;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.18);
}

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

.page-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.page-hero span {
    display: block;
    max-width: 760px;
    color: rgba(226, 232, 240, 0.9);
    font-size: 18px;
}

.page-actions {
    margin-top: 24px;
}

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

.category-card {
    min-height: auto;
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 20px;
    padding: 18px;
}

.category-cover {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}

.category-cover img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 14px;
}

.category-card-body {
    position: relative;
    z-index: 1;
}

.card-arrow {
    margin-top: 16px;
    min-height: 38px;
    padding: 0 14px;
    color: #0f172a;
    background: rgba(255, 255, 255, 0.86);
}

.empty-state {
    display: none;
    margin: 24px 0 0;
    padding: 22px;
    color: #64748b;
    border-radius: 18px;
    background: #fff;
    text-align: center;
    font-weight: 800;
}

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

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

.ranking-card {
    display: grid;
    grid-template-columns: 72px 96px minmax(0, 1fr) 110px;
    align-items: center;
    gap: 18px;
    padding: 16px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.ranking-number {
    color: #f59e0b;
    font-size: 26px;
    font-weight: 950;
}

.ranking-poster {
    overflow: hidden;
    border-radius: 16px;
    aspect-ratio: 3 / 4;
}

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

.ranking-info h2 {
    margin: 8px 0;
    font-size: 22px;
    line-height: 1.2;
}

.ranking-info p {
    margin: 0;
    color: #64748b;
}

.ranking-score {
    display: grid;
    gap: 4px;
    justify-items: end;
}

.ranking-score strong {
    color: #f59e0b;
    font-size: 30px;
    line-height: 1;
}

.ranking-score span {
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
}

.detail-hero {
    min-height: 720px;
    background: #020617;
}

.detail-mask {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(2, 6, 23, 0.62), rgba(2, 6, 23, 0.98)),
        linear-gradient(90deg, rgba(2, 6, 23, 0.94), rgba(30, 58, 138, 0.36));
}

.detail-layout {
    position: relative;
    z-index: 1;
    padding: 34px 0 64px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 24px;
    color: rgba(226, 232, 240, 0.82);
    font-size: 14px;
    font-weight: 800;
}

.breadcrumb a {
    color: #fbbf24;
}

.detail-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 26px;
    align-items: start;
}

.player-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 30px;
    background: #000;
    box-shadow: var(--shadow-strong);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

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

.player-cover {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: #fff;
    border: 0;
    background:
        radial-gradient(circle at center, rgba(245, 158, 11, 0.24), transparent 28%),
        linear-gradient(180deg, rgba(2, 6, 23, 0.1), rgba(2, 6, 23, 0.54));
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-cover.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.play-icon {
    width: 82px;
    height: 82px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-left: 6px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    box-shadow: 0 18px 40px rgba(245, 158, 11, 0.36);
    font-size: 34px;
}

.player-cover strong {
    font-size: 18px;
}

.detail-side {
    padding: 14px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(16px);
}

.detail-side img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 20px;
}

.detail-score {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    color: #fff;
}

.detail-score strong {
    color: #fbbf24;
    font-size: 34px;
    line-height: 1;
}

.detail-content {
    padding-top: 44px;
}

.detail-article {
    padding: 34px;
    border-radius: 30px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

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

.detail-article h1 {
    margin: 0 0 14px;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.lead-text {
    margin: 0 0 24px;
    color: #334155;
    font-size: 20px;
    font-weight: 700;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 26px 0;
}

.info-grid div {
    padding: 16px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.info-grid span {
    display: block;
    margin-bottom: 5px;
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
}

.info-grid strong {
    color: #0f172a;
}

.detail-article h2 {
    margin: 30px 0 10px;
    color: #0f172a;
    font-size: 26px;
}

.detail-article p {
    color: #334155;
    font-size: 17px;
}

.detail-tags a {
    color: #1d4ed8;
    background: #dbeafe;
}

.site-footer {
    margin-top: 60px;
    color: #cbd5e1;
    background: linear-gradient(180deg, #0f172a, #020617);
}

.footer-wrap {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr repeat(3, 1fr);
    gap: 34px;
    padding: 46px 0 34px;
}

.footer-brand p {
    max-width: 310px;
    margin: 16px 0 0;
    color: #94a3b8;
    font-size: 14px;
}

.footer-logo .brand-mark {
    width: 38px;
    height: 38px;
}

.footer-col h2 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 17px;
}

.footer-col ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 9px;
    color: #94a3b8;
    font-size: 14px;
}

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

.footer-bottom {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 24px;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    color: #94a3b8;
    font-size: 14px;
}

@media (max-width: 1120px) {
    .category-grid,
    .category-movie-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

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

    .two-column-section,
    .detail-main {
        grid-template-columns: 1fr;
    }

    .ranking-panel {
        position: static;
    }

    .detail-side {
        display: none;
    }
}

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

    .menu-button {
        display: block;
    }

    .hero-slider {
        height: auto;
        min-height: 680px;
    }

    .hero-slide {
        min-height: 680px;
    }

    .hero-content {
        min-height: 680px;
        grid-template-columns: 1fr;
        padding: 54px 0 92px;
    }

    .hero-poster {
        width: min(260px, 72vw);
        min-height: 330px;
    }

    .hero-poster img {
        min-height: 330px;
    }

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

    .category-card {
        grid-template-columns: 1fr;
    }

    .category-cover {
        max-width: 260px;
    }

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

    .ranking-score {
        grid-column: 3;
        justify-items: start;
    }

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

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

@media (max-width: 620px) {
    .container,
    .nav-wrap,
    .mobile-nav,
    .footer-wrap,
    .footer-bottom {
        width: min(100% - 22px, 1180px);
    }

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

    .hero-copy h1 {
        font-size: 42px;
    }

    .hero-controls {
        right: 14px;
        bottom: 22px;
    }

    .hero-dots {
        left: 14px;
        bottom: 38px;
    }

    .split-heading,
    .filter-panel {
        align-items: stretch;
        flex-direction: column;
    }

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

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

    .ranking-info p {
        display: none;
    }

    .detail-hero {
        min-height: auto;
    }

    .detail-layout {
        padding-bottom: 36px;
    }

    .player-card {
        border-radius: 20px;
    }

    .detail-article {
        padding: 22px;
        border-radius: 22px;
    }

    .info-grid,
    .footer-wrap {
        grid-template-columns: 1fr;
    }
}
