:root {
    --orange: #f97316;
    --orange-dark: #ea580c;
    --amber: #f59e0b;
    --amber-soft: #fff7ed;
    --text: #111827;
    --muted: #6b7280;
    --line: #fed7aa;
    --card: #ffffff;
    --dark: #111827;
    --shadow: 0 18px 45px rgba(234, 88, 12, 0.14);
    --soft-shadow: 0 12px 30px rgba(17, 24, 39, 0.08);
    --radius-lg: 28px;
    --radius-md: 18px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #fff7ed 0%, #ffffff 36%, #fffbeb 100%);
}

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

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

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

.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), rgba(255, 251, 235, 0.96));
    backdrop-filter: blur(18px);
    box-shadow: 0 8px 30px rgba(249, 115, 22, 0.12);
}

.nav-shell {
    min-height: 68px;
    display: flex;
    align-items: center;
    gap: 24px;
}

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

.brand {
    font-size: 24px;
    color: #1f2937;
    white-space: nowrap;
}

.brand-mark {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--orange), var(--amber));
    box-shadow: 0 12px 24px rgba(249, 115, 22, 0.32);
}

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

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

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

.header-search {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 8px;
}

.header-search input {
    width: 250px;
    border: 1px solid #fed7aa;
    border-radius: 999px;
    padding: 11px 76px 11px 18px;
    outline: none;
    background: rgba(255, 255, 255, 0.9);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.header-search input:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.14);
}

.header-search button {
    position: absolute;
    right: 4px;
    border: 0;
    border-radius: 999px;
    padding: 8px 16px;
    color: #ffffff;
    background: var(--orange);
    cursor: pointer;
    font-weight: 700;
}

.mobile-toggle {
    display: none;
    margin-left: auto;
    border: 0;
    border-radius: 12px;
    padding: 9px 12px;
    color: #7c2d12;
    background: #ffedd5;
    font-size: 20px;
}

.mobile-nav {
    display: none;
    border-top: 1px solid #fed7aa;
    padding: 14px 16px 18px;
    background: #fff7ed;
}

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

.mobile-nav form {
    display: flex;
    gap: 8px;
}

.mobile-nav input {
    min-width: 0;
    flex: 1;
    border: 1px solid #fed7aa;
    border-radius: 12px;
    padding: 10px 12px;
}

.mobile-nav button {
    border: 0;
    border-radius: 12px;
    padding: 10px 14px;
    color: #ffffff;
    background: var(--orange);
    font-weight: 700;
}

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

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

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

.hero::after {
    width: 420px;
    height: 420px;
    right: 6%;
    bottom: 5%;
    background: #f59e0b;
    animation-delay: 1s;
}

.hero-inner {
    position: relative;
    z-index: 1;
    min-height: 640px;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(330px, 0.98fr);
    align-items: center;
    gap: 48px;
    padding: 64px 0;
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #c2410c;
    font-weight: 800;
    margin-bottom: 22px;
}

.eyebrow::before {
    content: "";
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: radial-gradient(circle, #ffffff 0%, #fed7aa 48%, #f97316 100%);
    box-shadow: 0 12px 24px rgba(249, 115, 22, 0.28);
}

.hero h1 {
    margin: 0 0 22px;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.03;
    letter-spacing: -0.055em;
}

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

.hero-copy p {
    margin: 0 0 30px;
    color: #4b5563;
    font-size: 20px;
    line-height: 1.78;
}

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

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

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

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

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

.btn-secondary {
    color: var(--orange-dark);
    background: rgba(255, 255, 255, 0.86);
    border: 2px solid #fdba74;
}

.btn-secondary:hover {
    background: #fff7ed;
}

.hero-stage {
    position: relative;
}

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

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    opacity: 0;
    pointer-events: none;
    transform: translateX(18px) scale(0.98);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.hero-card {
    position: relative;
    min-height: 510px;
    overflow: hidden;
    border-radius: 34px;
    box-shadow: var(--shadow);
    background: #111827;
}

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

.hero-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: end;
    padding: 30px;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.1) 0%, rgba(17, 24, 39, 0.42) 42%, rgba(17, 24, 39, 0.88) 100%);
}

.hero-card h2 {
    margin: 0 0 12px;
    font-size: 30px;
    line-height: 1.15;
}

.hero-card p {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.65;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.hero-tags span,
.movie-tags span,
.detail-tags span {
    border-radius: 999px;
    padding: 6px 10px;
    background: #ffedd5;
    color: #c2410c;
    font-size: 12px;
    font-weight: 800;
}

.hero-card .hero-tags span {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
}

.hero-controls {
    position: absolute;
    right: 24px;
    top: 24px;
    z-index: 3;
    display: flex;
    gap: 10px;
}

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

.hero-controls button {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(17, 24, 39, 0.55);
    backdrop-filter: blur(12px);
    font-size: 20px;
}

.carousel-dots {
    position: absolute;
    left: 30px;
    bottom: 24px;
    z-index: 4;
    display: flex;
    gap: 8px;
}

.carousel-dots button {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    padding: 0;
    background: rgba(255, 255, 255, 0.46);
}

.carousel-dots button.is-active {
    width: 28px;
    background: #ffffff;
}

.stats-band {
    padding: 58px 0 34px;
    background: #ffffff;
}

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

.stat-card,
.category-card,
.info-card {
    border-radius: var(--radius-lg);
    padding: 28px;
    background: linear-gradient(135deg, #fff7ed, #fffbeb);
    box-shadow: var(--soft-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover,
.category-card:hover,
.info-card:hover,
.movie-card:hover,
.rank-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.stat-icon {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--orange), var(--amber));
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 14px;
}

.stat-card h2,
.stat-card h3,
.category-card h2,
.category-card h3,
.info-card h2,
.info-card h3 {
    margin: 0 0 10px;
    font-size: 24px;
}

.stat-card p,
.category-card p,
.info-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.section {
    padding: 68px 0;
}

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

.section.deep {
    color: #ffffff;
    background: linear-gradient(135deg, var(--orange), var(--amber));
}

.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-kicker {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--orange-dark);
    font-weight: 900;
}

.section h1,
.section h2,
.page-hero h1,
.detail-title h1 {
    margin: 0;
    letter-spacing: -0.035em;
}

.section h2,
.page-hero h1 {
    font-size: clamp(32px, 4vw, 46px);
}

.section-head p,
.page-hero p {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.78;
}

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

.movie-card {
    overflow: hidden;
    border-radius: 24px;
    background: var(--card);
    box-shadow: var(--soft-shadow);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-poster {
    position: relative;
    display: block;
    min-height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #fb923c, #f59e0b);
}

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

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

.poster-badge,
.poster-score {
    position: absolute;
    top: 12px;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 900;
    backdrop-filter: blur(10px);
}

.poster-badge {
    left: 12px;
    color: #ffffff;
    background: rgba(17, 24, 39, 0.56);
}

.poster-score {
    right: 12px;
    color: #7c2d12;
    background: rgba(255, 255, 255, 0.88);
}

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

.movie-line-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #9a3412;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 10px;
}

.movie-line-meta span {
    border-radius: 999px;
    background: #fff7ed;
    padding: 5px 8px;
}

.movie-card h3 {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.35;
}

.movie-card h3 a,
.rank-info h3 a {
    transition: color 0.2s ease;
}

.movie-card h3 a:hover,
.rank-info h3 a:hover {
    color: var(--orange-dark);
}

.movie-card p {
    min-height: 54px;
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

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

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

.category-card {
    display: grid;
    gap: 16px;
}

.category-card a.more {
    color: var(--orange-dark);
    font-weight: 900;
}

.category-samples {
    display: grid;
    gap: 10px;
}

.category-samples a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    color: #374151;
    font-weight: 700;
}

.category-samples a:hover {
    color: var(--orange-dark);
    background: #ffffff;
}

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

.rank-card {
    position: relative;
    display: grid;
    grid-template-columns: 126px minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
    border-radius: 24px;
    padding: 14px;
    background: #ffffff;
    box-shadow: var(--soft-shadow);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.rank-index {
    position: absolute;
    left: -10px;
    top: -10px;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, #ef4444, #f97316);
    box-shadow: 0 14px 24px rgba(239, 68, 68, 0.22);
    font-size: 18px;
    font-weight: 900;
}

.rank-thumb {
    overflow: hidden;
    border-radius: 18px;
    background: #ffedd5;
}

.rank-thumb img {
    width: 100%;
    height: 168px;
    object-fit: cover;
}

.rank-info {
    min-width: 0;
    padding: 6px 6px 6px 0;
}

.rank-info h3 {
    margin: 0 0 9px;
    font-size: 22px;
}

.rank-info p {
    margin: 0 0 15px;
    color: var(--muted);
    line-height: 1.68;
}

.rank-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.rank-actions a {
    border-radius: 999px;
    padding: 9px 16px;
    color: #ffffff;
    background: var(--orange);
    font-weight: 800;
}

.rank-actions span {
    color: #92400e;
    font-weight: 900;
}

.page-hero {
    padding: 70px 0;
    color: #ffffff;
    background: linear-gradient(135deg, var(--orange), var(--amber));
}

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

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
}

.breadcrumb a {
    font-weight: 800;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
    gap: 24px;
    align-items: center;
    margin: -32px auto 34px;
    border-radius: 28px;
    padding: 24px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.filter-panel h2 {
    margin: 0 0 8px;
    font-size: 24px;
}

.filter-panel p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.filter-controls {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, minmax(120px, 1fr));
    gap: 12px;
}

.filter-controls input,
.filter-controls select {
    min-width: 0;
    width: 100%;
    border: 1px solid #fed7aa;
    border-radius: 16px;
    padding: 13px 14px;
    background: #fffaf5;
    outline: none;
}

.filter-controls input:focus,
.filter-controls select:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.13);
}

.empty-state {
    display: none;
    margin-top: 24px;
    border-radius: 22px;
    padding: 28px;
    color: #9a3412;
    background: #ffedd5;
    font-weight: 800;
    text-align: center;
}

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

.detail-hero {
    padding: 38px 0 34px;
    color: #ffffff;
    background: linear-gradient(135deg, #111827 0%, #7c2d12 55%, #f97316 100%);
}

.detail-title {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 30px;
    align-items: end;
}

.detail-cover {
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
}

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

.detail-title h1 {
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.08;
    margin-bottom: 18px;
}

.detail-title p {
    max-width: 790px;
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
    line-height: 1.78;
}

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

.detail-meta span {
    border-radius: 999px;
    padding: 8px 12px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
    font-weight: 800;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.92fr) minmax(300px, 0.8fr);
    gap: 28px;
    padding: 44px 0 72px;
}

.player-card,
.content-card,
.side-card {
    border-radius: 28px;
    background: #ffffff;
    box-shadow: var(--soft-shadow);
}

.player-card {
    overflow: hidden;
}

.player-box {
    position: relative;
    overflow: hidden;
    background: #000000;
    aspect-ratio: 16 / 9;
}

.player-box video {
    width: 100%;
    height: 100%;
    background: #000000;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.12), rgba(17, 24, 39, 0.78));
    cursor: pointer;
    transition: opacity 0.25s ease;
}

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

.player-start {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 0;
    border-radius: 999px;
    padding: 16px 26px;
    color: #ffffff;
    background: var(--orange);
    box-shadow: 0 18px 38px rgba(249, 115, 22, 0.35);
    cursor: pointer;
    font-size: 18px;
    font-weight: 900;
}

.player-start span:first-child {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--orange);
    background: #ffffff;
}

.player-caption {
    padding: 22px 24px 24px;
}

.player-caption h2 {
    margin: 0 0 10px;
    font-size: 26px;
}

.player-caption p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.content-card {
    margin-top: 24px;
    padding: 28px;
}

.content-card h2,
.side-card h2 {
    margin: 0 0 16px;
    font-size: 26px;
}

.content-card p {
    margin: 0 0 18px;
    color: #374151;
    line-height: 1.92;
}

.detail-sidebar {
    display: grid;
    gap: 22px;
    align-content: start;
}

.side-card {
    padding: 24px;
}

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

.info-list div {
    border-bottom: 1px solid #ffedd5;
    padding-bottom: 12px;
}

.info-list div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.info-list span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 4px;
}

.info-list strong {
    color: #111827;
}

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

.related-item {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    border-radius: 16px;
    padding: 8px;
    transition: background 0.2s ease;
}

.related-item:hover {
    background: #fff7ed;
}

.related-item img {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    object-fit: cover;
}

.related-item h3 {
    margin: 0 0 6px;
    font-size: 15px;
    line-height: 1.4;
}

.related-item span {
    color: var(--muted);
    font-size: 12px;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.7fr 1.1fr;
    gap: 40px;
    padding: 46px 0;
}

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

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

.site-footer h3 {
    margin: 0 0 14px;
    color: #ffffff;
}

.site-footer a {
    display: block;
    color: #d1d5db;
    margin: 9px 0;
    transition: color 0.2s ease;
}

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

.footer-links {
    columns: 2;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px;
    color: #9ca3af;
}

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

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

    .mobile-toggle {
        display: inline-flex;
    }

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

    .hero-slider,
    .hero-card,
    .hero-card img {
        min-height: 460px;
    }

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

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

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

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

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

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

    .brand {
        font-size: 20px;
    }

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

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

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

    .hero-slider,
    .hero-card,
    .hero-card img {
        min-height: 420px;
    }

    .hero-card-overlay {
        padding: 24px;
    }

    .stats-grid,
    .movie-grid,
    .category-grid,
    .footer-grid,
    .detail-title {
        grid-template-columns: 1fr;
    }

    .section-head {
        display: block;
    }

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

    .rank-card {
        grid-template-columns: 94px minmax(0, 1fr);
    }

    .rank-thumb img {
        height: 132px;
    }

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

    .detail-cover {
        max-width: 220px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }
}

@media (max-width: 460px) {
    .movie-grid {
        gap: 16px;
    }

    .movie-poster,
    .movie-poster img {
        min-height: 240px;
        height: 240px;
    }

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

    .rank-thumb img {
        height: 230px;
    }

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