:root {
    --bg: #020617;
    --bg-soft: #0f172a;
    --bg-card: rgba(15, 23, 42, 0.78);
    --line: rgba(148, 163, 184, 0.18);
    --text: #f8fafc;
    --muted: #94a3b8;
    --cyan: #22d3ee;
    --blue: #3b82f6;
    --orange: #fb923c;
    --pink: #ec4899;
    --green: #34d399;
    --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 12% 8%, rgba(34, 211, 238, 0.16), transparent 32rem),
        radial-gradient(circle at 88% 18%, rgba(59, 130, 246, 0.16), transparent 34rem),
        linear-gradient(180deg, #020617 0%, #0f172a 48%, #020617 100%);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, #000, transparent 82%);
    z-index: -1;
}

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    border-bottom: 1px solid var(--line);
    background: rgba(2, 6, 23, 0.78);
    backdrop-filter: blur(18px);
}

.header-inner {
    width: min(1420px, calc(100% - 32px));
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 26px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 14px;
    color: #00111a;
    font-weight: 900;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.32);
}

.brand-text {
    font-size: 20px;
    font-weight: 850;
    letter-spacing: 0.03em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    overflow-x: auto;
    margin-left: auto;
    scrollbar-width: none;
}

.main-nav::-webkit-scrollbar {
    display: none;
}

.main-nav a {
    color: #cbd5e1;
    font-size: 14px;
    white-space: nowrap;
    transition: color 0.2s ease;
}

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

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 14px;
    color: var(--text);
    background: rgba(15, 23, 42, 0.72);
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    border-radius: 99px;
    background: currentColor;
}

.hero-slider {
    position: relative;
    height: min(82vh, 780px);
    min-height: 620px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.hero-stack,
.hero-slide,
.hero-slide img,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-slide {
    opacity: 0;
    transform: scale(1.015);
    transition: opacity 0.7s ease, transform 1.1s ease;
    pointer-events: none;
}

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

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.42;
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.92) 0%, rgba(2, 6, 23, 0.62) 45%, rgba(2, 6, 23, 0.2) 100%),
        linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.08) 44%, rgba(2, 6, 23, 0.92) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(760px, calc(100% - 32px));
    margin-left: max(24px, calc((100vw - 1420px) / 2));
    padding-top: 160px;
}

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

.hero-content h1 {
    margin: 18px 0 18px;
    font-size: clamp(42px, 8vw, 86px);
    line-height: 0.96;
    letter-spacing: -0.06em;
    background: linear-gradient(90deg, #fff, #b6f3ff 48%, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-content p,
.page-hero p,
.category-hero p,
.ranking-hero p {
    max-width: 760px;
    color: #cbd5e1;
    font-size: 17px;
}

.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;
    min-height: 28px;
    padding: 4px 10px;
    border: 1px solid rgba(34, 211, 238, 0.22);
    border-radius: 999px;
    color: #cffafe;
    background: rgba(8, 145, 178, 0.12);
    font-size: 12px;
}

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

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

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

.btn.primary {
    color: #06111f;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    box-shadow: 0 18px 40px rgba(34, 211, 238, 0.28);
}

.btn.ghost {
    border: 1px solid var(--line);
    color: #e2e8f0;
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(10px);
}

.btn.small {
    min-height: 38px;
    padding-inline: 16px;
    font-size: 13px;
}

.hero-panel {
    position: absolute;
    right: max(24px, calc((100vw - 1420px) / 2));
    bottom: 42px;
    z-index: 4;
    width: min(520px, calc(100% - 32px));
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(15, 23, 42, 0.68);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.hero-search label {
    display: block;
    margin-bottom: 8px;
    color: #e2e8f0;
    font-size: 13px;
    font-weight: 750;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(2, 6, 23, 0.62);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-box:focus-within {
    border-color: rgba(34, 211, 238, 0.65);
    box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.1);
}

.search-box input {
    width: 100%;
    border: 0;
    outline: 0;
    color: var(--text);
    background: transparent;
}

.search-box.large {
    min-height: 54px;
    padding: 0 16px;
}

.hero-mini-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-top: 16px;
}

.hero-mini-card {
    position: relative;
    overflow: hidden;
    min-height: 92px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--bg-soft);
}

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

.hero-mini-card:hover img {
    transform: scale(1.08);
}

.hero-mini-card span {
    position: absolute;
    inset-inline: 8px;
    bottom: 8px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-shadow: 0 2px 10px #000;
}

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

.hero-dot {
    width: 30px;
    height: 4px;
    border: 0;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.45);
}

.hero-dot.is-active {
    background: var(--cyan);
}

.category-strip,
.page-shell,
.detail-page-shell,
.content-section,
.split-section,
.site-footer {
    width: min(1420px, calc(100% - 32px));
    margin-inline: auto;
}

.category-strip {
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 12px;
    margin-top: -42px;
    position: relative;
    z-index: 6;
}

.category-tile {
    display: flex;
    flex-direction: column;
    min-height: 132px;
    gap: 8px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.54));
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.category-tile:hover,
.movie-card:hover,
.category-card-large:hover {
    transform: translateY(-4px);
    border-color: rgba(34, 211, 238, 0.45);
}

.category-icon {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: 14px;
    color: #03131e;
    font-weight: 900;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.category-tile strong {
    font-size: 16px;
}

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

.content-section {
    padding: 58px 0 10px;
}

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

.section-head h2,
.page-hero h1,
.category-hero h1,
.ranking-hero h1,
.detail-copy h1 {
    margin: 6px 0 0;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.section-head.compact {
    align-items: center;
    margin-bottom: 18px;
}

.section-more {
    color: var(--cyan);
    font-weight: 800;
    white-space: nowrap;
}

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--bg-card);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.movie-card:hover {
    box-shadow: 0 20px 60px rgba(34, 211, 238, 0.12);
}

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #0f172a;
}

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

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

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 20%, rgba(2, 6, 23, 0.76) 100%);
}

.corner-badge,
.rank-badge,
.play-chip {
    position: absolute;
    z-index: 2;
}

.corner-badge {
    top: 10px;
    left: 10px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(251, 146, 60, 0.92);
    color: #fff;
    font-size: 12px;
    font-weight: 850;
}

.rank-badge {
    top: 10px;
    left: 10px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #00111a;
    background: linear-gradient(135deg, #facc15, #fb923c);
}

.play-chip {
    right: 10px;
    bottom: 10px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.9);
    color: #06111f;
    font-size: 12px;
    font-weight: 900;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

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

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

.movie-title {
    display: block;
    min-height: 52px;
    color: #fff;
    font-size: 18px;
    font-weight: 850;
    line-height: 1.35;
}

.movie-title:hover {
    color: var(--cyan);
}

.movie-meta,
.movie-line {
    color: var(--muted);
    font-size: 13px;
}

.movie-line {
    min-height: 42px;
    margin: 8px 0 12px;
}

.tag-row span {
    border-color: rgba(148, 163, 184, 0.18);
    color: #cbd5e1;
    background: rgba(148, 163, 184, 0.09);
}

.split-section {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 28px;
    padding: 40px 0 8px;
}

.rank-card,
.story-card,
.info-card,
.player-section,
.category-card-large,
.category-hero,
.ranking-hero,
.page-hero {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.52));
    box-shadow: var(--shadow);
}

.rank-card {
    padding: 22px;
}

.rank-card .content-section {
    width: auto;
    padding: 0;
}

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

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

.rank-row {
    display: grid;
    grid-template-columns: 46px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(2, 6, 23, 0.38);
}

.rank-row:hover {
    border-color: rgba(34, 211, 238, 0.45);
}

.rank-num {
    color: var(--orange);
    font-weight: 900;
}

.rank-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 760;
}

.rank-meta {
    color: var(--muted);
    font-size: 12px;
}

.page-shell {
    padding-top: 34px;
}

.page-hero,
.category-hero,
.ranking-hero {
    position: relative;
    overflow: hidden;
    padding: 42px;
}

.compact-hero {
    background:
        radial-gradient(circle at 85% 8%, rgba(34, 211, 238, 0.18), transparent 22rem),
        linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(2, 6, 23, 0.8));
}

.page-search,
.inline-search {
    max-width: 680px;
    min-height: 52px;
    margin-top: 22px;
    padding: 0 16px;
}

.inline-search {
    width: min(360px, 100%);
    margin-top: 0;
}

.filter-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.filter-links a {
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #cbd5e1;
    background: rgba(2, 6, 23, 0.36);
}

.category-grid-large {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 30px;
}

.category-card-large {
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 22px;
    overflow: hidden;
    padding: 18px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.category-card-large img {
    width: 100%;
    height: 100%;
    min-height: 210px;
    object-fit: cover;
    border-radius: 18px;
}

.category-card-large h2 {
    margin: 12px 0 8px;
    font-size: 28px;
}

.category-card-large p,
.category-samples a {
    color: var(--muted);
}

.category-samples {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0;
}

.category-samples a {
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.1);
    font-size: 12px;
}

.category-hero {
    display: grid;
    grid-template-columns: minmax(260px, 0.42fr) 1fr;
    gap: 34px;
    align-items: center;
}

.category-hero img,
.ranking-hero img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

.category-layout {
    display: grid;
    grid-template-columns: 1fr 330px;
    gap: 26px;
}

.content-section.flat {
    width: auto;
}

.sticky-side {
    padding-top: 58px;
}

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

.rank-card.slim {
    padding: 18px;
}

.rank-card.slim .rank-row {
    grid-template-columns: 40px 1fr auto;
    padding: 10px;
}

.ranking-hero {
    display: grid;
    grid-template-columns: 0.46fr 1fr;
    gap: 34px;
    align-items: center;
}

.detail-page-shell {
    padding-top: 0;
}

.detail-hero {
    position: relative;
    min-height: 620px;
    margin-inline: calc((100vw - min(1420px, calc(100vw - 32px))) / -2);
    overflow: hidden;
}

.detail-bg,
.detail-hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.detail-bg {
    object-fit: cover;
    opacity: 0.32;
    filter: blur(1px);
}

.detail-hero-overlay {
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.58)),
        linear-gradient(0deg, #020617, transparent 45%, rgba(2, 6, 23, 0.8));
}

.detail-hero-inner {
    position: relative;
    z-index: 2;
    width: min(1420px, calc(100% - 32px));
    min-height: 620px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 44px;
    align-items: center;
    padding: 70px 0;
}

.detail-poster img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.56);
}

.breadcrumb {
    display: flex;
    gap: 10px;
    color: var(--muted);
    margin-bottom: 16px;
}

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

.detail-copy h1 {
    margin-bottom: 20px;
    font-size: clamp(44px, 6vw, 76px);
}

.detail-one-line {
    max-width: 800px;
    color: #dbeafe;
    font-size: 20px;
}

.detail-tags {
    margin-block: 22px;
}

.player-section {
    overflow: hidden;
    margin-top: 32px;
}

.player-wrap {
    position: relative;
    min-height: 320px;
    aspect-ratio: 16 / 9;
    background: #000;
}

.movie-video {
    width: 100%;
    height: 100%;
    display: block;
    background: #000;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 12px;
    border: 0;
    color: #fff;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.16), rgba(2, 6, 23, 0.64));
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.play-round {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #06111f;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    box-shadow: 0 0 46px rgba(34, 211, 238, 0.32);
    font-size: 28px;
}

.player-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 18px;
    color: var(--muted);
    border-top: 1px solid var(--line);
}

.detail-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 330px;
    gap: 22px;
    margin-top: 28px;
}

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

.story-card h2,
.info-card h2 {
    margin: 8px 0 14px;
    font-size: 26px;
}

.story-card p {
    color: #cbd5e1;
}

.story-card.accent {
    background:
        radial-gradient(circle at 92% 10%, rgba(34, 211, 238, 0.16), transparent 18rem),
        linear-gradient(180deg, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.52));
}

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

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

.info-card dd {
    margin: 0;
}

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

.prev-next {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 28px;
}

.prev-next a {
    min-width: 116px;
    text-align: center;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.58);
}

.prev-next a:hover {
    border-color: rgba(34, 211, 238, 0.45);
}

.site-footer {
    margin-top: 68px;
    padding: 42px 0 52px;
    border-top: 1px solid var(--line);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 0.8fr;
    gap: 34px;
}

.footer-brand {
    margin-bottom: 16px;
}

.site-footer p,
.site-footer a {
    color: var(--muted);
}

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

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
}

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

.movie-card.is-hidden {
    display: none;
}

@media (max-width: 1180px) {
    .category-strip {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        margin-top: 18px;
    }

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

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

    .sticky-side {
        padding-top: 10px;
    }

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

    .info-card {
        grid-column: 1 / -1;
    }
}

@media (max-width: 860px) {
    .header-inner {
        min-height: 68px;
    }

    .main-nav {
        position: absolute;
        inset: 68px 16px auto;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        border: 1px solid var(--line);
        border-radius: 20px;
        background: rgba(2, 6, 23, 0.96);
    }

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

    .nav-toggle {
        display: block;
        margin-left: auto;
    }

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

    .hero-content {
        padding-top: 110px;
    }

    .hero-panel {
        left: 16px;
        right: 16px;
        bottom: 24px;
        width: auto;
    }

    .hero-mini-list {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .movie-grid,
    .library-grid,
    .category-movie-grid,
    .ranking-grid,
    .rank-card .movie-grid,
    .category-grid-large {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-card-large,
    .category-hero,
    .ranking-hero,
    .detail-hero-inner,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .detail-hero-inner {
        gap: 26px;
    }

    .detail-poster {
        width: min(260px, 100%);
    }

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

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

@media (max-width: 560px) {
    .brand-text {
        font-size: 17px;
    }

    .hero-content p,
    .page-hero p,
    .category-hero p,
    .ranking-hero p {
        font-size: 15px;
    }

    .hero-mini-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .movie-grid,
    .library-grid,
    .category-movie-grid,
    .ranking-grid,
    .rank-card .movie-grid {
        grid-template-columns: 1fr;
    }

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

    .page-hero,
    .category-hero,
    .ranking-hero,
    .story-card,
    .info-card,
    .rank-card {
        padding: 20px;
    }

    .detail-copy h1 {
        font-size: 38px;
    }

    .player-wrap {
        min-height: 220px;
    }
}
