:root {
    --night-950: #0d0d10;
    --night-900: #1a1a1f;
    --night-850: #23232a;
    --night-800: #2c2c34;
    --night-700: #3e3e49;
    --night-500: #6e6e78;
    --night-400: #888893;
    --night-300: #b0b0b8;
    --night-200: #d1d1d6;
    --night-100: #e7e7ea;
    --gold-500: #eab308;
    --gold-400: #facc15;
    --ember-500: #ef4444;
    --site-width: 1280px;
    --glow: 0 0 30px rgba(234, 179, 8, 0.38);
    color-scheme: dark;
}

* {
    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(--night-100);
    background:
        radial-gradient(circle at top left, rgba(234, 179, 8, 0.12), transparent 34rem),
        radial-gradient(circle at top right, rgba(239, 68, 68, 0.12), transparent 30rem),
        var(--night-950);
}

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

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

button,
input {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(26, 26, 31, 0.95);
    border-bottom: 1px solid rgba(234, 179, 8, 0.18);
    backdrop-filter: blur(14px);
}

.header-inner {
    width: min(100% - 32px, var(--site-width));
    height: 64px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.brand-mark {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--night-950);
    background: linear-gradient(135deg, var(--gold-500), var(--ember-500));
    box-shadow: 0 0 20px rgba(234, 179, 8, 0.3);
}

.brand-name,
.footer-brand {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: transparent;
    background: linear-gradient(90deg, var(--gold-400), #fb923c);
    -webkit-background-clip: text;
    background-clip: text;
    white-space: nowrap;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
}

.nav-link,
.mobile-link {
    display: inline-flex;
    align-items: center;
    border-radius: 10px;
    color: var(--night-100);
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link {
    padding: 10px 12px;
    font-size: 14px;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
    color: var(--gold-400);
    background: rgba(44, 44, 52, 0.72);
}

.header-search,
.mobile-search,
.large-search {
    display: flex;
    align-items: center;
    border: 1px solid var(--night-700);
    background: var(--night-800);
    border-radius: 12px;
    overflow: hidden;
}

.header-search input,
.mobile-search input,
.large-search input,
.page-filter input {
    min-width: 0;
    border: 0;
    outline: 0;
    color: var(--night-100);
    background: transparent;
}

.header-search input {
    width: 170px;
    padding: 10px 12px;
}

.header-search button,
.mobile-search button,
.large-search button {
    border: 0;
    color: var(--night-950);
    background: linear-gradient(90deg, var(--gold-500), var(--ember-500));
    cursor: pointer;
}

.header-search button {
    padding: 10px 13px;
}

.menu-toggle {
    display: none;
    margin-left: auto;
    border: 0;
    color: var(--night-100);
    background: var(--night-800);
    border-radius: 10px;
    padding: 10px 12px;
    cursor: pointer;
}

.mobile-nav {
    padding: 12px 16px 18px;
    background: var(--night-900);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav nav {
    display: grid;
    gap: 6px;
    margin-top: 10px;
}

.mobile-link {
    padding: 12px;
}

.mobile-search input {
    width: 100%;
    padding: 12px;
}

.mobile-search button {
    padding: 12px 16px;
}

.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: var(--night-900);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    background-size: cover;
    background-position: center;
    transition: opacity 0.9s ease, visibility 0.9s ease, transform 6s ease;
    transform: scale(1.02);
}

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

.hero-layer {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(13, 13, 16, 0.94), rgba(13, 13, 16, 0.68), rgba(13, 13, 16, 0.3)),
        linear-gradient(180deg, rgba(26, 26, 31, 0.55), rgba(13, 13, 16, 0.95));
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(100% - 32px, var(--site-width));
    margin: 0 auto;
    max-width: 720px;
    padding-top: 40px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    color: var(--gold-400);
    background: rgba(234, 179, 8, 0.16);
    border: 1px solid rgba(234, 179, 8, 0.28);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
}

.hero-content h1,
.page-hero h1 {
    margin: 20px 0 18px;
    color: #fff;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1.05;
    letter-spacing: -0.06em;
}

.hero-content p,
.page-hero p {
    max-width: 760px;
    color: var(--night-200);
    font-size: 18px;
    line-height: 1.75;
}

.hero-meta,
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    color: var(--night-300);
}

.hero-meta span,
.detail-meta span,
.detail-meta a {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(44, 44, 52, 0.72);
}

.hero-meta span:first-child,
.detail-meta span:first-child {
    color: var(--gold-400);
    background: rgba(234, 179, 8, 0.16);
}

.hero-actions,
.center-action {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

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

.primary-btn {
    color: var(--night-950);
    background: linear-gradient(90deg, var(--gold-500), var(--ember-500));
    box-shadow: var(--glow);
}

.ghost-btn {
    color: var(--night-100);
    background: rgba(44, 44, 52, 0.72);
    border: 1px solid rgba(234, 179, 8, 0.25);
}

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

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

.hero-dot {
    width: 36px;
    height: 4px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    cursor: pointer;
}

.hero-dot.is-active {
    background: linear-gradient(90deg, var(--gold-500), var(--ember-500));
    box-shadow: var(--glow);
}

.home-search-band {
    padding: 28px 0;
    background: rgba(26, 26, 31, 0.72);
    border-top: 1px solid rgba(234, 179, 8, 0.12);
    border-bottom: 1px solid rgba(234, 179, 8, 0.12);
}

.search-band-inner {
    display: grid;
    grid-template-columns: 1fr minmax(300px, 520px);
    gap: 28px;
    align-items: center;
}

.search-band-inner h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 28px;
}

.search-band-inner p {
    margin: 0;
    color: var(--night-300);
}

.large-search input {
    flex: 1;
    padding: 15px 16px;
}

.large-search button {
    padding: 15px 22px;
    font-weight: 800;
}

.page-blocks {
    padding: 64px 0;
    display: grid;
    gap: 72px;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
}

.section-heading h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(26px, 3vw, 36px);
    letter-spacing: -0.04em;
}

.section-heading span {
    flex: 1;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(234, 179, 8, 0.5), transparent);
}

.section-heading p {
    margin: 0;
    color: var(--night-400);
}

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

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

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

.movie-card {
    min-width: 0;
}

.poster-frame {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(234, 179, 8, 0.14), transparent),
        var(--night-800);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.26);
}

.poster-img,
.wide-img,
.list-img,
.related-img,
.thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.2s ease;
}

.poster-card:hover .poster-img,
.wide-card:hover .wide-img,
.list-card:hover .list-img,
.related-item:hover .related-img,
.category-thumbs a:hover .thumb-img {
    transform: scale(1.08);
}

.quality,
.hot-badge,
.rank-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    padding: 5px 8px;
    border-radius: 8px;
    color: #fff;
    background: rgba(13, 13, 16, 0.78);
    font-size: 12px;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.hot-badge,
.rank-badge {
    left: 12px;
    right: auto;
    background: var(--ember-500);
}

.rank-badge {
    background: linear-gradient(135deg, var(--gold-500), var(--ember-500));
    color: var(--night-950);
}

.poster-hover {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 16px;
    color: #fff;
    background: linear-gradient(0deg, rgba(13, 13, 16, 0.95), rgba(13, 13, 16, 0));
    transform: translateY(100%);
    transition: transform 0.25s ease;
}

.poster-hover p {
    margin: 0;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.5;
    font-size: 14px;
}

.poster-card:hover .poster-hover {
    transform: translateY(0);
}

.poster-card h3,
.wide-card h3,
.list-card h3,
.related-item h3 {
    color: var(--night-100);
    transition: color 0.2s ease;
}

.poster-card h3 {
    margin: 12px 0 5px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 16px;
    line-height: 1.45;
}

.poster-card:hover h3,
.wide-card:hover h3,
.list-card:hover h3,
.related-item:hover h3 {
    color: var(--gold-400);
}

.movie-meta {
    margin: 0;
    color: var(--night-400);
    font-size: 13px;
}

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

.wide-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(44, 44, 52, 0.52);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.wide-card:hover {
    transform: translateY(-3px);
    border-color: rgba(234, 179, 8, 0.32);
    background: var(--night-800);
}

.wide-cover {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--night-800);
}

.wide-body {
    padding: 18px;
}

.wide-body h3 {
    margin: 0 0 10px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 19px;
}

.wide-body p {
    margin: 0 0 14px;
    min-height: 48px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: var(--night-400);
    line-height: 1.55;
}

.wide-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--night-400);
    font-size: 14px;
}

.wide-meta span:first-child {
    color: var(--gold-400);
    font-weight: 800;
}

.category-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 36px;
}

.category-card {
    padding: 22px;
    border: 1px solid rgba(234, 179, 8, 0.18);
    border-radius: 18px;
    background:
        radial-gradient(circle at top right, rgba(234, 179, 8, 0.16), transparent 64%),
        rgba(44, 44, 52, 0.42);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.category-card:hover {
    transform: translateY(-3px);
    border-color: rgba(234, 179, 8, 0.42);
}

.category-card strong {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-size: 22px;
}

.category-card span {
    color: var(--night-300);
    line-height: 1.6;
}

.category-preview {
    margin-top: 28px;
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    background: rgba(26, 26, 31, 0.72);
}

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

.category-preview-head h3 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 26px;
}

.category-preview-head p {
    margin: 0;
    color: var(--night-400);
}

.category-preview-head a {
    color: var(--gold-400);
    font-weight: 800;
}

.latest-grid,
.rank-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

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

.list-card {
    display: grid;
    grid-template-columns: auto 82px 1fr;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: rgba(44, 44, 52, 0.32);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.list-card:hover {
    border-color: rgba(234, 179, 8, 0.32);
    background: rgba(44, 44, 52, 0.72);
}

.list-rank strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    border-radius: 12px;
    color: var(--night-950);
    background: linear-gradient(135deg, var(--gold-500), var(--ember-500));
}

.list-cover {
    width: 82px;
    height: 116px;
    overflow: hidden;
    border-radius: 12px;
    background: var(--night-800);
}

.list-body {
    min-width: 0;
}

.list-body h3 {
    margin: 0 0 8px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 16px;
}

.list-body p {
    margin: 0 0 8px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: var(--night-400);
    line-height: 1.5;
    font-size: 14px;
}

.list-body span {
    color: var(--gold-400);
    font-size: 13px;
}

.center-action {
    justify-content: center;
}

.site-footer {
    border-top: 1px solid rgba(234, 179, 8, 0.14);
    background: rgba(13, 13, 16, 0.92);
}

.footer-inner {
    width: min(100% - 32px, var(--site-width));
    margin: 0 auto;
    padding: 42px 0;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: start;
}

.footer-inner p {
    max-width: 680px;
    color: var(--night-400);
    line-height: 1.75;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px 18px;
}

.footer-links a {
    color: var(--night-300);
}

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

.sub-page {
    min-height: 70vh;
}

.page-hero {
    padding: 72px 0 62px;
    border-bottom: 1px solid rgba(234, 179, 8, 0.14);
    background:
        linear-gradient(120deg, rgba(26, 26, 31, 0.98), rgba(26, 26, 31, 0.65)),
        radial-gradient(circle at top right, rgba(234, 179, 8, 0.18), transparent 40rem);
}

.small-hero h1,
.ranking-hero h1 {
    font-size: clamp(36px, 4.5vw, 58px);
}

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

.breadcrumb a {
    color: var(--gold-400);
}

.breadcrumb strong {
    color: var(--night-200);
    font-weight: 700;
}

.category-overview-grid {
    display: grid;
    gap: 24px;
}

.category-overview-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
    align-items: center;
    padding: 28px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at bottom left, rgba(239, 68, 68, 0.12), transparent 34rem),
        rgba(44, 44, 52, 0.42);
}

.category-overview-body h2 {
    margin: 16px 0 10px;
    color: #fff;
    font-size: 34px;
}

.category-overview-body p {
    max-width: 620px;
    color: var(--night-300);
    line-height: 1.8;
}

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

.category-thumbs a {
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 14px;
    background: var(--night-800);
}

.filter-panel {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 420px);
    gap: 24px;
    align-items: end;
    padding: 26px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(44, 44, 52, 0.42);
}

.filter-panel h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 28px;
}

.filter-panel p {
    margin: 0;
    color: var(--night-300);
    line-height: 1.7;
}

.page-filter {
    display: grid;
    gap: 8px;
    color: var(--night-300);
    font-weight: 700;
}

.page-filter input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--night-700);
    border-radius: 12px;
    background: var(--night-800);
}

.empty-state {
    padding: 48px;
    text-align: center;
    color: var(--night-300);
    border-radius: 18px;
    background: rgba(44, 44, 52, 0.42);
}

.movie-page {
    padding: 34px 0 72px;
}

.movie-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 32px;
}

.movie-main {
    min-width: 0;
}

.player {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 20px;
    background: #000;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}

.player video {
    width: 100%;
    height: 100%;
    display: block;
    background: #000;
    object-fit: contain;
}

.player-trigger {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: rgba(13, 13, 16, 0.46);
    cursor: pointer;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-trigger span {
    width: 84px;
    height: 84px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--night-950);
    background: linear-gradient(135deg, var(--gold-500), var(--ember-500));
    box-shadow: var(--glow);
    font-size: 34px;
    transform: translateX(3px);
}

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

.movie-detail {
    margin-top: 28px;
    display: grid;
    gap: 22px;
}

.movie-detail h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-row span {
    padding: 7px 11px;
    color: var(--night-300);
    border-radius: 999px;
    background: var(--night-800);
}

.movie-detail section {
    padding: 24px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(44, 44, 52, 0.45);
}

.movie-detail h2,
.related-panel h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 22px;
}

.movie-detail p {
    margin: 0;
    color: var(--night-300);
    line-height: 1.9;
}

.related-panel {
    min-width: 0;
}

.sticky-card {
    position: sticky;
    top: 92px;
    padding: 22px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(44, 44, 52, 0.45);
}

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

.related-item {
    display: grid;
    grid-template-columns: 82px 1fr;
    gap: 12px;
    align-items: start;
    padding: 10px;
    border-radius: 14px;
    transition: background 0.2s ease;
}

.related-item:hover {
    background: rgba(62, 62, 73, 0.55);
}

.related-item > div:first-child {
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 12px;
    background: var(--night-800);
}

.related-item h3 {
    margin: 2px 0 8px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 15px;
    line-height: 1.45;
}

.related-item p {
    margin: 0 0 8px;
    color: var(--night-400);
    font-size: 13px;
}

.related-item span {
    color: var(--gold-400);
    font-size: 13px;
    font-weight: 800;
}

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

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

    .header-search {
        margin-left: auto;
    }

    .poster-grid,
    .all-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

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

    .movie-layout {
        grid-template-columns: 1fr;
    }

    .sticky-card {
        position: static;
    }
}

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

    .hero-slider {
        height: 560px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .search-band-inner,
    .filter-panel,
    .footer-inner,
    .category-overview-card {
        grid-template-columns: 1fr;
    }

    .category-cards,
    .poster-grid,
    .compact-grid,
    .all-grid,
    .wide-grid,
    .latest-grid,
    .rank-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .footer-links {
        justify-content: flex-start;
    }

    .list-card {
        grid-template-columns: auto 70px 1fr;
        gap: 10px;
        padding: 10px;
    }

    .list-cover {
        width: 70px;
        height: 100px;
    }
}

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

    .hero-slider {
        height: 520px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .primary-btn,
    .ghost-btn {
        width: 100%;
    }

    .page-blocks {
        gap: 48px;
        padding: 44px 0;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .section-heading span {
        width: 100%;
        flex: none;
    }

    .poster-grid,
    .compact-grid,
    .all-grid,
    .wide-grid,
    .latest-grid,
    .rank-list,
    .category-cards {
        gap: 14px;
    }

    .poster-card h3 {
        font-size: 14px;
    }

    .movie-layout {
        gap: 24px;
    }

    .movie-detail section,
    .sticky-card,
    .filter-panel,
    .category-preview,
    .category-overview-card {
        padding: 18px;
    }

    .player {
        border-radius: 14px;
    }

    .player-trigger span {
        width: 68px;
        height: 68px;
        font-size: 28px;
    }
}
