:root {
    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-200: #fde68a;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --amber-700: #b45309;
    --orange-500: #f97316;
    --rose-500: #f43f5e;
    --green-500: #22c55e;
    --blue-500: #3b82f6;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-500: #64748b;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    --shadow-strong: 0 28px 70px rgba(15, 23, 42, 0.2);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
    font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--slate-800);
    background: linear-gradient(180deg, var(--amber-50), #ffffff 35%, #ffffff);
    min-width: 320px;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(90deg, rgba(255, 251, 235, 0.94), rgba(255, 247, 237, 0.94));
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 30px rgba(180, 83, 9, 0.12);
}

.header-inner {
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

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

.brand-mark {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: white;
    background: linear-gradient(135deg, var(--amber-600), var(--orange-500), var(--rose-500));
    box-shadow: 0 16px 30px rgba(217, 119, 6, 0.28);
    transition: transform 0.25s ease;
}

.brand:hover .brand-mark {
    transform: rotate(-6deg) scale(1.05);
}

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

.brand-title {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: transparent;
    background: linear-gradient(90deg, var(--amber-700), var(--orange-500));
    -webkit-background-clip: text;
    background-clip: text;
}

.brand-subtitle {
    margin-top: 3px;
    font-size: 12px;
    color: var(--amber-700);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    color: var(--slate-700);
    font-weight: 700;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--amber-700);
    background: rgba(245, 158, 11, 0.13);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: rgba(245, 158, 11, 0.15);
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 0 11px;
}

.nav-toggle span {
    width: 100%;
    height: 2px;
    border-radius: 3px;
    background: var(--amber-700);
}

.hero {
    position: relative;
    min-height: calc(100vh - 74px);
    overflow: hidden;
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 45%, #f43f5e 100%);
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    z-index: 2;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    filter: blur(40px);
    animation: pulseGlow 5s ease-in-out infinite;
}

.hero::before {
    left: 6%;
    top: 8%;
}

.hero::after {
    right: 8%;
    bottom: 5%;
    animation-delay: 1.5s;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.24;
    filter: saturate(1.2) blur(1px);
    transform: scale(1.05);
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(15, 23, 42, 0.72), rgba(217, 119, 6, 0.45), rgba(244, 63, 94, 0.5));
}

.hero-layout {
    position: relative;
    z-index: 4;
    min-height: calc(100vh - 74px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 56px;
    align-items: center;
    padding: 64px 0 92px;
}

.hero-copy {
    color: white;
    max-width: 760px;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    padding: 7px 13px;
    color: var(--amber-700);
    background: rgba(255, 255, 255, 0.84);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-copy h1 {
    margin: 24px 0 18px;
    font-size: clamp(42px, 7vw, 82px);
    line-height: 0.98;
    letter-spacing: -0.06em;
    text-shadow: 0 20px 50px rgba(15, 23, 42, 0.32);
}

.hero-one-line {
    margin: 0 0 24px;
    max-width: 680px;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(18px, 2.2vw, 25px);
    line-height: 1.7;
}

.hero-meta,
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 30px;
}

.hero-meta span,
.detail-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    color: white;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(10px);
    font-weight: 700;
}

.hero-actions,
.split-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

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

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

.btn-primary {
    color: var(--amber-700);
    background: white;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
}

.btn-ghost {
    color: white;
    background: rgba(255, 255, 255, 0.18);
    border: 2px solid rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(12px);
}

.btn-ghost-dark {
    color: var(--amber-700);
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.28);
}

.hero-poster {
    position: relative;
    display: block;
    border-radius: 34px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(22px);
    box-shadow: var(--shadow-strong);
    transform: rotate(2deg);
    transition: transform 0.3s ease;
}

.hero-poster:hover {
    transform: rotate(0deg) translateY(-8px);
}

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

.hero-poster span {
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 30px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: white;
    background: rgba(15, 23, 42, 0.74);
    backdrop-filter: blur(12px);
    font-weight: 900;
}

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

.hero-dot {
    width: 13px;
    height: 13px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.48);
    transition: width 0.25s ease, background 0.25s ease;
}

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

.section {
    padding: 82px 0;
}

.section-soft {
    background: linear-gradient(180deg, white, var(--amber-50));
}

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

.section-heading h2,
.page-hero h1,
.detail-info-card h1 {
    margin: 14px 0 12px;
    color: var(--slate-900);
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.section-heading p,
.page-hero p {
    max-width: 760px;
    margin: 0;
    color: var(--slate-500);
    font-size: 17px;
    line-height: 1.8;
}

.horizontal-scroll {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 340px);
    gap: 24px;
    overflow-x: auto;
    padding-bottom: 14px;
    scroll-snap-type: x mandatory;
}

.horizontal-scroll .movie-card {
    scroll-snap-align: start;
}

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

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

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

.movie-card {
    min-width: 0;
    border-radius: var(--radius-lg);
    background: white;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
}

.movie-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.movie-cover {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--amber-200), var(--orange-500));
}

.movie-cover img {
    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    transition: transform 0.45s ease;
}

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

.movie-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px;
}

.movie-info h3 {
    margin: 0 0 10px;
    color: var(--slate-900);
    font-size: 19px;
    line-height: 1.35;
    transition: color 0.2s ease;
}

.movie-card:hover h3 {
    color: var(--amber-700);
}

.movie-meta,
.movie-desc {
    margin: 0;
    line-height: 1.65;
}

.movie-meta {
    color: var(--amber-700);
    font-size: 13px;
    font-weight: 800;
}

.movie-desc {
    display: -webkit-box;
    min-height: 52px;
    margin-top: 10px;
    color: var(--slate-500);
    font-size: 14px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.movie-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 14px;
}

.movie-tags span {
    border-radius: 999px;
    padding: 5px 9px;
    color: var(--amber-700);
    background: var(--amber-100);
    font-size: 12px;
    font-weight: 700;
}

.movie-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 16px;
}

.rating {
    color: #eab308;
    font-weight: 900;
}

.hot-score {
    color: var(--slate-500);
    font-size: 13px;
    font-weight: 700;
}

.type-badge,
.year-badge,
.rank-badge {
    position: absolute;
    top: 12px;
    z-index: 4;
    border-radius: 999px;
    padding: 6px 10px;
    color: white;
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.16);
}

.type-badge {
    right: 12px;
    background: var(--amber-500);
}

.year-badge {
    left: 12px;
    background: var(--green-500);
}

.rank-badge {
    left: 12px;
    bottom: 12px;
    top: auto;
    background: var(--rose-500);
}

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

.category-card {
    position: relative;
    min-height: 230px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    isolation: isolate;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-strong);
}

.category-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

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

.category-mask {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.1), rgba(15, 23, 42, 0.84));
}

.category-content {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 7px;
    padding: 22px;
    color: white;
}

.category-content strong {
    font-size: 24px;
    line-height: 1.2;
}

.category-content em {
    font-style: normal;
    color: var(--amber-100);
    font-weight: 900;
}

.category-content small {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.5;
}

.section-ranking {
    color: white;
    background: linear-gradient(135deg, var(--amber-600), var(--orange-500), var(--rose-500));
}

.section-ranking h2,
.section-ranking p {
    color: white;
}

.ranking-layout,
.rank-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
    align-items: center;
    gap: 42px;
}

.rank-panel {
    border-radius: var(--radius-lg);
    padding: 18px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}

.rank-row {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    align-items: center;
    gap: 14px;
    min-height: 48px;
    border-radius: 14px;
    padding: 0 12px;
    color: white;
    transition: background 0.2s ease, transform 0.2s ease;
}

.rank-row:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateX(4px);
}

.rank-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.24);
    font-weight: 900;
}

.rank-title {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 800;
}

.rank-score {
    color: var(--amber-100);
    font-weight: 900;
}

.hero-search {
    display: flex;
    width: min(520px, 100%);
    padding: 5px;
    border-radius: 999px;
    background: white;
    box-shadow: var(--shadow);
}

.hero-search input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    padding: 0 18px;
    color: var(--slate-800);
    background: transparent;
}

.hero-search button {
    border: 0;
    border-radius: 999px;
    padding: 0 22px;
    color: white;
    background: linear-gradient(135deg, var(--amber-600), var(--orange-500));
    font-weight: 900;
}

.page-hero {
    padding: 70px 0;
    color: white;
    background: linear-gradient(135deg, var(--amber-600), var(--orange-500), var(--rose-500));
    overflow: hidden;
}

.page-hero h1,
.page-hero p {
    color: white;
}

.category-page-hero,
.search-hero,
.rank-hero {
    position: relative;
}

.rank-hero-layout img {
    width: min(360px, 100%);
    justify-self: end;
    border-radius: 28px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    box-shadow: var(--shadow-strong);
    transform: rotate(3deg);
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
}

.breadcrumbs a:hover {
    color: white;
}

.filter-panel {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: minmax(260px, 1.2fr) repeat(3, minmax(150px, 0.5fr)) auto;
    gap: 14px;
    align-items: end;
    margin-top: -34px;
    padding: 22px;
    border-radius: var(--radius-lg);
    background: white;
    box-shadow: var(--shadow);
}

.filter-panel label {
    display: grid;
    gap: 8px;
    color: var(--slate-700);
    font-size: 13px;
    font-weight: 900;
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--slate-200);
    border-radius: 14px;
    padding: 0 14px;
    color: var(--slate-800);
    background: var(--slate-50);
    outline: 0;
}

.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--amber-500);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.16);
}

.filter-count {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    padding: 0 16px;
    color: var(--amber-700);
    background: var(--amber-100);
    font-weight: 900;
    white-space: nowrap;
}

.empty-result {
    display: none;
    margin-top: 28px;
    border-radius: var(--radius-lg);
    padding: 42px;
    color: var(--slate-500);
    background: white;
    box-shadow: var(--shadow);
    text-align: center;
    font-weight: 900;
}

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

.detail-hero {
    padding: 36px 0 70px;
    color: white;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.16), transparent 28%), linear-gradient(135deg, var(--slate-900), #7c2d12 48%, var(--rose-500));
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 28px;
    align-items: stretch;
}

.player-shell {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    border-radius: 30px;
    background: #000;
    box-shadow: var(--shadow-strong);
}

.movie-player {
    width: 100%;
    height: 100%;
    min-height: 420px;
    display: block;
    object-fit: contain;
    background: #000;
}

.player-start {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 0;
    color: white;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.28), rgba(15, 23, 42, 0.72));
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-start span {
    width: 86px;
    height: 86px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--amber-700);
    background: white;
    font-size: 36px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.32);
}

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

.player-shell.is-playing .player-start {
    opacity: 0;
    visibility: hidden;
}

.player-toolbar {
    position: absolute;
    z-index: 4;
    left: 18px;
    right: 18px;
    bottom: 18px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    pointer-events: none;
}

.player-toolbar button {
    min-height: 36px;
    border: 0;
    border-radius: 999px;
    padding: 0 13px;
    color: white;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(12px);
    font-weight: 900;
    pointer-events: auto;
}

.detail-info-card {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 24px;
    padding: 24px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(22px);
    box-shadow: var(--shadow);
}

.detail-info-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 22px;
    object-fit: cover;
    box-shadow: var(--shadow);
}

.detail-info-card .section-kicker {
    color: white;
    background: rgba(255, 255, 255, 0.18);
}

.detail-info-card h1 {
    color: white;
}

.detail-one-line {
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.8;
}

.detail-tags span {
    color: white;
    background: rgba(255, 255, 255, 0.18);
}

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

.detail-text-card {
    border-radius: var(--radius-lg);
    padding: 30px;
    background: white;
    box-shadow: var(--shadow);
}

.detail-text-card h2 {
    margin: 0 0 16px;
    color: var(--slate-900);
    font-size: 28px;
}

.detail-text-card p {
    margin: 0;
    color: var(--slate-600);
    line-height: 2;
    font-size: 16px;
}

.detail-wide-card {
    grid-column: 1 / -1;
}

.info-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
}

.info-list div {
    border-radius: 16px;
    padding: 16px;
    background: var(--amber-50);
}

.info-list dt {
    color: var(--amber-700);
    font-weight: 900;
    font-size: 13px;
}

.info-list dd {
    margin: 6px 0 0;
    color: var(--slate-800);
    line-height: 1.5;
}

.category-preview:nth-child(even) {
    background: var(--amber-50);
}

.site-footer {
    color: var(--amber-50);
    background: linear-gradient(180deg, #78350f, #451a03);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr repeat(3, 1fr);
    gap: 34px;
    padding: 54px 0;
}

.footer-logo {
    margin-bottom: 14px;
    font-size: 28px;
    font-weight: 900;
}

.site-footer p {
    margin: 0;
    color: var(--amber-100);
    line-height: 1.8;
}

.site-footer h3 {
    margin: 0 0 14px;
    color: white;
}

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

.footer-links a {
    color: var(--amber-100);
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover {
    color: white;
    transform: translateX(4px);
}

.footer-bottom {
    display: flex;
    justify-content: center;
    gap: 24px;
    border-top: 1px solid rgba(253, 230, 138, 0.18);
    padding: 22px;
    color: var(--amber-100);
    font-size: 14px;
}

@keyframes pulseGlow {
    0%, 100% {
        transform: scale(0.95);
        opacity: 0.55;
    }
    50% {
        transform: scale(1.08);
        opacity: 0.9;
    }
}

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

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

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

@media (max-width: 920px) {
    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        left: 16px;
        right: 16px;
        top: 82px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        border-radius: 20px;
        padding: 14px;
        background: white;
        box-shadow: var(--shadow-strong);
    }

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

    .nav-link {
        justify-content: center;
    }

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

    .hero-layout {
        gap: 32px;
        padding-top: 46px;
    }

    .hero-poster {
        width: min(340px, 86vw);
        margin: 0 auto;
    }

    .detail-info-card {
        grid-template-columns: 140px 1fr;
    }

    .rank-hero-layout img {
        justify-self: start;
    }

    .split-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

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

    .brand-title {
        font-size: 20px;
    }

    .brand-subtitle {
        display: none;
    }

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

    .hero-slide {
        position: relative;
        display: none;
    }

    .hero-slide.is-active {
        display: block;
    }

    .hero-layout {
        padding: 56px 0 86px;
    }

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

    .btn,
    .hero-search button {
        width: 100%;
    }

    .section {
        padding: 58px 0;
    }

    .movie-grid,
    .movie-grid-large,
    .movie-grid-compact,
    .category-grid,
    .filter-panel,
    .detail-content-grid,
    .info-list {
        grid-template-columns: 1fr;
    }

    .horizontal-scroll {
        grid-auto-columns: minmax(260px, 84vw);
    }

    .hero-search {
        flex-direction: column;
        border-radius: 22px;
        gap: 8px;
        padding: 10px;
    }

    .hero-search input,
    .hero-search button {
        min-height: 46px;
        border-radius: 16px;
    }

    .page-hero {
        padding: 54px 0;
    }

    .detail-hero {
        padding-top: 24px;
    }

    .player-shell,
    .movie-player {
        min-height: 240px;
    }

    .player-toolbar {
        justify-content: center;
    }

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

    .detail-info-card img {
        width: min(260px, 100%);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
