:root {
    --amber-950: #451a03;
    --amber-900: #78350f;
    --amber-800: #92400e;
    --amber-700: #b45309;
    --amber-600: #d97706;
    --amber-500: #f59e0b;
    --amber-300: #fcd34d;
    --amber-200: #fde68a;
    --amber-100: #fef3c7;
    --amber-50: #fffbeb;
    --ink: #271306;
    --muted: #7c5a2c;
    --paper: #fffaf0;
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(120, 53, 15, 0.14);
    --shadow-strong: 0 30px 80px rgba(69, 26, 3, 0.32);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(252, 211, 77, 0.42), transparent 28rem),
        linear-gradient(180deg, var(--amber-50), #fff7dc 42%, #fff2c0);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

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

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

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: linear-gradient(90deg, rgba(255, 251, 235, 0.96), rgba(254, 243, 199, 0.96), rgba(255, 251, 235, 0.96));
    border-bottom: 1px solid rgba(217, 119, 6, 0.18);
    box-shadow: 0 12px 30px rgba(146, 64, 14, 0.10);
    backdrop-filter: blur(16px);
}

.nav-bar {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

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

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: var(--white);
    font-weight: 900;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--amber-500), var(--amber-800));
    box-shadow: 0 12px 26px rgba(180, 83, 9, 0.28);
}

.brand-text strong,
.brand-text small {
    display: block;
}

.brand-text strong {
    font-size: 20px;
    color: var(--amber-950);
    line-height: 1.1;
}

.brand-text small {
    margin-top: 4px;
    color: var(--amber-700);
    font-size: 12px;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: wrap;
}

.nav-link {
    padding: 9px 12px;
    color: var(--amber-900);
    border-radius: 999px;
    font-weight: 700;
    transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    background: linear-gradient(135deg, var(--amber-500), var(--amber-700));
    transform: translateY(-1px);
}

.nav-link-soft {
    font-size: 14px;
    color: var(--muted);
}

.mobile-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: var(--amber-100);
}

.mobile-menu-button span {
    width: 22px;
    height: 2px;
    display: block;
    margin: 5px auto;
    background: var(--amber-900);
    border-radius: 10px;
}

.mobile-menu {
    display: none;
    padding: 12px 24px 18px;
    border-top: 1px solid rgba(217, 119, 6, 0.16);
    background: rgba(255, 251, 235, 0.98);
}

.mobile-menu a {
    display: block;
    padding: 12px 0;
    color: var(--amber-950);
    font-weight: 700;
}

.mobile-menu.is-open {
    display: block;
}

.hero {
    position: relative;
    min-height: 640px;
    overflow: hidden;
    color: var(--white);
    background: var(--amber-900);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 75% 20%, rgba(253, 230, 138, 0.38), transparent 26rem),
        linear-gradient(115deg, rgba(69, 26, 3, 0.98), rgba(146, 64, 14, 0.92) 46%, rgba(217, 119, 6, 0.88));
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.28;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
    background-size: 44px 44px;
}

.hero-inner {
    position: relative;
    min-height: 640px;
    padding: 56px 0 44px;
}

.hero-slide {
    display: none;
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
    align-items: center;
    gap: 44px;
    min-height: 470px;
}

.hero-slide.is-active {
    display: grid;
    animation: fadeIn 520ms ease both;
}

.hero-kicker,
.eyebrow {
    margin: 0 0 12px;
    color: var(--amber-200);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero h1,
.sub-hero h1,
.detail-hero h1 {
    margin: 0;
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.hero h1 {
    max-width: 780px;
    font-size: clamp(42px, 7vw, 82px);
    text-shadow: 0 18px 38px rgba(69, 26, 3, 0.34);
}

.hero-desc {
    max-width: 760px;
    margin: 24px 0 0;
    color: rgba(255, 251, 235, 0.92);
    font-size: clamp(18px, 2.2vw, 24px);
    line-height: 1.72;
}

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

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

.hero-tags span,
.tag-row span,
.detail-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.hero-tags span {
    color: var(--amber-950);
    background: rgba(254, 243, 199, 0.92);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 900;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

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

.btn-primary {
    color: var(--amber-950);
    background: var(--white);
    box-shadow: 0 18px 35px rgba(255, 255, 255, 0.18);
}

.btn-ghost {
    color: var(--white);
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.36);
}

.btn-outline {
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.72);
}

.hero-poster {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    border-radius: 34px;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    transform: rotate(2deg);
    background: linear-gradient(135deg, var(--amber-700), var(--amber-300));
}

.hero-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(69, 26, 3, 0.48));
}

.hero-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, var(--amber-900), var(--amber-300));
}

.hero-controls {
    display: flex;
    gap: 10px;
    position: absolute;
    left: 0;
    bottom: 110px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.42);
    transition: width 180ms ease, background 180ms ease;
}

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

.hero-search {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 34px;
    display: grid;
    grid-template-columns: 1fr auto;
    max-width: 680px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(16px);
}

.hero-search input,
.toolbar input {
    width: 100%;
    border: 0;
    outline: none;
}

.hero-search input {
    min-height: 46px;
    padding: 0 18px;
    color: var(--white);
    background: transparent;
}

.hero-search input::placeholder {
    color: rgba(255, 251, 235, 0.76);
}

.hero-search button {
    border: 0;
    min-height: 46px;
    padding: 0 24px;
    color: var(--amber-950);
    border-radius: 999px;
    font-weight: 900;
    background: var(--white);
}

.section-block {
    padding: 68px 0;
}

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

.section-heading .eyebrow {
    color: var(--amber-600);
}

.section-heading h2 {
    margin: 0;
    color: var(--amber-950);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.12;
}

.section-heading p {
    max-width: 680px;
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.7;
}

.section-more,
.text-link {
    color: var(--amber-700);
    font-weight: 900;
}

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

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

.movie-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(217, 119, 6, 0.14);
    box-shadow: var(--shadow);
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(217, 119, 6, 0.34);
    box-shadow: 0 28px 60px rgba(146, 64, 14, 0.22);
}

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

.poster-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 420ms ease;
    background: linear-gradient(135deg, var(--amber-900), var(--amber-300));
}

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

.poster-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 46%, rgba(69, 26, 3, 0.62));
}

.card-rank {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 2;
    min-width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: var(--amber-950);
    border-radius: 12px;
    background: var(--amber-200);
    box-shadow: 0 12px 26px rgba(69, 26, 3, 0.26);
}

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

.movie-title {
    display: -webkit-box;
    min-height: 48px;
    overflow: hidden;
    color: var(--amber-950);
    font-size: 18px;
    font-weight: 900;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.movie-title:hover {
    color: var(--amber-600);
}

.movie-meta,
.movie-desc,
.movie-card-footer,
.detail-one-line,
.detail-meta-bar,
.detail-article p,
.detail-side-card dd,
.category-overview-body p,
.sub-hero p {
    color: var(--muted);
}

.movie-meta {
    margin: 8px 0 0;
    font-size: 13px;
    font-weight: 800;
}

.movie-desc {
    display: -webkit-box;
    min-height: 68px;
    margin: 12px 0 0;
    overflow: hidden;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.tag-row {
    margin-top: 14px;
}

.tag-row span,
.detail-tags span {
    color: var(--amber-900);
    background: var(--amber-100);
}

.movie-card-footer {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(217, 119, 6, 0.14);
    font-size: 12px;
    font-weight: 900;
}

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

.category-card,
.category-overview-card,
.detail-side-card,
.detail-article,
.toolbar,
.rank-hero-card {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(217, 119, 6, 0.15);
    box-shadow: var(--shadow);
}

.category-card {
    display: block;
    padding: 16px;
    border-radius: var(--radius-md);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.category-card:hover,
.category-overview-card:hover,
.rank-hero-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 52px rgba(146, 64, 14, 0.20);
}

.category-cover-stack {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    margin-bottom: 16px;
}

.category-cover-stack img,
.category-overview-art img,
.mini-poster-wall img,
.rank-hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, var(--amber-900), var(--amber-300));
}

.category-cover-stack img {
    aspect-ratio: 3 / 4;
    border-radius: 12px;
}

.category-card h3,
.category-overview-body h2,
.detail-side-card h2 {
    margin: 0;
    color: var(--amber-950);
}

.category-card p {
    margin: 9px 0 0;
    color: var(--muted);
    line-height: 1.65;
}

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

.compact-rank .movie-card,
.full-rank-list .movie-card {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    min-height: 168px;
}

.compact-rank .poster-link,
.full-rank-list .poster-link {
    aspect-ratio: auto;
    height: 100%;
}

.compact-rank .movie-card-body,
.full-rank-list .movie-card-body {
    padding: 15px;
}

.compact-rank .movie-title,
.full-rank-list .movie-title {
    min-height: 0;
    font-size: 16px;
}

.compact-rank .movie-desc,
.full-rank-list .movie-desc {
    min-height: 48px;
    -webkit-line-clamp: 2;
}

.sub-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    padding: 74px 0;
    color: var(--white);
    background:
        radial-gradient(circle at 80% 12%, rgba(252, 211, 77, 0.28), transparent 26rem),
        linear-gradient(135deg, var(--amber-950), var(--amber-800) 56%, var(--amber-600));
}

.sub-hero h1,
.detail-hero h1 {
    font-size: clamp(36px, 5vw, 64px);
}

.sub-hero p {
    max-width: 760px;
    margin-top: 18px;
    color: rgba(255, 251, 235, 0.88);
    font-size: 18px;
    line-height: 1.75;
}

.two-col-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.65fr);
    align-items: center;
    gap: 38px;
}

.small-actions {
    margin-top: 22px;
}

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

.mini-poster-wall a {
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(69, 26, 3, 0.24);
}

.toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
    padding: 14px;
    border-radius: 22px;
}

.toolbar input {
    min-height: 46px;
    padding: 0 16px;
    color: var(--amber-950);
    border-radius: 999px;
    background: var(--amber-50);
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.filter-btn {
    min-height: 40px;
    padding: 0 14px;
    border: 0;
    border-radius: 999px;
    color: var(--amber-900);
    font-weight: 900;
    background: var(--amber-100);
}

.filter-btn.is-active,
.filter-btn:hover {
    color: var(--white);
    background: var(--amber-700);
}

.category-overview-grid {
    display: grid;
    gap: 24px;
}

.category-overview-card {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 28px;
    padding: 20px;
    border-radius: var(--radius-lg);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.category-overview-art {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.category-overview-art img {
    aspect-ratio: 3 / 4;
    border-radius: 14px;
}

.category-overview-body .eyebrow {
    color: var(--amber-600);
}

.category-overview-body h2 {
    font-size: 30px;
}

.category-overview-body p {
    line-height: 1.78;
}

.category-overview-body ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
    padding: 0;
    margin: 18px 0;
    list-style: none;
}

.category-overview-body li a {
    color: var(--amber-800);
    font-weight: 800;
}

.rank-hero-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.rank-hero-card {
    position: relative;
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 14px;
    color: var(--amber-950);
    border-radius: 22px;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.rank-hero-card span {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: var(--white);
    border-radius: 12px;
    background: var(--amber-700);
    font-weight: 900;
}

.rank-hero-card img {
    width: 92px;
    aspect-ratio: 3 / 4;
    border-radius: 15px;
}

.rank-hero-card strong,
.rank-hero-card small {
    display: block;
    grid-column: 2;
}

.rank-hero-card strong {
    font-size: 18px;
}

.rank-hero-card small {
    margin-top: 6px;
    color: var(--muted);
    line-height: 1.55;
}

.breadcrumb {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 26px;
    color: rgba(255, 251, 235, 0.88);
    font-weight: 800;
}

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

.player-shell {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 30px;
    background: #000000;
    box-shadow: var(--shadow-strong);
}

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

.player-cover {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    cursor: pointer;
    transition: opacity 220ms ease, visibility 220ms ease;
}

.player-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.48) blur(1px);
    transform: scale(1.03);
    background: linear-gradient(135deg, var(--amber-900), var(--amber-300));
}

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

.play-button {
    position: relative;
    z-index: 2;
    width: 92px;
    height: 92px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.35);
}

.play-button span {
    display: block;
    width: 0;
    height: 0;
    margin-left: 36px;
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
    border-left: 28px solid var(--amber-800);
}

.player-column h1 {
    margin-top: 30px;
}

.detail-one-line {
    max-width: 850px;
    margin: 18px 0 0;
    color: rgba(255, 251, 235, 0.90);
    font-size: 20px;
    line-height: 1.75;
}

.detail-meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.detail-meta-bar span {
    padding: 8px 13px;
    color: var(--amber-950);
    border-radius: 999px;
    background: rgba(255, 251, 235, 0.90);
    font-weight: 900;
}

.detail-side-card {
    padding: 18px;
    border-radius: var(--radius-lg);
}

.detail-side-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--amber-900), var(--amber-300));
}

.detail-side-card h2 {
    margin-top: 18px;
}

.detail-side-card dl {
    margin: 16px 0 0;
}

.detail-side-card div {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid rgba(217, 119, 6, 0.15);
}

.detail-side-card dt {
    color: var(--amber-800);
    font-weight: 900;
}

.detail-side-card dd {
    margin: 0;
    line-height: 1.55;
}

.detail-content {
    padding: 68px 0 0;
}

.detail-article {
    padding: 34px;
    border-radius: var(--radius-lg);
}

.detail-article .eyebrow {
    color: var(--amber-600);
}

.detail-article h2 {
    margin: 0 0 16px;
    color: var(--amber-950);
    font-size: 30px;
}

.detail-article p {
    margin: 0;
    font-size: 17px;
    line-height: 1.95;
}

.second-eyebrow {
    margin-top: 34px;
}

.detail-tags {
    margin-top: 28px;
}

.site-footer {
    margin-top: 40px;
    color: var(--amber-50);
    background: linear-gradient(180deg, var(--amber-900), var(--amber-950));
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 28px;
    padding: 48px 0;
}

.site-footer h2 {
    margin: 0 0 14px;
    color: var(--amber-200);
    font-size: 18px;
}

.site-footer p,
.site-footer a,
.footer-bottom {
    color: rgba(255, 251, 235, 0.82);
    line-height: 1.75;
}

.site-footer ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.site-footer li + li {
    margin-top: 9px;
}

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

.footer-bottom {
    padding: 18px;
    text-align: center;
    border-top: 1px solid rgba(253, 230, 138, 0.16);
}

.is-filtered-out {
    display: none !important;
}

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

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

    .mobile-menu-button {
        display: block;
    }

    .hero-slide,
    .two-col-hero,
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .hero-controls,
    .hero-search {
        position: static;
        margin-top: 24px;
    }

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

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

    .category-overview-card {
        grid-template-columns: 1fr;
    }

    .rank-hero-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

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

    .nav-bar {
        height: 64px;
    }

    .brand-text small {
        display: none;
    }

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

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

    .hero-slide {
        gap: 28px;
        min-height: 0;
    }

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

    .hero-actions,
    .toolbar,
    .section-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-search {
        grid-template-columns: 1fr;
        border-radius: 22px;
    }

    .hero-search button {
        margin-top: 8px;
    }

    .movie-grid,
    .movie-grid-featured,
    .rank-list,
    .category-grid {
        grid-template-columns: 1fr;
    }

    .compact-rank .movie-card,
    .full-rank-list .movie-card {
        grid-template-columns: 96px minmax(0, 1fr);
    }

    .category-overview-body ul {
        grid-template-columns: 1fr;
    }

    .detail-hero,
    .sub-hero,
    .section-block,
    .detail-content {
        padding: 42px 0;
    }

    .detail-article {
        padding: 24px;
    }
}
