:root {
    --bg: #030712;
    --bg-soft: #0f172a;
    --panel: rgba(17, 24, 39, 0.76);
    --panel-strong: rgba(17, 24, 39, 0.94);
    --line: rgba(34, 211, 238, 0.24);
    --line-soft: rgba(148, 163, 184, 0.18);
    --text: #e5e7eb;
    --muted: #94a3b8;
    --muted-strong: #cbd5e1;
    --cyan: #22d3ee;
    --pink: #f472b6;
    --purple: #a78bfa;
    --green: #34d399;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(circle at 10% 10%, rgba(34, 211, 238, 0.14), transparent 28rem),
        radial-gradient(circle at 90% 0%, rgba(244, 114, 182, 0.12), transparent 30rem),
        linear-gradient(180deg, #020617 0%, #030712 38%, #0f172a 100%);
    font-family: "Inter", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.65;
}

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

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

button,
input {
    font: inherit;
}

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

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

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

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    color: #020617;
    background: linear-gradient(135deg, var(--cyan), var(--pink), var(--purple));
    box-shadow: 0 0 28px rgba(34, 211, 238, 0.36);
}

.brand-text,
.footer-brand {
    font-size: 24px;
    background: linear-gradient(90deg, var(--cyan), var(--pink), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.nav-link,
.mobile-link {
    color: var(--muted-strong);
    font-weight: 700;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
    color: var(--cyan);
    text-shadow: 0 0 18px rgba(34, 211, 238, 0.48);
}

.header-search {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 270px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
}

.header-search input,
.mobile-search input,
.listing-search-row input {
    width: 100%;
    border: 0;
    outline: 0;
    color: var(--text);
    background: transparent;
}

.header-search input {
    padding: 9px 12px 9px 16px;
}

.header-search button,
.mobile-search button {
    border: 0;
    color: #020617;
    border-radius: 999px;
    padding: 8px 16px;
    font-weight: 800;
    cursor: pointer;
    background: linear-gradient(135deg, var(--cyan), var(--pink));
}

.mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 14px;
    color: var(--cyan);
    background: rgba(15, 23, 42, 0.8);
    cursor: pointer;
}

.mobile-panel {
    display: none;
    border-top: 1px solid var(--line);
    background: rgba(3, 7, 18, 0.98);
}

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

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

.mobile-panel nav {
    display: grid;
    gap: 10px;
    padding: 0 0 20px;
}

.mobile-search {
    display: flex;
    gap: 8px;
    padding: 16px 0;
}

.mobile-search input {
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.8);
}

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

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 64px 0 54px;
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(3, 7, 18, 0.88), rgba(3, 7, 18, 0.48), rgba(3, 7, 18, 0.88)),
        radial-gradient(circle at 66% 42%, rgba(34, 211, 238, 0.18), transparent 28rem),
        radial-gradient(circle at 40% 12%, rgba(244, 114, 182, 0.14), transparent 26rem);
}

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

.hero-slider {
    position: relative;
    min-height: 620px;
    border: 1px solid var(--line);
    border-radius: 34px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.74), rgba(3, 7, 18, 0.92));
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.hero-slider::before {
    content: "";
    position: absolute;
    inset: -35% 45% 15% -16%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.22), transparent 62%);
    filter: blur(12px);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    align-items: center;
    gap: 56px;
    padding: 60px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(28px) scale(0.98);
    transition: opacity 0.55s ease, transform 0.55s ease, visibility 0.55s ease;
}

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

.hero-kicker,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--cyan);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-copy h1 {
    margin: 18px 0 20px;
    max-width: 680px;
    font-size: clamp(42px, 7vw, 76px);
    line-height: 1.02;
    letter-spacing: -0.06em;
}

.hero-copy p {
    max-width: 660px;
    margin: 0;
    color: var(--muted-strong);
    font-size: 18px;
}

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

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

.hero-tags span,
.tag-row span,
.inline-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border: 1px solid rgba(34, 211, 238, 0.26);
    border-radius: 999px;
    color: var(--muted-strong);
    background: rgba(15, 23, 42, 0.68);
}

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

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

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

.btn-primary {
    color: #020617;
    background: linear-gradient(135deg, var(--cyan), var(--pink));
    box-shadow: 0 16px 38px rgba(34, 211, 238, 0.22);
}

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

.hero-art {
    position: relative;
    display: block;
    transform: perspective(1000px) rotateY(-8deg) rotateX(2deg);
}

.hero-art img {
    width: 100%;
    height: min(62vh, 540px);
    min-height: 420px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.58);
}

.hero-art-glow {
    position: absolute;
    inset: auto 12% -24px 12%;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(90deg, var(--cyan), var(--pink));
    filter: blur(34px);
    opacity: 0.6;
}

.hero-controls {
    position: absolute;
    left: 60px;
    right: 60px;
    bottom: 34px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.hero-controls button {
    pointer-events: auto;
}

.hero-controls > button {
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--cyan);
    font-size: 28px;
    background: rgba(15, 23, 42, 0.84);
    cursor: pointer;
}

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

.hero-dot {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 50%;
    background: rgba(148, 163, 184, 0.42);
    cursor: pointer;
}

.hero-dot.is-active {
    width: 28px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--cyan), var(--pink));
}

.content-section {
    padding: 76px 0;
}

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

.section-heading h2 {
    margin: 8px 0 0;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.section-heading p {
    max-width: 720px;
    margin: 10px 0 0;
    color: var(--muted);
}

.section-action {
    flex: 0 0 auto;
    color: var(--cyan);
    font-weight: 900;
}

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

.category-card,
.category-overview-card {
    position: relative;
    min-height: 180px;
    padding: 24px;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.84), rgba(17, 24, 39, 0.52));
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover,
.category-overview-card:hover,
.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(34, 211, 238, 0.52);
    box-shadow: 0 24px 70px rgba(34, 211, 238, 0.12);
}

.category-card strong,
.category-overview-card h2 {
    position: relative;
    z-index: 2;
    display: block;
    margin: 0 0 10px;
    font-size: 23px;
    color: var(--text);
}

.category-card em,
.category-overview-card p {
    position: relative;
    z-index: 2;
    display: block;
    color: var(--muted);
    font-style: normal;
}

.category-card img,
.category-overview-card img {
    position: absolute;
    right: -18px;
    bottom: -30px;
    width: 130px;
    height: 180px;
    object-fit: cover;
    border-radius: 18px;
    opacity: 0.42;
    transform: rotate(8deg);
}

.category-orb {
    position: absolute;
    inset: -40px auto auto -40px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.22), transparent 70%);
}

.movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(182px, 1fr));
    gap: 20px;
}

.small-grid,
.side-grid,
.search-grid {
    grid-template-columns: repeat(auto-fill, minmax(164px, 1fr));
}

.movie-card {
    position: relative;
    border: 1px solid var(--line-soft);
    border-radius: 22px;
    background: rgba(15, 23, 42, 0.62);
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.movie-card-link {
    display: block;
    height: 100%;
}

.movie-poster {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #020617;
}

.movie-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.36s ease, filter 0.36s ease;
}

.movie-card:hover .movie-poster img {
    transform: scale(1.06);
    filter: saturate(1.1) contrast(1.08);
}

.movie-poster-shade {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, transparent 20%, rgba(3, 7, 18, 0.78));
    opacity: 0;
    transition: opacity 0.25s ease;
}

.movie-card:hover .movie-poster-shade {
    opacity: 1;
}

.play-mini {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: #020617;
    background: linear-gradient(135deg, var(--cyan), var(--pink));
    box-shadow: 0 0 34px rgba(34, 211, 238, 0.36);
}

.rank-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 28px;
    padding: 0 8px;
    border-radius: 999px;
    color: #020617;
    font-weight: 900;
    background: linear-gradient(135deg, var(--cyan), var(--pink));
}

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

.movie-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 7px;
    color: var(--cyan);
    font-size: 12px;
    font-weight: 800;
}

.movie-card h3 {
    margin: 0 0 8px;
    color: var(--text);
    font-size: 17px;
    line-height: 1.35;
}

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

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

.ranking-panel,
.player-card,
.detail-copy-card,
.listing-tools {
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    background: rgba(15, 23, 42, 0.72);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

.ranking-panel {
    position: sticky;
    top: 88px;
    padding: 22px;
}

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

.ranking-item a {
    display: grid;
    grid-template-columns: 42px 54px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border: 1px solid var(--line-soft);
    border-radius: 18px;
    background: rgba(2, 6, 23, 0.42);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.ranking-item a:hover {
    border-color: var(--line);
    background: rgba(8, 47, 73, 0.24);
}

.ranking-number {
    color: var(--pink);
    font-size: 18px;
    font-weight: 900;
    text-align: center;
}

.ranking-item img {
    width: 54px;
    height: 74px;
    object-fit: cover;
    border-radius: 12px;
}

.ranking-copy {
    min-width: 0;
}

.ranking-copy strong,
.ranking-copy em {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ranking-copy strong {
    color: var(--text);
    font-size: 15px;
}

.ranking-copy em {
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
}

.ranking-action {
    color: var(--cyan);
    font-weight: 900;
}

.inner-page {
    padding-top: 68px;
}

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    padding: 76px 0 54px;
    border-bottom: 1px solid var(--line-soft);
    background:
        radial-gradient(circle at 20% 10%, rgba(34, 211, 238, 0.18), transparent 26rem),
        radial-gradient(circle at 82% 5%, rgba(244, 114, 182, 0.13), transparent 28rem),
        rgba(2, 6, 23, 0.46);
}

.compact-hero h1,
.detail-intro h1 {
    margin: 10px 0 12px;
    font-size: clamp(34px, 6vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.compact-hero p {
    max-width: 760px;
    margin: 0;
    color: var(--muted-strong);
    font-size: 17px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
    margin-bottom: 22px;
    color: var(--muted);
    font-size: 14px;
}

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

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

.category-overview-card {
    min-height: 230px;
}

.category-overview-card span {
    color: var(--cyan);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.listing-tools {
    position: sticky;
    top: 84px;
    z-index: 9;
    margin-bottom: 24px;
    padding: 16px;
    backdrop-filter: blur(16px);
}

.listing-search-row {
    margin-bottom: 14px;
}

.listing-search-row input {
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(2, 6, 23, 0.55);
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-chip {
    border: 1px solid var(--line-soft);
    border-radius: 999px;
    color: var(--muted-strong);
    padding: 8px 14px;
    background: rgba(2, 6, 23, 0.42);
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.filter-chip:hover,
.filter-chip.is-active {
    color: #020617;
    border-color: transparent;
    background: linear-gradient(135deg, var(--cyan), var(--pink));
}

.empty-state {
    margin-top: 24px;
    padding: 34px;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    color: var(--muted-strong);
    text-align: center;
}

.ranking-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 34px;
    align-items: start;
}

.large-ranking {
    gap: 14px;
}

.large-ranking .ranking-item a {
    grid-template-columns: 54px 74px minmax(0, 1fr) auto;
    padding: 12px;
}

.large-ranking .ranking-item img {
    width: 74px;
    height: 98px;
}

.detail-head-grid {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 34px;
    align-items: center;
}

.detail-poster img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.detail-intro .lead-text {
    max-width: 820px;
    margin: 0 0 18px;
    color: var(--muted-strong);
    font-size: 18px;
}

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

.detail-meta span {
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--cyan);
    background: rgba(8, 47, 73, 0.32);
}

.large-tags {
    margin-bottom: 26px;
}

.player-card {
    padding: 20px;
}

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

.player-title-row h2 {
    margin: 0;
    font-size: clamp(22px, 4vw, 34px);
}

.player-title-row span {
    color: var(--cyan);
    font-weight: 800;
}

.player-shell {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid rgba(34, 211, 238, 0.34);
    border-radius: 24px;
    background: #000;
}

.player-shell video {
    width: 100%;
    height: 100%;
    display: block;
    background: #000;
    cursor: pointer;
}

.player-cover {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    border: 0;
    border-radius: 50%;
    color: #020617;
    font-size: 32px;
    background: linear-gradient(135deg, var(--cyan), var(--pink));
    box-shadow: 0 0 60px rgba(34, 211, 238, 0.45);
    cursor: pointer;
    transform: translateZ(0);
}

.play-button span {
    margin-left: 5px;
}

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

.detail-copy-card {
    padding: 24px;
}

.detail-copy-card h2 {
    margin: 0 0 14px;
    font-size: 24px;
}

.detail-copy-card p {
    margin: 0;
    color: var(--muted-strong);
}

.mini-info dl {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px 14px;
    margin: 0;
}

.mini-info dt {
    color: var(--muted);
}

.mini-info dd {
    margin: 0;
    color: var(--text);
}

.inline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.site-footer {
    border-top: 1px solid var(--line-soft);
    background: rgba(2, 6, 23, 0.88);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    gap: 36px;
    padding: 48px 0;
}

.site-footer p {
    max-width: 430px;
    color: var(--muted);
}

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

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

.footer-links a {
    color: var(--muted-strong);
}

.footer-links a:hover {
    color: var(--cyan);
}

.footer-bottom {
    padding: 18px;
    border-top: 1px solid var(--line-soft);
    color: var(--muted);
    text-align: center;
}

@media (max-width: 1024px) {
    .header-search {
        min-width: 220px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 44px;
    }

    .hero-art {
        transform: none;
    }

    .hero-art img {
        height: 380px;
        min-height: 300px;
    }

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

    .split-grid,
    .ranking-layout,
    .detail-copy-grid {
        grid-template-columns: 1fr;
    }

    .ranking-panel {
        position: static;
    }
}

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

    .mobile-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .hero {
        min-height: auto;
        padding: 32px 0 24px;
    }

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

    .hero-slide {
        padding: 28px;
    }

    .hero-copy h1 {
        font-size: 42px;
    }

    .hero-controls {
        left: 28px;
        right: 28px;
        bottom: 22px;
    }

    .section-heading,
    .player-title-row {
        align-items: start;
        flex-direction: column;
    }

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

    .detail-poster {
        max-width: 260px;
    }

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

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

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

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

    .hero-art img {
        height: 310px;
        min-height: 260px;
    }

    .category-grid,
    .category-overview-grid,
    .movie-grid,
    .small-grid,
    .search-grid,
    .side-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

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

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

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

    .ranking-item a,
    .large-ranking .ranking-item a {
        grid-template-columns: 38px 54px minmax(0, 1fr);
    }

    .ranking-action {
        display: none;
    }

    .player-card {
        padding: 12px;
    }

    .player-shell {
        border-radius: 16px;
    }

    .play-button {
        width: 72px;
        height: 72px;
    }
}
