:root {
    --red-950: #450a0a;
    --red-900: #7f1d1d;
    --red-800: #991b1b;
    --red-700: #b91c1c;
    --amber-900: #78350f;
    --amber-700: #b45309;
    --amber-500: #f59e0b;
    --amber-200: #fde68a;
    --amber-100: #fef3c7;
    --cream: #fff7ed;
    --paper: #fffaf0;
    --ink: #3b1f1f;
    --muted: #8a5c3d;
    --shadow: 0 24px 70px rgba(69, 10, 10, 0.18);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(245, 158, 11, 0.18), transparent 28rem),
        linear-gradient(180deg, #fff7ed 0%, #fff1f2 48%, #fffbeb 100%);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body.is-locked {
    overflow: hidden;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(90deg, rgba(255, 251, 235, 0.94), rgba(255, 241, 242, 0.94), rgba(255, 251, 235, 0.94));
    border-bottom: 2px solid rgba(180, 83, 9, 0.26);
    box-shadow: 0 12px 40px rgba(69, 10, 10, 0.12);
    backdrop-filter: blur(18px);
}

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

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    font-weight: 900;
    font-size: 22px;
    background: linear-gradient(135deg, var(--red-700), var(--amber-500));
    box-shadow: 0 14px 30px rgba(127, 29, 29, 0.28);
}

.brand-text strong,
.footer-brand strong {
    display: block;
    color: var(--red-900);
    font-size: 21px;
    letter-spacing: 0.02em;
}

.brand-text em {
    display: block;
    color: var(--amber-700);
    font-size: 11px;
    letter-spacing: 0.18em;
    font-style: normal;
    font-weight: 700;
}

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

.desktop-nav a,
.mobile-nav a {
    border-radius: 999px;
    color: var(--red-900);
    font-weight: 700;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.desktop-nav a {
    padding: 10px 16px;
}

.desktop-nav a:hover,
.desktop-nav a.is-active,
.mobile-nav a:hover,
.mobile-nav a.is-active {
    color: #fff;
    background: linear-gradient(135deg, var(--red-700), var(--amber-500));
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 14px;
    background: #fff7ed;
    box-shadow: inset 0 0 0 1px rgba(180, 83, 9, 0.18);
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    border-radius: 4px;
    background: var(--red-900);
}

.mobile-nav {
    display: none;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px 18px;
    gap: 10px;
    flex-direction: column;
}

.mobile-nav a {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.6);
}

.hero-carousel {
    position: relative;
    padding: 32px 20px 0;
}

.hero-shell {
    position: relative;
    max-width: 1240px;
    min-height: 680px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 34px;
    background: linear-gradient(135deg, var(--red-950), var(--amber-900));
    box-shadow: var(--shadow);
}

.hero-slides {
    position: relative;
    min-height: 680px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) 390px;
    align-items: center;
    gap: 34px;
    padding: 70px 70px 155px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
    transform: scale(1.02);
}

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

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center;
    filter: blur(28px) saturate(1.35);
    opacity: 0.3;
    transform: scale(1.08);
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(69, 10, 10, 0.96), rgba(69, 10, 10, 0.72), rgba(120, 53, 15, 0.55)),
        radial-gradient(circle at 78% 22%, rgba(245, 158, 11, 0.42), transparent 22rem);
}

.hero-content,
.hero-poster,
.hero-panel {
    position: relative;
    z-index: 2;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--amber-500);
    font-weight: 900;
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-content h1,
.hero-content h2 {
    margin: 14px 0 18px;
    color: #fff;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.hero-content p {
    max-width: 720px;
    margin: 0 0 24px;
    color: #fff7ed;
    font-size: 18px;
}

.hero-tags,
.tag-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-tags span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 11px;
    border-radius: 999px;
    color: #7c2d12;
    background: rgba(254, 243, 199, 0.92);
    font-size: 12px;
    font-weight: 800;
}

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

.primary-button,
.ghost-button,
.text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
    min-height: 46px;
    padding: 12px 22px;
    color: #fff;
    background: linear-gradient(135deg, var(--red-700), var(--amber-500));
    box-shadow: 0 15px 32px rgba(127, 29, 29, 0.24);
}

.ghost-button {
    min-height: 46px;
    padding: 11px 21px;
    color: #fff7ed;
    border: 1px solid rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.12);
}

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

.hero-poster {
    display: block;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.34);
    transform: rotate(2deg);
}

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

.hero-panel {
    position: absolute;
    left: 36px;
    right: 36px;
    bottom: 30px;
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 18px;
    align-items: center;
}

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

.hero-stats span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 68px;
    border-radius: 18px;
    color: #fff;
    font-weight: 900;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(12px);
}

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

.hero-dot {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 72px;
    padding: 8px;
    border: 0;
    border-radius: 18px;
    color: #fff7ed;
    text-align: left;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
}

.hero-dot.is-active,
.hero-dot:hover {
    background: rgba(245, 158, 11, 0.42);
}

.hero-dot img {
    width: 58px;
    height: 56px;
    object-fit: cover;
    border-radius: 12px;
}

.hero-dot span {
    overflow: hidden;
    font-weight: 800;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.content-section {
    max-width: 1240px;
    margin: 0 auto;
    padding: 72px 24px;
}

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

.section-heading h2,
.page-hero h1,
.detail-copy h1,
.rank-copy h2,
.category-card-large h2 {
    margin: 6px 0 0;
    color: var(--red-950);
    line-height: 1.16;
    letter-spacing: -0.03em;
}

.section-heading h2,
.rank-copy h2,
.category-card-large h2 {
    font-size: clamp(30px, 4vw, 46px);
}

.section-heading p,
.page-hero p,
.rank-copy p,
.category-card-large p {
    max-width: 760px;
    margin: 12px 0 0;
    color: var(--muted);
}

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

.category-tile {
    position: relative;
    min-height: 190px;
    overflow: hidden;
    border-radius: 24px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    background: var(--red-900);
    box-shadow: 0 18px 42px rgba(69, 10, 10, 0.15);
}

.category-tile::before,
.category-card-large::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(180deg, rgba(69, 10, 10, 0.12), rgba(69, 10, 10, 0.88)), var(--tile-image);
    background-size: cover;
    background-position: center;
    transform: scale(1.03);
    transition: transform 0.35s ease;
}

.category-tile:hover::before,
.category-card-large:hover::before {
    transform: scale(1.1);
}

.category-tile span,
.category-tile strong {
    position: relative;
    z-index: 1;
}

.category-tile span {
    font-size: 22px;
    font-weight: 900;
}

.category-tile strong {
    margin-top: 8px;
    color: #fffbeb;
    font-size: 14px;
}

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

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

.movie-card {
    overflow: hidden;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 18px 45px rgba(69, 10, 10, 0.12);
    border: 1px solid rgba(180, 83, 9, 0.12);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 62px rgba(69, 10, 10, 0.18);
}

.poster-wrap {
    position: relative;
    display: block;
    overflow: hidden;
    background: linear-gradient(135deg, var(--red-900), var(--amber-700));
}

.poster-wrap img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: transform 0.35s ease;
}

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

.play-chip,
.rank-badge {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 900;
    background: linear-gradient(135deg, var(--red-700), var(--amber-500));
    box-shadow: 0 10px 24px rgba(69, 10, 10, 0.22);
}

.play-chip {
    right: 12px;
    bottom: 12px;
    min-width: 58px;
    min-height: 30px;
    border-radius: 999px;
    font-size: 13px;
}

.rank-badge {
    left: 12px;
    top: 12px;
    width: 42px;
    height: 42px;
    border-radius: 14px;
}

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

.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--amber-700);
    font-size: 12px;
    font-weight: 900;
}

.movie-card h3 {
    margin: 8px 0 8px;
    color: var(--red-950);
    font-size: 20px;
    line-height: 1.28;
}

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

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

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

.movie-card.is-compact p {
    display: -webkit-box;
    min-height: 44px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.text-link {
    margin-top: 14px;
    color: var(--red-800);
    font-size: 14px;
}

.rank-preview {
    max-width: 1240px;
    margin: 26px auto;
    padding: 64px;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 42px;
    border-radius: 34px;
    color: #fff;
    background:
        radial-gradient(circle at top right, rgba(245, 158, 11, 0.36), transparent 28rem),
        linear-gradient(135deg, var(--red-950), var(--amber-900));
    box-shadow: var(--shadow);
}

.rank-copy h2,
.rank-copy p {
    color: #fff;
}

.rank-copy p {
    color: #ffedd5;
    margin-bottom: 26px;
}

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

.rank-list a,
.ranking-row {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
}

.rank-list span,
.ranking-row span {
    color: var(--amber-200);
    font-weight: 900;
    font-size: 20px;
}

.rank-list strong,
.ranking-row strong {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rank-list em,
.ranking-row em {
    color: #fde68a;
    font-size: 13px;
    font-style: normal;
}

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at top right, rgba(245, 158, 11, 0.36), transparent 28rem),
        linear-gradient(135deg, var(--red-950), var(--amber-900));
}

.page-hero {
    margin: 32px auto 0;
    max-width: 1240px;
    min-height: 320px;
    padding: 70px;
    border-radius: 34px;
    box-shadow: var(--shadow);
}

.page-hero h1 {
    color: #fff;
    font-size: clamp(42px, 5vw, 66px);
}

.page-hero p {
    color: #ffedd5;
    font-size: 18px;
}

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

.category-card-large {
    position: relative;
    overflow: hidden;
    min-height: 330px;
    border-radius: 30px;
    padding: 34px;
    display: flex;
    align-items: flex-end;
    color: #fff;
    box-shadow: var(--shadow);
}

.category-card-large > div {
    position: relative;
    z-index: 1;
    max-width: 620px;
}

.category-card-large h2,
.category-card-large p {
    color: #fff;
}

.category-card-large p {
    color: #ffedd5;
}

.mini-title-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 24px;
}

.mini-title-row span {
    padding: 6px 10px;
    border-radius: 999px;
    color: #7c2d12;
    background: rgba(254, 243, 199, 0.9);
    font-size: 12px;
    font-weight: 800;
}

.filter-section {
    padding-top: 38px;
}

.filter-bar {
    position: sticky;
    top: 92px;
    z-index: 30;
    display: grid;
    grid-template-columns: 1fr 180px 180px;
    gap: 14px;
    margin-bottom: 28px;
    padding: 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(180, 83, 9, 0.15);
    box-shadow: 0 16px 38px rgba(69, 10, 10, 0.1);
    backdrop-filter: blur(14px);
}

.wide-filter {
    grid-template-columns: 1fr 180px 160px 160px;
}

.filter-bar label {
    display: grid;
    gap: 6px;
    color: var(--red-900);
    font-size: 13px;
    font-weight: 900;
}

.filter-bar input,
.filter-bar select {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid rgba(180, 83, 9, 0.18);
    border-radius: 14px;
    color: var(--ink);
    background: #fffaf0;
    outline: none;
}

.filter-bar input:focus,
.filter-bar select:focus {
    border-color: var(--amber-500);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.14);
}

.ranking-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.4fr;
    gap: 28px;
    align-items: start;
}

.ranking-board {
    position: sticky;
    top: 104px;
    padding: 18px;
    border-radius: 28px;
    background: linear-gradient(135deg, var(--red-950), var(--amber-900));
    box-shadow: var(--shadow);
}

.ranking-row {
    color: #fff;
}

.detail-hero {
    min-height: 720px;
    background-image: var(--detail-image);
    background-size: cover;
    background-position: center;
}

.detail-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(69, 10, 10, 0.86), rgba(69, 10, 10, 0.92)),
        radial-gradient(circle at 70% 20%, rgba(245, 158, 11, 0.34), transparent 24rem);
    backdrop-filter: blur(16px);
}

.detail-shell {
    position: relative;
    z-index: 1;
    max-width: 1240px;
    margin: 0 auto;
    padding: 34px 24px 82px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 24px;
    color: #ffedd5;
    font-weight: 800;
}

.breadcrumb a:hover {
    color: var(--amber-200);
}

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

.player-column {
    display: grid;
    gap: 26px;
}

.video-box {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: #000;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.36);
}

.movie-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 0;
    color: #fff;
    background: rgba(0, 0, 0, 0.34);
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-circle {
    width: 86px;
    height: 86px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    font-size: 34px;
    background: linear-gradient(135deg, var(--red-700), var(--amber-500));
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.32);
}

.player-controls {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    pointer-events: none;
}

.player-controls button {
    pointer-events: auto;
    min-height: 40px;
    padding: 8px 14px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    font-weight: 900;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
}

.player-controls button:first-child {
    background: linear-gradient(135deg, var(--red-700), var(--amber-500));
}

.detail-copy {
    padding: 34px;
    border-radius: 30px;
    color: #fffbeb;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
}

.detail-copy h1 {
    color: #fff;
    font-size: clamp(34px, 5vw, 58px);
}

.detail-copy h2 {
    margin: 28px 0 10px;
    color: #fde68a;
    font-size: 24px;
}

.detail-copy p {
    margin: 0;
    color: #fff7ed;
}

.lead-text {
    margin: 16px 0 18px !important;
    font-size: 18px;
}

.detail-tags {
    margin: 18px 0 4px;
}

.detail-aside {
    display: grid;
    gap: 18px;
    align-content: start;
}

.detail-aside > img {
    width: 100%;
    border-radius: 26px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    box-shadow: 0 24px 62px rgba(0, 0, 0, 0.34);
}

.aside-card {
    padding: 24px;
    border-radius: 26px;
    color: #fffbeb;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
}

.aside-card h2 {
    margin: 0 0 18px;
    color: #fff;
}

.aside-card dl {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 10px 14px;
    margin: 0 0 22px;
}

.aside-card dt {
    color: #fde68a;
    font-weight: 900;
}

.aside-card dd {
    margin: 0;
}

.full-button {
    width: 100%;
}

.site-footer {
    margin-top: 32px;
    color: #fffbeb;
    background: linear-gradient(135deg, var(--red-950), var(--amber-900));
}

.footer-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 42px 24px;
}

.footer-brand p {
    margin: 4px 0 0;
    color: #ffedd5;
}

.footer-brand strong {
    color: #fff;
}

.footer-links,
.footer-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.footer-links a,
.footer-categories a {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
}

.footer-copy {
    margin: 26px 0 0;
    color: #fde68a;
    font-size: 14px;
}

@media (max-width: 1100px) {
    .hero-slide {
        grid-template-columns: 1fr 300px;
        padding: 56px 42px 170px;
    }

    .hero-panel,
    .rank-preview,
    .ranking-layout,
    .detail-layout {
        grid-template-columns: 1fr;
    }

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

    .ranking-board {
        position: static;
    }
}

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

    .menu-toggle {
        display: inline-block;
    }

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

    .hero-shell,
    .hero-slides {
        min-height: 780px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        align-content: start;
        padding: 42px 24px 250px;
    }

    .hero-poster {
        max-width: 260px;
        transform: none;
    }

    .hero-panel {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }

    .hero-stats,
    .hero-dots {
        grid-template-columns: 1fr;
    }

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

    .filter-bar,
    .wide-filter {
        position: static;
        grid-template-columns: 1fr;
    }

    .page-hero {
        margin: 20px 16px 0;
        padding: 42px 24px;
    }

    .rank-preview {
        margin: 20px 16px;
        padding: 34px 24px;
    }
}

@media (max-width: 560px) {
    .header-inner {
        height: 70px;
        padding: 0 16px;
    }

    .brand-mark {
        width: 42px;
        height: 42px;
    }

    .brand-text strong {
        font-size: 16px;
    }

    .content-section {
        padding: 48px 16px;
    }

    .hero-carousel {
        padding: 16px 12px 0;
    }

    .hero-shell,
    .hero-slides {
        min-height: 850px;
        border-radius: 24px;
    }

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

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

    .hero-panel {
        left: 12px;
        right: 12px;
    }

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

    .rank-list a,
    .ranking-row {
        grid-template-columns: 44px 1fr;
    }

    .rank-list em,
    .ranking-row em {
        grid-column: 2;
    }

    .detail-shell {
        padding: 24px 16px 58px;
    }

    .detail-copy,
    .aside-card {
        padding: 22px;
    }

    .player-controls {
        flex-wrap: wrap;
    }
}
