:root {
    color-scheme: light;
    --pink: #ec4899;
    --pink-dark: #db2777;
    --purple: #8b5cf6;
    --blue: #3b82f6;
    --cyan: #06b6d4;
    --green: #10b981;
    --orange: #f97316;
    --amber: #f59e0b;
    --rose: #f43f5e;
    --ink: #172033;
    --muted: #667085;
    --soft: #fdf2f8;
    --card: #ffffff;
    --line: rgba(148, 163, 184, 0.25);
    --shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
}

* {
    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(--ink);
    background: linear-gradient(135deg, #fff1f8 0%, #f5f3ff 45%, #eff6ff 100%);
    min-height: 100vh;
}

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.nav-shell,
.section-shell,
.footer-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

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

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.03em;
    background: linear-gradient(90deg, var(--pink), var(--purple), var(--blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
}

.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15px;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    box-shadow: 0 12px 22px rgba(236, 72, 153, 0.35);
}

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

.site-nav a,
.nav-dropdown > button {
    border: 0;
    background: transparent;
    padding: 8px 2px;
    color: #344054;
    font-weight: 700;
    transition: color 0.2s ease;
}

.site-nav a:hover,
.nav-dropdown > button:hover {
    color: var(--pink);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 210px;
    padding: 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    display: grid;
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-panel a {
    padding: 10px 12px;
    border-radius: 12px;
}

.nav-dropdown-panel a:hover {
    background: linear-gradient(90deg, #fdf2f8, #f5f3ff);
}

.nav-search {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 290px;
}

.nav-search input,
.filter-bar input {
    width: 100%;
    height: 42px;
    border: 2px solid #fbcfe8;
    outline: 0;
    border-radius: 999px;
    padding: 0 16px;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-search input:focus,
.filter-bar input:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.12);
}

.nav-search button,
.btn-primary {
    border: 0;
    border-radius: 999px;
    padding: 11px 18px;
    color: #fff;
    font-weight: 900;
    background: linear-gradient(90deg, var(--pink), var(--purple));
    box-shadow: 0 14px 26px rgba(236, 72, 153, 0.28);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-search button:hover,
.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 18px 32px rgba(236, 72, 153, 0.35);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 11px 20px;
    color: #fff;
    font-weight: 900;
    border: 2px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
}

.menu-toggle {
    display: none;
    margin-left: auto;
    border: 0;
    color: var(--pink);
    background: #fff0f7;
    border-radius: 12px;
    width: 42px;
    height: 42px;
}

.hero-carousel {
    position: relative;
    height: 650px;
    overflow: hidden;
    background: linear-gradient(120deg, #db2777, #7c3aed, #2563eb);
}

.hero-track,
.hero-slide,
.hero-bg,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-slide {
    display: none;
}

.hero-slide.is-active {
    display: block;
}

.hero-bg {
    background-size: cover;
    background-position: center;
    opacity: 0.32;
    transform: scale(1.04);
    filter: saturate(1.1);
}

.hero-overlay {
    background:
        radial-gradient(circle at 78% 25%, rgba(255, 255, 255, 0.28), transparent 26%),
        linear-gradient(90deg, rgba(147, 51, 234, 0.92), rgba(219, 39, 119, 0.86), rgba(37, 99, 235, 0.82));
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    height: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: center;
    gap: 48px;
    color: #fff;
}

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

.hero-kicker,
.detail-kicker,
.page-hero p,
.section-title span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffe4f4;
}

.hero-copy h1,
.hero-copy h2 {
    margin: 0 0 18px;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1.03;
    letter-spacing: -0.06em;
}

.hero-copy h3 {
    margin: 0 0 14px;
    font-size: clamp(24px, 3vw, 40px);
}

.hero-copy p {
    max-width: 680px;
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.85;
}

.hero-tags,
.detail-meta,
.movie-meta,
.movie-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-tags span,
.detail-meta span {
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.hero-poster {
    position: relative;
    display: block;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.42);
    transform: rotate(2deg);
    transition: transform 0.3s ease;
}

.hero-poster:hover {
    transform: rotate(0deg) scale(1.02);
}

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

.hero-poster span {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 74px;
    height: 74px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--pink);
    background: rgba(255, 255, 255, 0.92);
    font-size: 28px;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.25);
}

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

.hero-dots button {
    width: 38px;
    height: 8px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
}

.hero-dots button.is-active {
    background: #fff;
}

.category-strip {
    position: relative;
    z-index: 6;
    margin-top: -44px;
    margin-bottom: 54px;
}

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

.category-card {
    min-height: 152px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 26px;
    padding: 22px;
    color: #fff;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
    position: relative;
}

.category-card::after {
    content: "";
    position: absolute;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    right: -36px;
    top: -36px;
    background: rgba(255, 255, 255, 0.2);
}

.category-card:hover {
    transform: translateY(-6px) rotate(-1deg);
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.18);
}

.category-card span {
    font-weight: 900;
    font-size: 18px;
}

.category-card strong {
    font-size: 16px;
    line-height: 1.4;
    margin: 16px 0 8px;
}

.category-card em {
    font-style: normal;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    line-height: 1.5;
}

.tone-pink,
.category-card.tone-pink {
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
}

.tone-purple,
.category-card.tone-purple {
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
}

.tone-rose,
.category-card.tone-rose {
    background: linear-gradient(135deg, #f43f5e, #ec4899);
}

.tone-orange,
.category-card.tone-orange {
    background: linear-gradient(135deg, #f97316, #ef4444);
}

.tone-amber,
.category-card.tone-amber {
    background: linear-gradient(135deg, #f59e0b, #84cc16);
}

.tone-cyan,
.category-card.tone-cyan {
    background: linear-gradient(135deg, #06b6d4, #2563eb);
}

.tone-blue,
.category-card.tone-blue {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.tone-green,
.category-card.tone-green {
    background: linear-gradient(135deg, #10b981, #14b8a6);
}

.tone-indigo,
.category-card.tone-indigo {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.tone-violet,
.category-card.tone-violet {
    background: linear-gradient(135deg, #7c3aed, #ec4899);
}

.section-block {
    margin-bottom: 64px;
}

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

.section-title span {
    color: var(--pink);
    margin-bottom: 8px;
}

.section-title h2 {
    margin: 0;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.15;
    letter-spacing: -0.04em;
    background: linear-gradient(90deg, var(--pink), var(--purple), var(--blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-title a {
    color: var(--pink-dark);
    font-weight: 900;
}

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

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

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

.movie-card {
    background: var(--card);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.09);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.14);
}

.movie-cover {
    position: relative;
    display: block;
    overflow: hidden;
    background: linear-gradient(135deg, #fdf2f8, #eff6ff);
}

.movie-cover img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 0.45s ease;
}

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

.play-sign {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 52px;
    height: 52px;
    transform: translate(-50%, -50%) scale(0.9);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--pink);
    background: rgba(255, 255, 255, 0.92);
    opacity: 0;
    transition: all 0.25s ease;
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.25);
}

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

.movie-cover em {
    position: absolute;
    right: 12px;
    bottom: 12px;
    font-style: normal;
    padding: 5px 9px;
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    background: rgba(15, 23, 42, 0.75);
}

.rank-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 2;
    min-width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #fff;
    font-weight: 900;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    box-shadow: 0 10px 20px rgba(236, 72, 153, 0.35);
}

.movie-info {
    padding: 16px;
}

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

.movie-info h3 a:hover {
    color: var(--pink-dark);
}

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

.movie-meta,
.movie-stats {
    color: #667085;
    font-size: 13px;
}

.movie-meta span,
.movie-stats span {
    padding: 4px 8px;
    border-radius: 999px;
    background: #f8fafc;
}

.feature-panel {
    padding: 28px;
    border-radius: 34px;
    background: linear-gradient(135deg, #fff7ed, #fdf2f8);
    box-shadow: var(--shadow);
}

.split-block {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 24px;
}

.rank-panel,
.domestic-panel,
.detail-content article,
.category-preview {
    padding: 28px;
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: var(--shadow);
}

.inner-title {
    margin-bottom: 18px;
}

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

.rank-list.wide {
    gap: 18px;
}

.movie-card-list {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
}

.movie-card-list .movie-cover img {
    height: 100%;
    aspect-ratio: 16 / 11;
}

.movie-card-list .movie-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-hero {
    color: #fff;
    margin-bottom: 42px;
    padding: 74px 0;
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
}

.page-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.page-hero span {
    display: block;
    max-width: 760px;
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.category-overview {
    margin-bottom: 58px;
}

.filter-bar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 28px;
    padding: 18px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.filter-bar label {
    flex: 1;
    display: grid;
    gap: 8px;
    color: #475467;
    font-weight: 900;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-buttons button {
    border: 0;
    border-radius: 999px;
    padding: 10px 15px;
    color: #475467;
    background: #fff;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    cursor: pointer;
}

.filter-buttons button.is-active {
    color: #fff;
    background: linear-gradient(90deg, var(--pink), var(--purple));
}

.empty-state {
    display: none;
    padding: 60px 20px;
    text-align: center;
    color: var(--muted);
    font-size: 20px;
    font-weight: 900;
}

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

.detail-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 38px 0 56px;
    background: #111827;
}

.detail-bg,
.detail-layer {
    position: absolute;
    inset: 0;
}

.detail-bg {
    background-size: cover;
    background-position: center;
    opacity: 0.22;
    filter: blur(5px) saturate(1.1);
    transform: scale(1.05);
}

.detail-layer {
    background: linear-gradient(120deg, rgba(30, 41, 59, 0.96), rgba(219, 39, 119, 0.74), rgba(37, 99, 235, 0.78));
}

.detail-shell {
    position: relative;
    z-index: 2;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
}

.breadcrumb a:hover {
    color: #fff;
}

.detail-layout {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.detail-poster {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

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

.detail-copy h1 {
    margin: 0 0 18px;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.06;
    letter-spacing: -0.05em;
}

.detail-one-line {
    max-width: 860px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.85;
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 22px 0;
}

.detail-tags span {
    padding: 7px 12px;
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.detail-play-link {
    display: inline-flex;
    margin-top: 2px;
}

.player-section {
    margin-top: 46px;
    margin-bottom: 42px;
}

.player-frame {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    background: #020617;
    box-shadow: 0 34px 74px rgba(15, 23, 42, 0.28);
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    border: 0;
    color: #fff;
    cursor: pointer;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.72), rgba(2, 6, 23, 0.18));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-overlay span {
    width: 84px;
    height: 84px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--pink);
    font-size: 30px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.3);
}

.player-overlay strong {
    font-size: clamp(20px, 3vw, 34px);
    letter-spacing: -0.03em;
}

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

.detail-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 58px;
}

.detail-content h2 {
    margin: 0 0 16px;
    font-size: 28px;
    color: var(--ink);
}

.detail-content p {
    margin: 0;
    color: #475467;
    line-height: 1.9;
    font-size: 16px;
}

.site-footer {
    margin-top: 72px;
    padding: 46px 0;
    color: #fff;
    background: linear-gradient(90deg, #db2777, #7c3aed, #2563eb);
}

.footer-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.8fr);
    gap: 30px;
}

.footer-brand {
    color: #fff;
    -webkit-background-clip: initial;
    background-clip: initial;
    background: none;
}

.footer-shell p {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.8;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-content: start;
}

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

.footer-copy {
    grid-column: 1 / -1;
    margin: 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 1100px) {
    .category-grid,
    .movie-grid,
    .compact-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hero-content,
    .split-block {
        grid-template-columns: 1fr;
    }

    .hero-poster {
        display: none;
    }

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

@media (max-width: 860px) {
    .nav-shell {
        flex-wrap: wrap;
        gap: 12px;
        padding: 12px 0;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .site-nav {
        display: none;
        order: 4;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 12px;
        border-radius: 22px;
        background: #fff;
    }

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

    .nav-dropdown-panel {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 1px solid var(--line);
        margin-top: 8px;
    }

    .nav-search {
        order: 3;
        width: 100%;
    }

    .hero-carousel {
        height: 620px;
    }

    .hero-content {
        align-items: end;
        padding-bottom: 86px;
    }

    .category-grid,
    .movie-grid,
    .compact-grid,
    .mini-grid,
    .domestic-panel .mini-grid,
    .detail-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

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

    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

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

@media (max-width: 560px) {
    .brand {
        font-size: 21px;
    }

    .hero-carousel {
        height: 660px;
    }

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

    .hero-tags span,
    .detail-meta span {
        font-size: 12px;
    }

    .category-grid,
    .movie-grid,
    .compact-grid,
    .mini-grid,
    .domestic-panel .mini-grid,
    .detail-content {
        grid-template-columns: 1fr;
    }

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

    .page-hero {
        padding: 54px 0;
    }

    .rank-panel,
    .domestic-panel,
    .detail-content article,
    .category-preview,
    .feature-panel {
        padding: 20px;
        border-radius: 24px;
    }
}
