:root {
    --bg: #020617;
    --bg-soft: #0f172a;
    --card: rgba(15, 23, 42, 0.72);
    --card-strong: rgba(30, 41, 59, 0.82);
    --line: rgba(148, 163, 184, 0.2);
    --text: #f8fafc;
    --muted: #94a3b8;
    --muted-light: #cbd5e1;
    --amber: #f59e0b;
    --amber-dark: #d97706;
    --rose: #f43f5e;
    --emerald: #10b981;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 20% -10%, rgba(245, 158, 11, 0.14), transparent 32rem),
        radial-gradient(circle at 80% 10%, rgba(244, 63, 94, 0.12), transparent 30rem),
        linear-gradient(135deg, #020617 0%, #0f172a 45%, #020617 100%);
}

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(2, 6, 23, 0.94);
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
    backdrop-filter: blur(18px);
}

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

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--amber), var(--rose));
    box-shadow: 0 16px 38px rgba(245, 158, 11, 0.22);
}

.brand-text {
    display: grid;
    line-height: 1.1;
}

.brand-text strong {
    font-size: 20px;
    letter-spacing: 0.02em;
}

.brand-text small {
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
}

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

.nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 12px;
    color: var(--muted-light);
    font-weight: 600;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #fbbf24;
    background: rgba(245, 158, 11, 0.14);
}

.mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    color: var(--text);
    background: rgba(30, 41, 59, 0.86);
    cursor: pointer;
}

.mobile-nav {
    display: none;
    padding: 0 16px 16px;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.mobile-nav.open {
    display: grid;
    gap: 8px;
}

.hero {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    background: #020617;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05) contrast(1.05);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.98), rgba(2, 6, 23, 0.76) 42%, rgba(2, 6, 23, 0.36)),
        linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.15) 44%, rgba(2, 6, 23, 0.5) 100%);
}

.hero-content {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: end;
    gap: 44px;
    padding-top: 92px;
    padding-bottom: 72px;
}

.hero-copy {
    max-width: 760px;
}

.eyebrow {
    margin: 0 0 12px;
    color: #fbbf24;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0 0 8px;
    font-size: clamp(44px, 8vw, 88px);
    line-height: 0.95;
    letter-spacing: -0.06em;
}

.hero h2 {
    margin: 0 0 18px;
    font-size: clamp(28px, 4vw, 52px);
    line-height: 1.05;
}

.hero-desc {
    max-width: 720px;
    margin: 0 0 22px;
    color: var(--muted-light);
    font-size: 19px;
    line-height: 1.8;
}

.hero-tags,
.detail-tags,
.poster-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-tags span,
.detail-tags span,
.poster-tags span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    color: #fde68a;
    background: rgba(245, 158, 11, 0.14);
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.hero-tags span,
.detail-tags span {
    padding: 7px 12px;
}

.poster-tags span {
    padding: 4px 8px;
    font-size: 12px;
}

.hero-actions,
.page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

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

.primary-btn {
    color: #fff;
    background: linear-gradient(135deg, var(--amber), var(--rose));
    box-shadow: 0 16px 35px rgba(245, 158, 11, 0.22);
}

.ghost-btn {
    color: var(--text);
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.22);
}

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

.hero-poster {
    position: relative;
    align-self: end;
    display: block;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-poster img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.hero-poster span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.92);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.45);
}

.hero-dots {
    position: absolute;
    right: max(24px, calc((100% - 1220px) / 2));
    bottom: 36px;
    z-index: 4;
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.48);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.active {
    width: 36px;
    background: var(--amber);
}

.quick-search-section {
    transform: translateY(-28px);
    position: relative;
    z-index: 6;
}

.home-search,
.filter-panel {
    display: grid;
    gap: 12px;
    padding: 16px;
    border-radius: 22px;
    background: rgba(15, 23, 42, 0.86);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

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

.home-search input,
.filter-panel input,
.filter-panel select {
    width: 100%;
    min-height: 46px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 14px;
    color: var(--text);
    outline: none;
    background: rgba(2, 6, 23, 0.55);
    padding: 0 14px;
}

.home-search button {
    min-height: 46px;
    border: 0;
    border-radius: 14px;
    color: #fff;
    font-weight: 800;
    background: linear-gradient(135deg, var(--amber), var(--rose));
    cursor: pointer;
    padding: 0 22px;
}

.category-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.category-chips a {
    padding: 8px 13px;
    border-radius: 999px;
    color: var(--muted-light);
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.16);
}

.section-block {
    padding: 36px 0;
}

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

.section-heading.compact {
    margin-bottom: 16px;
}

.section-heading p {
    margin: 0 0 6px;
    color: #fbbf24;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section-heading h2,
.page-hero h1,
.related-panel h2,
.detail-article h2,
.watch-copy h1 {
    margin: 0;
}

.section-heading h2 {
    font-size: clamp(26px, 3vw, 38px);
}

.section-heading a {
    color: #fbbf24;
    font-weight: 800;
}

.horizontal-list {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 4px 2px 18px;
    scrollbar-width: thin;
}

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

.catalog-grid {
    margin-top: 28px;
}

.poster-card,
.wide-card,
.ranking-card,
.category-card,
.category-overview-card {
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: var(--card);
    backdrop-filter: blur(14px);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.poster-card:hover,
.wide-card:hover,
.ranking-card:hover,
.category-card:hover,
.category-overview-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 158, 11, 0.36);
    background: var(--card-strong);
}

.poster-card {
    display: grid;
    gap: 9px;
    padding: 10px;
    border-radius: 20px;
}

.poster-cover {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 16px;
    background: #0f172a;
}

.poster-cover img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.poster-card:hover .poster-cover img,
.wide-card:hover img,
.ranking-card:hover img,
.category-overview-cover:hover img {
    transform: scale(1.06);
}

.poster-mask {
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.75), transparent 62%);
    transition: opacity 0.2s ease;
}

.poster-card:hover .poster-mask {
    opacity: 1;
}

.poster-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%) scale(0.88);
    border-radius: 50%;
    opacity: 0;
    color: #fff;
    background: rgba(245, 158, 11, 0.92);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.poster-rating {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 7px;
    border-radius: 9px;
    color: #fde68a;
    font-size: 12px;
    font-weight: 800;
    background: rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(12px);
}

.poster-title {
    display: -webkit-box;
    overflow: hidden;
    min-height: 44px;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.poster-card:hover .poster-title,
.wide-card:hover strong,
.ranking-card:hover strong,
.rank-row:hover strong,
.category-sample-links a:hover,
.footer-links a:hover {
    color: #fbbf24;
}

.poster-meta,
.poster-desc,
.wide-info em,
.wide-info span,
.ranking-content em,
.ranking-content span,
.rank-row em {
    color: var(--muted);
}

.poster-meta {
    font-size: 13px;
}

.poster-desc {
    display: -webkit-box;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.6;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

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

.wide-card {
    width: 330px;
    display: flex;
    flex: 0 0 330px;
    gap: 14px;
    padding: 12px;
    border-radius: 18px;
}

.wide-grid .wide-card,
.related-list .wide-card {
    width: auto;
    flex: none;
}

.wide-cover {
    width: 104px;
    flex: 0 0 104px;
    overflow: hidden;
    border-radius: 14px;
    background: #0f172a;
}

.wide-cover img {
    width: 100%;
    height: 138px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.wide-info {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 7px;
}

.wide-info strong,
.ranking-content strong,
.rank-row strong {
    display: -webkit-box;
    overflow: hidden;
    color: #fff;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.wide-info em,
.ranking-content em,
.rank-row em {
    font-size: 13px;
    font-style: normal;
}

.wide-info span,
.ranking-content span {
    display: -webkit-box;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.6;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.wide-info small,
.ranking-content small {
    color: #fbbf24;
    font-weight: 800;
}

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

.ranking-box,
.related-panel,
.detail-article section,
.watch-panel,
.page-hero {
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow);
}

.ranking-box {
    position: sticky;
    top: 92px;
    padding: 18px;
    border-radius: 24px;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 36px 56px 1fr;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 14px;
    background: rgba(2, 6, 23, 0.28);
}

.rank-no,
.ranking-number {
    color: #fbbf24;
    font-weight: 900;
}

.rank-row img {
    width: 56px;
    height: 70px;
    object-fit: cover;
    border-radius: 10px;
}

.rank-row span:last-child {
    display: grid;
    gap: 4px;
    min-width: 0;
}

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

.category-card {
    display: grid;
    gap: 10px;
    min-height: 190px;
    padding: 18px;
    border-radius: 22px;
}

.category-card strong {
    font-size: 22px;
}

.category-card span,
.category-card em {
    color: var(--muted-light);
    font-style: normal;
    line-height: 1.7;
}

.category-card em {
    display: grid;
    gap: 4px;
    font-size: 13px;
}

.page-main {
    padding: 42px 0 72px;
}

.page-hero {
    margin-bottom: 28px;
    padding: clamp(28px, 5vw, 54px);
    border-radius: 30px;
    background:
        linear-gradient(135deg, rgba(245, 158, 11, 0.14), rgba(244, 63, 94, 0.08)),
        rgba(15, 23, 42, 0.72);
}

.page-hero h1 {
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.05;
}

.page-hero p:not(.eyebrow) {
    max-width: 820px;
    color: var(--muted-light);
    font-size: 18px;
    line-height: 1.8;
}

.slim-hero {
    margin-bottom: 26px;
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 18px;
    padding: 16px;
    border-radius: 24px;
}

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

.category-overview-cover img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

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

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

.category-sample-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-sample-links a {
    padding: 6px 9px;
    border-radius: 999px;
    color: var(--muted-light);
    font-size: 13px;
    background: rgba(2, 6, 23, 0.36);
}

.filter-panel {
    grid-template-columns: minmax(260px, 1fr) repeat(3, 180px);
    align-items: end;
}

.filter-panel label {
    display: grid;
    gap: 7px;
}

.filter-panel span {
    color: var(--muted-light);
    font-size: 13px;
    font-weight: 800;
}

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

.ranking-list-page {
    display: grid;
    gap: 14px;
    margin-top: 26px;
}

.ranking-card {
    display: grid;
    grid-template-columns: 64px 100px 1fr;
    align-items: center;
    gap: 18px;
    padding: 12px;
    border-radius: 20px;
}

.ranking-card img {
    width: 100px;
    height: 132px;
    object-fit: cover;
    border-radius: 14px;
    transition: transform 0.3s ease;
}

.ranking-number {
    font-size: 26px;
    text-align: center;
}

.ranking-content {
    display: grid;
    gap: 8px;
}

.ranking-content strong {
    font-size: 20px;
}

.detail-main {
    padding: 28px 0 72px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 14px;
}

.breadcrumb a {
    color: #fbbf24;
}

.watch-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
    gap: 24px;
    padding: 18px;
    border-radius: 28px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #000;
    aspect-ratio: 16 / 9;
}

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

.play-cover {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    padding: 0;
    color: #fff;
    background: #000;
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.72;
}

.play-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.18));
}

.play-badge {
    position: relative;
    z-index: 1;
    width: 82px;
    height: 82px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 28px;
    background: linear-gradient(135deg, var(--amber), var(--rose));
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.watch-copy {
    display: grid;
    align-content: center;
    gap: 16px;
    padding: 8px 8px 8px 0;
}

.watch-copy h1 {
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.12;
}

.watch-copy p:not(.eyebrow) {
    margin: 0;
    color: var(--muted-light);
    line-height: 1.8;
}

.watch-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.watch-meta span {
    padding: 7px 10px;
    border-radius: 999px;
    color: var(--muted-light);
    background: rgba(2, 6, 23, 0.4);
    border: 1px solid rgba(148, 163, 184, 0.14);
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 26px;
    margin-top: 28px;
    align-items: start;
}

.detail-article {
    display: grid;
    gap: 18px;
}

.detail-article section,
.related-panel {
    padding: 24px;
    border-radius: 24px;
}

.detail-article h2,
.related-panel h2 {
    margin-bottom: 14px;
    font-size: 23px;
}

.detail-article p {
    margin: 0;
    color: var(--muted-light);
    line-height: 2;
    font-size: 16px;
}

.info-list {
    display: grid;
    gap: 10px;
    margin: 0;
}

.info-list div {
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

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

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

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

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

.site-footer {
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(2, 6, 23, 0.86);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.9fr 1fr 1fr;
    gap: 28px;
    padding: 42px 0;
}

.footer-brand {
    margin-bottom: 14px;
    font-size: 18px;
    font-weight: 900;
}

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

.site-footer p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

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

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

.footer-bottom {
    padding: 18px 16px 24px;
    color: var(--muted);
    text-align: center;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
}

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

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

    .split-section,
    .watch-panel,
    .detail-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .ranking-box,
    .related-panel {
        position: static;
    }

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

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

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

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

    .hero {
        min-height: 720px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        align-items: end;
        padding-bottom: 76px;
    }

    .hero-poster {
        display: none;
    }

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

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

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

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

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

    .watch-panel {
        padding: 10px;
    }

    .watch-copy {
        padding: 6px;
    }

    .ranking-card {
        grid-template-columns: 48px 82px 1fr;
        gap: 12px;
    }

    .ranking-card img {
        width: 82px;
        height: 110px;
    }
}

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

    .header-inner {
        height: 62px;
    }

    .brand-icon {
        width: 38px;
        height: 38px;
    }

    .brand-text small {
        display: none;
    }

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

    .hero h2 {
        font-size: 30px;
    }

    .hero-desc,
    .page-hero p:not(.eyebrow) {
        font-size: 16px;
    }

    .poster-grid,
    .wide-grid,
    .category-grid,
    .category-overview-grid {
        grid-template-columns: 1fr;
    }

    .wide-card {
        width: 292px;
        flex-basis: 292px;
    }

    .wide-grid .wide-card,
    .related-list .wide-card {
        width: auto;
    }

    .wide-cover {
        width: 92px;
        flex-basis: 92px;
    }

    .wide-cover img {
        height: 124px;
    }

    .rank-row {
        grid-template-columns: 32px 50px 1fr;
    }

    .rank-row img {
        width: 50px;
        height: 64px;
    }

    .detail-article section,
    .related-panel,
    .page-hero {
        padding: 20px;
    }

    .info-list div {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}
