:root {
    color-scheme: dark;
    --bg: #020617;
    --panel: #0f172a;
    --panel-soft: rgba(15, 23, 42, 0.82);
    --panel-light: #1e293b;
    --border: rgba(148, 163, 184, 0.18);
    --text: #f8fafc;
    --muted: #94a3b8;
    --soft: #cbd5e1;
    --cyan: #22d3ee;
    --cyan-strong: #06b6d4;
    --blue: #2563eb;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(34, 211, 238, 0.16), transparent 32rem),
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.14), transparent 30rem),
        var(--bg);
    color: var(--text);
}

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;
    border-bottom: 1px solid var(--border);
    background: rgba(2, 6, 23, 0.82);
    backdrop-filter: blur(18px);
}

.header-inner {
    width: min(1320px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 26px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--cyan);
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.04em;
    white-space: nowrap;
}

.brand-mark {
    width: 36px;
    height: 36px;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    color: white;
    font-size: 18px;
    box-shadow: 0 10px 32px rgba(34, 211, 238, 0.32);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}

.desktop-nav > a,
.nav-dropdown > button {
    border: 0;
    background: transparent;
    color: var(--soft);
    cursor: pointer;
    padding: 10px 0;
    transition: color 0.2s ease;
}

.desktop-nav > a:hover,
.desktop-nav > a.active,
.nav-dropdown:hover > button {
    color: var(--cyan);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-panel {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    min-width: 210px;
    transform: translateX(-50%) translateY(8px);
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-panel a {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--soft);
}

.nav-dropdown-panel a:hover {
    color: white;
    background: rgba(34, 211, 238, 0.12);
}

.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
    width: min(310px, 28vw);
}

.header-search input,
.mobile-search input,
.local-filter input {
    width: 100%;
    border: 1px solid var(--border);
    outline: 0;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    color: var(--text);
    padding: 11px 16px;
}

.header-search input:focus,
.mobile-search input:focus,
.local-filter input:focus {
    border-color: rgba(34, 211, 238, 0.7);
    box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12);
}

.header-search button,
.mobile-search button {
    border: 0;
    border-radius: 999px;
    padding: 11px 16px;
    color: white;
    background: linear-gradient(135deg, var(--cyan-strong), var(--blue));
    cursor: pointer;
}

.mobile-menu-button {
    display: none;
    margin-left: auto;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.92);
    color: white;
    cursor: pointer;
}

.mobile-panel {
    width: min(1320px, calc(100% - 32px));
    margin: 0 auto 18px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.96);
}

.mobile-panel nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 14px;
}

.mobile-panel nav a {
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--soft);
    background: rgba(148, 163, 184, 0.08);
}

.hero-carousel {
    position: relative;
    width: min(1320px, calc(100% - 32px));
    min-height: 620px;
    margin: 28px auto 72px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 22px;
}

.hero-stage {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 30px;
    background: var(--panel);
    box-shadow: var(--shadow);
}

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

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

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.08) contrast(1.05);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.95) 0%, rgba(2, 6, 23, 0.72) 43%, rgba(2, 6, 23, 0.24) 100%),
        linear-gradient(0deg, rgba(2, 6, 23, 0.8), transparent 45%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(720px, 82%);
    min-height: 620px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 70px;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--cyan);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-content h1 {
    margin: 0 0 12px;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 0.95;
    letter-spacing: -0.08em;
}

.hero-content h2 {
    margin: 0 0 18px;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.05;
}

.hero-content p {
    max-width: 650px;
    margin: 0 0 22px;
    color: var(--soft);
    font-size: 19px;
    line-height: 1.8;
}

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

.hero-tags span,
.movie-tags span,
.detail-tags a {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border: 1px solid rgba(34, 211, 238, 0.22);
    border-radius: 999px;
    color: #a5f3fc;
    background: rgba(34, 211, 238, 0.1);
    font-size: 13px;
}

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

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

.primary-button {
    color: white;
    background: linear-gradient(135deg, var(--cyan-strong), var(--blue));
    box-shadow: 0 16px 34px rgba(37, 99, 235, 0.32);
}

.secondary-button {
    color: white;
    border: 1px solid var(--border);
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(16px);
}

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

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    color: white;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    backdrop-filter: blur(10px);
}

.hero-prev {
    left: 22px;
}

.hero-next {
    right: 22px;
}

.hero-dots {
    position: absolute;
    left: 70px;
    bottom: 36px;
    z-index: 5;
    display: flex;
    gap: 10px;
}

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

.hero-dot.active {
    width: 30px;
    background: var(--cyan);
}

.hero-side-panel,
.ranking-panel,
.aside-card,
.story-card,
.player-card,
.category-overview-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--panel-soft);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(18px);
}

.hero-side-panel {
    padding: 22px;
}

.hero-side-title,
.panel-title,
.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.hero-side-title span,
.panel-title h2,
.section-heading h2 {
    margin: 0;
    color: white;
    font-weight: 800;
}

.hero-side-title a,
.panel-title a,
.section-heading a {
    color: var(--cyan);
    font-weight: 700;
}

.compact-list {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.compact-card {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 16px;
    background: rgba(148, 163, 184, 0.08);
    transition: transform 0.2s ease, background 0.2s ease;
}

.compact-card:hover {
    transform: translateX(3px);
    background: rgba(34, 211, 238, 0.12);
}

.compact-card img {
    width: 92px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 12px;
}

.compact-card strong,
.compact-card em {
    display: block;
}

.compact-card strong {
    overflow: hidden;
    color: white;
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

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

.page-section {
    margin-bottom: 78px;
}

.no-top-space {
    margin-top: 0;
}

.section-heading {
    margin-bottom: 28px;
}

.section-heading h2 {
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -0.04em;
}

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

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

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

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

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

.movie-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.92);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(34, 211, 238, 0.36);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.36);
}

.movie-poster-link {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: rgba(148, 163, 184, 0.08);
}

.movie-card.large .movie-poster-link {
    aspect-ratio: 16 / 10;
}

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

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

.movie-play-dot {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: white;
    background: rgba(6, 182, 212, 0.88);
    box-shadow: 0 14px 32px rgba(6, 182, 212, 0.35);
}

.rank-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    color: white;
    background: linear-gradient(135deg, #f97316, #ef4444);
    box-shadow: 0 12px 28px rgba(239, 68, 68, 0.28);
}

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

.movie-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 12px;
}

.movie-card h3 {
    margin: 0 0 10px;
    color: white;
    font-size: 18px;
    line-height: 1.35;
}

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

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

.ranking-panel {
    position: sticky;
    top: 100px;
    padding: 22px;
}

.ranking-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.ranking-list a {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 11px 10px;
    border-radius: 14px;
    color: var(--soft);
    background: rgba(148, 163, 184, 0.07);
}

.ranking-list a:hover {
    color: white;
    background: rgba(34, 211, 238, 0.12);
}

.ranking-list strong {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: var(--cyan);
    background: rgba(34, 211, 238, 0.1);
}

.ranking-list span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

.category-showcase {
    padding: 36px;
    border: 1px solid var(--border);
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.08), rgba(37, 99, 235, 0.08));
}

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

.category-tile,
.category-overview-card > a {
    display: block;
    min-height: 170px;
    padding: 22px;
    border: 1px solid rgba(34, 211, 238, 0.18);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(37, 99, 235, 0.11));
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.category-tile:hover,
.category-overview-card > a:hover {
    transform: translateY(-4px);
    border-color: rgba(34, 211, 238, 0.45);
}

.category-tile span,
.category-overview-card h2 {
    display: block;
    margin: 0 0 12px;
    color: white;
    font-size: 22px;
    font-weight: 800;
}

.category-tile p,
.category-overview-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.page-shell {
    padding-top: 34px;
}

.inner-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 34px;
    padding: 54px;
    border: 1px solid var(--border);
    border-radius: 30px;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.68)),
        radial-gradient(circle at 80% 20%, rgba(34, 211, 238, 0.22), transparent 26rem);
    box-shadow: var(--shadow);
}

.inner-hero h1 {
    max-width: 880px;
    margin: 0 0 14px;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.05;
    letter-spacing: -0.06em;
}

.inner-hero p {
    max-width: 790px;
    margin: 0;
    color: var(--soft);
    font-size: 18px;
    line-height: 1.8;
}

.local-filter {
    width: min(560px, 100%);
    margin-top: 26px;
}

.category-overview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 70px;
}

.category-overview-card {
    padding: 16px;
}

.category-overview-card > a span {
    display: inline-flex;
    margin-top: 18px;
    color: var(--cyan);
    font-weight: 800;
}

.empty-message {
    margin: 34px 0 80px;
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--muted);
    text-align: center;
    background: rgba(15, 23, 42, 0.86);
}

.detail-page {
    padding-bottom: 40px;
}

.detail-hero {
    position: relative;
    min-height: 540px;
    margin-top: -1px;
    background: var(--panel);
}

.detail-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--detail-cover);
    background-size: cover;
    background-position: center;
    filter: blur(16px) saturate(1.1);
    transform: scale(1.06);
    opacity: 0.42;
}

.detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.64)),
        linear-gradient(0deg, var(--bg), transparent 55%);
}

.detail-hero-inner {
    position: relative;
    z-index: 2;
    width: min(1320px, calc(100% - 32px));
    margin: 0 auto;
    padding: 44px 0 72px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 34px;
    color: var(--muted);
    font-size: 14px;
}

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

.detail-intro {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 34px;
    align-items: end;
}

.detail-intro > img {
    width: 300px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.detail-intro h1 {
    margin: 0 0 18px;
    font-size: clamp(36px, 6vw, 68px);
    line-height: 1.05;
    letter-spacing: -0.06em;
}

.detail-intro p {
    max-width: 830px;
    margin: 0 0 22px;
    color: var(--soft);
    font-size: 19px;
    line-height: 1.85;
}

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

.detail-layout {
    width: min(1320px, calc(100% - 32px));
    margin: -60px auto 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: start;
    position: relative;
    z-index: 4;
}

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

.player-card {
    overflow: hidden;
    padding: 0;
}

.player-shell {
    position: relative;
    aspect-ratio: 16 / 9;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius);
    background: black;
}

.movie-video {
    width: 100%;
    height: 100%;
    display: block;
    background: black;
}

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 0;
    color: white;
    background: radial-gradient(circle, rgba(15, 23, 42, 0.28), rgba(2, 6, 23, 0.74));
    cursor: pointer;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.play-symbol {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--cyan-strong), var(--blue));
    box-shadow: 0 20px 50px rgba(6, 182, 212, 0.34);
    font-size: 30px;
}

.story-card {
    padding: 28px;
}

.story-card h2,
.aside-card h2 {
    margin: 0 0 16px;
    color: white;
    font-size: 24px;
}

.story-card p {
    margin: 0;
    color: var(--soft);
    line-height: 1.95;
    font-size: 16px;
}

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

.meta-card div {
    padding: 14px;
    border-radius: 16px;
    background: rgba(148, 163, 184, 0.07);
}

.meta-card dt {
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 13px;
}

.meta-card dd {
    margin: 0;
    color: white;
}

.detail-aside {
    position: sticky;
    top: 100px;
}

.aside-card {
    padding: 22px;
}

.site-footer {
    margin-top: 80px;
    border-top: 1px solid var(--border);
    background: rgba(2, 6, 23, 0.72);
}

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

.site-footer p {
    max-width: 520px;
    margin: 18px 0 0;
    color: var(--muted);
    line-height: 1.85;
}

.site-footer h2 {
    margin: 0 0 16px;
    color: white;
    font-size: 18px;
}

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

.footer-links a {
    color: var(--muted);
}

.footer-links a:hover {
    color: var(--cyan);
}

.footer-bottom {
    width: min(1320px, calc(100% - 32px));
    margin: 0 auto;
    padding: 20px 0 30px;
    border-top: 1px solid var(--border);
    color: #64748b;
    text-align: center;
}

@media (max-width: 1180px) {
    .hero-carousel,
    .split-section,
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .hero-side-panel,
    .ranking-panel,
    .detail-aside {
        position: static;
    }

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

@media (max-width: 900px) {
    .desktop-nav,
    .header-search {
        display: none;
    }

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

    .hero-carousel {
        min-height: auto;
    }

    .hero-stage,
    .hero-content {
        min-height: 560px;
    }

    .hero-content {
        width: 100%;
        padding: 42px 26px 76px;
    }

    .hero-dots {
        left: 26px;
    }

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

    .detail-intro > img {
        width: min(280px, 72vw);
    }

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

@media (max-width: 620px) {
    .header-inner,
    .page-section,
    .page-shell,
    .detail-hero-inner,
    .detail-layout,
    .footer-grid,
    .footer-bottom,
    .hero-carousel {
        width: min(100% - 22px, 1320px);
    }

    .brand,
    .footer-brand {
        font-size: 22px;
    }

    .hero-stage,
    .hero-content {
        min-height: 540px;
    }

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

    .hero-arrow {
        display: none;
    }

    .hero-side-panel,
    .category-showcase,
    .inner-hero,
    .story-card,
    .aside-card {
        padding: 20px;
    }

    .movie-grid,
    .dense-grid,
    .ranking-grid,
    .featured-grid,
    .category-grid,
    .category-overview,
    .footer-grid,
    .meta-card dl {
        grid-template-columns: 1fr;
    }

    .detail-hero {
        min-height: auto;
    }

    .detail-intro h1,
    .inner-hero h1 {
        font-size: 34px;
    }
}
