:root {
    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-200: #fde68a;
    --amber-400: #f59e0b;
    --amber-500: #f97316;
    --amber-600: #d97706;
    --orange-600: #ea580c;
    --red-500: #ef4444;
    --emerald-50: #ecfdf5;
    --cyan-50: #ecfeff;
    --blue-50: #eff6ff;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-500: #64748b;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --white: #ffffff;
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
    --shadow-card: 0 14px 28px rgba(15, 23, 42, 0.10);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--slate-800);
    background: linear-gradient(180deg, #fff7ed 0%, #ffffff 34%, #f8fafc 100%);
    min-height: 100vh;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: linear-gradient(90deg, rgba(255, 251, 235, 0.96), rgba(255, 247, 237, 0.96), rgba(255, 251, 235, 0.96));
    border-bottom: 1px solid rgba(251, 191, 36, 0.28);
    box-shadow: 0 12px 32px rgba(217, 119, 6, 0.12);
    backdrop-filter: blur(16px);
}

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

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
}

.brand-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: var(--white);
    background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
    box-shadow: 0 12px 26px rgba(249, 115, 22, 0.32);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-copy strong {
    font-size: 21px;
    background: linear-gradient(90deg, var(--amber-600), var(--orange-600));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-copy small {
    margin-top: 4px;
    color: var(--slate-500);
    font-size: 12px;
    font-weight: 600;
}

.desktop-nav,
.mobile-nav,
.footer-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.desktop-nav a,
.mobile-nav a {
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--slate-700);
    font-weight: 700;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
    color: var(--amber-600);
    background: rgba(251, 191, 36, 0.15);
    transform: translateY(-1px);
}

.menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    color: var(--amber-600);
    background: rgba(251, 191, 36, 0.16);
    cursor: pointer;
}

.mobile-nav {
    display: none;
    width: min(100% - 32px, var(--container));
    margin: 0 auto 14px;
    padding: 10px;
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow-card);
}

.hero-section {
    position: relative;
    padding: 34px 0 50px;
    overflow: hidden;
}

.hero-section::before,
.hero-section::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    filter: blur(28px);
    opacity: 0.35;
    pointer-events: none;
}

.hero-section::before {
    top: -120px;
    left: -90px;
    background: #fbbf24;
}

.hero-section::after {
    right: -120px;
    bottom: -110px;
    background: #fb7185;
}

.hero-shell {
    position: relative;
    z-index: 1;
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
}

.hero-slider {
    position: relative;
    min-height: 540px;
    border-radius: 34px;
    overflow: hidden;
    box-shadow: 0 35px 70px rgba(146, 64, 14, 0.26);
    background: var(--slate-900);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: center;
    gap: 44px;
    padding: 62px;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
}

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

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(15, 23, 42, 0.92), rgba(124, 45, 18, 0.76), rgba(15, 23, 42, 0.52)), var(--hero-image);
    background-size: cover;
    background-position: center;
    transform: scale(1.06);
}

.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 22% 28%, rgba(251, 191, 36, 0.34), transparent 32%), linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.45));
}

.hero-copy,
.hero-poster {
    position: relative;
    z-index: 2;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    color: #92400e;
    background: rgba(251, 191, 36, 0.18);
    padding: 7px 13px;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.04em;
}

.hero-copy .eyebrow {
    color: #fef3c7;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.26);
    backdrop-filter: blur(8px);
}

.hero-copy h1,
.hero-copy h2 {
    margin: 20px 0 18px;
    max-width: 780px;
    color: var(--white);
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

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

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

.hero-tags span,
.detail-meta span,
.ranking-meta span,
.movie-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 700;
}

.hero-tags span {
    color: #fffbeb;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

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

.primary-button,
.ghost-button,
.rank-action,
.text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
    min-height: 46px;
    padding: 0 22px;
    color: var(--white);
    background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
    box-shadow: 0 16px 30px rgba(249, 115, 22, 0.32);
}

.primary-button.small {
    min-height: 40px;
    padding: 0 18px;
    font-size: 14px;
}

.ghost-button {
    min-height: 46px;
    padding: 0 22px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(8px);
}

.ghost-button.dark {
    color: var(--slate-700);
    background: rgba(255, 255, 255, 0.78);
    border-color: rgba(217, 119, 6, 0.22);
}

.primary-button:hover,
.ghost-button:hover,
.rank-action:hover,
.text-link:hover {
    transform: translateY(-2px);
}

.hero-poster {
    display: block;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
    transform: rotate(2deg);
}

.hero-poster img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.18), rgba(249, 115, 22, 0.16));
}

.hero-control-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-top: 18px;
}

.hero-dots,
.hero-quick-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 999px;
    background: #fcd34d;
    opacity: 0.46;
    cursor: pointer;
    transition: width 0.2s ease, opacity 0.2s ease;
}

.hero-dot.is-active {
    width: 32px;
    opacity: 1;
    background: var(--amber-500);
}

.hero-quick-links a {
    color: var(--amber-600);
    font-weight: 800;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 8px 20px rgba(217, 119, 6, 0.12);
}

.search-panel,
.filter-bar,
.content-section,
.category-strip,
.ranking-section,
.detail-content,
.player-section,
.inner-hero,
.detail-hero,
.category-overview-list {
    width: min(100% - 32px, var(--container));
    margin-left: auto;
    margin-right: auto;
}

.search-panel {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 430px);
    gap: 24px;
    align-items: center;
    padding: 28px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-card);
    margin-top: 12px;
}

.search-panel h2,
.section-heading h2,
.inner-hero h1,
.detail-copy h1,
.article-card h2,
.category-overview-card h2 {
    margin: 10px 0 0;
    color: var(--slate-900);
    letter-spacing: -0.03em;
}

.search-box,
.select-box {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 0 14px;
    border: 1px solid rgba(217, 119, 6, 0.20);
    border-radius: 16px;
    background: var(--white);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.search-box span,
.select-box span {
    color: var(--amber-600);
    font-weight: 800;
}

.search-box input,
.select-box select {
    width: 100%;
    border: 0;
    outline: 0;
    color: var(--slate-800);
    background: transparent;
}

.content-section,
.category-strip,
.ranking-section,
.detail-content,
.player-section {
    margin-top: 54px;
}

.content-section {
    padding: 18px 0;
}

.content-section.soft-blue,
.content-section.soft-amber,
.category-strip {
    padding: 38px;
    border-radius: 32px;
}

.content-section.soft-blue {
    background: linear-gradient(135deg, var(--blue-50), var(--cyan-50));
}

.content-section.soft-amber {
    background: linear-gradient(135deg, var(--amber-50), #fff7ed);
}

.category-strip {
    background: linear-gradient(135deg, #022c22, #064e3b, #0f766e);
    box-shadow: var(--shadow-soft);
}

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

.section-heading h2 {
    font-size: clamp(28px, 3vw, 38px);
}

.section-heading > a {
    color: var(--amber-600);
    font-weight: 800;
}

.section-heading.light h2,
.section-heading.light > a {
    color: var(--white);
}

.section-heading.light .section-kicker {
    color: #fef3c7;
    background: rgba(255, 255, 255, 0.14);
}

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

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

.movie-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(226, 232, 240, 0.84);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(251, 191, 36, 0.72);
    box-shadow: 0 24px 46px rgba(15, 23, 42, 0.16);
}

.poster-link {
    position: relative;
    display: block;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.18), rgba(249, 115, 22, 0.14));
}

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

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

.poster-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    display: inline-flex;
    padding: 6px 9px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(15, 23, 42, 0.74);
    font-size: 12px;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

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

.movie-meta span {
    color: var(--amber-600);
    background: rgba(251, 191, 36, 0.16);
}

.movie-card h3 {
    margin: 12px 0 8px;
    color: var(--slate-900);
    font-size: 18px;
    line-height: 1.35;
}

.movie-card p {
    margin: 0 0 14px;
    color: var(--slate-500);
    line-height: 1.65;
    font-size: 14px;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 12px 0 14px;
}

.tag-list span {
    display: inline-flex;
    border-radius: 999px;
    padding: 5px 9px;
    color: #9a3412;
    background: #ffedd5;
    font-size: 12px;
    font-weight: 700;
}

.large-tags span {
    font-size: 13px;
    padding: 7px 11px;
}

.text-link {
    color: var(--amber-600);
    font-size: 14px;
}

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

.category-card {
    position: relative;
    overflow: hidden;
    min-height: 180px;
    border-radius: 24px;
    color: var(--white);
    background: #0f172a;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
}

.category-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.46;
    transform: scale(1.05);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.78) 100%);
}

.category-card span {
    position: absolute;
    z-index: 1;
    left: 18px;
    right: 18px;
    bottom: 18px;
}

.category-card strong {
    display: block;
    font-size: 19px;
}

.category-card small {
    display: -webkit-box;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.45;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-card:hover img {
    transform: scale(1.12);
    opacity: 0.62;
}

.inner-hero,
.detail-hero {
    margin-top: 36px;
    padding: 46px;
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(255, 251, 235, 0.94), rgba(255, 247, 237, 0.92));
    box-shadow: var(--shadow-card);
}

.inner-hero h1,
.detail-copy h1 {
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.08;
}

.inner-hero p,
.detail-lead {
    max-width: 850px;
    color: var(--slate-500);
    font-size: 18px;
    line-height: 1.85;
}

.category-hero,
.ranking-hero {
    background: linear-gradient(135deg, #fff7ed, #fffbeb, #fef3c7);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: var(--slate-500);
    font-size: 14px;
    margin-top: 18px;
}

.breadcrumb a {
    color: var(--amber-600);
    font-weight: 800;
}

.filter-bar {
    display: grid;
    grid-template-columns: 1fr 220px 220px;
    gap: 14px;
    margin-top: 24px;
    padding: 18px;
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--shadow-card);
}

.empty-state {
    display: none;
    text-align: center;
    color: var(--slate-500);
    padding: 30px;
    border-radius: 22px;
    background: var(--white);
}

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

.category-overview-list {
    display: grid;
    gap: 24px;
    margin-top: 34px;
}

.category-overview-card {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 28px;
    align-items: center;
    padding: 28px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-card);
}

.category-overview-head p {
    color: var(--slate-500);
    line-height: 1.75;
}

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

.mini-card {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 18px;
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.mini-card:hover {
    transform: translateY(-3px);
    border-color: rgba(251, 191, 36, 0.74);
}

.mini-card img {
    width: 72px;
    height: 96px;
    object-fit: cover;
    border-radius: 14px;
    background: #f8fafc;
}

.mini-card strong,
.mini-card small {
    display: block;
}

.mini-card strong {
    color: var(--slate-900);
    line-height: 1.35;
}

.mini-card small {
    margin-top: 7px;
    color: var(--slate-500);
}

.ranking-section {
    margin-bottom: 60px;
}

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

.ranking-row {
    display: grid;
    grid-template-columns: 92px 58px 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-card);
}

.ranking-cover img {
    width: 92px;
    height: 122px;
    object-fit: cover;
    border-radius: 16px;
    background: #f8fafc;
}

.ranking-number {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: var(--white);
    background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
    font-weight: 900;
}

.ranking-content h2 {
    margin: 0 0 8px;
    font-size: 21px;
}

.ranking-content p {
    margin: 0 0 10px;
    color: var(--slate-500);
    line-height: 1.65;
}

.ranking-meta span {
    color: var(--slate-700);
    background: var(--slate-100);
}

.rank-action {
    min-height: 40px;
    padding: 0 18px;
    color: var(--amber-600);
    background: #ffedd5;
}

.detail-hero {
    background: linear-gradient(135deg, #0f172a, #7c2d12 55%, #111827);
    color: var(--white);
    overflow: hidden;
}

.detail-hero .breadcrumb,
.detail-hero .breadcrumb a {
    color: rgba(255, 255, 255, 0.76);
}

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

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

.detail-poster img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.16), rgba(249, 115, 22, 0.16));
}

.detail-copy h1,
.detail-copy .detail-lead {
    color: var(--white);
}

.detail-copy .section-kicker {
    color: #fef3c7;
    background: rgba(255, 255, 255, 0.14);
}

.detail-lead {
    color: rgba(255, 255, 255, 0.78);
}

.detail-meta span {
    color: #fffbeb;
    background: rgba(255, 255, 255, 0.14);
}

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

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

.video-start {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 14px;
    border: 0;
    color: var(--white);
    background: radial-gradient(circle at center, rgba(249, 115, 22, 0.45), rgba(15, 23, 42, 0.62));
    cursor: pointer;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

.video-start.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.play-icon {
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--amber-600);
    background: var(--white);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.26);
    font-size: 30px;
    padding-left: 5px;
}

.video-start strong {
    font-size: 20px;
}

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

.article-card {
    padding: 30px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-card);
}

.article-card h2 {
    font-size: 28px;
}

.article-card p {
    color: var(--slate-600);
    line-height: 1.9;
    font-size: 16px;
}

.site-footer {
    margin-top: 70px;
    padding: 48px 0 28px;
    color: rgba(255, 255, 255, 0.72);
    background: linear-gradient(135deg, #111827, #0f172a);
}

.footer-grid {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 36px;
}

.footer-brand {
    color: var(--white);
    font-size: 22px;
}

.site-footer p {
    max-width: 420px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.64);
}

.site-footer h2 {
    margin: 0 0 14px;
    color: var(--white);
    font-size: 17px;
}

.footer-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
}

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

.footer-bottom {
    width: min(100% - 32px, var(--container));
    margin: 34px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.11);
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
}

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

    .hero-slide {
        grid-template-columns: 1fr 260px;
        padding: 42px;
    }

    .filter-bar {
        grid-template-columns: 1fr 1fr;
    }

    .filter-bar .search-box {
        grid-column: 1 / -1;
    }

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

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

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

    .menu-button {
        display: inline-grid;
        place-items: center;
    }

    .mobile-nav.is-open {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .hero-slider {
        min-height: 720px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        align-content: center;
        padding: 30px;
    }

    .hero-poster {
        max-width: 230px;
        transform: none;
    }

    .hero-copy h1,
    .hero-copy h2 {
        font-size: 36px;
    }

    .hero-control-row,
    .section-heading,
    .search-panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .search-panel {
        display: flex;
    }

    .movie-grid,
    .movie-grid.three-columns,
    .category-grid,
    .mini-card-grid,
    .detail-content {
        grid-template-columns: 1fr;
    }

    .filter-bar {
        grid-template-columns: 1fr;
    }

    .inner-hero,
    .detail-hero,
    .content-section.soft-blue,
    .content-section.soft-amber,
    .category-strip {
        padding: 26px;
        border-radius: 24px;
    }

    .ranking-row {
        grid-template-columns: 72px 1fr;
    }

    .ranking-cover img {
        width: 72px;
        height: 96px;
    }

    .ranking-number,
    .rank-action {
        grid-column: 1 / -1;
    }

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

@media (max-width: 520px) {
    .brand-copy strong {
        font-size: 17px;
    }

    .brand-icon {
        width: 38px;
        height: 38px;
    }

    .hero-slider {
        min-height: 760px;
        border-radius: 24px;
    }

    .hero-slide {
        padding: 24px;
    }

    .hero-actions,
    .compact-actions {
        flex-direction: column;
        align-items: stretch;
    }

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

    .detail-copy h1,
    .inner-hero h1 {
        font-size: 32px;
    }
}
