:root {
    --blue-950: #0f172a;
    --blue-900: #1e3a8a;
    --blue-800: #1d4ed8;
    --cyan-700: #0e7490;
    --cyan-600: #0891b2;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --white: #ffffff;
    --shadow-sm: 0 10px 25px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 18px 45px rgba(15, 23, 42, 0.14);
    --shadow-lg: 0 30px 80px rgba(15, 23, 42, 0.22);
    --radius-xl: 20px;
    --radius-lg: 16px;
    --radius-md: 12px;
    color-scheme: light;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
    background: var(--slate-50);
    color: var(--slate-800);
}

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

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

button,
input {
    font: inherit;
}

main {
    min-height: 60vh;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    color: var(--white);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.86), rgba(15, 23, 42, 0));
    transition: background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.inner-page .site-header,
.detail-page .site-header,
.site-header.is-scrolled {
    color: var(--slate-800);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(14px);
}

.header-inner {
    width: min(1180px, calc(100% - 32px));
    height: 74px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

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

.brand-mark {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue-900), var(--cyan-600));
    box-shadow: 0 12px 28px rgba(30, 58, 138, 0.25);
}

.home-page .site-header:not(.is-scrolled) .brand-mark {
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(14px);
}

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

.brand-text strong {
    font-size: 20px;
    letter-spacing: -0.02em;
}

.brand-text small {
    margin-top: 4px;
    color: currentColor;
    opacity: 0.72;
}

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

.nav-link {
    padding: 10px 14px;
    border-radius: 12px;
    font-weight: 700;
    color: currentColor;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--blue-900);
    background: var(--white);
}

.inner-page .nav-link:hover,
.inner-page .nav-link.is-active,
.detail-page .nav-link:hover,
.detail-page .nav-link.is-active,
.site-header.is-scrolled .nav-link:hover,
.site-header.is-scrolled .nav-link.is-active {
    color: var(--white);
    background: var(--blue-900);
}

.header-search {
    display: flex;
    width: min(310px, 28vw);
    padding: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(14px);
}

.inner-page .header-search,
.detail-page .header-search,
.site-header.is-scrolled .header-search {
    background: var(--slate-100);
}

.header-search input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    color: currentColor;
    background: transparent;
    padding: 8px 12px;
}

.header-search input::placeholder {
    color: currentColor;
    opacity: 0.58;
}

.header-search button {
    border: 0;
    border-radius: 999px;
    color: var(--white);
    background: var(--amber-500);
    padding: 8px 14px;
    cursor: pointer;
    font-weight: 700;
}

.mobile-menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    color: currentColor;
    cursor: pointer;
}

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

.mobile-nav {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 14px;
    padding: 12px;
    border-radius: 16px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.mobile-nav .nav-link {
    display: block;
    color: var(--slate-700);
}

.mobile-nav.is-open {
    display: block;
}

.hero {
    position: relative;
    height: min(720px, 100vh);
    min-height: 560px;
    overflow: hidden;
    background: var(--slate-900);
}

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

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

.hero-slide > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 16% 32%, rgba(245, 158, 11, 0.24), transparent 28%),
        linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.76) 44%, rgba(15, 23, 42, 0.28)),
        linear-gradient(0deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.04) 48%);
}

.hero-content {
    position: absolute;
    left: max(24px, calc((100vw - 1180px) / 2));
    right: 24px;
    bottom: 82px;
    max-width: 760px;
    color: var(--white);
}

.hero-kicker,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--amber-500);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-content h1 {
    margin: 0 0 18px;
    font-size: clamp(38px, 7vw, 72px);
    line-height: 1.04;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.hero-content p {
    max-width: 700px;
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(17px, 2vw, 21px);
}

.hero-tags,
.tag-row,
.detail-tags,
.chip-row,
.footer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-tags span,
.detail-tags span {
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
}

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

.primary-button,
.ghost-button,
.section-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 22px;
    border-radius: 13px;
    font-weight: 800;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.primary-button {
    color: var(--white);
    background: var(--amber-500);
    box-shadow: 0 18px 38px rgba(245, 158, 11, 0.3);
}

.primary-button:hover,
.header-search button:hover {
    background: var(--amber-600);
}

.ghost-button {
    color: var(--white);
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
}

.primary-button:hover,
.ghost-button:hover,
.section-more:hover,
.category-tile:hover,
.movie-card:hover,
.category-overview-card:hover,
.rank-row:hover {
    transform: translateY(-2px);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    color: var(--white);
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    cursor: pointer;
    font-size: 34px;
    line-height: 1;
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 34px;
    transform: translateX(-50%);
    display: flex;
    gap: 9px;
}

.hero-dot {
    width: 26px;
    height: 5px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
}

.hero-dot.active {
    background: var(--amber-500);
}

.category-strip,
.search-panel,
.content-section,
.filter-bar,
.detail-layout {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.category-strip,
.search-panel,
.content-section {
    padding: 58px 0;
}

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

.section-heading h2,
.search-panel h2,
.page-hero h1 {
    margin: 0;
    color: var(--slate-900);
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.section-heading p,
.search-panel p,
.page-hero p {
    max-width: 680px;
    margin: 10px 0 0;
    color: var(--slate-600);
}

.section-heading.compact {
    align-items: center;
}

.section-more {
    flex: 0 0 auto;
    color: var(--blue-900);
    background: var(--slate-100);
}

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

.category-tile {
    min-height: 150px;
    padding: 24px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--white), #eff6ff);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tile span {
    display: block;
    color: var(--blue-900);
    font-size: 20px;
    font-weight: 900;
}

.category-tile p {
    margin: 10px 0 0;
    color: var(--slate-600);
}

.search-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
    align-items: center;
    gap: 28px;
    padding: 34px;
    border-radius: var(--radius-xl);
    color: var(--white);
    background:
        radial-gradient(circle at 90% 0%, rgba(245, 158, 11, 0.28), transparent 26%),
        linear-gradient(135deg, var(--blue-900), var(--cyan-700));
    box-shadow: var(--shadow-md);
}

.search-panel h2,
.search-panel p {
    color: var(--white);
}

.large-search {
    display: flex;
    gap: 10px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
}

.large-search input,
.filter-bar input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    border-radius: 999px;
    padding: 13px 18px;
    color: var(--slate-800);
    background: var(--white);
}

.large-search button {
    border: 0;
    border-radius: 999px;
    padding: 0 22px;
    color: var(--white);
    background: var(--amber-500);
    cursor: pointer;
    font-weight: 800;
}

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

.movie-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.movie-card:hover {
    box-shadow: var(--shadow-md);
}

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

.card-cover {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--slate-200);
}

.card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

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

.card-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.74), rgba(15, 23, 42, 0) 58%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.movie-card:hover .card-cover::after {
    opacity: 1;
}

.type-pill,
.rank-badge {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    color: var(--white);
    font-size: 12px;
    font-weight: 800;
}

.type-pill {
    right: 12px;
    bottom: 12px;
    padding: 5px 9px;
    background: rgba(15, 23, 42, 0.78);
}

.rank-badge {
    left: 12px;
    top: 12px;
    min-width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--amber-500);
    box-shadow: 0 12px 24px rgba(245, 158, 11, 0.3);
}

.play-float {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 50%;
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--blue-900);
    background: rgba(255, 255, 255, 0.9);
    transform: translate(-50%, -50%) scale(0.85);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px;
}

.card-body h3 {
    display: -webkit-box;
    min-height: 52px;
    margin: 0 0 8px;
    overflow: hidden;
    color: var(--slate-900);
    font-size: 18px;
    font-weight: 900;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

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

.meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    color: var(--slate-500);
    font-size: 13px;
}

.tag-row {
    margin-top: 12px;
}

.tag-row span {
    padding: 4px 8px;
    border-radius: 999px;
    color: var(--slate-600);
    background: var(--slate-100);
    font-size: 12px;
}

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

.featured-card .card-cover {
    aspect-ratio: 16 / 10;
}

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

.ranking-panel,
.info-card,
.player-card,
.category-overview-card {
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.ranking-panel {
    position: sticky;
    top: 94px;
    padding: 24px;
}

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

.rank-list.full {
    gap: 14px;
}

.rank-row {
    border-radius: 16px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-row a {
    display: grid;
    grid-template-columns: 44px 108px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 12px;
}

.rank-number {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    background: var(--blue-900);
    font-weight: 900;
}

.rank-row img {
    width: 108px;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    object-fit: cover;
}

.rank-row h3 {
    margin: 0;
    color: var(--slate-900);
    font-size: 16px;
    font-weight: 900;
}

.rank-row p {
    display: -webkit-box;
    margin: 4px 0;
    overflow: hidden;
    color: var(--slate-600);
    font-size: 13px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.rank-row small {
    color: var(--slate-500);
}

.page-hero {
    padding: 134px 0 68px;
    color: var(--white);
    background:
        radial-gradient(circle at 82% 12%, rgba(245, 158, 11, 0.25), transparent 26%),
        linear-gradient(135deg, var(--blue-900), var(--cyan-700));
}

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

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

.filter-bar {
    display: grid;
    gap: 16px;
    margin-top: 28px;
    padding: 22px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.filter-bar input {
    border: 1px solid var(--slate-200);
    background: var(--slate-50);
}

.chip-row button {
    border: 0;
    border-radius: 999px;
    padding: 8px 13px;
    color: var(--slate-700);
    background: var(--slate-100);
    cursor: pointer;
    font-weight: 700;
}

.chip-row button.active,
.chip-row button:hover {
    color: var(--white);
    background: var(--blue-900);
}

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

.category-overview-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-overview-card a {
    display: block;
    padding: 26px;
}

.category-overview-card h2 {
    margin: 0 0 10px;
    color: var(--blue-900);
    font-size: 24px;
    font-weight: 900;
}

.category-overview-card p {
    margin: 0 0 18px;
    color: var(--slate-600);
}

.category-overview-card ul {
    margin: 0 0 18px;
    padding-left: 18px;
    color: var(--slate-600);
}

.category-overview-card li + li {
    margin-top: 6px;
}

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

.detail-layout {
    padding-top: 112px;
}

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

.breadcrumb a {
    color: var(--blue-900);
    font-weight: 800;
}

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

.detail-main h1 {
    margin: 24px 0 12px;
    color: var(--slate-900);
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.lead-text {
    margin: 0 0 18px;
    color: var(--slate-600);
    font-size: 18px;
    line-height: 1.75;
}

.player-card {
    overflow: hidden;
    background: var(--slate-900);
    box-shadow: var(--shadow-lg);
}

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

.movie-video,
.player-cover,
.player-cover img {
    width: 100%;
    height: 100%;
}

.movie-video {
    display: block;
    object-fit: contain;
    background: #000000;
}

.player-cover {
    position: absolute;
    inset: 0;
    border: 0;
    padding: 0;
    overflow: hidden;
    color: var(--white);
    background: #000000;
    cursor: pointer;
}

.player-cover img {
    object-fit: cover;
    filter: brightness(0.58);
}

.big-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 82px;
    height: 82px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    background: rgba(245, 158, 11, 0.94);
    box-shadow: 0 24px 60px rgba(245, 158, 11, 0.34);
    transform: translate(-50%, -50%);
    font-size: 36px;
}

.player-error {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(420px, calc(100% - 32px));
    padding: 18px 20px;
    border-radius: 16px;
    color: var(--white);
    background: rgba(15, 23, 42, 0.9);
    text-align: center;
    transform: translate(-50%, -50%);
}

.detail-tags span {
    color: var(--blue-900);
    background: #dbeafe;
}

.story-block {
    margin-top: 28px;
    padding: 28px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.story-block h2,
.info-card h2 {
    margin: 0 0 14px;
    color: var(--slate-900);
    font-size: 24px;
    font-weight: 900;
}

.story-block p {
    margin: 0;
    color: var(--slate-700);
    line-height: 1.85;
}

.detail-side {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 22px;
}

.info-card {
    padding: 24px;
}

.info-card dl {
    display: grid;
    gap: 14px;
    margin: 0;
}

.info-card dl div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--slate-100);
}

.info-card dt {
    color: var(--slate-500);
}

.info-card dd {
    margin: 0;
    color: var(--slate-800);
    font-weight: 800;
    text-align: right;
}

.info-card a {
    color: var(--blue-900);
}

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

.mini-related {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.mini-related img {
    width: 104px;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    object-fit: cover;
    grid-row: span 2;
}

.mini-related span {
    display: -webkit-box;
    overflow: hidden;
    color: var(--slate-900);
    font-weight: 900;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.mini-related small {
    color: var(--slate-500);
}

.no-results {
    margin: 34px 0 0;
    padding: 24px;
    border-radius: var(--radius-lg);
    color: var(--slate-600);
    background: var(--white);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.site-footer {
    margin-top: 58px;
    color: #cbd5e1;
    background: linear-gradient(135deg, #020617, #0f172a 52%, #082f49);
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--white);
}

.footer-brand strong {
    display: block;
    font-size: 20px;
}

.footer-brand small {
    color: #94a3b8;
}

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

.site-footer p,
.site-footer a {
    color: #94a3b8;
    line-height: 1.75;
}

.site-footer a {
    display: block;
    margin: 6px 0;
}

.site-footer a:hover {
    color: var(--amber-500);
}

.footer-tags a {
    display: inline-flex;
    margin: 0;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.footer-bottom {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 22px 0;
    border-top: 1px solid rgba(148, 163, 184, 0.22);
    color: #94a3b8;
    text-align: center;
}

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

    .mobile-menu-button {
        display: block;
    }

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

    .split-section,
    .detail-grid,
    .search-panel,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

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

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

    .brand-text strong {
        font-size: 17px;
    }

    .brand-text small {
        display: none;
    }

    .hero {
        min-height: 620px;
    }

    .hero-content {
        left: 18px;
        right: 18px;
        bottom: 72px;
    }

    .hero-arrow {
        display: none;
    }

    .category-strip,
    .search-panel,
    .content-section {
        padding: 40px 0;
    }

    .section-heading {
        display: block;
    }

    .section-more {
        margin-top: 16px;
    }

    .movie-grid,
    .category-grid,
    .featured-grid,
    .category-overview-grid {
        grid-template-columns: 1fr;
    }

    .search-panel,
    .filter-bar {
        padding: 18px;
    }

    .large-search {
        display: grid;
        border-radius: 18px;
    }

    .large-search input,
    .large-search button {
        width: 100%;
        min-height: 46px;
    }

    .rank-row a {
        grid-template-columns: 36px 92px minmax(0, 1fr);
        gap: 10px;
    }

    .rank-row img {
        width: 92px;
    }

    .page-hero {
        padding: 104px 0 46px;
    }

    .detail-layout {
        padding-top: 92px;
    }

    .story-block,
    .info-card {
        padding: 20px;
    }

    .mini-related {
        grid-template-columns: 96px minmax(0, 1fr);
    }

    .mini-related img {
        width: 96px;
    }
}
