:root {
    --orange: #f97316;
    --red: #ef4444;
    --pink: #ec4899;
    --blue: #2563eb;
    --cyan: #06b6d4;
    --green: #16a34a;
    --purple: #7c3aed;
    --slate: #111827;
    --muted: #6b7280;
    --line: #e5e7eb;
    --surface: #ffffff;
    --page: #f9fafb;
    --shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
    --soft-shadow: 0 14px 35px rgba(15, 23, 42, 0.1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    color: #111827;
    background: var(--page);
    -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(229, 231, 235, 0.9);
    backdrop-filter: blur(18px);
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

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

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--orange), var(--red), var(--pink));
    box-shadow: 0 12px 28px rgba(239, 68, 68, 0.28);
}

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

.desktop-nav,
.footer-links,
.mobile-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    color: #4b5563;
    font-weight: 700;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--orange);
    background: #fff7ed;
    transform: translateY(-1px);
}

.nav-toggle {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: #f3f4f6;
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    margin: 0 auto;
    border-radius: 999px;
    background: #111827;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0 24px 16px;
}

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

.hero-section {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(135deg, #f97316 0%, #ef4444 48%, #ec4899 100%);
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.26), transparent 30%),
        radial-gradient(circle at 85% 10%, rgba(255, 255, 255, 0.16), transparent 32%),
        linear-gradient(90deg, rgba(15, 23, 42, 0.38), rgba(15, 23, 42, 0.1));
}

.hero-glow {
    position: absolute;
    width: 460px;
    height: 460px;
    right: -120px;
    bottom: -180px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    filter: blur(10px);
}

.hero-inner {
    position: relative;
    max-width: 1280px;
    min-height: 650px;
    margin: 0 auto;
    padding: 72px 24px 84px;
}

.hero-slide {
    display: none;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 420px);
    gap: 48px;
    align-items: center;
}

.hero-slide.is-active {
    display: grid;
    animation: fadeUp 0.55s ease both;
}

.hero-copy h1 {
    max-width: 880px;
    margin: 14px 0 18px;
    font-size: clamp(34px, 5.2vw, 64px);
    line-height: 1.08;
    font-weight: 950;
    letter-spacing: -0.06em;
}

.hero-copy p {
    max-width: 760px;
    margin: 0;
    font-size: clamp(17px, 2vw, 23px);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #f97316;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-section .eyebrow {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.26);
    padding: 8px 12px;
    border-radius: 999px;
}

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

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

.hero-tags span,
.tag-row span,
.detail-meta span,
.movie-meta-line span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    color: #374151;
    background: #f3f4f6;
    font-size: 12px;
    font-weight: 800;
}

.hero-tags span {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
}

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

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

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

.btn-light {
    color: var(--orange);
    background: #ffffff;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.16);
}

.btn-ghost {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.48);
    background: rgba(255, 255, 255, 0.12);
}

.btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--orange), var(--red));
    box-shadow: 0 12px 30px rgba(239, 68, 68, 0.25);
}

.btn-soft {
    color: var(--orange);
    background: #fff7ed;
}

.btn.full {
    width: 100%;
}

.hero-poster {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    border-radius: 32px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: var(--shadow);
    transform: rotate(2deg);
}

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

.hero-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.78));
}

.hero-poster span {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 2;
    font-size: 24px;
    font-weight: 950;
}

.hero-dots {
    position: absolute;
    left: 24px;
    bottom: 32px;
    display: flex;
    gap: 8px;
}

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

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

.section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 72px 24px;
}

.section-tight {
    padding-top: 56px;
    padding-bottom: 56px;
}

.white-section,
.cool-section {
    max-width: none;
    background: #ffffff;
}

.white-section > *,
.cool-section > * {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.cool-section {
    background: linear-gradient(135deg, #eff6ff, #ecfeff);
}

.section-head {
    margin-bottom: 34px;
}

.section-head h2,
.rank-panel h2,
.related-panel h2,
.article-card h2 {
    margin: 8px 0 0;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.16;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.section-head p {
    max-width: 760px;
    margin: 12px auto 0;
    color: var(--muted);
    line-height: 1.8;
}

.section-head.centered {
    text-align: center;
}

.section-head.split,
.content-layout,
.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 32px;
    align-items: end;
}

.compact-head {
    margin-bottom: 24px;
}

.more-link {
    color: var(--orange);
    font-weight: 900;
}

.more-link.blue {
    color: var(--blue);
}

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

.category-tile,
.category-card,
.page-hero {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    color: #ffffff;
    box-shadow: var(--soft-shadow);
}

.category-tile {
    min-height: 190px;
    padding: 24px;
    isolation: isolate;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover,
.movie-card:hover,
.list-card:hover,
.category-card:hover,
.ranking-row:hover,
.ranking-feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.category-tile span {
    position: relative;
    z-index: 2;
    display: block;
    font-size: 23px;
    font-weight: 950;
}

.category-tile strong {
    position: relative;
    z-index: 2;
    display: block;
    max-width: 190px;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    line-height: 1.6;
}

.category-tile img {
    position: absolute;
    right: -22px;
    bottom: -32px;
    width: 120px;
    height: 170px;
    object-fit: cover;
    border-radius: 18px;
    opacity: 0.5;
    transform: rotate(10deg);
}

.grad-red { background: linear-gradient(135deg, #ef4444, #f97316); }
.grad-orange { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.grad-purple { background: linear-gradient(135deg, #7c3aed, #ec4899); }
.grad-blue { background: linear-gradient(135deg, #2563eb, #06b6d4); }
.grad-green { background: linear-gradient(135deg, #16a34a, #22c55e); }
.grad-pink { background: linear-gradient(135deg, #ec4899, #fb7185); }
.grad-cyan { background: linear-gradient(135deg, #0891b2, #2563eb); }
.grad-violet { background: linear-gradient(135deg, #8b5cf6, #6366f1); }
.grad-amber { background: linear-gradient(135deg, #f59e0b, #f97316); }
.grad-slate { background: linear-gradient(135deg, #111827, #475569); }

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

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

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

.movie-card,
.list-card,
.ranking-row,
.ranking-feature {
    display: flex;
    min-width: 0;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card {
    flex-direction: column;
}

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

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

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

.play-corner,
.rank-badge {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 950;
}

.play-corner {
    right: 12px;
    bottom: 12px;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(249, 115, 22, 0.92);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.25);
}

.rank-badge {
    top: 12px;
    left: 12px;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.movie-card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
}

.movie-card-body strong {
    color: #111827;
    font-size: 18px;
    line-height: 1.35;
}

.movie-card-body em,
.movie-card-body small,
.list-card em,
.list-card small,
.ranking-title small,
.ranking-genre {
    color: var(--muted);
    font-style: normal;
    line-height: 1.65;
}

.movie-card-body em {
    font-size: 13px;
    font-weight: 800;
    color: var(--orange);
}

.list-grid {
    display: grid;
    gap: 18px;
}

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

.list-card {
    position: relative;
    align-items: center;
    gap: 16px;
    padding: 14px;
}

.list-card img {
    width: 88px;
    height: 118px;
    border-radius: 16px;
    object-fit: cover;
    flex: 0 0 auto;
}

.list-card span {
    display: grid;
    gap: 5px;
}

.list-card strong {
    font-size: 18px;
}

.list-rank {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    background: #ef4444;
    font-weight: 950;
}

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

.rank-panel,
.article-card,
.related-panel {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.rank-panel {
    position: sticky;
    top: 96px;
}

.rank-list {
    display: grid;
    gap: 12px;
    margin: 20px 0 24px;
}

.page-hero {
    max-width: 1280px;
    margin: 28px auto 0;
    padding: 64px 24px;
}

.page-hero > div {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.page-hero h1 {
    margin: 10px 0 14px;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.1;
    font-weight: 950;
    letter-spacing: -0.05em;
}

.page-hero p {
    margin: 0 auto;
    max-width: 760px;
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.orange-page,
.search-page {
    background: linear-gradient(135deg, #f97316, #ef4444, #ec4899);
}

.category-page {
    margin-bottom: 0;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 800;
}

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

.local-search,
.search-panel {
    display: grid;
    gap: 12px;
    margin: 28px auto 0;
}

.local-search {
    max-width: 620px;
}

.search-panel {
    grid-template-columns: minmax(220px, 1fr) repeat(3, minmax(120px, 180px));
    max-width: 980px;
}

.local-search input,
.search-panel input,
.search-panel select {
    min-height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 16px;
    padding: 0 16px;
    color: #111827;
    background: rgba(255, 255, 255, 0.94);
    outline: none;
}

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

.category-card {
    min-height: 230px;
    padding: 22px;
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    align-items: center;
    gap: 24px;
}

.category-preview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.category-preview img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18);
}

.category-info strong {
    display: block;
    font-size: 30px;
    font-weight: 950;
}

.category-info em {
    display: block;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.88);
    font-style: normal;
    line-height: 1.75;
}

.ranking-top {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-bottom: 28px;
}

.ranking-feature {
    position: relative;
    min-height: 360px;
    color: #ffffff;
    align-items: flex-end;
    padding: 24px;
    background: #111827;
}

.ranking-feature img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.62;
}

.ranking-feature::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.88));
}

.ranking-feature span:last-child,
.ranking-number {
    position: relative;
    z-index: 2;
}

.ranking-feature strong,
.ranking-feature em,
.ranking-feature small {
    display: block;
}

.ranking-feature strong {
    font-size: 24px;
    font-weight: 950;
}

.ranking-feature em,
.ranking-feature small {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.82);
    font-style: normal;
    line-height: 1.7;
}

.ranking-number {
    position: absolute;
    top: 18px;
    left: 18px;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    font-size: 22px;
    font-weight: 950;
}

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

.ranking-row {
    display: grid;
    grid-template-columns: 60px 66px minmax(0, 1fr) minmax(140px, 220px) 70px;
    align-items: center;
    gap: 16px;
    padding: 12px 18px;
}

.ranking-row img {
    width: 66px;
    height: 88px;
    border-radius: 14px;
    object-fit: cover;
}

.ranking-index,
.ranking-score {
    font-size: 18px;
    font-weight: 950;
    color: var(--orange);
}

.ranking-title strong {
    display: block;
    margin-bottom: 4px;
}

.detail-hero {
    position: relative;
    max-width: 1280px;
    margin: 32px auto 0;
    padding: 36px 24px;
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 42px;
    align-items: center;
    border-radius: 32px;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(135deg, #111827, #ef4444 55%, #f97316);
}

.detail-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.18), transparent 28%);
}

.detail-cover,
.detail-intro {
    position: relative;
    z-index: 2;
}

.detail-cover img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 26px;
    box-shadow: var(--shadow);
}

.detail-intro .breadcrumb {
    justify-content: flex-start;
}

.detail-intro h1 {
    margin: 0 0 18px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.12;
    font-weight: 950;
    letter-spacing: -0.05em;
}

.detail-meta span {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
}

.detail-lead {
    max-width: 850px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.9;
}

.detail-intro .tag-row {
    margin-top: 22px;
}

.detail-intro .tag-row span {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
}

.watch-section {
    padding-top: 48px;
}

.player-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #000000;
    box-shadow: var(--shadow);
}

.movie-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
}

.player-overlay {
    position: absolute;
    inset: 0;
    border: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.68));
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-button {
    width: 82px;
    height: 82px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--orange), var(--red));
    box-shadow: 0 18px 42px rgba(239, 68, 68, 0.4);
    font-size: 32px;
}

.player-overlay strong {
    font-size: 20px;
}

.detail-layout {
    grid-template-columns: minmax(0, 1fr) 390px;
    align-items: start;
}

.article-card h2 {
    margin-top: 0;
    font-size: 28px;
}

.article-card h2 + p {
    margin-top: 14px;
}

.article-card p {
    color: #374151;
    font-size: 17px;
    line-height: 2;
}

.article-card p + h2 {
    margin-top: 34px;
}

.inline-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.inline-links a {
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--orange);
    background: #fff7ed;
    font-weight: 800;
}

.related-panel {
    position: sticky;
    top: 96px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

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

.related-grid .movie-card-body strong {
    font-size: 15px;
}

.site-footer {
    margin-top: 48px;
    color: #e5e7eb;
    background: #111827;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 42px 24px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.footer-brand {
    color: #ffffff;
    font-size: 22px;
}

.footer-inner p {
    margin: 10px 0 0;
    color: #9ca3af;
}

.footer-links a {
    color: #d1d5db;
    font-weight: 800;
}

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

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

    .content-layout,
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .rank-panel,
    .related-panel {
        position: static;
    }
}

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

    .nav-toggle {
        display: inline-flex;
    }

    .hero-inner {
        min-height: auto;
        padding-top: 44px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-poster {
        max-width: 310px;
        margin: 0 auto;
    }

    .hero-dots {
        position: static;
        margin-top: 28px;
    }

    .section-head.split,
    .content-layout,
    .detail-layout,
    .footer-inner {
        display: block;
    }

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

    .category-grid,
    .category-list-grid,
    .movie-grid,
    .movie-grid.three-col,
    .compact-grid,
    .two-col,
    .ranking-top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-card {
        grid-template-columns: 1fr;
    }

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

    .detail-hero {
        grid-template-columns: 1fr;
        margin: 20px 16px 0;
    }

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

    .ranking-row {
        grid-template-columns: 42px 58px minmax(0, 1fr) 48px;
    }

    .ranking-row img {
        width: 58px;
        height: 78px;
    }

    .ranking-genre {
        display: none;
    }

    .footer-links {
        margin-top: 22px;
        flex-wrap: wrap;
    }
}

@media (max-width: 560px) {
    .header-inner {
        padding: 0 16px;
    }

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

    .hero-inner,
    .section,
    .page-hero {
        padding-left: 16px;
        padding-right: 16px;
    }

    .category-grid,
    .category-list-grid,
    .movie-grid,
    .movie-grid.three-col,
    .compact-grid,
    .ranking-top,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .list-card {
        align-items: flex-start;
    }

    .list-card img {
        width: 72px;
        height: 98px;
    }

    .ranking-row {
        grid-template-columns: 34px 56px minmax(0, 1fr);
        gap: 10px;
        padding: 10px;
    }

    .ranking-score {
        display: none;
    }

    .detail-hero {
        border-radius: 24px;
        padding: 24px 18px;
    }

    .article-card,
    .related-panel,
    .rank-panel {
        padding: 18px;
        border-radius: 22px;
    }
}
