:root {
    --page-bg: #f8fafc;
    --panel: #ffffff;
    --ink: #111827;
    --muted: #6b7280;
    --line: #e5e7eb;
    --orange: #ea580c;
    --orange-dark: #c2410c;
    --orange-soft: #fff7ed;
    --amber: #f59e0b;
    --red: #dc2626;
    --shadow: 0 22px 55px rgba(15, 23, 42, 0.12);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    font-family: Inter, "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: linear-gradient(180deg, #f9fafb 0%, #f3f4f6 100%);
}

body.no-scroll {
    overflow: hidden;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    color: #ffffff;
    background: linear-gradient(90deg, #ea580c 0%, #dc2626 48%, #f59e0b 100%);
    box-shadow: 0 10px 30px rgba(194, 65, 12, 0.24);
}

.site-header-inner {
    max-width: 1240px;
    min-height: 72px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.site-logo-mark {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--orange);
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.16);
}

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

.nav-link {
    position: relative;
    font-weight: 700;
    opacity: 0.86;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    opacity: 1;
    color: #fef3c7;
}

.nav-link.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 3px;
    border-radius: 999px;
    background: #ffffff;
}

.mobile-nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    cursor: pointer;
}

.mobile-nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    border-radius: 999px;
    background: #ffffff;
}

.mobile-nav {
    display: none;
    padding: 10px 24px 20px;
    background: rgba(124, 45, 18, 0.94);
}

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

.mobile-nav-link {
    padding: 12px 14px;
    border-radius: 12px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.08);
}

.mobile-nav-link.is-active {
    background: rgba(255, 255, 255, 0.18);
}

.hero-slider {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    color: #ffffff;
    background: #030712;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.9s ease;
}

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

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 70% 18%, rgba(249, 115, 22, 0.32), transparent 30%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.48) 48%, rgba(0, 0, 0, 0.18)),
        linear-gradient(0deg, rgba(0, 0, 0, 0.92), transparent 42%);
}

.hero-content {
    position: absolute;
    left: 50%;
    bottom: 96px;
    width: min(1180px, calc(100% - 48px));
    transform: translateX(-50%);
    z-index: 2;
}

.hero-kicker,
.section-label {
    margin: 0 0 12px;
    color: var(--orange);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-kicker {
    color: #fed7aa;
}

.hero-content h1,
.hero-content h2 {
    max-width: 760px;
    margin: 0 0 18px;
    font-size: clamp(42px, 7vw, 72px);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.hero-content p {
    max-width: 720px;
    margin: 0 0 24px;
    color: #e5e7eb;
    font-size: 19px;
    line-height: 1.75;
}

.hero-tags,
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-tags span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.hero-tags span {
    padding: 8px 14px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
}

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

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

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

.btn-primary {
    color: #ffffff;
    background: var(--orange);
    box-shadow: 0 14px 28px rgba(234, 88, 12, 0.32);
}

.btn-primary:hover {
    background: var(--orange-dark);
}

.btn-ghost {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
}

.hero-control {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.52);
    font-size: 38px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-control:hover {
    background: rgba(0, 0, 0, 0.78);
    transform: translateY(-50%) scale(1.05);
}

.hero-prev {
    left: 24px;
    transform: translateY(-50%);
}

.hero-next {
    right: 24px;
    transform: translateY(-50%);
}

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

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

.hero-dot.is-active {
    width: 36px;
    background: var(--orange);
}

.hero-search {
    position: absolute;
    right: max(24px, calc((100% - 1180px) / 2));
    bottom: 98px;
    z-index: 4;
    width: min(360px, calc(100% - 48px));
    display: flex;
    padding: 8px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.26);
}

.hero-search input,
.page-search input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    color: #111827;
    background: #ffffff;
}

.hero-search input {
    padding: 0 14px;
    border-radius: 12px 0 0 12px;
}

.hero-search button,
.page-search button {
    border: 0;
    color: #ffffff;
    background: var(--orange);
    font-weight: 900;
    cursor: pointer;
}

.hero-search button {
    padding: 0 18px;
    border-radius: 0 12px 12px 0;
}

.section {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
    padding: 58px 0;
}

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

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

.section-heading h2 {
    margin: 0;
    font-size: clamp(26px, 4vw, 36px);
    letter-spacing: -0.03em;
}

.section-heading a {
    color: var(--orange);
    font-weight: 900;
}

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

.catalog-grid {
    align-items: start;
}

.movie-card {
    display: block;
    overflow: hidden;
    border: 1px solid rgba(229, 231, 235, 0.8);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-7px);
    border-color: rgba(251, 146, 60, 0.7);
    box-shadow: 0 24px 58px rgba(15, 23, 42, 0.16);
}

.movie-thumb {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: linear-gradient(145deg, #111827, #431407);
}

.movie-thumb-wide {
    aspect-ratio: 16 / 9;
}

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

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

.movie-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.72));
    opacity: 0.9;
}

.movie-chip {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    padding: 6px 10px;
    border-radius: 999px;
    color: #ffffff;
    background: var(--orange);
    font-size: 12px;
    font-weight: 900;
}

.movie-play {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: var(--orange);
    background: rgba(255, 255, 255, 0.92);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.86);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card:hover .movie-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

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

.movie-card-body h2,
.movie-card-body h3 {
    margin: 0 0 9px;
    font-size: 18px;
    line-height: 1.35;
    transition: color 0.2s ease;
}

.movie-card:hover h2,
.movie-card:hover h3 {
    color: var(--orange);
}

.movie-card-body p {
    min-height: 44px;
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.58;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
    color: #4b5563;
    font-size: 13px;
    font-weight: 700;
}

.tag-row span {
    padding: 5px 9px;
    color: #9a3412;
    background: var(--orange-soft);
}

.section-scroll {
    width: 100%;
    padding: 56px max(24px, calc((100% - 1240px) / 2));
    background: linear-gradient(90deg, #fff7ed 0%, #fef2f2 100%);
}

.horizontal-list {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 340px);
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x proximity;
}

.movie-card-wide {
    scroll-snap-align: start;
}

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

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

.category-tile,
.category-overview-card {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile {
    min-height: 188px;
    padding: 24px;
    border: 1px solid rgba(254, 215, 170, 0.9);
}

.category-tile:hover,
.category-overview-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 62px rgba(15, 23, 42, 0.16);
}

.category-glow {
    position: absolute;
    width: 120px;
    height: 120px;
    right: -32px;
    top: -32px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.26), transparent 68%);
}

.category-tile h2,
.category-overview-card h2 {
    position: relative;
    margin: 0 0 12px;
    font-size: 22px;
}

.category-tile p,
.category-overview-card p {
    position: relative;
    margin: 0 0 18px;
    color: var(--muted);
    line-height: 1.7;
}

.category-arrow,
.category-overview-card span {
    position: relative;
    color: var(--orange);
    font-weight: 900;
}

.split-section {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 24px;
    align-items: start;
}

.rank-panel,
.latest-panel,
.detail-article,
.detail-side-rank {
    border: 1px solid rgba(229, 231, 235, 0.9);
    border-radius: 26px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.rank-panel,
.latest-panel {
    padding: 24px;
}

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

.rank-mini-item {
    display: grid;
    grid-template-columns: 38px 54px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 16px;
    background: #f9fafb;
    transition: background 0.2s ease, transform 0.2s ease;
}

.rank-mini-item:hover {
    background: var(--orange-soft);
    transform: translateX(4px);
}

.rank-number {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--orange), var(--red));
    font-weight: 900;
}

.rank-mini-item img {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    object-fit: cover;
    background: #111827;
}

.rank-mini-title {
    min-width: 0;
    overflow: hidden;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-heat,
.ranking-score {
    color: var(--orange);
    font-weight: 900;
}

.latest-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.page-hero {
    width: min(1240px, calc(100% - 48px));
    margin: 38px auto 0;
    padding: clamp(34px, 5vw, 58px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    border-radius: 30px;
    color: #ffffff;
    background:
        radial-gradient(circle at 76% 12%, rgba(251, 146, 60, 0.56), transparent 34%),
        linear-gradient(135deg, #111827 0%, #7c2d12 54%, #ea580c 100%);
    box-shadow: var(--shadow);
}

.page-hero h1 {
    margin: 0 0 16px;
    font-size: clamp(34px, 5vw, 56px);
    letter-spacing: -0.04em;
}

.page-hero p:not(.section-label) {
    max-width: 740px;
    margin: 0;
    color: #ffedd5;
    font-size: 18px;
    line-height: 1.8;
}

.page-search {
    width: min(380px, 100%);
    display: flex;
    padding: 8px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(16px);
}

.page-search input {
    min-height: 46px;
    padding: 0 14px;
    border-radius: 12px 0 0 12px;
}

.page-search button {
    padding: 0 18px;
    border-radius: 0 12px 12px 0;
}

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

.category-overview-card {
    min-height: 230px;
    display: grid;
    grid-template-columns: 220px 1fr;
    align-items: stretch;
}

.category-overview-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #111827;
}

.category-overview-card div {
    padding: 24px;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) 170px 170px 170px;
    gap: 14px;
    margin-bottom: 28px;
    padding: 18px;
    border: 1px solid rgba(229, 231, 235, 0.9);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.filter-panel label {
    display: grid;
    gap: 7px;
    color: #4b5563;
    font-size: 13px;
    font-weight: 900;
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0 12px;
    color: #111827;
    background: #f9fafb;
    outline: 0;
}

.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.12);
}

.empty-state {
    display: none;
    padding: 42px;
    border-radius: 24px;
    color: var(--muted);
    text-align: center;
    background: #ffffff;
    box-shadow: var(--shadow);
}

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

.ranking-list {
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: #ffffff;
    box-shadow: var(--shadow);
}

.ranking-row {
    display: grid;
    grid-template-columns: 54px 72px minmax(0, 1.3fr) minmax(180px, 0.9fr) 90px;
    align-items: center;
    gap: 16px;
    padding: 12px 18px;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.2s ease;
}

.ranking-row:hover {
    background: var(--orange-soft);
}

.ranking-row:last-child {
    border-bottom: 0;
}

.ranking-order {
    font-size: 20px;
    font-weight: 900;
    color: var(--orange);
}

.ranking-row img {
    width: 72px;
    height: 54px;
    border-radius: 12px;
    object-fit: cover;
    background: #111827;
}

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

.ranking-info {
    color: var(--muted);
    font-size: 14px;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: #030712;
}

.detail-backdrop {
    position: absolute;
    inset: 0;
    opacity: 0.38;
    filter: blur(5px);
    transform: scale(1.05);
}

.detail-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 76% 10%, rgba(234, 88, 12, 0.32), transparent 34%),
        linear-gradient(90deg, rgba(3, 7, 18, 0.96), rgba(3, 7, 18, 0.64));
}

.detail-hero-inner {
    position: relative;
    z-index: 2;
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
    padding: 34px 0 58px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    color: #fed7aa;
    font-size: 14px;
    font-weight: 800;
}

.detail-summary {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 34px;
    align-items: end;
}

.detail-poster {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 24px;
    object-fit: cover;
    background: #111827;
    box-shadow: 0 26px 66px rgba(0, 0, 0, 0.45);
}

.detail-info h1 {
    margin: 0 0 18px;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.detail-one-line {
    max-width: 820px;
    margin: 0 0 22px;
    color: #e5e7eb;
    font-size: 19px;
    line-height: 1.8;
}

.detail-tags {
    margin-bottom: 26px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #000000;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.3);
    aspect-ratio: 16 / 9;
}

.movie-player {
    width: 100%;
    height: 100%;
    display: block;
    background: #000000;
}

.player-cover {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    place-items: center;
    border: 0;
    padding: 0;
    color: #ffffff;
    background: #000000;
    cursor: pointer;
}

.player-cover.is-hidden {
    display: none;
}

.player-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.72;
}

.player-cover-shade {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(234, 88, 12, 0.24), rgba(0, 0, 0, 0.68));
}

.player-icon {
    position: relative;
    z-index: 2;
    width: 84px;
    height: 84px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: var(--orange);
    background: #ffffff;
    font-size: 36px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
}

.player-text {
    position: relative;
    z-index: 2;
    margin-top: 118px;
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 900;
    background: rgba(0, 0, 0, 0.44);
    backdrop-filter: blur(12px);
}

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

.detail-article,
.detail-side-rank {
    padding: 28px;
}

.detail-article h2,
.detail-side-rank h2 {
    margin: 0 0 16px;
    font-size: 26px;
}

.detail-article p {
    margin: 0 0 24px;
    color: #374151;
    font-size: 17px;
    line-height: 1.95;
}

.info-list {
    display: grid;
    gap: 12px;
    margin: 0;
}

.info-list div {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
}

.info-list dt {
    color: var(--muted);
    font-weight: 900;
}

.info-list dd {
    margin: 0;
}

.compact-list .rank-mini-item {
    grid-template-columns: 34px 46px 1fr;
}

.compact-list .rank-heat {
    display: none;
}

.site-footer {
    margin-top: 60px;
    color: #d1d5db;
    background: #111827;
}

.footer-inner {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
    padding: 44px 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
    gap: 36px;
}

.footer-logo {
    color: #ffffff;
}

.footer-brand p {
    max-width: 620px;
    margin: 16px 0 0;
    color: #9ca3af;
    line-height: 1.8;
}

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

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

.footer-links a {
    display: block;
    margin-bottom: 10px;
    color: #d1d5db;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    padding: 18px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #9ca3af;
    text-align: center;
}

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

    .mobile-nav-toggle {
        display: block;
    }

    .hero-search {
        left: 24px;
        right: auto;
        bottom: 26px;
    }

    .hero-content {
        bottom: 116px;
    }

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

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

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

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

@media (max-width: 820px) {
    .site-header-inner {
        padding: 0 18px;
    }

    .hero-slider {
        min-height: 650px;
    }

    .hero-content {
        width: calc(100% - 36px);
        bottom: 128px;
    }

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

    .hero-control {
        display: none;
    }

    .section,
    .page-hero,
    .detail-hero-inner,
    .footer-inner {
        width: calc(100% - 32px);
    }

    .page-hero {
        flex-direction: column;
        align-items: stretch;
    }

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

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

    .category-overview-card img {
        height: 220px;
    }

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

    .ranking-row {
        grid-template-columns: 42px 62px 1fr 74px;
    }

    .ranking-info {
        display: none;
    }

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

    .detail-poster {
        width: min(320px, 100%);
    }
}

@media (max-width: 560px) {
    .site-logo {
        font-size: 20px;
    }

    .site-logo-mark {
        width: 34px;
        height: 34px;
    }

    .hero-slider {
        min-height: 700px;
    }

    .hero-content h1,
    .hero-content h2 {
        font-size: 38px;
    }

    .hero-actions,
    .section-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-search {
        width: calc(100% - 36px);
        left: 18px;
        right: 18px;
    }

    .poster-grid,
    .latest-grid,
    .wide-grid,
    .category-grid,
    .category-overview-grid,
    .top-ranking-grid {
        grid-template-columns: 1fr;
    }

    .horizontal-list {
        grid-auto-columns: minmax(260px, 84vw);
    }

    .movie-card-body h2,
    .movie-card-body h3 {
        font-size: 17px;
    }

    .player-shell {
        border-radius: 18px;
    }

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