:root {
    --lamp-dark: #0f0f0f;
    --lamp-charcoal: #1a1a1a;
    --lamp-brown: #4e342e;
    --lamp-brown-soft: rgba(78, 52, 46, 0.3);
    --lamp-warm: #ffa726;
    --lamp-gold: #ffb74d;
    --lamp-beige: #d7ccc8;
    --lamp-muted: rgba(215, 204, 200, 0.68);
    --lamp-line: rgba(78, 52, 46, 0.42);
    --shadow-warm: 0 0 28px rgba(255, 167, 38, 0.22);
    --shadow-card: 0 18px 55px rgba(0, 0, 0, 0.35);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--lamp-dark);
    color: var(--lamp-beige);
    scroll-behavior: smooth;
}

body {
    min-height: 100%;
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(255, 167, 38, 0.12), transparent 28rem),
        radial-gradient(circle at top right, rgba(78, 52, 46, 0.35), transparent 30rem),
        var(--lamp-dark);
    color: var(--lamp-beige);
    -webkit-font-smoothing: antialiased;
}

body.no-scroll {
    overflow: hidden;
}

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

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

button,
input,
select {
    font: inherit;
}

.container {
    width: min(100% - 2rem, 1280px);
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(26, 26, 26, 0.95);
    border-bottom: 1px solid var(--lamp-line);
    backdrop-filter: blur(14px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 5rem;
    gap: 1.5rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-icon {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    color: var(--lamp-warm);
    border: 1px solid rgba(255, 167, 38, 0.28);
    border-radius: 0.95rem;
    background: rgba(78, 52, 46, 0.2);
    transition: color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.brand:hover .brand-icon {
    color: var(--lamp-gold);
    transform: scale(1.06);
    box-shadow: var(--shadow-warm);
}

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

.brand-text strong {
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(90deg, var(--lamp-warm), var(--lamp-gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-text em {
    margin-top: 0.2rem;
    color: rgba(215, 204, 200, 0.58);
    font-size: 0.76rem;
    font-style: normal;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link,
.mobile-nav-link {
    color: var(--lamp-beige);
    font-size: 0.95rem;
    font-weight: 650;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-nav-link:hover,
.mobile-nav-link.is-active {
    color: var(--lamp-warm);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 0.32rem;
    width: 2.65rem;
    height: 2.65rem;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--lamp-line);
    border-radius: 0.75rem;
    color: var(--lamp-beige);
    background: rgba(15, 15, 15, 0.45);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 1.2rem;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
}

.mobile-nav {
    display: none;
    padding: 0.5rem 1rem 1rem;
    border-top: 1px solid var(--lamp-line);
    background: rgba(26, 26, 26, 0.98);
}

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

.mobile-nav-link {
    padding: 0.85rem 0.25rem;
}

.home-hero {
    padding: 2rem 0 0.75rem;
}

.hero-carousel {
    position: relative;
    height: clamp(25rem, 55vw, 33rem);
    overflow: hidden;
    border: 1px solid var(--lamp-line);
    border-radius: 1.35rem;
    background: var(--lamp-charcoal);
    box-shadow: var(--shadow-card);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.55s ease, transform 0.55s ease;
    pointer-events: none;
}

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

.hero-slide img,
.detail-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.45) 48%, rgba(0, 0, 0, 0.05)),
        linear-gradient(0deg, rgba(0, 0, 0, 0.92), transparent 45%);
}

.hero-content {
    position: absolute;
    left: clamp(1.35rem, 5vw, 4rem);
    bottom: clamp(2rem, 6vw, 4rem);
    width: min(42rem, calc(100% - 3rem));
}

.hero-kicker,
.eyebrow {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 0.75rem;
    padding: 0.35rem 0.72rem;
    color: var(--lamp-warm);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    background: rgba(255, 167, 38, 0.13);
    border: 1px solid rgba(255, 167, 38, 0.22);
    border-radius: 999px;
}

.hero-content h1 {
    margin: 0 0 0.75rem;
    color: #fff;
    font-size: clamp(2.4rem, 7vw, 4.4rem);
    line-height: 1.02;
    letter-spacing: -0.06em;
}

.hero-content p {
    max-width: 42rem;
    margin: 0 0 1.1rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(0.96rem, 2vw, 1.12rem);
    line-height: 1.7;
}

.hero-meta,
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 650;
}

.hero-meta span,
.detail-meta span {
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.36);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-tags,
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.35rem;
}

.hero-tags span,
.detail-tags span {
    padding: 0.35rem 0.75rem;
    color: var(--lamp-gold);
    background: rgba(78, 52, 46, 0.45);
    border-radius: 999px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.btn,
.section-link,
.pager a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.8rem;
    padding: 0.7rem 1.2rem;
    border-radius: 0.8rem;
    font-weight: 800;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.section-link:hover,
.pager a:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: #fff;
    background: var(--lamp-warm);
    box-shadow: var(--shadow-warm);
}

.btn-primary:hover {
    background: var(--lamp-gold);
}

.btn-ghost,
.section-link,
.pager a {
    color: var(--lamp-gold);
    background: rgba(26, 26, 26, 0.76);
    border: 1px solid var(--lamp-line);
}

.btn-ghost:hover,
.section-link:hover,
.pager a:hover {
    background: rgba(78, 52, 46, 0.45);
}

.hero-control {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: rgba(0, 0, 0, 0.48);
    transform: translateY(-50%);
    cursor: pointer;
    transition: background 0.2s ease, opacity 0.2s ease;
}

.hero-control:hover {
    background: rgba(255, 167, 38, 0.82);
}

.hero-prev {
    left: 1rem;
}

.hero-next {
    right: 1rem;
}

.hero-dots {
    position: absolute;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 4;
    display: flex;
    gap: 0.5rem;
}

.hero-dot {
    width: 0.55rem;
    height: 0.55rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.52);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
    width: 2rem;
    background: var(--lamp-warm);
}

.intro-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 28rem);
    gap: 1.5rem;
    align-items: end;
    padding: 2.4rem 0 0.8rem;
}

.intro-copy h2,
.section-head h2,
.page-hero h1,
.player-section h2,
.content-card h2 {
    margin: 0;
    font-size: clamp(1.55rem, 4vw, 2.4rem);
    line-height: 1.15;
    background: linear-gradient(90deg, var(--lamp-warm), var(--lamp-gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.intro-copy p,
.section-head p,
.page-hero p {
    margin: 0.65rem 0 0;
    color: var(--lamp-muted);
    line-height: 1.75;
}

.filter-panel {
    display: grid;
    gap: 0.9rem;
    margin: 1rem 0 1.6rem;
    padding: 1rem;
    background: rgba(26, 26, 26, 0.84);
    border: 1px solid var(--lamp-line);
    border-radius: 1rem;
}

.filter-search {
    display: grid;
    gap: 0.45rem;
}

.filter-search span {
    color: var(--lamp-gold);
    font-size: 0.86rem;
    font-weight: 800;
}

.filter-search input {
    width: 100%;
    min-height: 2.9rem;
    padding: 0 1rem;
    color: #fff;
    background: rgba(15, 15, 15, 0.9);
    border: 1px solid var(--lamp-line);
    border-radius: 0.8rem;
    outline: none;
}

.filter-search input:focus {
    border-color: rgba(255, 167, 38, 0.65);
    box-shadow: var(--shadow-warm);
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.chip {
    padding: 0.48rem 0.75rem;
    color: var(--lamp-beige);
    background: rgba(78, 52, 46, 0.3);
    border: 1px solid var(--lamp-line);
    border-radius: 999px;
    cursor: pointer;
}

.chip.is-active,
.chip:hover {
    color: #fff;
    background: var(--lamp-warm);
}

.movie-section {
    padding: 2rem 0;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.4rem;
}

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

.movie-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    background: var(--lamp-charcoal);
    border: 1px solid var(--lamp-line);
    border-radius: 1rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-5px) scale(1.015);
    border-color: rgba(255, 167, 38, 0.4);
    box-shadow: var(--shadow-warm);
}

.poster-frame {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #080808;
}

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

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

.poster-frame::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.85), transparent 48%);
}

.play-badge {
    position: absolute;
    left: 0.75rem;
    bottom: 0.75rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--lamp-warm);
    font-size: 0.84rem;
    font-weight: 800;
    opacity: 0;
    transform: translateY(0.35rem);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.play-badge::before {
    content: "▶";
}

.movie-card:hover .play-badge {
    opacity: 1;
    transform: translateY(0);
}

.movie-card-body {
    display: grid;
    gap: 0.42rem;
    padding: 0.95rem;
}

.movie-card h3 {
    margin: 0;
    color: #fff;
    font-size: 1.02rem;
    line-height: 1.28;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.movie-card:hover h3 {
    color: var(--lamp-gold);
}

.movie-meta,
.movie-card-desc {
    margin: 0;
    color: rgba(215, 204, 200, 0.64);
    font-size: 0.84rem;
    line-height: 1.5;
}

.movie-card-desc {
    display: -webkit-box;
    min-height: 2.55rem;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.latest-section {
    padding-bottom: 4rem;
}

.latest-list {
    display: grid;
    gap: 1rem;
}

.latest-item {
    display: grid;
    grid-template-columns: 12rem minmax(0, 1fr);
    gap: 1rem;
    overflow: hidden;
    padding: 0.85rem;
    background: var(--lamp-charcoal);
    border: 1px solid var(--lamp-line);
    border-radius: 1rem;
    transition: background 0.2s ease, transform 0.2s ease;
}

.latest-item:hover {
    background: rgba(78, 52, 46, 0.22);
    transform: translateY(-2px);
}

.latest-item img {
    width: 100%;
    height: 8rem;
    object-fit: cover;
    border-radius: 0.7rem;
}

.latest-item h3 {
    margin: 0 0 0.5rem;
    color: #fff;
    font-size: 1.15rem;
}

.latest-item p {
    display: -webkit-box;
    margin: 0 0 0.7rem;
    overflow: hidden;
    color: var(--lamp-muted);
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.latest-item span {
    color: rgba(215, 204, 200, 0.6);
    font-size: 0.85rem;
}

.page-hero {
    margin-top: 2rem;
    padding: clamp(2rem, 7vw, 4rem);
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(78, 52, 46, 0.58), rgba(26, 26, 26, 0.96)),
        radial-gradient(circle at top right, rgba(255, 167, 38, 0.18), transparent 32rem);
    border: 1px solid var(--lamp-line);
    border-radius: 1.2rem;
}

.small-hero h1 {
    font-size: clamp(2rem, 6vw, 3.4rem);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.1rem;
    padding: 2rem 0;
}

.category-card {
    display: grid;
    gap: 0.7rem;
    min-height: 12rem;
    padding: 1.2rem;
    background: var(--lamp-charcoal);
    border: 1px solid var(--lamp-line);
    border-radius: 1rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 167, 38, 0.42);
    box-shadow: var(--shadow-warm);
}

.category-card span {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    color: var(--lamp-warm);
    font-weight: 900;
    background: rgba(255, 167, 38, 0.12);
    border-radius: 1rem;
}

.category-card h2 {
    margin: 0;
    color: #fff;
    font-size: 1.4rem;
}

.category-card p {
    margin: 0;
    color: var(--lamp-muted);
    line-height: 1.65;
}

.category-list {
    padding-bottom: 3rem;
}

.rank-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.rank-strip a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem;
    background: rgba(26, 26, 26, 0.9);
    border: 1px solid var(--lamp-line);
    border-radius: 0.8rem;
}

.rank-strip strong {
    color: var(--lamp-warm);
}

.rank-strip span {
    overflow: hidden;
    color: #fff;
    font-weight: 700;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ranking-list {
    display: grid;
    gap: 0.9rem;
    padding-bottom: 3rem;
}

.rank-card {
    display: grid;
    grid-template-columns: 3.5rem 7rem minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    padding: 0.85rem;
    background: var(--lamp-charcoal);
    border: 1px solid var(--lamp-line);
    border-radius: 1rem;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.rank-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 167, 38, 0.42);
    box-shadow: var(--shadow-warm);
}

.rank-card strong {
    display: grid;
    place-items: center;
    width: 2.7rem;
    height: 2.7rem;
    color: #fff;
    background: linear-gradient(135deg, var(--lamp-warm), var(--lamp-gold));
    border-radius: 0.85rem;
}

.rank-card img {
    width: 7rem;
    height: 5rem;
    object-fit: cover;
    border-radius: 0.7rem;
}

.rank-card h2,
.rank-card p {
    margin: 0;
}

.rank-card h2 {
    color: #fff;
    font-size: 1.1rem;
}

.rank-card p {
    display: -webkit-box;
    margin: 0.32rem 0;
    overflow: hidden;
    color: var(--lamp-muted);
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.rank-card span {
    color: rgba(215, 204, 200, 0.6);
    font-size: 0.84rem;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    min-height: 32rem;
    isolation: isolate;
}

.detail-backdrop {
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: 0.42;
    filter: blur(2px);
}

.detail-hero::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    background:
        linear-gradient(90deg, var(--lamp-dark) 0%, rgba(15, 15, 15, 0.83) 48%, rgba(15, 15, 15, 0.56)),
        linear-gradient(0deg, var(--lamp-dark) 0%, transparent 38%);
}

.detail-hero-inner {
    display: grid;
    grid-template-columns: minmax(14rem, 20rem) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: end;
    padding: 4rem 0 3rem;
}

.detail-poster {
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border: 1px solid rgba(255, 167, 38, 0.22);
    border-radius: 1.15rem;
    box-shadow: var(--shadow-card);
}

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

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: rgba(215, 204, 200, 0.68);
}

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

.detail-copy h1 {
    margin: 0 0 1rem;
    color: #fff;
    font-size: clamp(2.2rem, 6vw, 4.4rem);
    line-height: 1.06;
    letter-spacing: -0.06em;
}

.detail-one-line {
    max-width: 58rem;
    margin: 0 0 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.08rem;
    line-height: 1.75;
}

.player-section {
    padding: 1rem 0 2rem;
}

.player-section h2 {
    margin-bottom: 1rem;
}

.player-shell {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #000;
    border: 1px solid var(--lamp-line);
    border-radius: 1.2rem;
    box-shadow: var(--shadow-card);
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: grid;
    place-items: center;
    gap: 0.8rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.42);
    border: 0;
    cursor: pointer;
    transition: opacity 0.25s ease;
}

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

.play-circle {
    display: grid;
    place-items: center;
    width: clamp(4rem, 12vw, 6.5rem);
    height: clamp(4rem, 12vw, 6.5rem);
    color: #fff;
    font-size: clamp(1.6rem, 5vw, 2.4rem);
    background: var(--lamp-warm);
    border-radius: 999px;
    box-shadow: var(--shadow-warm);
}

.play-copy {
    font-size: 1.08rem;
    font-weight: 900;
}

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

.content-card {
    padding: 1.3rem;
    background: var(--lamp-charcoal);
    border: 1px solid var(--lamp-line);
    border-radius: 1rem;
}

.content-card h2 {
    margin-bottom: 0.8rem;
    font-size: 1.5rem;
}

.content-card p {
    margin: 0;
    color: var(--lamp-muted);
    line-height: 1.85;
}

.related-grid {
    padding-bottom: 3rem;
}

.pager {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.5rem 0 3rem;
}

.hidden-card {
    display: none !important;
}

.site-footer {
    margin-top: 2rem;
    background: var(--lamp-charcoal);
    border-top: 1px solid var(--lamp-line);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(11rem, 1fr) minmax(11rem, 1fr);
    gap: 2rem;
    padding: 3rem 0 2rem;
}

.footer-main p {
    max-width: 42rem;
    margin: 1rem 0 0;
    color: var(--lamp-muted);
    line-height: 1.75;
}

.footer-column {
    display: grid;
    gap: 0.62rem;
    align-content: start;
}

.footer-column h2 {
    margin: 0 0 0.4rem;
    color: var(--lamp-gold);
    font-size: 1rem;
}

.footer-column a {
    color: rgba(215, 204, 200, 0.72);
}

.footer-column a:hover {
    color: var(--lamp-warm);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0 2rem;
    color: rgba(215, 204, 200, 0.5);
    font-size: 0.86rem;
    border-top: 1px solid var(--lamp-line);
}

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

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

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

    .menu-toggle {
        display: flex;
    }

    .header-inner {
        min-height: 4.25rem;
    }

    .brand-text em {
        display: none;
    }

    .intro-search,
    .detail-hero-inner,
    .detail-content,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .detail-poster {
        width: min(68vw, 18rem);
    }

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

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

    .latest-item {
        grid-template-columns: 8rem minmax(0, 1fr);
    }

    .latest-item img {
        height: 6rem;
    }

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

    .rank-card {
        grid-template-columns: 2.8rem 5.5rem minmax(0, 1fr);
    }

    .rank-card img {
        width: 5.5rem;
        height: 4.2rem;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 1rem, 1280px);
    }

    .hero-carousel {
        height: 30rem;
        border-radius: 1rem;
    }

    .hero-content {
        left: 1rem;
        bottom: 1.35rem;
        width: calc(100% - 2rem);
    }

    .hero-content h1 {
        font-size: 2.35rem;
    }

    .hero-content p {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .hero-control {
        display: none;
    }

    .hero-dots {
        right: 1rem;
        bottom: 0.9rem;
    }

    .movie-grid,
    .category-grid,
    .rank-strip {
        grid-template-columns: 1fr 1fr;
    }

    .movie-card-body {
        padding: 0.75rem;
    }

    .movie-card-desc {
        display: none;
    }

    .latest-item {
        grid-template-columns: 1fr;
    }

    .latest-item img {
        height: 11rem;
    }

    .rank-card {
        grid-template-columns: 2.5rem minmax(0, 1fr);
    }

    .rank-card img {
        display: none;
    }

    .page-hero {
        padding: 1.4rem;
        border-radius: 1rem;
    }

    .filter-panel {
        padding: 0.8rem;
    }
}
