:root {
    --bg: #0f172a;
    --bg-soft: #111827;
    --text: #0f172a;
    --muted: #64748b;
    --line: #e2e8f0;
    --white: #ffffff;
    --orange: #f97316;
    --red: #ef4444;
    --pink: #ec4899;
    --amber: #f59e0b;
    --shadow: 0 20px 45px rgba(15, 23, 42, 0.18);
    --radius: 22px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: #f8fafc;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

body.nav-open {
    overflow: hidden;
}

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

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 90;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(18px);
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.22);
}

.header-inner {
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.brand-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--white);
    background: linear-gradient(135deg, var(--orange), var(--red));
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.35);
}

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

.site-nav a {
    color: rgba(255, 255, 255, 0.78);
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 15px;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    font-size: 22px;
}

.hero-carousel {
    position: relative;
    min-height: 75vh;
    overflow: hidden;
    background: radial-gradient(circle at top left, rgba(249, 115, 22, 0.35), transparent 32%), linear-gradient(135deg, #0f172a, #1e293b 45%, #020617);
}

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

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

.hero-bg {
    position: absolute;
    inset: -28px;
    background-position: center;
    background-size: cover;
    filter: blur(20px);
    transform: scale(1.12);
    opacity: 0.72;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9), rgba(15, 23, 42, 0.68) 45%, rgba(15, 23, 42, 0.52));
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 75vh;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) 360px;
    align-items: center;
    gap: 54px;
    padding: 56px 0 96px;
    color: var(--white);
}

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

.hero-kicker,
.detail-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: #fed7aa;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    font-weight: 700;
}

.hero-copy h1 {
    margin: 0 0 24px;
    font-size: clamp(42px, 7vw, 78px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.hero-copy h1 span {
    background: linear-gradient(90deg, #fb923c, #ef4444, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-copy p {
    max-width: 680px;
    margin: 0 0 26px;
    color: #e2e8f0;
    font-size: clamp(18px, 2.2vw, 25px);
    line-height: 1.7;
}

.hero-tags,
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.hero-tags span,
.detail-tags span {
    display: inline-flex;
    padding: 8px 13px;
    border-radius: 999px;
    color: #fff7ed;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 14px;
}

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

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

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

.btn-primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--orange), var(--red));
    box-shadow: 0 16px 38px rgba(239, 68, 68, 0.32);
}

.btn-ghost {
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
}

.hero-poster {
    position: relative;
    display: block;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 36px 90px rgba(0, 0, 0, 0.45);
    transform: rotate(2deg);
    transition: transform 0.3s ease;
}

.hero-poster:hover {
    transform: rotate(0deg) translateY(-6px);
}

.hero-poster img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.1);
}

.hero-poster span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    background: rgba(249, 115, 22, 0.9);
    box-shadow: 0 18px 45px rgba(249, 115, 22, 0.38);
    transform: translate(-50%, -50%);
    font-size: 30px;
}

.hero-search {
    position: absolute;
    left: 50%;
    bottom: 36px;
    z-index: 8;
    width: min(720px, calc(100% - 32px));
    display: flex;
    gap: 10px;
    padding: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(18px);
    transform: translateX(-50%);
}

.hero-search input,
.filter-panel input,
.filter-panel select {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0 16px;
    color: var(--text);
    background: var(--white);
    outline: none;
}

.hero-search button {
    flex: 0 0 auto;
    min-width: 104px;
    border: 0;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(135deg, var(--orange), var(--red));
    font-weight: 800;
    cursor: pointer;
}

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

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

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

.section {
    padding: 64px 0;
}

.section-white {
    background: var(--white);
}

.section-gradient {
    color: var(--white);
    background: linear-gradient(135deg, #7c2d12, #0f172a 52%, #111827);
}

.section-gradient-soft {
    background: linear-gradient(135deg, #fff7ed, #ffffff 45%, #fdf2f8);
}

.category-band {
    color: var(--white);
    background: radial-gradient(circle at 20% 20%, rgba(249, 115, 22, 0.36), transparent 28%), linear-gradient(135deg, #0f172a, #111827);
}

.section-title {
    margin-bottom: 34px;
    text-align: center;
}

.section-title h2 {
    margin: 0 0 8px;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.15;
    font-weight: 900;
    background: linear-gradient(90deg, #ea580c, #dc2626, #db2777);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-title p {
    margin: 0;
    color: var(--muted);
    font-size: 18px;
}

.section-title-light h2,
.section-title-light p,
.section-gradient .section-title p,
.category-band .section-title p {
    color: var(--white);
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
}

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

.section-row-title .section-title {
    margin: 0;
    text-align: left;
}

.section-row-title a {
    flex: 0 0 auto;
    color: var(--orange);
    font-weight: 800;
}

.section-gradient .section-row-title a {
    color: #fed7aa;
}

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

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

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

.movie-card {
    display: block;
    overflow: hidden;
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.movie-card.is-hidden {
    display: none;
}

.poster-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: #e2e8f0;
}

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

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

.year-badge,
.rank-badge {
    position: absolute;
    top: 10px;
    z-index: 2;
    padding: 5px 8px;
    border-radius: 8px;
    color: var(--white);
    background: rgba(15, 23, 42, 0.78);
    font-size: 12px;
    font-weight: 800;
}

.year-badge {
    right: 10px;
}

.rank-badge {
    left: 10px;
    background: linear-gradient(135deg, var(--orange), var(--red));
}

.play-mark {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    background: rgba(249, 115, 22, 0.92);
    transform: translate(-50%, -50%) scale(0.82);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 3;
}

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

.poster-shade {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 16px;
    color: var(--white);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.12) 62%, transparent);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.movie-card:hover .poster-shade {
    opacity: 1;
}

.poster-shade p {
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.55;
}

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

.movie-card-body h3 {
    margin: 0 0 8px;
    color: #1e293b;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 800;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.movie-card:hover .movie-card-body h3 {
    color: var(--orange);
}

.movie-card-body p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.movie-card-small .movie-card-body h3 {
    font-size: 15px;
}

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

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

.category-tile {
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    color: var(--white);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
    transition: transform 0.25s ease, border 0.25s ease;
}

.section-white .category-tile {
    color: var(--text);
    border-color: var(--line);
    background: var(--white);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.category-tile:hover {
    transform: translateY(-6px);
    border-color: rgba(249, 115, 22, 0.55);
}

.category-tile strong {
    display: block;
    margin-bottom: 10px;
    font-size: 22px;
    font-weight: 900;
}

.category-tile p {
    margin: 0 0 16px;
    color: inherit;
    opacity: 0.82;
    line-height: 1.7;
}

.category-tile div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-tile span {
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(249, 115, 22, 0.14);
    color: #fb923c;
    font-size: 12px;
    font-weight: 700;
}

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

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

.ranking-item {
    display: grid;
    grid-template-columns: 42px 58px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, border 0.2s ease;
}

.ranking-item:hover {
    transform: translateX(4px);
    border-color: rgba(249, 115, 22, 0.5);
}

.ranking-no {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--white);
    background: linear-gradient(135deg, var(--orange), var(--red));
    font-weight: 900;
}

.ranking-item img {
    width: 58px;
    height: 76px;
    object-fit: cover;
    border-radius: 10px;
    background: #e2e8f0;
}

.ranking-info {
    min-width: 0;
}

.ranking-info strong,
.ranking-info em {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ranking-info strong {
    margin-bottom: 4px;
    color: #1e293b;
    font-size: 15px;
    font-style: normal;
    font-weight: 900;
}

.ranking-info em {
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
}

.ranking-arrow {
    color: var(--orange);
    font-weight: 900;
}

.sub-hero {
    padding: 86px 0 70px;
    color: var(--white);
    background: radial-gradient(circle at 20% 20%, rgba(249, 115, 22, 0.36), transparent 30%), linear-gradient(135deg, #0f172a, #111827 60%, #7f1d1d);
}

.sub-hero p {
    margin: 0 0 12px;
    color: #fed7aa;
    font-weight: 800;
}

.sub-hero h1 {
    max-width: 920px;
    margin: 0 0 18px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.12;
    font-weight: 900;
}

.crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: rgba(255, 255, 255, 0.76);
}

.section-white .crumbs,
.crumbs:not(.crumbs-light) {
    color: var(--muted);
}

.crumbs a::after {
    content: '/';
    margin-left: 8px;
    color: currentColor;
    opacity: 0.55;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) 180px 180px 180px;
    gap: 12px;
    margin-bottom: 28px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #f8fafc;
}

.filter-panel-large {
    grid-template-columns: minmax(280px, 1fr) 190px 190px 190px;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: #0f172a;
}

.detail-bg {
    position: absolute;
    inset: -26px;
    background-position: center;
    background-size: cover;
    filter: blur(20px);
    transform: scale(1.1);
    opacity: 0.62;
}

.detail-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.86), rgba(15, 23, 42, 0.75));
}

.detail-hero-inner {
    position: relative;
    z-index: 2;
    padding: 44px 0 72px;
}

.detail-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 42px;
    align-items: center;
    margin-top: 26px;
}

.detail-poster {
    width: 100%;
    border-radius: 26px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 28px 72px rgba(0, 0, 0, 0.45);
}

.detail-copy h1 {
    margin: 0 0 16px;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.08;
    font-weight: 900;
}

.detail-line {
    max-width: 850px;
    margin: 0 0 22px;
    color: #e2e8f0;
    font-size: 21px;
    line-height: 1.75;
}

.detail-meta {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    padding: 0;
    margin: 0 0 28px;
    list-style: none;
}

.detail-meta li {
    padding: 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.detail-meta span,
.detail-meta strong {
    display: block;
}

.detail-meta span {
    margin-bottom: 4px;
    color: #fed7aa;
    font-size: 13px;
}

.detail-meta strong {
    color: var(--white);
    font-size: 15px;
}

.player-box {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #020617;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.35);
}

.player-box video {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    background: #020617;
    cursor: pointer;
}

.player-start {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 92px;
    height: 92px;
    border: 0;
    border-radius: 50%;
    color: var(--white);
    background: linear-gradient(135deg, var(--orange), var(--red));
    box-shadow: 0 20px 55px rgba(249, 115, 22, 0.45);
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 4;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.player-start span {
    margin-left: 6px;
    font-size: 38px;
}

.player-start:hover {
    transform: translate(-50%, -50%) scale(1.06);
}

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

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

.story-card {
    padding: 28px;
    border: 1px solid rgba(249, 115, 22, 0.16);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 16px 45px rgba(15, 23, 42, 0.08);
}

.story-card h2 {
    margin: 0 0 14px;
    color: #1e293b;
    font-size: 24px;
    font-weight: 900;
}

.story-card p {
    margin: 0;
    color: #334155;
    line-height: 1.9;
}

.site-footer {
    color: #cbd5e1;
    background: #0f172a;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 42px;
    padding: 54px 0 36px;
}

.footer-brand {
    margin-bottom: 12px;
    color: var(--white);
    font-size: 24px;
    font-weight: 900;
}

.site-footer p {
    margin: 0;
    max-width: 460px;
    line-height: 1.8;
}

.site-footer h3 {
    margin: 0 0 16px;
    color: var(--white);
    font-size: 18px;
}

.footer-links {
    display: grid;
    gap: 9px;
}

.footer-links a {
    color: #cbd5e1;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 16px;
    text-align: center;
    color: #94a3b8;
    font-size: 14px;
}

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

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

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

@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 26px;
        padding-top: 42px;
    }

    .hero-poster {
        width: min(300px, 76vw);
        margin: 0 auto;
    }

    .detail-layout {
        grid-template-columns: 220px minmax(0, 1fr);
    }

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

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

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

@media (max-width: 720px) {
    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .site-nav {
        position: fixed;
        left: 16px;
        right: 16px;
        top: 78px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        border-radius: 20px;
        background: rgba(15, 23, 42, 0.98);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.36);
    }

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

    .site-nav a {
        text-align: center;
    }

    .hero-carousel,
    .hero-content {
        min-height: 84vh;
    }

    .hero-copy h1 {
        font-size: 40px;
    }

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

    .hero-search {
        bottom: 24px;
        border-radius: 24px;
        flex-direction: column;
    }

    .hero-search button {
        min-height: 46px;
    }

    .hero-dots {
        bottom: 128px;
    }

    .section {
        padding: 46px 0;
    }

    .section-row-title {
        display: block;
    }

    .section-row-title a {
        display: inline-block;
        margin-top: 16px;
    }

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

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

    .ranking-list,
    .ranking-list-wide {
        grid-template-columns: 1fr;
    }

    .filter-panel,
    .filter-panel-large {
        grid-template-columns: 1fr;
        border-radius: 20px;
    }

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

    .detail-poster {
        width: min(240px, 70vw);
    }

    .detail-copy h1 {
        font-size: 36px;
    }

    .detail-line {
        font-size: 17px;
    }

    .detail-meta,
    .detail-content,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .player-start {
        width: 74px;
        height: 74px;
    }

    .player-start span {
        font-size: 30px;
    }
}

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

    .movie-grid-featured,
    .movie-grid-list,
    .movie-grid-compact {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

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

    .movie-card-body h3 {
        font-size: 15px;
    }
}
