:root {
    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-200: #fde68a;
    --amber-300: #fcd34d;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --amber-700: #b45309;
    --amber-800: #92400e;
    --amber-900: #78350f;
    --orange-500: #f97316;
    --orange-600: #ea580c;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --shadow: 0 18px 48px rgba(146, 64, 14, 0.14);
    --shadow-soft: 0 12px 30px rgba(146, 64, 14, 0.1);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --page-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    color: var(--gray-900);
    background: linear-gradient(180deg, var(--amber-50) 0%, var(--white) 38%, var(--amber-50) 100%);
    line-height: 1.65;
}

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: 80;
    background: linear-gradient(90deg, rgba(255, 251, 235, 0.96), rgba(255, 247, 237, 0.96));
    border-bottom: 1px solid rgba(217, 119, 6, 0.16);
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 26px rgba(146, 64, 14, 0.08);
}

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

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

.brand-mark {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    color: var(--white);
    border-radius: 12px;
    background: linear-gradient(135deg, var(--amber-600), var(--orange-600));
    box-shadow: 0 12px 24px rgba(217, 119, 6, 0.28);
    font-size: 13px;
    letter-spacing: 0.08em;
}

.brand-text {
    font-size: clamp(20px, 2vw, 26px);
    background: linear-gradient(90deg, var(--amber-700), var(--orange-600));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
}

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

.nav-link {
    color: var(--gray-700);
    font-weight: 650;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--amber-700);
}

.header-search,
.mobile-search {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-search input,
.mobile-search input,
.filter-panel input,
.filter-panel select {
    border: 1px solid rgba(217, 119, 6, 0.32);
    border-radius: 999px;
    background: var(--white);
    color: var(--gray-800);
    outline: none;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.header-search input,
.mobile-search input {
    width: 180px;
    padding: 9px 14px;
}

.header-search input:focus,
.mobile-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--amber-600);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.16);
}

.header-search button,
.mobile-search button {
    border: 0;
    padding: 9px 14px;
    color: var(--white);
    background: var(--amber-600);
    border-radius: 999px;
    cursor: pointer;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    background: rgba(217, 119, 6, 0.1);
    border-radius: 12px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: var(--amber-800);
}

.mobile-nav {
    display: none;
    width: min(100% - 32px, var(--page-width));
    margin: 0 auto;
    padding: 0 0 18px;
}

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

.mobile-nav-link {
    display: block;
    padding: 10px 0;
    color: var(--gray-700);
    font-weight: 700;
}

.mobile-nav-link.active {
    color: var(--amber-700);
}

.hero {
    position: relative;
    min-height: 630px;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.26), transparent 24%),
        linear-gradient(135deg, #f59e0b 0%, #fb923c 45%, #d97706 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.28;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.55) 1px, transparent 0);
    background-size: 36px 36px;
}

.hero-bg-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(4px);
    opacity: 0.3;
    background: rgba(255, 255, 255, 0.65);
}

.hero-bg-orb-one {
    width: 260px;
    height: 260px;
    right: 8%;
    top: 12%;
}

.hero-bg-orb-two {
    width: 180px;
    height: 180px;
    left: 8%;
    bottom: 10%;
}

.hero-inner {
    position: relative;
    width: min(100% - 32px, var(--page-width));
    min-height: 630px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.82fr);
    align-items: center;
    gap: 42px;
}

.hero-copy {
    color: var(--white);
}

.eyebrow {
    margin: 0 0 14px;
    color: #fff7ed;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-copy h1,
.page-hero h1,
.detail-copy h1 {
    margin: 0 0 22px;
    font-size: clamp(42px, 6vw, 70px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.hero-copy p:not(.eyebrow) {
    max-width: 640px;
    margin: 0 0 30px;
    color: #fff7ed;
    font-size: clamp(18px, 2vw, 24px);
}

.hero-actions,
.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 24px;
}

.primary-btn,
.ghost-btn,
.section-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn {
    padding: 13px 24px;
    color: var(--amber-700);
    background: var(--white);
    box-shadow: 0 18px 34px rgba(120, 53, 15, 0.18);
}

.ghost-btn {
    padding: 12px 22px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.16);
}

.primary-btn:hover,
.ghost-btn:hover,
.section-action:hover {
    transform: translateY(-2px);
}

.hero-mini-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-mini-links a {
    padding: 8px 14px;
    color: var(--amber-900);
    background: rgba(255, 255, 255, 0.75);
    border-radius: 999px;
    font-weight: 750;
}

.hero-slider {
    position: relative;
    min-height: 470px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateX(24px) scale(0.98);
    pointer-events: none;
    border-radius: 34px;
    box-shadow: 0 30px 80px rgba(120, 53, 15, 0.28);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.hero-slide.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: auto;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.08), rgba(120, 53, 15, 0.86));
}

.hero-slide-content {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 28px;
    z-index: 2;
    color: var(--white);
}

.hero-slide-content span {
    display: inline-flex;
    padding: 6px 12px;
    margin-bottom: 10px;
    color: #fffbeb;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.hero-slide-content h2 {
    margin: 0 0 8px;
    font-size: clamp(26px, 3vw, 40px);
    line-height: 1.1;
}

.hero-slide-content p {
    margin: 0 0 16px;
    color: #fffbeb;
}

.hero-slide-content a {
    display: inline-flex;
    padding: 9px 16px;
    border-radius: 999px;
    background: var(--white);
    color: var(--amber-700);
    font-weight: 800;
}

.hero-controls {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: -54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.hero-controls button {
    border: 0;
    cursor: pointer;
}

.hero-controls > button {
    width: 42px;
    height: 42px;
    color: var(--amber-800);
    background: rgba(255, 255, 255, 0.86);
    border-radius: 50%;
    font-size: 26px;
    line-height: 1;
}

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

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

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

.feature-strip,
.section-wrap,
.footer-inner,
.footer-bottom {
    width: min(100% - 32px, var(--page-width));
    margin: 0 auto;
}

.feature-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: -48px;
    position: relative;
    z-index: 5;
}

.feature-card,
.content-card,
.side-card,
.player-card,
.filter-panel,
.rank-panel,
.category-card,
.category-overview-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(217, 119, 6, 0.12);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.feature-card {
    padding: 24px;
}

.feature-card strong {
    display: block;
    margin-bottom: 6px;
    color: var(--gray-900);
    font-size: 20px;
}

.feature-card span {
    color: var(--gray-600);
}

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

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

.section-heading h2 {
    margin: 0 0 8px;
    font-size: clamp(28px, 3.6vw, 44px);
    line-height: 1.1;
}

.section-heading p {
    margin: 0;
    color: var(--gray-600);
}

.section-action {
    flex: 0 0 auto;
    padding: 10px 16px;
    color: var(--amber-700);
    background: var(--amber-100);
}

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

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

.movie-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;
    color: inherit;
    background: var(--white);
    border: 1px solid rgba(217, 119, 6, 0.12);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(217, 119, 6, 0.34);
    box-shadow: var(--shadow);
}

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

.movie-poster {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, var(--amber-200), var(--orange-500));
}

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

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

.movie-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 9px;
    color: var(--white);
    background: rgba(217, 119, 6, 0.92);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.movie-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 16px;
}

.movie-meta,
.movie-score {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: var(--gray-500);
    font-size: 13px;
}

.movie-info strong {
    display: -webkit-box;
    overflow: hidden;
    min-height: 58px;
    margin: 9px 0 8px;
    color: var(--gray-900);
    font-size: 18px;
    line-height: 1.55;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-desc {
    display: -webkit-box;
    overflow: hidden;
    min-height: 48px;
    color: var(--gray-600);
    font-size: 14px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-tags,
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 12px;
}

.movie-tags span,
.detail-tags span {
    padding: 4px 8px;
    color: var(--amber-700);
    background: var(--amber-100);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 750;
}

.movie-score {
    margin-top: auto;
    padding-top: 14px;
    color: var(--amber-700);
    font-weight: 800;
}

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

.category-card,
.category-overview-card {
    padding: 24px;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-card:hover,
.category-overview-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.category-icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--amber-100), #ffedd5);
    font-size: 26px;
}

.category-card strong,
.category-overview-card h2 {
    display: block;
    margin: 0 0 8px;
    color: var(--gray-900);
    font-size: 20px;
}

.category-card span:not(.category-icon),
.category-overview-card p {
    display: block;
    color: var(--gray-600);
    font-size: 14px;
}

.category-card em,
.category-overview-card em {
    display: inline-flex;
    margin-top: 18px;
    color: var(--amber-700);
    font-style: normal;
    font-weight: 800;
}

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

.category-overview-card strong {
    display: block;
    color: var(--gray-600);
    font-size: 14px;
    font-weight: 600;
}

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

.rank-panel {
    position: sticky;
    top: 94px;
    padding: 22px;
}

.rank-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.rank-panel-head h2 {
    margin: 0;
    font-size: 24px;
}

.rank-panel-head a {
    color: var(--amber-700);
    font-weight: 800;
}

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

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

.rank-item {
    display: grid;
    grid-template-columns: auto 54px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: var(--white);
    border: 1px solid rgba(217, 119, 6, 0.12);
    border-radius: 16px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.rank-item:hover {
    transform: translateX(4px);
    border-color: rgba(217, 119, 6, 0.35);
}

.rank-number {
    width: 32px;
    color: var(--amber-700);
    font-weight: 900;
    text-align: center;
}

.rank-item img {
    width: 54px;
    height: 72px;
    object-fit: cover;
    border-radius: 10px;
}

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

.rank-info strong,
.rank-info span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-info span {
    color: var(--gray-500);
    font-size: 13px;
}

.rank-heat {
    color: var(--amber-700);
    font-weight: 900;
}

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
}

.small-hero {
    min-height: 290px;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.22;
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.58) 1px, transparent 0);
    background-size: 30px 30px;
}

.page-hero-inner {
    position: relative;
    width: min(100% - 32px, var(--page-width));
    margin: 0 auto;
    padding: 72px 0;
    color: var(--white);
}

.page-hero-inner h1 {
    margin: 0 0 14px;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.08;
}

.page-hero-inner p {
    max-width: 760px;
    margin: 0;
    color: #fff7ed;
    font-size: 18px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
    margin-top: 18px;
    color: var(--amber-800);
    font-weight: 700;
}

.breadcrumb.light {
    margin: 0 0 18px;
    color: #fffbeb;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) repeat(4, minmax(130px, 0.3fr));
    gap: 12px;
    margin-bottom: 26px;
    padding: 18px;
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    padding: 12px 14px;
}

.filter-search {
    min-width: 0;
}

.detail-hero {
    min-height: 520px;
}

.detail-backdrop {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: saturate(1.08);
}

.detail-hero-inner {
    position: relative;
    width: min(100% - 32px, var(--page-width));
    min-height: 520px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 38px;
    align-items: center;
    color: var(--white);
}

.detail-poster {
    overflow: hidden;
    border: 6px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.3);
}

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

.detail-copy p:not(.eyebrow) {
    max-width: 780px;
    color: #fff7ed;
    font-size: 20px;
}

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

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

.player-card,
.content-card,
.side-card {
    padding: 24px;
}

.player-card h2,
.content-card h2,
.side-card h2 {
    margin: 0 0 16px;
    color: var(--gray-900);
    font-size: 24px;
}

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

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #0f172a;
    aspect-ratio: 16 / 9;
}

.movie-video {
    width: 100%;
    height: 100%;
    display: block;
    cursor: pointer;
    background: #0f172a;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 0;
    color: var(--white);
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.18), rgba(15, 23, 42, 0.72));
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-icon {
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    padding-left: 6px;
    color: var(--amber-700);
    background: rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
    font-size: 34px;
}

.detail-side {
    display: grid;
    gap: 20px;
    position: sticky;
    top: 94px;
}

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

.info-list div {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-100);
}

.info-list dt {
    color: var(--gray-500);
    font-weight: 700;
}

.info-list dd {
    margin: 0;
    color: var(--gray-900);
    font-weight: 750;
}

.side-link {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    color: var(--amber-700);
    border-bottom: 1px solid var(--gray-100);
    font-weight: 800;
}

.site-footer {
    margin-top: 86px;
    color: #fffbeb;
    background: linear-gradient(180deg, var(--amber-900), #451a03);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 34px;
    padding: 48px 0;
}

.footer-logo {
    margin-bottom: 16px;
    font-size: 22px;
}

.footer-brand p,
.footer-column li,
.footer-column a {
    color: #fde68a;
}

.footer-brand p {
    margin: 0;
}

.footer-column h2 {
    margin: 0 0 16px;
    color: #fffbeb;
    font-size: 18px;
}

.footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-column li {
    margin: 8px 0;
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    padding: 20px 0 26px;
    border-top: 1px solid rgba(253, 230, 138, 0.18);
    color: #fde68a;
    text-align: center;
}

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

    .menu-toggle {
        display: block;
    }

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

    .hero-inner {
        padding: 70px 0 90px;
    }

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

    .rank-panel,
    .detail-side {
        position: static;
    }

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

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

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

@media (max-width: 760px) {
    .hero,
    .hero-inner {
        min-height: auto;
    }

    .hero-inner {
        padding: 56px 0 86px;
    }

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

    .feature-strip,
    .footer-inner,
    .detail-hero-inner,
    .ranking-board,
    .category-overview-grid {
        grid-template-columns: 1fr;
    }

    .feature-strip {
        margin-top: 18px;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
    }

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

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

    .detail-hero-inner {
        padding: 42px 0;
    }

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

    .rank-item {
        grid-template-columns: auto 46px minmax(0, 1fr);
    }

    .rank-heat {
        display: none;
    }
}

@media (max-width: 480px) {
    .site-header-inner {
        height: 62px;
    }

    .brand-mark {
        width: 34px;
        height: 34px;
        border-radius: 10px;
    }

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

    .hero-copy h1,
    .page-hero-inner h1,
    .detail-copy h1 {
        font-size: 36px;
    }

    .movie-grid,
    .featured-grid,
    .compact-grid {
        gap: 14px;
    }

    .movie-info {
        padding: 13px;
    }

    .movie-info strong {
        min-height: 52px;
        font-size: 16px;
    }

    .movie-desc {
        min-height: 44px;
        font-size: 13px;
    }

    .hero-slide-content {
        left: 18px;
        right: 18px;
        bottom: 18px;
    }

    .player-card,
    .content-card,
    .side-card {
        padding: 18px;
    }
}
