*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    color-scheme: dark;
    --bg: #020617;
    --bg-soft: #0f172a;
    --panel: rgba(15, 23, 42, 0.86);
    --panel-strong: #111827;
    --line: rgba(148, 163, 184, 0.18);
    --line-strong: rgba(34, 211, 238, 0.35);
    --text: #f8fafc;
    --muted: #94a3b8;
    --muted-strong: #cbd5e1;
    --cyan: #22d3ee;
    --cyan-deep: #0891b2;
    --blue: #38bdf8;
    --orange: #fb923c;
    --red: #f43f5e;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
    --radius: 24px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(34, 211, 238, 0.18), transparent 32rem),
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.12), transparent 30rem),
        linear-gradient(180deg, #0f172a 0%, #020617 42%, #000 100%);
}

body.is-menu-open {
    overflow: hidden;
}

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.93), rgba(15, 23, 42, 0.96));
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    backdrop-filter: blur(14px);
}

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

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: clamp(1.2rem, 2.2vw, 1.72rem);
    font-weight: 900;
    white-space: nowrap;
    background: linear-gradient(90deg, var(--cyan), var(--blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo-mark {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: #001018;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.32);
    font-size: 0.92rem;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #cbd5e1;
    font-weight: 700;
    font-size: 0.96rem;
    margin-left: auto;
}

.desktop-nav a,
.mobile-nav a {
    transition: color 0.22s ease, transform 0.22s ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
    color: var(--cyan);
}

.header-search {
    width: min(300px, 28vw);
    display: flex;
    align-items: center;
    padding: 4px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.52);
}

.header-search input {
    width: 100%;
    border: 0;
    outline: 0;
    color: #e2e8f0;
    background: transparent;
    padding: 9px 11px;
}

.header-search button {
    border: 0;
    border-radius: 999px;
    padding: 9px 14px;
    cursor: pointer;
    color: #001018;
    font-weight: 800;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    background: rgba(148, 163, 184, 0.12);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    width: 21px;
    height: 2px;
    border-radius: 5px;
    background: #e2e8f0;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.menu-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
    display: none;
    width: min(1440px, calc(100% - 32px));
    margin: 0 auto;
    padding: 16px 0 22px;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    color: #cbd5e1;
    font-weight: 700;
    animation: fadeIn 0.25s ease both;
}

.mobile-nav.is-open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

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

.hero-carousel {
    position: relative;
    width: 100%;
    min-height: min(760px, 82vh);
    overflow: hidden;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

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

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

.hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(2, 6, 23, 0.62) 42%, rgba(2, 6, 23, 0.08)),
        linear-gradient(0deg, #020617, rgba(2, 6, 23, 0.18) 45%, transparent 80%),
        var(--hero-image);
    background-position: center;
    background-size: cover;
    transform: scale(1.04);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1440px, calc(100% - 32px));
    min-height: min(760px, 82vh);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
    gap: 48px;
    align-items: end;
    padding: 128px 0 88px;
}

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

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--cyan);
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-copy h1 {
    margin: 0;
    font-size: clamp(2.45rem, 7vw, 5.8rem);
    line-height: 0.98;
    letter-spacing: -0.08em;
}

.hero-copy p {
    max-width: 680px;
    margin: 24px 0;
    color: #dbeafe;
    font-size: clamp(1rem, 1.4vw, 1.24rem);
    line-height: 1.85;
}

.hero-meta,
.detail-meta,
.movie-meta-row,
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.hero-meta span,
.detail-meta span,
.movie-tags span,
.info-pill,
.breadcrumb a,
.breadcrumb span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 11px;
    color: #cbd5e1;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.18);
}

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

.btn-primary,
.btn-secondary,
.section-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    border-radius: 999px;
    padding: 12px 20px;
    font-weight: 900;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.btn-primary {
    color: #001018;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    box-shadow: 0 18px 36px rgba(34, 211, 238, 0.25);
}

.btn-secondary {
    color: #e2e8f0;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.22);
}

.btn-primary:hover,
.btn-secondary:hover,
.section-link:hover {
    transform: translateY(-2px) scale(1.02);
}

.hero-poster {
    position: relative;
    align-self: center;
    border-radius: 34px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow);
}

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

.hero-poster:hover img {
    transform: scale(1.04);
}

.hero-poster strong {
    position: absolute;
    left: 18px;
    bottom: 18px;
    right: 18px;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.56);
    backdrop-filter: blur(8px);
}

.hero-controls {
    position: absolute;
    z-index: 8;
    right: max(22px, calc((100vw - 1440px) / 2 + 22px));
    bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-controls button,
.hero-dot {
    border: 0;
    cursor: pointer;
    color: #fff;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(8px);
}

.hero-arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 1.25rem;
}

.hero-dots {
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    padding: 0;
    opacity: 0.65;
    transition: width 0.24s ease, background 0.24s ease, opacity 0.24s ease;
}

.hero-dot.is-active {
    width: 34px;
    opacity: 1;
    background: var(--cyan);
}

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

.section-heading {
    position: relative;
    display: grid;
    gap: 10px;
    margin-bottom: 28px;
}

.section-heading span {
    color: var(--cyan);
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-heading h1,
.section-heading h2 {
    margin: 0;
    font-size: clamp(1.9rem, 4vw, 3.2rem);
    letter-spacing: -0.04em;
}

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

.section-link {
    position: absolute;
    top: 10px;
    right: 0;
    color: var(--cyan);
    background: rgba(34, 211, 238, 0.08);
    border: 1px solid rgba(34, 211, 238, 0.24);
}

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

.movie-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.92), rgba(15, 23, 42, 0.98));
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-7px);
    border-color: var(--line-strong);
    box-shadow: 0 24px 54px rgba(8, 145, 178, 0.18);
}

.poster-link {
    position: relative;
    display: block;
    overflow: hidden;
    background: #0f172a;
}

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

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

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.74));
    opacity: 0.85;
}

.poster-play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0.78);
    opacity: 0;
    color: #001018;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    transition: transform 0.25s ease, opacity 0.25s ease;
}

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

.poster-type,
.rank-badge {
    position: absolute;
    top: 12px;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 0.78rem;
    font-weight: 900;
    backdrop-filter: blur(8px);
}

.poster-type {
    right: 12px;
    color: #e2e8f0;
    background: rgba(0, 0, 0, 0.58);
}

.rank-badge {
    left: 12px;
    color: #001018;
    background: linear-gradient(135deg, #fbbf24, #fb923c);
}

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

.movie-card h3 {
    margin: 0 0 9px;
    font-size: 1.04rem;
    line-height: 1.35;
}

.movie-card h3 a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.movie-card h3 a:hover {
    color: var(--cyan);
}

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

.movie-meta-row {
    gap: 8px;
    color: #94a3b8;
    font-size: 0.82rem;
}

.movie-meta-row a {
    color: #a5f3fc;
}

.movie-tags {
    margin-top: 13px;
}

.movie-tags span {
    padding: 5px 9px;
    font-size: 0.78rem;
    color: #a5f3fc;
    background: rgba(34, 211, 238, 0.1);
    border-color: rgba(34, 211, 238, 0.2);
}

.spotlight-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
    gap: 24px;
}

.feature-panel,
.ranking-panel,
.category-card,
.detail-panel,
.player-shell,
.filter-panel,
.search-empty {
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: var(--radius);
    background: rgba(15, 23, 42, 0.72);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
}

.feature-panel {
    display: grid;
    grid-template-columns: minmax(260px, 0.82fr) 1fr;
    gap: 28px;
    overflow: hidden;
}

.feature-panel img {
    width: 100%;
    height: 100%;
    min-height: 410px;
    object-fit: cover;
}

.feature-copy {
    padding: 36px 36px 36px 0;
    align-self: center;
}

.feature-copy h3 {
    margin: 0 0 14px;
    font-size: clamp(1.8rem, 3vw, 3.2rem);
    line-height: 1.08;
}

.feature-copy p {
    color: var(--muted-strong);
    line-height: 1.85;
}

.ranking-panel {
    padding: 22px;
}

.ranking-panel h3 {
    margin: 0 0 18px;
    color: #f8fafc;
}

.mini-list {
    display: grid;
    gap: 12px;
}

.mini-card {
    display: grid;
    grid-template-columns: auto 56px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    border-radius: 16px;
    padding: 9px;
    background: rgba(2, 6, 23, 0.48);
    border: 1px solid rgba(148, 163, 184, 0.1);
    transition: background 0.22s ease, transform 0.22s ease;
}

.mini-card:hover {
    transform: translateX(4px);
    background: rgba(34, 211, 238, 0.08);
}

.mini-card img {
    width: 56px;
    height: 74px;
    border-radius: 12px;
    object-fit: cover;
}

.mini-card strong,
.mini-card em {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
}

.mini-card strong {
    -webkit-line-clamp: 1;
}

.mini-card em {
    margin-top: 4px;
    color: var(--muted);
    font-style: normal;
    font-size: 0.82rem;
    -webkit-line-clamp: 2;
}

.mini-rank {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 10px;
    font-weight: 900;
    color: #001018;
    background: linear-gradient(135deg, #fbbf24, #fb923c);
}

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

.category-card {
    padding: 24px;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
}

.category-card::after {
    content: "";
    position: absolute;
    right: -35px;
    bottom: -35px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(34, 211, 238, 0.12);
    filter: blur(2px);
}

.category-card h2,
.category-card h3 {
    margin: 0 0 10px;
}

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

.category-card span {
    color: var(--cyan);
    font-weight: 900;
}

.filter-panel {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    padding: 18px;
    margin-bottom: 28px;
}

.filter-panel label {
    flex: 1 1 320px;
    display: grid;
    gap: 8px;
    color: #cbd5e1;
    font-weight: 800;
}

.filter-panel input {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.22);
    outline: 0;
    border-radius: 16px;
    color: #e2e8f0;
    background: rgba(2, 6, 23, 0.58);
    padding: 14px 16px;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-button {
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 999px;
    padding: 11px 15px;
    color: #cbd5e1;
    background: rgba(15, 23, 42, 0.76);
    cursor: pointer;
}

.filter-button.is-active,
.filter-button:hover {
    color: #001018;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.search-empty {
    display: none;
    padding: 24px;
    color: var(--muted);
}

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

.breadcrumb {
    padding-top: 28px;
    margin-bottom: 24px;
    font-size: 0.9rem;
}

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

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

.detail-poster {
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 28px;
    box-shadow: var(--shadow);
}

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

.detail-copy h1 {
    margin: 0 0 18px;
    font-size: clamp(2.2rem, 5vw, 4.4rem);
    line-height: 1.06;
    letter-spacing: -0.05em;
}

.detail-copy .lead {
    color: #dbeafe;
    font-size: 1.14rem;
    line-height: 1.85;
    margin: 0 0 20px;
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 20px;
}

.detail-tags span {
    border-radius: 999px;
    padding: 7px 11px;
    color: #a5f3fc;
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.2);
}

.watch-section {
    margin-bottom: 38px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    background: #000;
    aspect-ratio: 16 / 9;
}

.movie-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
    cursor: pointer;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    cursor: pointer;
    background:
        linear-gradient(180deg, rgba(2, 6, 23, 0.12), rgba(2, 6, 23, 0.72)),
        var(--player-poster);
    background-size: cover;
    background-position: center;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

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

.player-start {
    width: clamp(76px, 11vw, 118px);
    height: clamp(76px, 11vw, 118px);
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #001018;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    box-shadow: 0 0 60px rgba(34, 211, 238, 0.45);
    cursor: pointer;
    font-size: clamp(1.8rem, 4vw, 3rem);
    padding-left: 6px;
}

.player-caption {
    position: absolute;
    left: 26px;
    bottom: 24px;
    right: 26px;
    display: grid;
    gap: 6px;
}

.player-caption strong {
    font-size: clamp(1.3rem, 2.6vw, 2.3rem);
}

.player-caption span {
    color: var(--muted-strong);
}

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

.detail-panel {
    padding: 28px;
    margin-bottom: 26px;
}

.detail-panel h2 {
    margin: 0 0 14px;
    font-size: 1.5rem;
}

.detail-panel p {
    margin: 0;
    color: var(--muted-strong);
    line-height: 1.9;
}

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

.side-panel {
    position: sticky;
    top: 96px;
}

.back-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 90;
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    color: #001018;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(34, 211, 238, 0.22);
}

.back-top.is-visible {
    display: block;
}

.site-footer {
    margin-top: 82px;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.86), #000);
}

.footer-inner {
    width: min(1440px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 34px;
    padding: 46px 0 34px;
}

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

.footer-inner h2 {
    color: var(--cyan);
}

.footer-inner p,
.footer-inner a,
.footer-bottom {
    color: var(--muted);
}

.footer-inner p {
    max-width: 560px;
    line-height: 1.8;
}

.footer-inner ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}

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

.footer-bottom {
    width: min(1440px, calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 0 34px;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    .menu-toggle {
        display: inline-flex;
    }

    .header-search {
        margin-left: auto;
    }

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

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

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

    .side-panel {
        position: static;
    }
}

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

    .header-search {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 104px 0 96px;
        align-items: end;
    }

    .hero-poster {
        display: none;
    }

    .section-link {
        position: static;
        width: fit-content;
        margin-top: 8px;
    }

    .spotlight-grid,
    .feature-panel,
    .detail-hero {
        grid-template-columns: 1fr;
    }

    .feature-copy {
        padding: 0 24px 28px;
    }

    .feature-panel img {
        min-height: auto;
        aspect-ratio: 16 / 9;
    }

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

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

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

@media (max-width: 680px) {
    main,
    .page-main,
    .hero-content,
    .header-inner,
    .mobile-nav,
    .footer-inner,
    .footer-bottom {
        width: min(100% - 24px, 1440px);
    }

    .site-logo {
        font-size: 1.18rem;
    }

    .logo-mark {
        width: 34px;
        height: 34px;
        border-radius: 13px;
    }

    .hero-carousel,
    .hero-content {
        min-height: 680px;
    }

    .hero-copy h1 {
        letter-spacing: -0.05em;
    }

    .hero-controls {
        left: 12px;
        right: 12px;
        justify-content: center;
    }

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

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

    .poster-play {
        width: 48px;
        height: 48px;
        opacity: 0.92;
        transform: translate(-50%, -50%) scale(1);
    }

    .filter-panel {
        padding: 14px;
    }

    .detail-panel {
        padding: 20px;
    }
}

@media (max-width: 420px) {
    .movie-grid,
    .category-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .mobile-nav.is-open {
        grid-template-columns: 1fr;
    }
}
