:root {
    color-scheme: dark;
    --bg: #06111f;
    --bg-deep: #030712;
    --panel: rgba(15, 23, 42, 0.86);
    --panel-solid: #0f172a;
    --card: #ffffff;
    --card-soft: #f8fafc;
    --text: #0f172a;
    --muted: #64748b;
    --light: #f8fafc;
    --cyan: #06b6d4;
    --cyan-dark: #0891b2;
    --blue: #2563eb;
    --yellow: #facc15;
    --border: rgba(148, 163, 184, 0.22);
    --shadow: 0 24px 60px rgba(2, 8, 23, 0.18);
    --radius: 22px;
}

* {
    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", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #f8fafc 0%, #eef5ff 46%, #f8fafc 100%);
}

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    color: #fff;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.98));
    box-shadow: 0 18px 42px rgba(2, 8, 23, 0.34);
    backdrop-filter: blur(16px);
}

.nav-shell {
    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: 800;
    letter-spacing: 0.02em;
}

.brand-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    box-shadow: 0 10px 26px rgba(6, 182, 212, 0.36);
}

.brand-text {
    font-size: 22px;
    background: linear-gradient(90deg, #67e8f9, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.nav-link {
    padding: 10px 12px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.82);
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: #67e8f9;
    background: rgba(6, 182, 212, 0.12);
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 21px;
    height: 2px;
    margin: 5px auto;
    background: #fff;
    border-radius: 2px;
}

.mobile-nav {
    display: none;
    padding: 8px 16px 16px;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(15, 23, 42, 0.98);
}

.hero-carousel {
    position: relative;
    height: min(720px, 72vh);
    min-height: 520px;
    overflow: hidden;
    color: #fff;
    background: #020617;
}

.hero-track,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slide {
    display: flex;
    align-items: flex-end;
    opacity: 0;
    visibility: hidden;
    background-position: center;
    background-size: cover;
    transform: scale(1.03);
    transition: opacity 0.8s ease, visibility 0.8s ease, transform 1.4s ease;
}

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

.hero-shadow,
.detail-hero-shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 22%, rgba(6, 182, 212, 0.3), transparent 32%),
        linear-gradient(0deg, rgba(2, 6, 23, 0.95), rgba(2, 6, 23, 0.48) 55%, rgba(2, 6, 23, 0.2)),
        linear-gradient(90deg, rgba(2, 6, 23, 0.86), rgba(2, 6, 23, 0.24));
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-bottom: 82px;
}

.eyebrow {
    margin: 0 0 14px;
    color: #67e8f9;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-content h1,
.hero-content h2 {
    max-width: 860px;
    margin: 0 0 18px;
    font-size: clamp(42px, 7vw, 78px);
    line-height: 1.02;
    font-weight: 900;
    text-shadow: 0 14px 42px rgba(0, 0, 0, 0.52);
}

.hero-desc {
    max-width: 760px;
    margin: 0 0 24px;
    color: rgba(248, 250, 252, 0.86);
    font-size: clamp(16px, 2vw, 21px);
    line-height: 1.8;
}

.hero-meta,
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.hero-meta span,
.detail-meta span {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(15, 23, 42, 0.46);
    backdrop-filter: blur(10px);
}

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

.hero-tags span,
.tag-row span {
    padding: 6px 10px;
    border-radius: 999px;
    color: #0e7490;
    background: #cffafe;
    font-size: 13px;
    font-weight: 700;
}

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

.btn-primary,
.btn-ghost,
.text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 14px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    box-shadow: 0 16px 36px rgba(6, 182, 212, 0.28);
}

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

.btn-ghost {
    color: #e0f2fe;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(12px);
}

.text-link {
    width: max-content;
    min-height: 38px;
    color: var(--cyan-dark);
    background: #ecfeff;
}

.hero-control {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: rgba(2, 6, 23, 0.58);
    cursor: pointer;
    font-size: 36px;
    line-height: 1;
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-control:hover {
    background: rgba(6, 182, 212, 0.82);
    transform: translateY(-50%) scale(1.08);
}

.hero-prev {
    left: 22px;
    transform: translateY(-50%);
}

.hero-next {
    right: 22px;
    transform: translateY(-50%);
}

.hero-dots {
    position: absolute;
    z-index: 5;
    right: 50%;
    bottom: 34px;
    display: flex;
    gap: 8px;
    transform: translateX(50%);
}

.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.is-active {
    width: 36px;
    background: #22d3ee;
}

.home-search {
    position: relative;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: -46px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.home-search h2,
.page-title-block h1,
.section-heading h2 {
    margin: 0;
    color: #0f172a;
    font-weight: 900;
}

.home-search h2 {
    font-size: clamp(24px, 3vw, 36px);
}

.home-search p,
.section-heading p,
.page-title-block p,
.category-overview-body p,
.footer-grid p {
    color: var(--muted);
    line-height: 1.75;
}

.page-stack,
.page-shell,
.detail-stack {
    padding-top: 56px;
    padding-bottom: 42px;
}

.content-section {
    margin-bottom: 58px;
}

.section-heading {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 24px;
}

.compact-heading {
    margin-bottom: 18px;
}

.section-line {
    width: 6px;
    height: 38px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--cyan), var(--blue));
    box-shadow: 0 10px 24px rgba(6, 182, 212, 0.28);
}

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

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(6, 182, 212, 0.32);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
}

.movie-poster {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a, #164e63);
}

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

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

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

.poster-play {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 999px;
    color: #fff;
    background: rgba(6, 182, 212, 0.84);
    box-shadow: 0 16px 30px rgba(6, 182, 212, 0.28);
    transform: translate(-50%, -50%) scale(0.86);
    opacity: 0;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

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

.movie-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    color: #fff;
    background: rgba(15, 23, 42, 0.7);
    font-size: 12px;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

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

.movie-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.movie-card h3 {
    margin: 0 0 8px;
    color: #0f172a;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 900;
}

.movie-card h3 a:hover {
    color: var(--cyan-dark);
}

.movie-card p {
    display: -webkit-box;
    min-height: 46px;
    margin: 0 0 12px;
    overflow: hidden;
    color: #64748b;
    line-height: 1.6;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

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

.compact-card h3 {
    font-size: 16px;
}

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

.category-card,
.category-overview-card,
.filter-panel,
.article-content,
.player-section {
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.category-card {
    display: grid;
    gap: 14px;
    padding: 16px;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-card:hover,
.category-overview-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 55px rgba(15, 23, 42, 0.14);
}

.category-thumbs {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    gap: 8px;
    height: 118px;
    overflow: hidden;
    border-radius: 16px;
}

.category-thumbs img,
.category-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-card strong {
    font-size: 20px;
    font-weight: 900;
}

.category-card span {
    color: var(--muted);
    line-height: 1.65;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 28px;
}

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

.rank-item {
    display: grid;
    grid-template-columns: 46px 72px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 12px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-item:hover {
    transform: translateX(4px);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.14);
}

.rank-num {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    font-weight: 900;
}

.rank-item img {
    width: 72px;
    height: 48px;
    object-fit: cover;
    border-radius: 12px;
}

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

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

.rank-copy strong {
    color: #0f172a;
    font-weight: 900;
}

.rank-copy em {
    margin-top: 4px;
    color: #64748b;
    font-size: 13px;
    font-style: normal;
}

.page-title-block {
    margin-bottom: 28px;
    padding: 34px;
    border-radius: 28px;
    color: #fff;
    background:
        radial-gradient(circle at 82% 18%, rgba(34, 211, 238, 0.32), transparent 34%),
        linear-gradient(135deg, #0f172a, #1e293b 54%, #0e7490);
    box-shadow: var(--shadow);
}

.page-title-block h1 {
    color: #fff;
    font-size: clamp(34px, 5vw, 58px);
}

.page-title-block p:not(.eyebrow) {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
    color: #475569;
    font-weight: 700;
}

.breadcrumb.light {
    color: rgba(255, 255, 255, 0.82);
}

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

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

.category-overview-card {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-cover {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    min-height: 230px;
    background: #0f172a;
}

.category-overview-body {
    padding: 22px;
}

.category-overview-body h2 {
    margin: 0 0 8px;
    font-size: 26px;
    font-weight: 900;
}

.category-overview-body ul {
    display: grid;
    gap: 6px;
    margin: 14px 0 16px;
    padding: 0;
    list-style: none;
    color: #334155;
}

.filter-panel {
    margin-bottom: 28px;
    padding: 20px;
}

.filter-main {
    display: grid;
    grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(150px, 0.8fr));
    gap: 14px;
}

.filter-main label {
    display: grid;
    gap: 7px;
    color: #334155;
    font-weight: 800;
}

.filter-main input,
.filter-main select {
    width: 100%;
    min-height: 46px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 14px;
    padding: 0 14px;
    color: #0f172a;
    background: #fff;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.filter-main input:focus,
.filter-main select:focus {
    border-color: rgba(6, 182, 212, 0.7);
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.12);
}

.empty-state {
    display: none;
    margin: 16px 0 0;
    color: #0e7490;
    font-weight: 800;
}

.empty-state.is-visible {
    display: block;
}

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

.rank-hero-card {
    position: relative;
    min-height: 320px;
    overflow: hidden;
    border-radius: 26px;
    color: #fff;
    background: #0f172a;
    box-shadow: var(--shadow);
}

.rank-hero-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.88), transparent 62%);
}

.rank-hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.rank-hero-card span,
.rank-hero-card strong,
.rank-hero-card em {
    position: absolute;
    z-index: 2;
    left: 22px;
}

.rank-hero-card span {
    top: 20px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(6, 182, 212, 0.86);
    font-weight: 900;
}

.rank-hero-card strong {
    right: 22px;
    bottom: 48px;
    font-size: 28px;
    font-weight: 900;
}

.rank-hero-card em {
    bottom: 24px;
    color: rgba(255, 255, 255, 0.74);
    font-style: normal;
}

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

.detail-hero {
    position: relative;
    min-height: 640px;
    color: #fff;
    background-position: center;
    background-size: cover;
}

.detail-hero-inner {
    position: relative;
    z-index: 2;
    padding-top: 42px;
    padding-bottom: 54px;
}

.detail-top-grid {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 38px;
    align-items: end;
}

.detail-poster {
    overflow: hidden;
    margin: 0;
    border: 5px solid rgba(255, 255, 255, 0.16);
    border-radius: 28px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
}

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

.detail-copy h1 {
    margin: 0 0 18px;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.1;
    font-weight: 900;
}

.detail-one-line {
    max-width: 850px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 19px;
    line-height: 1.8;
}

.detail-tags span {
    color: #e0f2fe;
    background: rgba(6, 182, 212, 0.22);
    border: 1px solid rgba(103, 232, 249, 0.2);
}

.player-section {
    padding: 24px;
}

.video-shell {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #020617;
    box-shadow: 0 26px 70px rgba(2, 8, 23, 0.22);
}

.movie-video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #020617;
    cursor: pointer;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 0;
    color: #fff;
    background: radial-gradient(circle at center, rgba(6, 182, 212, 0.14), rgba(2, 6, 23, 0.2));
    cursor: pointer;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

.player-overlay span {
    display: grid;
    width: 82px;
    height: 82px;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    box-shadow: 0 24px 54px rgba(6, 182, 212, 0.34);
    font-size: 34px;
}

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

.article-content {
    padding: 30px;
}

.article-content h2 {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: 28px;
    font-weight: 900;
}

.article-content h2:not(:first-child) {
    margin-top: 28px;
}

.article-content p {
    margin: 0;
    color: #334155;
    font-size: 17px;
    line-height: 2;
}

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

.site-footer {
    margin-top: 60px;
    color: rgba(226, 232, 240, 0.88);
    background: linear-gradient(180deg, #0f172a, #020617);
}

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

.footer-brand {
    color: #67e8f9;
    font-size: 24px;
}

.footer-grid h2 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 18px;
}

.footer-grid p {
    color: rgba(226, 232, 240, 0.72);
}

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

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

.footer-bottom {
    padding: 18px 16px;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    text-align: center;
    color: rgba(226, 232, 240, 0.68);
}

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

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

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

    .detail-top-grid {
        grid-template-columns: 250px minmax(0, 1fr);
    }
}

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

    .menu-toggle {
        display: block;
    }

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

    .mobile-nav .nav-link {
        display: block;
    }

    .hero-carousel {
        min-height: 620px;
        height: 78vh;
    }

    .hero-content {
        padding-bottom: 72px;
    }

    .hero-control {
        display: none;
    }

    .home-search,
    .split-section,
    .footer-grid,
    .category-overview-card,
    .detail-top-grid {
        grid-template-columns: 1fr;
    }

    .home-search {
        display: grid;
    }

    .movie-grid,
    .wide-grid,
    .search-grid,
    .related-grid,
    .category-grid,
    .category-overview-grid,
    .rank-hero-grid,
    .full-rank-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-overview-card {
        display: block;
    }

    .category-cover {
        min-height: 180px;
    }

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

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

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

    .hero-carousel {
        min-height: 560px;
    }

    .hero-content h1,
    .hero-content h2 {
        font-size: 36px;
    }

    .home-search,
    .page-title-block,
    .filter-panel,
    .player-section,
    .article-content {
        padding: 18px;
        border-radius: 20px;
    }

    .movie-grid,
    .wide-grid,
    .search-grid,
    .related-grid,
    .category-grid,
    .category-overview-grid,
    .rank-hero-grid,
    .full-rank-list,
    .filter-main {
        grid-template-columns: 1fr;
    }

    .rank-item {
        grid-template-columns: 40px 66px minmax(0, 1fr);
    }

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

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