:root {
    --color-ink: #1f2937;
    --color-muted: #6b7280;
    --color-soft: #fff7ed;
    --color-warm: #f97316;
    --color-warm-dark: #ea580c;
    --color-amber: #f59e0b;
    --color-line: #fed7aa;
    --shadow-soft: 0 18px 45px rgba(154, 52, 18, 0.10);
    --shadow-card: 0 16px 35px rgba(15, 23, 42, 0.10);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    color: var(--color-ink);
    background: linear-gradient(180deg, #fff7ed 0%, #ffffff 46%, #fffbeb 100%);
    min-height: 100vh;
}

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(90deg, rgba(255, 247, 237, 0.96), rgba(255, 251, 235, 0.96));
    border-bottom: 1px solid rgba(251, 146, 60, 0.22);
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 28px rgba(154, 52, 18, 0.08);
}

.header-inner {
    height: 68px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #111827;
    font-size: 24px;
    font-weight: 800;
    white-space: nowrap;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-warm), var(--color-amber));
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.32);
    font-size: 15px;
}

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

.desktop-nav a {
    color: #4b5563;
    font-weight: 700;
    transition: color 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--color-warm-dark);
}

.header-search {
    position: relative;
    display: flex;
    align-items: center;
    width: 290px;
    border: 1px solid rgba(251, 146, 60, 0.38);
    background: #ffffff;
    border-radius: 999px;
    padding: 4px;
    box-shadow: 0 10px 24px rgba(249, 115, 22, 0.10);
}

.header-search input {
    width: 100%;
    border: 0;
    outline: 0;
    padding: 9px 12px 9px 16px;
    border-radius: 999px;
    background: transparent;
    color: #374151;
}

.header-search button,
.primary-btn,
.secondary-btn,
.filter-btn {
    border: 0;
    cursor: pointer;
    border-radius: 999px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search button {
    padding: 9px 16px;
    color: #ffffff;
    background: var(--color-warm);
    font-weight: 700;
}

.header-search button:hover,
.primary-btn:hover,
.filter-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(249, 115, 22, 0.25);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    background: #fff7ed;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 21px;
    height: 2px;
    margin: 5px auto;
    background: #9a3412;
    border-radius: 2px;
}

.mobile-panel {
    display: none;
    padding: 0 16px 18px;
    border-top: 1px solid rgba(251, 146, 60, 0.18);
}

.mobile-panel.is-open {
    display: grid;
    gap: 10px;
}

.mobile-panel a,
.mobile-panel form {
    width: min(100%, var(--container));
    margin: 0 auto;
}

.mobile-panel a {
    display: block;
    padding: 12px 14px;
    border-radius: 14px;
    color: #4b5563;
    font-weight: 700;
}

.mobile-panel a:hover {
    color: var(--color-warm-dark);
    background: #ffedd5;
}

.mobile-panel form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
}

.mobile-panel input,
.mobile-panel button {
    border: 1px solid #fed7aa;
    border-radius: 999px;
    padding: 11px 14px;
}

.mobile-panel button {
    color: #ffffff;
    border-color: var(--color-warm);
    background: var(--color-warm);
    font-weight: 700;
}

.hero {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    background: linear-gradient(135deg, #ffedd5 0%, #fed7aa 48%, #fde68a 100%);
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(58px);
    opacity: 0.35;
    animation: pulseGlow 6s ease-in-out infinite;
}

.hero::before {
    top: 72px;
    left: 8%;
    width: 260px;
    height: 260px;
    background: #fb923c;
}

.hero::after {
    right: 8%;
    bottom: 50px;
    width: 360px;
    height: 360px;
    background: #f59e0b;
    animation-delay: 1.5s;
}

@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.28;
    }
    50% {
        transform: scale(1.12);
        opacity: 0.44;
    }
}

.hero-inner {
    position: relative;
    z-index: 2;
    min-height: 620px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
    align-items: center;
    gap: 54px;
}

.hero-label,
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #c2410c;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(251, 146, 60, 0.32);
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 800;
    box-shadow: 0 14px 28px rgba(249, 115, 22, 0.10);
}

.hero h1 {
    margin: 22px 0 20px;
    color: #111827;
    font-size: clamp(42px, 6vw, 70px);
    line-height: 1.04;
    letter-spacing: -0.05em;
}

.hero h1 span {
    color: var(--color-warm-dark);
}

.hero p {
    max-width: 650px;
    margin: 0 0 28px;
    color: #4b5563;
    font-size: 20px;
    line-height: 1.8;
}

.hero-actions,
.section-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.primary-btn,
.secondary-btn,
.filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    font-weight: 800;
}

.primary-btn {
    color: #ffffff;
    background: var(--color-warm);
    box-shadow: 0 16px 34px rgba(249, 115, 22, 0.22);
}

.secondary-btn {
    color: var(--color-warm-dark);
    background: rgba(255, 255, 255, 0.72);
    border: 2px solid rgba(249, 115, 22, 0.42);
}

.secondary-btn:hover {
    background: #fff7ed;
    transform: translateY(-1px);
}

.hero-card {
    position: relative;
    border-radius: 34px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.48);
    box-shadow: 0 28px 70px rgba(124, 45, 18, 0.22);
    backdrop-filter: blur(18px);
}

.hero-slider {
    position: relative;
    overflow: hidden;
    height: 520px;
    border-radius: 26px;
    background: #7c2d12;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 0.8s ease, transform 0.8s ease;
    pointer-events: none;
}

.hero-slide.is-active {
    opacity: 1;
    transform: 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(15, 23, 42, 0.08), rgba(15, 23, 42, 0.82));
}

.hero-slide-content {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 2;
    color: #ffffff;
}

.hero-slide-content strong {
    display: block;
    margin-bottom: 8px;
    font-size: 28px;
    line-height: 1.2;
}

.hero-slide-content p {
    margin: 0 0 16px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 15px;
    line-height: 1.7;
}

.hero-slide-content a {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 999px;
    color: #9a3412;
    background: #ffffff;
    font-weight: 800;
}

.hero-dots {
    position: absolute;
    left: 24px;
    top: 22px;
    z-index: 3;
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 32px;
    height: 6px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.42);
}

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

.stat-band {
    padding: 56px 0;
    background: #ffffff;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.stat-card,
.category-card,
.panel-card,
.info-box {
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #fff7ed, #fffbeb);
    border: 1px solid rgba(251, 146, 60, 0.16);
    box-shadow: var(--shadow-soft);
}

.stat-card {
    padding: 30px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover,
.category-card:hover,
.movie-card:hover,
.mini-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 55px rgba(154, 52, 18, 0.16);
}

.stat-icon {
    display: inline-grid;
    place-items: center;
    width: 62px;
    height: 62px;
    margin-bottom: 14px;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-warm), var(--color-amber));
    font-size: 26px;
}

.stat-card h2,
.stat-card h3 {
    margin: 0 0 8px;
    color: #111827;
    font-size: 25px;
}

.stat-card p {
    margin: 0;
    color: var(--color-muted);
}

.section {
    padding: 72px 0;
}

.section-alt {
    background: linear-gradient(180deg, #ffffff, #fff7ed);
}

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

.section-head.center {
    display: block;
    text-align: center;
}

.section-head h1,
.section-head h2 {
    margin: 12px 0 8px;
    color: #111827;
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.14;
}

.section-head p,
.page-hero p {
    max-width: 760px;
    margin: 0;
    color: #6b7280;
    font-size: 18px;
    line-height: 1.75;
}

.section-head.center p {
    margin: 0 auto;
}

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

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

.movie-card {
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.movie-cover {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: linear-gradient(135deg, #fb923c, #f59e0b);
}

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

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

.movie-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.48));
}

.movie-score,
.movie-type {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.movie-score {
    top: 12px;
    right: 12px;
    color: #c2410c;
    background: rgba(255, 255, 255, 0.92);
    padding: 5px 9px;
}

.movie-type {
    left: 12px;
    bottom: 12px;
    color: #ffffff;
    background: rgba(249, 115, 22, 0.92);
    padding: 6px 10px;
}

.movie-body {
    padding: 18px;
}

.movie-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 24px;
}

.movie-tags span,
.tag-pill,
.meta-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    color: #c2410c;
    background: #ffedd5;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 8px;
}

.movie-card h3 {
    margin: 12px 0 8px;
    color: #111827;
    font-size: 19px;
    line-height: 1.35;
}

.movie-card h3 a:hover,
.rank-content h3 a:hover,
.breadcrumb a:hover {
    color: var(--color-warm-dark);
}

.movie-card p {
    margin: 0 0 14px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #6b7280;
    font-size: 13px;
}

.movie-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.movie-card-compact .movie-body {
    padding: 14px;
}

.movie-card-compact h3 {
    font-size: 17px;
}

.movie-card-compact p {
    -webkit-line-clamp: 2;
}

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

.feature-card {
    display: grid;
    grid-template-columns: 155px 1fr;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.feature-card img {
    width: 100%;
    height: 100%;
    min-height: 210px;
    object-fit: cover;
}

.feature-card-content {
    padding: 24px;
}

.feature-card-content h3 {
    margin: 10px 0;
    font-size: 22px;
}

.feature-card-content p {
    margin: 0 0 18px;
    color: #6b7280;
    line-height: 1.75;
}

.page-hero {
    padding: 64px 0;
    color: #ffffff;
    background: linear-gradient(120deg, #f97316, #d97706);
}

.page-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(36px, 5vw, 54px);
    line-height: 1.15;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.9);
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) repeat(4, minmax(130px, auto));
    gap: 12px;
    margin-bottom: 28px;
    padding: 18px;
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.filter-panel input,
.filter-panel select {
    min-width: 0;
    border: 1px solid #fed7aa;
    border-radius: 14px;
    padding: 12px 14px;
    outline: 0;
    color: #374151;
    background: #fffaf3;
}

.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--color-warm);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.14);
}

.filter-btn {
    color: #ffffff;
    background: var(--color-warm);
}

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

.category-card {
    display: block;
    padding: 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card h2,
.category-card h3 {
    margin: 0 0 10px;
    color: #111827;
    font-size: 22px;
}

.category-card p {
    margin: 0 0 18px;
    color: #6b7280;
    line-height: 1.7;
}

.category-card span {
    color: #ea580c;
    font-weight: 800;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 64px 95px 1fr;
    gap: 18px;
    align-items: center;
    padding: 14px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

.rank-index {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, #f97316, #f59e0b);
    font-size: 18px;
    font-weight: 900;
}

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

.rank-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rank-content h3 {
    margin: 0 0 8px;
    color: #111827;
    font-size: 21px;
}

.rank-content p {
    margin: 0 0 10px;
    color: #6b7280;
    line-height: 1.65;
}

.detail-hero {
    padding: 34px 0 44px;
    background: linear-gradient(135deg, #fff7ed, #fffbeb);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 4px 0 24px;
    color: #92400e;
    font-size: 14px;
    font-weight: 700;
}

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

.detail-poster {
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 28px 60px rgba(124, 45, 18, 0.18);
}

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

.detail-main h1 {
    margin: 0 0 18px;
    color: #111827;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.12;
}

.detail-summary {
    margin: 0 0 22px;
    color: #4b5563;
    font-size: 19px;
    line-height: 1.8;
}

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

.meta-pill {
    color: #9a3412;
    background: #ffedd5;
    font-size: 14px;
    padding: 8px 12px;
}

.player-section {
    padding: 42px 0 24px;
    background: #111827;
}

.player-wrap {
    display: grid;
    gap: 18px;
}

.player-title {
    color: #ffffff;
    margin: 0;
    font-size: 28px;
}

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

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

.play-layer {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 12px;
    border: 0;
    color: #ffffff;
    cursor: pointer;
    background: radial-gradient(circle at center, rgba(249, 115, 22, 0.18), rgba(0, 0, 0, 0.62));
    font-size: 18px;
    font-weight: 900;
}

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

.play-triangle {
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f97316, #f59e0b);
    box-shadow: 0 18px 40px rgba(249, 115, 22, 0.34);
}

.play-triangle::before {
    content: "";
    margin-left: 6px;
    border-left: 24px solid #ffffff;
    border-top: 16px solid transparent;
    border-bottom: 16px solid transparent;
}

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

.panel-card {
    padding: 28px;
}

.panel-card h2,
.info-box h2 {
    margin: 0 0 16px;
    color: #111827;
    font-size: 26px;
}

.panel-card p {
    margin: 0 0 18px;
    color: #4b5563;
    line-height: 1.9;
    font-size: 17px;
}

.info-box {
    padding: 22px;
    position: sticky;
    top: 92px;
}

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

.info-list div {
    display: grid;
    gap: 4px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(251, 146, 60, 0.16);
}

.info-list dt {
    color: #9a3412;
    font-size: 13px;
    font-weight: 800;
}

.info-list dd {
    margin: 0;
    color: #374151;
    font-weight: 700;
}

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

.mini-card {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 12px;
    align-items: center;
    padding: 9px;
    border-radius: 16px;
    background: #ffffff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mini-card img {
    width: 72px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 12px;
}

.mini-info {
    display: grid;
    gap: 6px;
}

.mini-info strong {
    color: #111827;
    line-height: 1.35;
}

.mini-info em {
    color: #6b7280;
    font-size: 12px;
    font-style: normal;
}

.no-results {
    display: none;
    padding: 30px;
    border-radius: 20px;
    color: #92400e;
    background: #fffbeb;
    text-align: center;
    font-weight: 800;
}

.no-results.is-visible {
    display: block;
}

.site-footer {
    color: #d1d5db;
    background: linear-gradient(180deg, #111827, #1f2937);
    padding: 54px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 34px;
}

.footer-brand {
    color: #ffffff;
    margin-bottom: 14px;
}

.site-footer p {
    max-width: 380px;
    color: #9ca3af;
    line-height: 1.8;
}

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

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

.site-footer a:hover {
    color: #fdba74;
}

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

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        padding: 54px 0;
    }

    .hero-card {
        max-width: 560px;
    }

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

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

    .content-grid {
        grid-template-columns: 1fr;
    }

    .info-box {
        position: static;
    }
}

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

    .brand {
        font-size: 20px;
    }

    .hero,
    .hero-inner {
        min-height: auto;
    }

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

    .hero p {
        font-size: 17px;
    }

    .hero-slider {
        height: 430px;
    }

    .stat-grid,
    .feature-strip,
    .footer-grid,
    .detail-grid {
        grid-template-columns: 1fr;
    }

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

    .feature-card {
        grid-template-columns: 120px 1fr;
    }

    .section-head {
        display: block;
    }

    .section-actions {
        margin-top: 18px;
    }

    .rank-row {
        grid-template-columns: 46px 78px 1fr;
        gap: 12px;
    }

    .rank-index {
        width: 42px;
        height: 42px;
        font-size: 15px;
    }

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

    .detail-poster {
        max-width: 330px;
    }
}

@media (max-width: 480px) {
    .movie-grid,
    .movie-grid.compact,
    .category-grid {
        grid-template-columns: 1fr;
    }

    .hero-slider {
        height: 380px;
    }

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

    .rank-row {
        grid-template-columns: 38px 1fr;
    }

    .rank-poster {
        display: none;
    }
}
