:root {
    --sky-50: #f0f9ff;
    --sky-100: #e0f2fe;
    --sky-500: #0ea5e9;
    --sky-600: #0284c7;
    --cyan-500: #06b6d4;
    --blue-600: #2563eb;
    --amber-50: #fffbeb;
    --amber-500: #f59e0b;
    --orange-50: #fff7ed;
    --orange-500: #f97316;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-900: #111827;
    --white: #ffffff;
    --shadow-sm: 0 6px 18px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 18px 45px rgba(15, 23, 42, 0.14);
    --shadow-lg: 0 35px 80px rgba(15, 23, 42, 0.22);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(229, 231, 235, 0.9);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: var(--gray-900);
}

.brand-mark {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 14px;
    color: var(--white);
    background: linear-gradient(135deg, var(--sky-500), var(--cyan-500));
    box-shadow: 0 10px 24px rgba(14, 165, 233, 0.28);
}

.brand-text {
    font-size: 1.15rem;
    letter-spacing: 0.02em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 10px 15px;
    border-radius: 999px;
    color: var(--gray-600);
    font-weight: 600;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--sky-600);
    background: var(--sky-50);
}

.nav-toggle {
    display: none;
    border: 0;
    border-radius: 999px;
    padding: 8px 14px;
    color: var(--sky-600);
    background: var(--sky-50);
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 620px;
    color: var(--white);
    background: linear-gradient(135deg, #38bdf8 0%, var(--cyan-500) 42%, var(--blue-600) 100%);
}

.hero::before,
.hero::after {
    position: absolute;
    content: "";
    pointer-events: none;
}

.hero::before {
    inset: 0;
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.35), transparent 25%),
        radial-gradient(circle at 78% 12%, rgba(255, 255, 255, 0.22), transparent 20%),
        radial-gradient(circle at 70% 80%, rgba(7, 89, 133, 0.28), transparent 28%);
}

.hero::after {
    inset: auto -10% -35% -10%;
    height: 360px;
    background: rgba(255, 255, 255, 0.18);
    transform: rotate(-5deg);
    filter: blur(10px);
}

.hero-shell {
    position: relative;
    z-index: 2;
    min-height: 620px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px 0 32px;
}

.hero-slides {
    position: relative;
    flex: 1;
    display: grid;
    align-items: center;
}

.hero-slide {
    display: none;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 440px);
    align-items: center;
    gap: 56px;
    animation: fadeUp 0.45s ease both;
}

.hero-slide.active {
    display: grid;
}

.hero-copy h1,
.hero-copy h2 {
    margin: 0 0 22px;
    max-width: 760px;
    font-size: clamp(2.6rem, 6vw, 5.4rem);
    line-height: 1.04;
    letter-spacing: -0.05em;
}

.hero-copy h2 {
    font-size: clamp(2.3rem, 5vw, 4.8rem);
}

.hero-copy p {
    max-width: 660px;
    margin: 0 0 26px;
    color: rgba(240, 249, 255, 0.96);
    font-size: clamp(1.05rem, 2vw, 1.45rem);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 16px;
    padding: 7px 14px;
    border-radius: 999px;
    color: var(--sky-600);
    background: rgba(255, 255, 255, 0.9);
    font-weight: 800;
    font-size: 0.9rem;
}

.eyebrow.dark {
    color: var(--white);
    background: linear-gradient(135deg, var(--sky-500), var(--blue-600));
}

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

.hero-tags span,
.detail-meta span,
.tag-row span,
.detail-tags a {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 11px;
    color: var(--sky-600);
    background: var(--sky-50);
    font-size: 0.86rem;
    font-weight: 700;
}

.hero-tags span {
    color: var(--white);
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

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

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

.button:hover {
    transform: translateY(-2px);
}

.button.primary {
    color: var(--sky-600);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.button.glass {
    color: var(--white);
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(10px);
}

.button.ghost {
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-poster {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    min-height: 470px;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: var(--shadow-lg);
    transform: rotate(2deg);
}

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

.hero-poster:hover img {
    transform: scale(1.05);
}

.hero-poster span {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    display: block;
    border-radius: 18px;
    padding: 14px 16px;
    color: var(--white);
    background: rgba(0, 0, 0, 0.52);
    backdrop-filter: blur(12px);
    font-size: 1.15rem;
    font-weight: 800;
}

.hero-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 30px;
}

.hero-search {
    display: flex;
    width: min(520px, 100%);
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-sm);
}

.hero-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    padding: 0 20px;
    color: var(--gray-900);
    outline: 0;
    background: transparent;
}

.hero-search button {
    border: 0;
    padding: 0 24px;
    color: var(--white);
    background: var(--sky-500);
    font-weight: 800;
}

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

.hero-dot {
    width: 11px;
    height: 11px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.48);
    transition: width 0.2s ease, background 0.2s ease;
}

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

.section {
    padding: 68px 0;
}

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

.section-heading span {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--sky-600);
    font-weight: 900;
}

.section-heading h2,
.rank-panel h2,
.aside-card h2,
.story-card h2,
.player-section h2 {
    margin: 0;
    color: var(--gray-900);
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    line-height: 1.15;
}

.section-heading p {
    max-width: 720px;
    margin: 10px 0 0;
    color: var(--gray-600);
}

.section-link,
.text-link {
    color: var(--sky-600);
    font-weight: 800;
}

.movie-grid {
    display: grid;
    gap: 22px;
}

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(229, 231, 235, 0.9);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.movie-card:hover {
    border-color: rgba(14, 165, 233, 0.35);
    box-shadow: var(--shadow-md);
    transform: translateY(-6px);
}

.poster-link {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, var(--sky-50), var(--gray-100));
}

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

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

.poster-chip {
    position: absolute;
    top: 12px;
    right: 12px;
    border-radius: 999px;
    padding: 5px 10px;
    color: var(--white);
    background: rgba(0, 0, 0, 0.58);
    font-size: 0.78rem;
    font-weight: 800;
}

.card-body {
    padding: 18px;
}

.card-kicker {
    margin: 0 0 8px;
    color: var(--sky-600);
    font-size: 0.85rem;
    font-weight: 800;
}

.movie-card h2,
.movie-list-item h2,
.ranking-card h2 {
    margin: 0 0 10px;
    font-size: 1.1rem;
    line-height: 1.3;
}

.movie-card h2 a:hover,
.movie-list-item h2 a:hover,
.ranking-card h2 a:hover {
    color: var(--sky-600);
}

.card-summary,
.movie-list-item p,
.ranking-card p {
    margin: 0 0 14px;
    color: var(--gray-600);
    font-size: 0.94rem;
}

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

.compact-card h2 {
    font-size: 1rem;
}

.highlight-band {
    background: linear-gradient(90deg, var(--orange-50), var(--amber-50));
}

.category-band {
    background: linear-gradient(135deg, var(--sky-50), #ecfeff, #eff6ff);
}

.two-column-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 34px;
    align-items: start;
}

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

.movie-list-item,
.ranking-card {
    display: grid;
    grid-template-columns: 136px minmax(0, 1fr);
    gap: 18px;
    border: 1px solid var(--gray-200);
    border-radius: 22px;
    padding: 14px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.list-poster,
.ranking-poster {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border-radius: 16px;
    background: var(--gray-100);
}

.list-poster img,
.ranking-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.list-content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
}

.rank-panel,
.aside-card,
.story-card,
.player-section {
    border: 1px solid var(--gray-200);
    border-radius: 26px;
    padding: 24px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.rank-panel {
    position: sticky;
    top: 96px;
}

.rank-list {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.rank-row {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    border-radius: 16px;
    padding: 12px;
    background: var(--gray-50);
}

.rank-row:hover {
    color: var(--sky-600);
    background: var(--sky-50);
}

.rank-row strong {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 13px;
    color: var(--white);
    background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
}

.rank-row span,
.side-rec span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 800;
}

.rank-row em,
.side-rec em {
    grid-column: 2;
    color: var(--gray-500);
    font-size: 0.85rem;
    font-style: normal;
}

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

.category-card,
.category-overview-card {
    position: relative;
    overflow: hidden;
    min-height: 260px;
    border-radius: 28px;
    color: var(--white);
    background: var(--gray-900);
    box-shadow: var(--shadow-md);
}

.category-card img,
.category-overview-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.category-card:hover img,
.category-overview-card:hover img {
    opacity: 0.72;
    transform: scale(1.06);
}

.category-card div,
.category-overview-card div {
    position: absolute;
    inset: auto 18px 18px 18px;
    border-radius: 20px;
    padding: 18px;
    background: rgba(0, 0, 0, 0.48);
    backdrop-filter: blur(14px);
}

.category-card span,
.category-overview-card span {
    color: var(--sky-100);
    font-weight: 800;
}

.category-card h2,
.category-overview-card h2 {
    margin: 6px 0;
    font-size: 1.35rem;
}

.category-card p,
.category-overview-card p,
.category-overview-card em {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.92rem;
    font-style: normal;
}

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

.category-overview-card {
    min-height: 310px;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 86px 0;
    color: var(--white);
    background: linear-gradient(135deg, var(--sky-500), var(--cyan-500), var(--blue-600));
}

.compact-page-hero {
    padding: 64px 0;
}

.page-hero h1 {
    margin: 0 0 16px;
    font-size: clamp(2.2rem, 5vw, 4.4rem);
    line-height: 1.05;
}

.page-hero p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.15rem;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 700;
}

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

.filter-panel {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) repeat(3, minmax(120px, 170px)) auto;
    gap: 12px;
    align-items: center;
    margin-bottom: 26px;
    border: 1px solid var(--gray-200);
    border-radius: 24px;
    padding: 14px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.filter-panel.large {
    grid-template-columns: minmax(260px, 1fr) repeat(3, minmax(140px, 180px)) auto;
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    padding: 0 16px;
    color: var(--gray-700);
    background: var(--gray-50);
    outline: 0;
}

.filter-panel input:focus,
.filter-panel select:focus {
    border-color: rgba(14, 165, 233, 0.5);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12);
}

.filter-count {
    color: var(--sky-600);
    font-weight: 900;
    white-space: nowrap;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: var(--gray-900);
}

.detail-backdrop {
    position: absolute;
    inset: 0;
}

.detail-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.28;
    filter: blur(8px) saturate(1.2);
    transform: scale(1.06);
}

.detail-hero::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.68), rgba(14, 165, 233, 0.24));
}

.detail-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 36px;
    align-items: center;
    padding: 58px 0 70px;
}

.detail-hero-inner .breadcrumb {
    grid-column: 1 / -1;
    margin: 0;
}

.detail-cover {
    overflow: hidden;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: var(--shadow-lg);
}

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

.detail-copy h1 {
    margin: 0 0 16px;
    font-size: clamp(2.3rem, 5vw, 4.5rem);
    line-height: 1.08;
}

.detail-one-line {
    max-width: 780px;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.94);
    font-size: 1.2rem;
}

.detail-meta span {
    color: var(--white);
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.detail-copy .button {
    margin-top: 28px;
}

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

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

.player-frame {
    position: relative;
    overflow: hidden;
    margin-top: 18px;
    border-radius: 22px;
    background: #000;
    aspect-ratio: 16 / 9;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.movie-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.play-cover {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    place-items: center;
    gap: 12px;
    border: 0;
    color: var(--white);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.65));
}

.play-cover[hidden] {
    display: none;
}

.play-cover span {
    display: grid;
    width: 76px;
    height: 76px;
    place-items: center;
    border-radius: 50%;
    color: var(--sky-600);
    background: var(--white);
    box-shadow: var(--shadow-md);
    font-size: 2rem;
}

.play-cover strong {
    font-size: 1.1rem;
}

.story-card p {
    margin: 12px 0 22px;
    color: var(--gray-700);
}

.story-card p:last-child {
    margin-bottom: 0;
}

.detail-tags a:hover {
    color: var(--white);
    background: var(--sky-500);
}

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

.prev-next a {
    overflow: hidden;
    border-radius: 18px;
    padding: 16px 18px;
    color: var(--sky-600);
    background: var(--sky-50);
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.prev-next a:hover {
    color: var(--white);
    background: var(--sky-500);
}

.detail-aside {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 22px;
}

.aside-card dl {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 10px 14px;
    margin: 18px 0 0;
}

.aside-card dt {
    color: var(--gray-500);
    font-weight: 800;
}

.aside-card dd {
    margin: 0;
    color: var(--gray-900);
}

.side-recommendations {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.side-rec {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.side-rec img {
    grid-row: span 2;
    width: 82px;
    height: 58px;
    border-radius: 12px;
    object-fit: cover;
}

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

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

.ranking-poster strong {
    position: absolute;
    top: 8px;
    left: 8px;
    display: grid;
    min-width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 12px;
    color: var(--white);
    background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
}

.site-footer {
    border-top: 1px solid var(--gray-200);
    background: linear-gradient(180deg, var(--gray-50), var(--gray-100));
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 30px;
    padding: 44px 0;
}

.footer-grid h2 {
    margin: 0 0 14px;
    font-size: 1.1rem;
}

.footer-grid p {
    max-width: 520px;
    color: var(--gray-600);
}

.footer-grid a:not(.brand) {
    display: block;
    margin-bottom: 8px;
    color: var(--gray-600);
}

.footer-grid a:hover {
    color: var(--sky-600);
}

.footer-brand {
    margin-bottom: 12px;
}

[hidden],
.is-hidden {
    display: none !important;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

@media (max-width: 820px) {
    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        top: 72px;
        left: 16px;
        right: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        border: 1px solid var(--gray-200);
        border-radius: 22px;
        padding: 12px;
        background: var(--white);
        box-shadow: var(--shadow-md);
    }

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

    .hero-slide {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .hero-poster {
        max-width: 360px;
        min-height: 420px;
        margin: 0 auto;
    }

    .hero-poster img {
        min-height: 420px;
    }

    .hero-bottom {
        flex-direction: column;
        align-items: stretch;
    }

    .section-heading,
    .footer-grid {
        display: block;
    }

    .section-link {
        display: inline-flex;
        margin-top: 12px;
    }

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

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

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

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

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

    .hero-copy h1,
    .hero-copy h2,
    .page-hero h1,
    .detail-copy h1 {
        letter-spacing: -0.03em;
    }

    .hero-actions,
    .hero-tags,
    .detail-meta {
        gap: 8px;
    }

    .button {
        width: 100%;
    }

    .featured-grid,
    .compact-grid,
    .all-grid,
    .category-grid,
    .category-overview-grid {
        grid-template-columns: 1fr;
    }

    .movie-list-item,
    .ranking-card {
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 12px;
    }

    .card-body {
        padding: 16px;
    }

    .page-hero,
    .compact-page-hero {
        padding: 48px 0;
    }

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

    .prev-next {
        grid-template-columns: 1fr;
    }
}
