:root {
    --page-bg: #fff7ed;
    --paper: #ffffff;
    --paper-soft: #fffbeb;
    --ink: #111827;
    --muted: #6b7280;
    --line: #fed7aa;
    --brand: #ea580c;
    --brand-dark: #c2410c;
    --rose: #fb7185;
    --amber: #f59e0b;
    --shadow: 0 24px 60px rgba(124, 45, 18, 0.16);
    --soft-shadow: 0 14px 34px rgba(124, 45, 18, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    background: linear-gradient(135deg, #fffbeb 0%, #fff7ed 45%, #fff1f2 100%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.82);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 30px rgba(251, 146, 60, 0.12);
    backdrop-filter: blur(16px);
}

.header-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

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

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    border-radius: 14px;
    box-shadow: 0 16px 32px rgba(234, 88, 12, 0.24);
}

.brand-text strong {
    display: block;
    font-size: 24px;
    line-height: 1;
    letter-spacing: -0.04em;
    background: linear-gradient(90deg, #b45309, #ea580c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-text em {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-link {
    position: relative;
    color: #374151;
    font-weight: 700;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #f59e0b, #fb7185);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--brand);
}

.nav-link:hover::after,
.nav-link.is-active::after {
    transform: scaleX(1);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: #fff7ed;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background: #7c2d12;
    border-radius: 999px;
}

.hero {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    background: #111827;
}

.hero-rail {
    position: relative;
    min-height: 620px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

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

.hero-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(14px) saturate(1.18);
    transform: scale(1.08);
    opacity: 0.45;
}

.hero-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 75% 35%, rgba(251, 146, 60, 0.4), transparent 34%), linear-gradient(90deg, rgba(17, 24, 39, 0.94), rgba(17, 24, 39, 0.68) 46%, rgba(17, 24, 39, 0.38));
}

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

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

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 8px 14px;
    color: #fff7ed;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.hero h1,
.hero h2 {
    margin: 24px 0 18px;
    font-size: clamp(44px, 7vw, 82px);
    line-height: 0.96;
    letter-spacing: -0.06em;
}

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

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

.hero-tags {
    margin-top: 24px;
}

.hero-tags span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    color: #7c2d12;
    background: #ffedd5;
    border: 1px solid #fed7aa;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

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

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

.primary-btn {
    color: #ffffff;
    background: linear-gradient(135deg, #f59e0b, #ea580c, #fb7185);
    box-shadow: 0 18px 38px rgba(234, 88, 12, 0.34);
}

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

.ghost-btn.dark {
    color: #7c2d12;
    background: #ffffff;
    border-color: #fed7aa;
}

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

.hero-poster {
    position: relative;
    display: block;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transform: rotate(2deg);
}

.hero-poster::before {
    content: "";
    position: absolute;
    inset: 16px -20px -18px 20px;
    z-index: -1;
    background: linear-gradient(135deg, #f59e0b, #fb7185);
    border-radius: 32px;
    opacity: 0.72;
}

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

.hero-poster span {
    position: absolute;
    top: 18px;
    right: 18px;
    display: grid;
    place-items: center;
    min-width: 56px;
    height: 40px;
    color: #ffffff;
    background: linear-gradient(135deg, #ea580c, #e11d48);
    border-radius: 999px;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(225, 29, 72, 0.32);
}

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

.hero-dot {
    width: 34px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.36);
    cursor: pointer;
}

.hero-dot.is-active {
    background: linear-gradient(90deg, #f59e0b, #fb7185);
}

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

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

.section-head.compact {
    align-items: center;
    margin-bottom: 20px;
}

.section-head h2 {
    margin: 10px 0 0;
    color: #111827;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.section-head a {
    color: var(--brand);
    font-weight: 900;
}

.section-kicker {
    color: #9a3412;
    background: #ffedd5;
    border-color: #fed7aa;
}

.search-panel {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto;
    gap: 18px;
    margin-bottom: 28px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid #fed7aa;
    border-radius: 24px;
    box-shadow: var(--soft-shadow);
    backdrop-filter: blur(12px);
}

.search-panel label span {
    display: block;
    margin-bottom: 8px;
    color: #9a3412;
    font-size: 13px;
    font-weight: 900;
}

.search-panel input {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: 1px solid #fdba74;
    border-radius: 16px;
    background: #ffffff;
    color: var(--ink);
    outline: none;
}

.search-panel input:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(251, 146, 60, 0.18);
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 8px;
}

.filter-btn {
    height: 42px;
    padding: 0 14px;
    border: 1px solid #fed7aa;
    border-radius: 999px;
    color: #7c2d12;
    background: #fff7ed;
    cursor: pointer;
    font-weight: 800;
}

.filter-btn.is-active {
    color: #ffffff;
    border-color: transparent;
    background: linear-gradient(135deg, #f59e0b, #ea580c);
}

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

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

.movie-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #ffedd5;
    border-radius: 24px;
    box-shadow: var(--soft-shadow);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.movie-card:hover {
    transform: translateY(-7px);
    border-color: #fdba74;
    box-shadow: var(--shadow);
}

.movie-card figure {
    position: relative;
    margin: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #fed7aa, #fecdd3);
}

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

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

.movie-card figure b {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 30px;
    color: #ffffff;
    background: rgba(17, 24, 39, 0.78);
    border-radius: 999px;
    font-size: 13px;
    backdrop-filter: blur(8px);
}

.card-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 16px;
}

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

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

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 12px;
    color: #9a3412;
    font-size: 12px;
    font-weight: 800;
}

.tag-row {
    margin-top: auto;
}

.warm-section {
    width: 100%;
    max-width: none;
    padding: 68px max(16px, calc((100% - 1180px) / 2));
    background: linear-gradient(135deg, #f59e0b, #fb7185);
}

.section-head.light h2,
.section-head.light a,
.section-head.light .section-kicker {
    color: #ffffff;
}

.section-head.light .section-kicker {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.26);
}

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

.category-tile,
.overview-card {
    position: relative;
    overflow: hidden;
    min-height: 220px;
    padding: 22px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 24px 50px rgba(124, 45, 18, 0.2);
}

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

.category-tile:hover img {
    transform: scale(1.08);
}

.category-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 247, 237, 0.96));
}

.category-tile div {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 176px;
    flex-direction: column;
    justify-content: flex-end;
}

.category-tile h3,
.overview-card h2 {
    margin: 0 0 10px;
    font-size: 22px;
}

.category-tile p,
.overview-card p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.7;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 410px;
    align-items: start;
    gap: 32px;
}

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

.compact-card {
    min-width: 0;
}

.compact-card img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: var(--soft-shadow);
    transition: transform 0.2s ease;
}

.compact-card:hover img {
    transform: translateY(-4px);
}

.compact-card span {
    display: block;
    margin-top: 10px;
    font-weight: 900;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.compact-card em {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
}

.rank-panel,
.side-panel,
.detail-card,
.poster-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ffedd5;
    border-radius: 28px;
    box-shadow: var(--soft-shadow);
}

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

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

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

.rank-item {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) 50px;
    gap: 16px;
    align-items: center;
    min-width: 0;
    padding: 12px;
    background: #ffffff;
    border: 1px solid #ffedd5;
    border-radius: 20px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.rank-item:hover {
    transform: translateY(-3px);
    border-color: #fb923c;
}

.rank-item img {
    width: 96px;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 14px;
}

.rank-item h3 {
    margin: 0 0 8px;
    font-size: 17px;
}

.rank-item p {
    display: -webkit-box;
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.58;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.rank-item span {
    color: #9a3412;
    font-size: 12px;
    font-weight: 800;
}

.rank-item strong {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: #ffffff;
    background: linear-gradient(135deg, #f97316, #e11d48);
    border-radius: 14px;
    font-size: 14px;
}

.page-hero {
    width: min(1180px, calc(100% - 32px));
    margin: 42px auto 0;
    padding: 70px 32px;
    text-align: center;
    background: radial-gradient(circle at top right, rgba(251, 113, 133, 0.34), transparent 34%), linear-gradient(135deg, #7c2d12, #ea580c 52%, #fb7185);
    border-radius: 34px;
    box-shadow: var(--shadow);
}

.page-hero h1 {
    margin: 18px 0 16px;
    color: #ffffff;
    font-size: clamp(40px, 7vw, 70px);
    line-height: 1;
    letter-spacing: -0.06em;
}

.page-hero p {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.84);
    font-size: 18px;
    line-height: 1.8;
}

.center-actions {
    justify-content: center;
}

.overview-card {
    min-height: 280px;
    color: var(--ink);
}

.overview-thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 18px;
}

.overview-thumbs img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 12px;
}

.overview-card span {
    display: inline-flex;
    margin-top: 18px;
    color: var(--brand);
    font-weight: 900;
}

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

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 18px;
    color: #7c2d12;
    font-size: 14px;
    font-weight: 800;
}

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

.watch-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: start;
}

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

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

.play-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    color: #ffffff;
    background: radial-gradient(circle, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.55));
    cursor: pointer;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.play-overlay span {
    display: grid;
    place-items: center;
    width: 86px;
    height: 86px;
    padding-left: 6px;
    background: linear-gradient(135deg, #f59e0b, #e11d48);
    border-radius: 999px;
    box-shadow: 0 22px 44px rgba(225, 29, 72, 0.36);
    font-size: 34px;
}

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

.detail-card {
    margin-top: 22px;
    padding: 28px;
}

.detail-card h1 {
    margin: 0 0 12px;
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.detail-card .lead {
    margin: 0 0 18px;
    color: #4b5563;
    font-size: 18px;
    line-height: 1.8;
}

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

.detail-meta span {
    padding: 8px 12px;
    color: #7c2d12;
    background: #ffedd5;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
}

.detail-tags {
    margin-bottom: 24px;
}

.detail-card h2 {
    margin: 28px 0 10px;
    font-size: 24px;
}

.detail-card p {
    color: #374151;
    font-size: 16px;
    line-height: 1.9;
}

.poster-card {
    display: block;
    overflow: hidden;
}

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

.poster-card strong,
.poster-card span {
    display: block;
    padding: 0 18px;
}

.poster-card strong {
    margin-top: 18px;
    font-size: 22px;
}

.poster-card span {
    margin: 8px 0 20px;
    color: var(--muted);
}

.side-panel {
    margin-top: 20px;
    padding: 20px;
}

.side-panel h2 {
    margin: 0 0 16px;
}

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

.empty-result {
    display: none;
    padding: 24px;
    text-align: center;
    color: #9a3412;
    background: #ffedd5;
    border-radius: 18px;
    font-weight: 900;
}

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

.is-hidden-by-filter {
    display: none !important;
}

.site-footer {
    margin-top: 86px;
    padding: 48px 0 28px;
    background: linear-gradient(180deg, #ffedd5, #fed7aa);
    border-top: 1px solid #fdba74;
}

.footer-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
}

.footer-inner h2,
.footer-inner h3 {
    margin: 0 0 14px;
}

.footer-inner p {
    margin: 0;
    max-width: 520px;
    color: #7c2d12;
    line-height: 1.8;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-links a {
    padding: 8px 12px;
    color: #7c2d12;
    background: rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    font-weight: 800;
}

.footer-bottom {
    width: min(1180px, calc(100% - 32px));
    margin: 36px auto 0;
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: #9a3412;
    border-top: 1px solid #fdba74;
    font-size: 14px;
    font-weight: 800;
}

@media (max-width: 1080px) {
    .hero-content,
    .watch-layout,
    .split-section,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .hero-poster,
    .rank-panel {
        position: static;
    }

    .hero-poster {
        max-width: 330px;
    }

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

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

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

@media (max-width: 760px) {
    .header-inner {
        min-height: 66px;
    }

    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        left: 16px;
        right: 16px;
        top: 74px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px;
        background: #ffffff;
        border: 1px solid #fed7aa;
        border-radius: 20px;
        box-shadow: var(--shadow);
    }

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

    .nav-link {
        padding: 12px 10px;
    }

    .nav-link::after {
        display: none;
    }

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

    .hero,
    .hero-rail,
    .hero-content {
        min-height: 720px;
    }

    .hero-content {
        gap: 28px;
        padding: 44px 0 86px;
    }

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

    .hero-actions,
    .center-actions {
        flex-direction: column;
    }

    .primary-btn,
    .ghost-btn {
        width: 100%;
    }

    .section,
    .page-hero,
    .detail-shell {
        width: min(100% - 24px, 1180px);
    }

    .section {
        margin-top: 52px;
    }

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

    .movie-grid,
    .movie-grid-featured,
    .compact-grid,
    .category-grid,
    .overview-grid,
    .side-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .card-copy {
        padding: 13px;
    }

    .card-copy h3 {
        font-size: 16px;
    }

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

    .rank-item img {
        width: 76px;
    }

    .rank-item strong {
        display: none;
    }

    .page-hero {
        padding: 48px 20px;
        border-radius: 26px;
    }

    .detail-card {
        padding: 20px;
    }

    .footer-inner,
    .footer-bottom {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
}

@media (max-width: 460px) {
    .movie-grid,
    .movie-grid-featured,
    .compact-grid,
    .category-grid,
    .overview-grid,
    .side-grid {
        grid-template-columns: 1fr;
    }

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