:root {
    --bg: #f8fafc;
    --panel: #ffffff;
    --ink: #0f172a;
    --muted: #64748b;
    --line: #e2e8f0;
    --blue: #2563eb;
    --blue-dark: #1e3a8a;
    --cyan: #06b6d4;
    --red: #dc2626;
    --gold: #f59e0b;
    --shadow: 0 18px 50px rgba(15, 23, 42, 0.16);
    --soft-shadow: 0 12px 30px rgba(15, 23, 42, 0.10);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 60%, #eef2ff 100%);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

body.menu-open {
    overflow: hidden;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    color: #ffffff;
    background: linear-gradient(90deg, #0f172a 0%, #1e3a8a 48%, #0f172a 100%);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.28);
}

.nav-wrap {
    display: flex;
    align-items: center;
    gap: 22px;
    min-height: 76px;
}

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

.brand-mark {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 14px;
    color: #ffffff;
    font-weight: 900;
    font-size: 22px;
    background: linear-gradient(135deg, #60a5fa 0%, #06b6d4 100%);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.35);
}

.brand-mark.small {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    font-size: 15px;
}

.brand-text {
    display: grid;
    line-height: 1.25;
}

.brand-title {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.02em;
    background: linear-gradient(90deg, #bfdbfe, #67e8f9);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-subtitle {
    color: #bfdbfe;
    font-size: 12px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1 1 auto;
}

.nav-link {
    padding: 9px 12px;
    color: #dbeafe;
    border-radius: 12px;
    font-size: 14px;
    transition: 0.25s ease;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.is-active {
    color: #ffffff;
    background: rgba(37, 99, 235, 0.88);
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.30);
}

.header-search {
    display: flex;
    align-items: center;
    width: 280px;
    border: 1px solid rgba(147, 197, 253, 0.40);
    border-radius: 14px;
    background: rgba(30, 58, 138, 0.52);
    overflow: hidden;
}

.header-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    color: #ffffff;
    background: transparent;
    padding: 10px 12px;
}

.header-search input::placeholder {
    color: #bfdbfe;
}

.header-search button {
    border: 0;
    color: #ffffff;
    background: var(--blue);
    padding: 10px 14px;
}

.menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: rgba(30, 64, 175, 0.62);
}

.menu-button span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: #ffffff;
    border-radius: 999px;
}

.mobile-panel {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 18px;
}

.mobile-panel a {
    display: block;
    padding: 12px 14px;
    color: #dbeafe;
    border-radius: 12px;
}

.mobile-panel a:hover {
    background: rgba(37, 99, 235, 0.45);
}

.hero {
    position: relative;
    color: #ffffff;
    background: #0f172a;
    overflow: hidden;
}

.hero-stage {
    position: relative;
    height: 640px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.02);
    transition: opacity 0.8s ease, transform 0.8s ease, visibility 0.8s ease;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: saturate(1.08);
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 28%, rgba(37, 99, 235, 0.38), transparent 34%),
        radial-gradient(circle at 78% 18%, rgba(6, 182, 212, 0.24), transparent 28%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.12), #0f172a 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) 340px;
    align-items: center;
    gap: 52px;
    height: 100%;
}

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

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    background: linear-gradient(90deg, var(--red), #f97316);
    border-radius: 999px;
    padding: 6px 14px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 8px 22px rgba(220, 38, 38, 0.30);
}

.hero-copy h1,
.page-hero h1,
.detail-info h1 {
    margin: 18px 0 14px;
    font-size: clamp(36px, 6vw, 66px);
    line-height: 1.06;
    letter-spacing: -0.05em;
}

.hero-copy p {
    max-width: 660px;
    color: #e2e8f0;
    font-size: 19px;
}

.hero-tags,
.detail-stats,
.genre-line {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0;
}

.hero-tags span,
.detail-stats span,
.genre-line span {
    color: #e0f2fe;
    background: rgba(15, 23, 42, 0.46);
    border: 1px solid rgba(191, 219, 254, 0.28);
    border-radius: 999px;
    padding: 7px 12px;
    backdrop-filter: blur(12px);
}

.hero-actions,
.page-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.primary-button,
.ghost-button,
.text-button,
.page-hero-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 14px;
    font-weight: 800;
    transition: 0.25s ease;
}

.primary-button {
    color: #ffffff;
    background: var(--blue);
    padding: 0 24px;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.38);
}

.primary-button:hover,
.page-hero-actions a:hover {
    transform: translateY(-2px) scale(1.02);
    background: #1d4ed8;
}

.ghost-button,
.page-hero-actions a {
    color: #ffffff;
    border: 1px solid rgba(191, 219, 254, 0.36);
    background: rgba(30, 58, 138, 0.42);
    padding: 0 20px;
}

.text-button {
    color: #bfdbfe;
}

.hero-poster {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
    transform: rotate(1deg);
}

.hero-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-poster span {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    color: #ffffff;
    background: rgba(37, 99, 235, 0.92);
    border-radius: 50%;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.35);
}

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

.hero-dot {
    width: 34px;
    height: 5px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
}

.hero-dot.is-active {
    background: #ffffff;
}

.hero-search-card {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.2fr);
    align-items: center;
    gap: 24px;
    margin-top: -92px;
    padding: 22px;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.78);
    border: 1px solid rgba(191, 219, 254, 0.22);
    border-radius: 24px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.hero-search-card strong {
    display: block;
    margin-bottom: 4px;
    font-size: 22px;
}

.hero-search-card span {
    color: #bfdbfe;
}

.hero-search-form {
    display: grid;
    grid-template-columns: 1fr 132px;
    gap: 12px;
}

.hero-search-form input,
.filter-controls input,
.filter-controls select {
    width: 100%;
    min-height: 46px;
    color: var(--ink);
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 14px;
    outline: 0;
    padding: 0 14px;
    transition: 0.2s ease;
}

.hero-search-form input:focus,
.filter-controls input:focus,
.filter-controls select:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.hero-search-form button {
    min-height: 46px;
    color: #ffffff;
    background: var(--blue);
    border: 0;
    border-radius: 14px;
    font-weight: 800;
}

.hero-ribbon {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    padding: 22px 0 34px;
}

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

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

.section-title span,
.page-hero span {
    display: inline-block;
    color: var(--blue);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 12px;
}

.section-title h2,
.filter-heading h2,
.story-card h2,
.category-overview-head h2 {
    margin: 4px 0 0;
    color: var(--ink);
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.15;
}

.section-title a {
    color: var(--blue);
    font-weight: 800;
}

.light-title h2,
.light-title span,
.light-title a {
    color: #ffffff;
}

.movie-grid {
    display: grid;
    gap: 22px;
}

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

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

.movie-card {
    position: relative;
    min-width: 0;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.92);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--soft-shadow);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.movie-card:hover {
    transform: translateY(-8px);
    border-color: rgba(37, 99, 235, 0.28);
    box-shadow: var(--shadow);
}

.movie-card-poster .movie-cover-wrap,
.movie-card-normal .movie-cover-wrap {
    aspect-ratio: 3 / 4;
}

.movie-card-wide .movie-cover-wrap {
    aspect-ratio: 16 / 10;
}

.movie-cover-link,
.movie-cover-wrap {
    display: block;
}

.movie-cover-wrap {
    position: relative;
    overflow: hidden;
    background: #0f172a;
}

.movie-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

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

.movie-cover-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.80) 100%);
    opacity: 0.88;
}

.movie-play-dot {
    position: absolute;
    left: 14px;
    bottom: 14px;
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    color: #ffffff;
    background: rgba(37, 99, 235, 0.92);
    border-radius: 50%;
    transform: scale(0.94);
    transition: 0.25s ease;
}

.movie-card:hover .movie-play-dot {
    transform: scale(1.08);
}

.rank-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    color: #ffffff;
    background: linear-gradient(90deg, var(--red), #f97316);
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 900;
}

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

.movie-meta-row,
.movie-meta-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.pill {
    display: inline-flex;
    align-items: center;
    max-width: 70%;
    min-height: 28px;
    color: #1d4ed8;
    background: #dbeafe;
    border-radius: 999px;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.score {
    color: #b45309;
    font-weight: 900;
    white-space: nowrap;
}

.movie-card h3 {
    margin: 12px 0 8px;
    font-size: 17px;
    line-height: 1.35;
}

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

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

.movie-meta-line {
    justify-content: flex-start;
    flex-wrap: wrap;
    color: #64748b;
    font-size: 12px;
}

.movie-meta-line span:not(:last-child)::after {
    content: "·";
    margin-left: 8px;
    color: #cbd5e1;
}

.tag-line {
    margin-top: 8px;
    color: #94a3b8;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blue-section {
    color: #ffffff;
    background:
        radial-gradient(circle at 15% 10%, rgba(6, 182, 212, 0.25), transparent 32%),
        linear-gradient(100deg, #0f172a 0%, #1e3a8a 58%, #0f172a 100%);
}

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

.category-tile {
    position: relative;
    min-height: 214px;
    border-radius: 22px;
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.20);
}

.category-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.54;
    transition: transform 0.45s ease, opacity 0.45s ease;
}

.category-tile:hover img {
    opacity: 0.72;
    transform: scale(1.08);
}

.category-tile span {
    position: absolute;
    inset: auto 16px 16px 16px;
    color: #ffffff;
}

.category-tile strong {
    display: block;
    margin-bottom: 8px;
    font-size: 22px;
}

.category-tile em {
    display: -webkit-box;
    color: #dbeafe;
    font-style: normal;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

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

.compact-card {
    position: relative;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-height: 86px;
    padding: 10px;
    color: var(--ink);
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.92);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    transition: 0.25s ease;
}

.compact-card:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.28);
}

.compact-card img {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    object-fit: cover;
}

.compact-info {
    min-width: 0;
}

.compact-info strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.compact-info em {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-number {
    position: absolute;
    right: 10px;
    top: 10px;
    color: #ffffff;
    background: var(--blue);
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 900;
}

.page-hero {
    color: #ffffff;
    background:
        radial-gradient(circle at 20% 20%, rgba(6, 182, 212, 0.25), transparent 34%),
        linear-gradient(100deg, #0f172a 0%, #1e3a8a 58%, #0f172a 100%);
    padding: 86px 0 78px;
}

.page-hero-small {
    padding: 64px 0 58px;
}

.page-hero h1 {
    margin-bottom: 12px;
}

.page-hero p {
    max-width: 780px;
    color: #dbeafe;
    font-size: 18px;
}

.page-hero-actions {
    margin-top: 22px;
}

.category-overview-list {
    display: grid;
    gap: 22px;
    padding: 52px 0 70px;
}

.category-overview-card {
    padding: 24px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.92);
    border-radius: 24px;
    box-shadow: var(--soft-shadow);
}

.category-overview-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
}

.category-overview-head p {
    margin: 8px 0 0;
    color: var(--muted);
}

.category-overview-head a {
    flex: 0 0 auto;
    color: #ffffff;
    background: var(--blue);
    border-radius: 14px;
    padding: 10px 16px;
    font-weight: 800;
}

.filter-panel {
    margin-bottom: 26px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 24px;
    box-shadow: var(--soft-shadow);
    backdrop-filter: blur(14px);
}

.filter-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.filter-heading span {
    color: var(--muted);
    font-weight: 700;
}

.filter-controls {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 160px 150px 150px;
    gap: 12px;
}

.movie-card.is-hidden,
.compact-card.is-hidden {
    display: none;
}

.detail-hero {
    position: relative;
    color: #ffffff;
    background: #0f172a;
    overflow: hidden;
}

.detail-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: saturate(1.05);
}

.detail-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, #0f172a 92%);
}

.detail-shell {
    position: relative;
    z-index: 2;
    padding: 34px 0 62px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 26px;
    color: #bfdbfe;
    font-size: 14px;
}

.breadcrumb a:hover {
    color: #ffffff;
}

.detail-main {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(310px, 0.65fr);
    gap: 36px;
    align-items: center;
}

.player-card {
    position: relative;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(191, 219, 254, 0.22);
    border-radius: 26px;
    overflow: hidden;
    background: #020617;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 0;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.15), rgba(2, 6, 23, 0.56));
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-overlay span {
    display: grid;
    width: 86px;
    height: 86px;
    place-items: center;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.94);
    box-shadow: 0 18px 48px rgba(37, 99, 235, 0.42);
    font-size: 34px;
    text-indent: 5px;
}

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

.detail-info h1 {
    font-size: clamp(34px, 5vw, 56px);
}

.detail-info .lead {
    color: #dbeafe;
    font-size: 18px;
}

.detail-category-link {
    margin-top: 4px;
}

.detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    padding: 44px 0 0;
}

.story-card {
    padding: 26px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 24px;
    box-shadow: var(--soft-shadow);
}

.story-card p {
    margin: 14px 0 0;
    color: #334155;
    font-size: 16px;
}

.tag-card {
    grid-column: 1 / -1;
}

.tag-card div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.tag-card span {
    color: #1d4ed8;
    background: #dbeafe;
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 700;
}

.site-footer {
    color: #cbd5e1;
    background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
    padding: 48px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
    gap: 32px;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 900;
}

.site-footer h2 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 16px;
}

.site-footer p {
    margin: 0;
    color: #94a3b8;
}

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

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

.site-footer a:hover {
    color: #60a5fa;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 34px;
    padding-top: 22px;
    color: #64748b;
    border-top: 1px solid #1e293b;
}

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

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

    .menu-button {
        display: block;
    }

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

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

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

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

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

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

@media (max-width: 820px) {
    .nav-wrap {
        min-height: 68px;
    }

    .header-search {
        display: none;
    }

    .brand {
        min-width: 0;
    }

    .brand-subtitle {
        display: none;
    }

    .hero-stage {
        height: 720px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 22px;
        align-content: center;
        padding: 34px 0 100px;
    }

    .hero-poster {
        width: min(260px, 76vw);
        margin: 0 auto;
        order: -1;
    }

    .hero-copy p {
        font-size: 16px;
    }

    .hero-search-card {
        grid-template-columns: 1fr;
        margin-top: -74px;
    }

    .hero-search-form {
        grid-template-columns: 1fr;
    }

    .hero-dots {
        bottom: 196px;
    }

    .hero-ribbon {
        grid-template-columns: 1fr;
    }

    .feature-grid,
    .poster-grid,
    .category-grid,
    .compact-grid,
    .ranking-list,
    .footer-grid,
    .detail-content {
        grid-template-columns: 1fr;
    }

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

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

    .section-title,
    .category-overview-head,
    .footer-bottom {
        align-items: start;
        flex-direction: column;
    }

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

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

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

    .hero-stage {
        height: 760px;
    }

    .hero-copy h1,
    .page-hero h1,
    .detail-info h1 {
        letter-spacing: -0.03em;
    }

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

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

    .movie-card h3 {
        font-size: 15px;
    }

    .movie-card p,
    .tag-line {
        display: none;
    }

    .movie-meta-line {
        font-size: 11px;
    }

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

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

    .story-card {
        padding: 20px;
    }
}
