:root {
    color-scheme: dark;
    --bg: #0f172a;
    --bg-soft: #111827;
    --panel: #1e293b;
    --panel-strong: #0b1220;
    --line: rgba(6, 182, 212, 0.24);
    --line-soft: rgba(148, 163, 184, 0.16);
    --text: #ffffff;
    --muted: #94a3b8;
    --muted-strong: #cbd5e1;
    --cyan: #22d3ee;
    --cyan-deep: #0891b2;
    --blue: #3b82f6;
    --radius: 18px;
    --shadow: 0 24px 70px rgba(2, 8, 23, 0.4);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(15, 23, 42, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    gap: 18px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.9), rgba(59, 130, 246, 0.75));
    color: #ffffff;
    box-shadow: 0 0 34px rgba(34, 211, 238, 0.35);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text span {
    font-size: 21px;
    letter-spacing: 0.03em;
}

.brand-text small {
    color: rgba(34, 211, 238, 0.8);
    font-size: 11px;
    font-weight: 600;
    margin-top: 3px;
}

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

.nav-link,
.mobile-link {
    color: #d1d5db;
    border-radius: 12px;
    transition: 0.2s ease;
}

.nav-link {
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 600;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover {
    color: #a5f3fc;
    background: rgba(34, 211, 238, 0.12);
}

.site-search {
    position: relative;
    width: min(290px, 24vw);
}

.site-search-input,
.category-search-input,
.hero-search input {
    width: 100%;
    border: 1px solid rgba(6, 182, 212, 0.28);
    outline: none;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.72);
    border-radius: 999px;
    padding: 12px 16px;
    transition: 0.2s ease;
}

.site-search-input:focus,
.category-search-input:focus,
.hero-search input:focus {
    border-color: rgba(34, 211, 238, 0.8);
    box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12);
}

.search-results {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    max-height: 420px;
    overflow: auto;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.98);
    box-shadow: var(--shadow);
}

.search-results.open {
    display: block;
}

.search-results a {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    color: #e2e8f0;
}

.search-results a:hover {
    background: rgba(34, 211, 238, 0.12);
    color: #ffffff;
}

.search-results strong {
    display: block;
    font-size: 14px;
}

.search-results small {
    color: var(--muted);
}

.menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: rgba(30, 41, 59, 0.78);
}

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

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

.mobile-panel.open {
    display: grid;
    gap: 6px;
}

.mobile-link {
    padding: 12px 14px;
}

.hero-section {
    position: relative;
    min-height: 82vh;
    padding: 120px 0 72px;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #111827 52%, #083344 100%);
}

.hero-bg,
.detail-backdrop {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(60px);
    opacity: 0.34;
    animation: pulseGlow 3s ease-in-out infinite alternate;
}

.glow-a {
    width: 290px;
    height: 290px;
    left: 8%;
    top: 18%;
    background: var(--cyan);
}

.glow-b {
    width: 420px;
    height: 420px;
    right: 5%;
    bottom: 5%;
    background: var(--blue);
    animation-delay: 0.9s;
}

@keyframes pulseGlow {
    from {
        transform: scale(0.9);
        opacity: 0.22;
    }
    to {
        transform: scale(1.06);
        opacity: 0.42;
    }
}

.hero-container {
    position: relative;
    z-index: 1;
}

.hero-slider {
    position: relative;
    min-height: 520px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(270px, 0.65fr);
    gap: 48px;
    align-items: center;
    opacity: 0;
    transform: translateY(18px);
    pointer-events: none;
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.hero-slide.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 14px;
    color: #a5f3fc;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-copy h1,
.hero-copy h2,
.page-hero h1,
.detail-hero h1 {
    margin: 0;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.04em;
    background: linear-gradient(90deg, #ffffff 0%, #cffafe 46%, #bfdbfe 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-copy h1,
.hero-copy h2 {
    max-width: 760px;
    font-size: clamp(42px, 6vw, 82px);
}

.hero-title-line {
    margin: 18px 0 0;
    color: #a5f3fc;
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 800;
}

.hero-description {
    max-width: 720px;
    margin: 16px 0 0;
    color: #d1d5db;
    font-size: 18px;
}

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

.hero-tags {
    margin: 24px 0;
}

.hero-tags span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(34, 211, 238, 0.24);
    border-radius: 999px;
    color: #a5f3fc;
    background: rgba(34, 211, 238, 0.09);
}

.hero-tags span {
    padding: 7px 12px;
    font-size: 13px;
}

.tag-row span {
    padding: 4px 8px;
    font-size: 12px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 14px;
    font-weight: 800;
    transition: 0.2s ease;
}

.btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--cyan-deep), var(--blue));
    box-shadow: 0 14px 32px rgba(8, 145, 178, 0.28);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(8, 145, 178, 0.35);
}

.btn-soft {
    color: #cffafe;
    border: 1px solid var(--line);
    background: rgba(15, 23, 42, 0.66);
}

.btn-soft:hover {
    background: rgba(34, 211, 238, 0.14);
}

.hero-poster {
    position: relative;
    display: block;
    overflow: hidden;
    border: 1px solid rgba(34, 211, 238, 0.28);
    border-radius: 30px;
    aspect-ratio: 3 / 4.25;
    box-shadow: var(--shadow);
}

.hero-poster img,
.movie-card img,
.category-card img,
.category-overview-image img,
.detail-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(2, 6, 23, 0.86) 100%);
}

.hero-poster span {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 1;
    padding: 8px 12px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(6, 182, 212, 0.88);
    font-size: 13px;
    font-weight: 800;
}

.hero-control-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 14px;
}

.hero-arrow,
.hero-dots button {
    border: 1px solid rgba(34, 211, 238, 0.24);
    color: #cffafe;
    background: rgba(15, 23, 42, 0.58);
}

.hero-arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 26px;
    line-height: 1;
}

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

.hero-dots button {
    width: 11px;
    height: 11px;
    padding: 0;
    border-radius: 50%;
}

.hero-dots button.active {
    background: var(--cyan);
    box-shadow: 0 0 18px rgba(34, 211, 238, 0.8);
}

.hero-search {
    position: relative;
    display: flex;
    gap: 10px;
    max-width: 680px;
    margin: 28px auto 0;
}

.hero-search button {
    border: 0;
    border-radius: 999px;
    padding: 0 22px;
    color: #ffffff;
    background: var(--cyan-deep);
    font-weight: 800;
}

.section-pad {
    padding: 78px 0;
    background: #0f172a;
}

.section-alt {
    background: linear-gradient(180deg, #0f172a 0%, #111827 54%, #0f172a 100%);
}

.section-heading {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 30px;
}

.section-icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    color: #a5f3fc;
    background: rgba(34, 211, 238, 0.12);
    box-shadow: 0 0 28px rgba(34, 211, 238, 0.12);
}

.section-heading h2 {
    margin: 0 0 6px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.1;
}

.section-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
}

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

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    background: rgba(30, 41, 59, 0.86);
    box-shadow: 0 12px 36px rgba(2, 8, 23, 0.16);
    transition: 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-4px) scale(1.012);
    border-color: rgba(34, 211, 238, 0.52);
    box-shadow: 0 20px 44px rgba(6, 182, 212, 0.12);
}

.movie-card-featured {
    grid-column: span 2;
}

.poster-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10.5;
    background: #020617;
}

.movie-card-featured .poster-wrap {
    aspect-ratio: 16 / 9;
}

.poster-wrap img {
    transition: transform 0.7s ease;
}

.movie-card:hover .poster-wrap img {
    transform: scale(1.1);
}

.poster-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 20%, rgba(15, 23, 42, 0.92) 100%);
}

.category-badge,
.poster-meta,
.play-hover {
    position: absolute;
    z-index: 2;
}

.category-badge {
    left: 12px;
    top: 12px;
    padding: 5px 9px;
    border-radius: 8px;
    color: #ffffff;
    background: rgba(6, 182, 212, 0.88);
    font-size: 12px;
    font-weight: 800;
}

.poster-meta {
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: flex;
    justify-content: space-between;
    color: #e5e7eb;
    font-size: 12px;
}

.play-hover {
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    color: #ffffff;
    background: var(--cyan-deep);
    transform: translate(-50%, -50%) scale(0.82);
    opacity: 0;
    transition: 0.25s ease;
}

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

.movie-info {
    padding: 16px;
}

.movie-info h3 {
    display: -webkit-box;
    min-height: 48px;
    margin: 0 0 8px;
    overflow: hidden;
    color: #ffffff;
    font-size: 17px;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

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

.rank-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
}

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

.list-row {
    display: grid;
    grid-template-columns: auto 88px 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border: 1px solid var(--line-soft);
    border-radius: 16px;
    background: rgba(30, 41, 59, 0.72);
    transition: 0.2s ease;
}

.latest-list .list-row,
.side-list .list-row {
    grid-template-columns: 78px 1fr auto;
}

.list-row:hover {
    border-color: rgba(34, 211, 238, 0.5);
    background: rgba(30, 41, 59, 0.96);
}

.rank-num {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--cyan-deep), var(--blue));
    font-weight: 900;
}

.list-row img {
    width: 88px;
    height: 58px;
    border-radius: 10px;
    object-fit: cover;
}

.latest-list .list-row img,
.side-list .list-row img {
    width: 78px;
    height: 54px;
}

.list-body {
    min-width: 0;
}

.list-body strong,
.list-body small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.list-body small {
    color: var(--muted);
}

.list-action,
.more-link {
    color: #67e8f9;
    font-weight: 800;
}

.more-link {
    display: inline-flex;
    margin-top: 22px;
}

.category-card-grid,
.category-overview-grid {
    display: grid;
    gap: 22px;
}

.category-card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 48px;
}

.category-card {
    position: relative;
    overflow: hidden;
    min-height: 210px;
    padding: 18px;
    border: 1px solid var(--line-soft);
    border-radius: 22px;
    background: rgba(15, 23, 42, 0.8);
}

.category-card img {
    position: absolute;
    inset: 0;
    opacity: 0.34;
    transition: 0.5s ease;
}

.category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.12), rgba(2, 6, 23, 0.9));
}

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

.category-card span,
.category-card small {
    position: relative;
    z-index: 1;
    display: block;
}

.category-card span {
    margin-top: 88px;
    color: #ffffff;
    font-size: 24px;
    font-weight: 900;
}

.category-card small {
    max-width: 260px;
    color: #cbd5e1;
}

.category-block {
    padding: 28px 0;
    border-top: 1px solid var(--line-soft);
}

.category-block-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-end;
    margin-bottom: 20px;
}

.category-block-head h3 {
    margin: 0 0 8px;
    font-size: 26px;
}

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

.category-block-head a {
    color: #67e8f9;
    font-weight: 800;
}

.page-main {
    padding-top: 76px;
}

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    padding: 82px 0;
    background: linear-gradient(135deg, #0f172a 0%, #111827 50%, #083344 100%);
}

.slim-hero {
    padding: 58px 0;
}

.page-hero h1,
.detail-hero h1 {
    max-width: 860px;
    font-size: clamp(40px, 6vw, 72px);
}

.page-hero p,
.detail-hero p {
    max-width: 760px;
    margin: 18px 0 0;
    color: #cbd5e1;
    font-size: 18px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    color: #94a3b8;
}

.breadcrumb a {
    color: #67e8f9;
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 22px;
    padding: 18px;
    border: 1px solid var(--line-soft);
    border-radius: 22px;
    background: rgba(30, 41, 59, 0.72);
}

.category-overview-image {
    overflow: hidden;
    border-radius: 18px;
    aspect-ratio: 3 / 4;
}

.category-overview-card h2 {
    margin: 0 0 10px;
    font-size: 24px;
}

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

.category-overview-card ul {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.category-overview-card li a {
    color: #cbd5e1;
}

.filter-panel {
    position: sticky;
    top: 88px;
    z-index: 5;
    display: grid;
    gap: 14px;
    margin-bottom: 28px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(14px);
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-button {
    border: 1px solid rgba(34, 211, 238, 0.24);
    border-radius: 999px;
    padding: 8px 12px;
    color: #cbd5e1;
    background: rgba(30, 41, 59, 0.72);
}

.filter-button.active,
.filter-button:hover {
    color: #ffffff;
    background: rgba(8, 145, 178, 0.9);
}

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

.detail-hero {
    min-height: 520px;
}

.detail-backdrop {
    background-size: cover;
    background-position: center;
    filter: saturate(1.1);
}

.detail-head-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 36px;
    align-items: center;
}

.detail-cover {
    width: 260px;
    height: 360px;
    border: 1px solid rgba(34, 211, 238, 0.28);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.detail-content-pad {
    padding-top: 42px;
}

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

.player-card,
.content-card {
    border: 1px solid var(--line-soft);
    border-radius: 22px;
    background: rgba(30, 41, 59, 0.72);
    box-shadow: 0 12px 34px rgba(2, 8, 23, 0.16);
}

.player-card {
    padding: 18px;
}

.player-card h2,
.content-card h2 {
    margin: 0 0 16px;
    font-size: 24px;
}

.video-shell {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: #020617;
    aspect-ratio: 16 / 9;
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 0;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.3), rgba(2, 6, 23, 0.78));
}

.player-overlay[hidden],
.video-shell.is-playing .player-overlay {
    display: none;
}

.player-icon {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan-deep), var(--blue));
    box-shadow: 0 0 34px rgba(34, 211, 238, 0.35);
}

.content-card {
    margin-top: 20px;
    padding: 24px;
}

.content-card p {
    margin: 0;
    color: #d1d5db;
    font-size: 16px;
}

.meta-card dl {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 10px 12px;
    margin: 0;
}

.meta-card dt {
    color: var(--muted);
}

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

.meta-card a {
    color: #67e8f9;
}

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

.side-list .list-row {
    padding: 9px;
}

.wide-rank {
    margin-top: 32px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-footer {
    border-top: 1px solid var(--line);
    background: #020617;
}

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

.footer-grid h2 {
    margin: 0 0 14px;
    font-size: 18px;
}

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

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

.footer-links a:hover {
    color: #67e8f9;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0 28px;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    font-size: 14px;
}

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

    .menu-button {
        display: block;
    }

    .site-search {
        width: min(360px, 42vw);
        margin-left: auto;
    }

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

    .rank-layout,
    .detail-layout,
    .category-overview-grid {
        grid-template-columns: 1fr;
    }

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

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

    .site-search {
        display: none;
    }

    .hero-section {
        min-height: auto;
        padding-top: 104px;
    }

    .hero-slider {
        min-height: 760px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        gap: 26px;
        text-align: left;
    }

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

    .hero-search {
        flex-direction: column;
    }

    .hero-search button {
        min-height: 46px;
    }

    .movie-grid,
    .featured-grid,
    .category-card-grid,
    .category-grid,
    .compact-grid,
    .wide-rank {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .movie-card-featured {
        grid-column: span 1;
    }

    .rank-layout {
        gap: 48px;
    }

    .category-overview-card,
    .detail-head-grid {
        grid-template-columns: 1fr;
    }

    .detail-cover {
        width: min(260px, 80vw);
        height: auto;
        aspect-ratio: 3 / 4.1;
    }

    .detail-aside,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

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

    .brand-text small {
        display: none;
    }

    .brand-text span {
        font-size: 18px;
    }

    .section-pad {
        padding: 54px 0;
    }

    .hero-copy h1,
    .hero-copy h2,
    .page-hero h1,
    .detail-hero h1 {
        font-size: 38px;
    }

    .hero-slider {
        min-height: 700px;
    }

    .hero-description,
    .page-hero p,
    .detail-hero p {
        font-size: 16px;
    }

    .movie-grid,
    .featured-grid,
    .category-card-grid,
    .category-grid,
    .compact-grid,
    .wide-rank {
        grid-template-columns: 1fr;
    }

    .category-block-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .list-row,
    .latest-list .list-row,
    .side-list .list-row {
        grid-template-columns: 74px 1fr;
    }

    .rank-num,
    .list-action {
        display: none;
    }

    .list-row img,
    .latest-list .list-row img,
    .side-list .list-row img {
        width: 74px;
        height: 54px;
    }

    .filter-panel {
        top: 76px;
    }
}
