:root {
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-850: #111827;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    --blue-800: #1e40af;
    --blue-700: #1d4ed8;
    --blue-600: #2563eb;
    --blue-500: #3b82f6;
    --blue-100: #dbeafe;
    --blue-50: #eff6ff;
    --amber-400: #f59e0b;
    --green-500: #22c55e;
    --white: #ffffff;
    --shadow-sm: 0 8px 20px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 14px 36px rgba(15, 23, 42, 0.12);
    --shadow-xl: 0 28px 70px rgba(15, 23, 42, 0.22);
    font-family: "Inter", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    color: var(--slate-800);
    background: var(--slate-50);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--slate-50);
    color: var(--slate-800);
}

body.menu-open {
    overflow: hidden;
}

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: 50;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 1px 0 rgba(226, 232, 240, 0.9), var(--shadow-sm);
    backdrop-filter: blur(18px);
}

.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
}

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

.brand-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.32);
    font-size: 14px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-text strong {
    font-size: 20px;
    letter-spacing: -0.02em;
    color: var(--slate-900);
}

.brand-text small {
    margin-top: 3px;
    font-size: 12px;
    color: var(--slate-500);
}

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

.nav-link {
    position: relative;
    color: var(--slate-600);
    font-size: 15px;
    font-weight: 650;
    transition: color 180ms ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 2px;
    background: var(--blue-600);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 180ms ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--blue-600);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: var(--slate-100);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--slate-700);
    border-radius: 999px;
}

.mobile-nav {
    display: none;
    padding: 8px 16px 18px;
    border-top: 1px solid var(--slate-200);
    background: var(--white);
}

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

.mobile-link {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    color: var(--slate-700);
    font-weight: 650;
}

.mobile-link:hover,
.mobile-link.active {
    color: var(--blue-600);
    background: var(--blue-50);
}

.hero-section {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: radial-gradient(circle at 20% 10%, rgba(59, 130, 246, 0.35), transparent 26%),
        linear-gradient(135deg, var(--slate-950), var(--slate-800) 48%, var(--slate-950));
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    opacity: 0.26;
    background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: auto -12% -30% auto;
    width: 52vw;
    height: 52vw;
    min-width: 520px;
    min-height: 520px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.38), transparent 64%);
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
    gap: 44px;
    align-items: center;
    min-height: 690px;
    padding: 84px 0;
}

.hero-heading h1,
.page-hero h1,
.detail-info h1 {
    margin: 12px 0 18px;
    letter-spacing: -0.05em;
    line-height: 1.05;
}

.hero-heading h1 {
    max-width: 760px;
    font-size: clamp(40px, 6vw, 72px);
    background: linear-gradient(135deg, #ffffff, #cbd5e1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-heading p {
    max-width: 620px;
    margin: 0 0 28px;
    color: var(--slate-300);
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.75;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue-500);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-section .eyebrow,
.detail-hero .eyebrow {
    color: #93c5fd;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 13px;
    font-weight: 800;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.btn-primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.32);
}

.btn-primary:hover {
    box-shadow: 0 18px 38px rgba(37, 99, 235, 0.42);
}

.btn-ghost {
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.18);
}

.btn-ghost.dark {
    color: var(--slate-800);
    border-color: var(--slate-200);
    background: var(--white);
}

.hero-carousel {
    position: relative;
    min-height: 470px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 30px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.58);
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(20px);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 26px;
    align-items: center;
    padding: 34px;
    opacity: 0;
    transform: translateX(24px);
    pointer-events: none;
    transition: opacity 420ms ease, transform 420ms ease;
}

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

.hero-copy h2 {
    margin: 12px 0;
    color: var(--white);
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.1;
}

.hero-copy p {
    margin: 0 0 18px;
    color: var(--slate-300);
    line-height: 1.8;
}

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

.hero-tags {
    margin: 18px 0 24px;
}

.hero-tags span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 2px 9px;
    border-radius: 999px;
    font-style: normal;
    font-size: 12px;
    font-weight: 700;
}

.hero-tags span {
    color: #bfdbfe;
    background: rgba(37, 99, 235, 0.18);
    border: 1px solid rgba(147, 197, 253, 0.22);
}

.hero-poster {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 26px 56px rgba(0, 0, 0, 0.4);
}

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

.hero-poster img,
.category-card img,
.movie-card img,
.rank-item img,
.detail-poster img,
.detail-backdrop img,
.player-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-dots {
    position: absolute;
    left: 34px;
    bottom: 24px;
    z-index: 4;
    display: flex;
    gap: 8px;
}

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

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

.feature-strip {
    padding: 56px 0;
    background: var(--slate-50);
}

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

.feature-grid article {
    padding: 30px;
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.feature-grid article:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 16px;
    color: var(--blue-700);
    background: var(--blue-100);
    font-weight: 900;
}

.feature-grid h2 {
    margin: 0 0 10px;
    color: var(--slate-900);
    font-size: 21px;
}

.feature-grid p,
.section-title p,
.page-hero p,
.story-card p,
.side-card,
.movie-card em,
.rank-info em {
    color: var(--slate-600);
    line-height: 1.75;
}

.section-block {
    padding: 72px 0;
    background: var(--white);
}

.section-block.muted {
    background: var(--slate-50);
}

.section-title {
    margin-bottom: 30px;
}

.section-title.center {
    text-align: center;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.section-title.with-link {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.section-title h2 {
    margin: 10px 0;
    color: var(--slate-900);
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -0.035em;
    line-height: 1.15;
}

.section-title p {
    margin: 0;
    max-width: 680px;
}

.text-link {
    color: var(--blue-600);
    font-weight: 800;
}

.text-link:hover {
    color: var(--blue-800);
}

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

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

.category-card {
    position: relative;
    min-height: 220px;
    border-radius: 24px;
    overflow: hidden;
    isolation: isolate;
    background: var(--slate-800);
    box-shadow: var(--shadow-sm);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.category-card img {
    position: absolute;
    inset: 0;
    z-index: -2;
    transition: transform 280ms ease;
}

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

.category-card-shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.2), rgba(15, 23, 42, 0.82));
}

.category-card-content {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px;
    color: var(--white);
}

.category-card-content strong {
    font-size: 22px;
    line-height: 1.2;
}

.category-card-content em {
    margin-top: 8px;
    color: var(--slate-200);
    font-style: normal;
    line-height: 1.6;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(150px, 0.6fr) minmax(170px, 0.7fr);
    gap: 16px;
    margin-bottom: 26px;
    padding: 20px;
    border: 1px solid var(--slate-200);
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.filter-panel label {
    display: grid;
    gap: 8px;
    color: var(--slate-700);
    font-size: 14px;
    font-weight: 800;
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid var(--slate-300);
    border-radius: 12px;
    color: var(--slate-800);
    background: var(--white);
    outline: none;
    transition: border 180ms ease, box-shadow 180ms ease;
}

.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--blue-500);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.14);
}

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

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

.movie-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border-radius: 20px;
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.movie-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.poster-wrap {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--slate-100);
}

.movie-card.compact .poster-wrap {
    aspect-ratio: 16 / 9;
}

.poster-wrap img {
    transition: transform 260ms ease;
}

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

.poster-mask {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 900;
    background: rgba(2, 6, 23, 0.46);
    opacity: 0;
    transition: opacity 180ms ease;
}

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

.poster-mask span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.92);
}

.badge {
    position: absolute;
    z-index: 3;
    top: 10px;
    display: inline-flex;
    align-items: center;
    height: 26px;
    padding: 0 9px;
    border-radius: 8px;
    color: var(--white);
    font-size: 12px;
    font-weight: 800;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(8px);
}

.badge-top-left {
    left: 10px;
}

.badge-top-right {
    right: 10px;
    background: rgba(37, 99, 235, 0.88);
}

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

.movie-card-body strong {
    color: var(--slate-900);
    font-size: 19px;
    line-height: 1.35;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.movie-card-body em {
    min-height: 48px;
    font-style: normal;
    font-size: 14px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.meta-line {
    color: var(--slate-500);
    font-size: 13px;
}

.tag-row span {
    color: var(--slate-600);
    background: var(--slate-100);
}

.movie-card[hidden],
.rank-item[hidden] {
    display: none;
}

.two-column {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 34px;
    align-items: start;
}

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

.rank-item {
    display: grid;
    grid-template-columns: 46px 88px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    min-height: 104px;
    padding: 12px;
    border: 1px solid var(--slate-200);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform 180ms ease, box-shadow 180ms ease, border 180ms ease;
}

.rank-item:hover {
    transform: translateY(-3px);
    border-color: var(--blue-100);
    box-shadow: var(--shadow-md);
}

.rank-num {
    color: var(--blue-600);
    font-size: 22px;
    font-weight: 900;
    text-align: center;
}

.rank-item img {
    width: 88px;
    height: 80px;
    border-radius: 14px;
    background: var(--slate-100);
}

.rank-info {
    min-width: 0;
    display: grid;
    gap: 6px;
}

.rank-info strong {
    color: var(--slate-900);
    font-size: 18px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-info em {
    font-style: normal;
    font-size: 14px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.rank-info small {
    color: var(--slate-500);
}

.rank-more {
    margin-top: 18px;
}

.page-hero {
    color: var(--white);
    background: radial-gradient(circle at 12% 20%, rgba(37, 99, 235, 0.28), transparent 24%),
        linear-gradient(135deg, var(--slate-950), var(--slate-800));
    padding: 86px 0;
}

.page-hero h1 {
    max-width: 760px;
    color: var(--white);
    font-size: clamp(38px, 6vw, 64px);
}

.page-hero p {
    max-width: 760px;
    color: var(--slate-300);
    font-size: 18px;
}

.split-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
    gap: 36px;
    align-items: center;
}

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

.hero-mini-grid .movie-card {
    background: rgba(255, 255, 255, 0.98);
}

.hero-mini-grid .movie-card:nth-child(n + 5) {
    display: none;
}

.hero-mini-grid .movie-card-body {
    padding: 13px;
}

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

.hero-mini-grid .movie-card-body em,
.hero-mini-grid .meta-line,
.hero-mini-grid .tag-row {
    display: none;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: var(--slate-950);
}

.detail-backdrop {
    position: absolute;
    inset: 0;
    opacity: 0.32;
    filter: blur(6px);
    transform: scale(1.04);
}

.detail-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.62)),
        linear-gradient(180deg, transparent, rgba(2, 6, 23, 0.96));
}

.detail-hero-inner {
    position: relative;
    z-index: 2;
    padding: 52px 0 70px;
}

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

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

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

.detail-poster {
    aspect-ratio: 3 / 4;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: var(--slate-800);
}

.detail-info h1 {
    max-width: 820px;
    color: var(--white);
    font-size: clamp(38px, 6vw, 68px);
}

.detail-info p {
    max-width: 820px;
    color: var(--slate-300);
    font-size: 18px;
    line-height: 1.8;
}

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

.info-list div {
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
}

.info-list dt {
    color: var(--slate-400);
    font-size: 12px;
}

.info-list dd {
    margin: 6px 0 0;
    color: var(--white);
    font-weight: 800;
}

.detail-tags {
    margin-bottom: 24px;
}

.player-block {
    background: var(--slate-950);
    color: var(--white);
}

.player-block .section-title h2 {
    color: var(--white);
}

.player-block .section-title p {
    color: var(--slate-300);
}

.player-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 26px;
    overflow: hidden;
    background: #000000;
    box-shadow: var(--shadow-xl);
}

.movie-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    z-index: 1;
}

.player-cover {
    position: absolute;
    inset: 0;
    z-index: 3;
    border: 0;
    padding: 0;
    cursor: pointer;
    background: #000000;
    transition: opacity 200ms ease, visibility 200ms ease;
}

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

.player-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.28), rgba(2, 6, 23, 0.72));
}

.play-ring {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-ring span {
    width: 86px;
    height: 86px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-left: 5px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(37, 99, 235, 0.92);
    box-shadow: 0 18px 44px rgba(37, 99, 235, 0.44);
    font-size: 30px;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 26px;
    align-items: start;
}

.story-card,
.side-card {
    border-radius: 24px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.story-card {
    padding: 34px;
}

.story-card h2,
.side-card h2 {
    margin: 0 0 16px;
    color: var(--slate-900);
    font-size: 26px;
}

.story-card p {
    margin: 0 0 28px;
    font-size: 17px;
}

.story-card p:last-child {
    margin-bottom: 0;
}

.side-card {
    padding: 24px;
    position: sticky;
    top: 92px;
}

.side-card ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.side-card li {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--slate-200);
}

.side-card li:last-child {
    border-bottom: 0;
}

.side-card strong {
    color: var(--slate-500);
}

.side-card span,
.side-card a {
    color: var(--slate-900);
    font-weight: 800;
    text-align: right;
}

.site-footer {
    color: var(--slate-300);
    background: var(--slate-900);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 32px;
    padding: 52px 0;
}

.footer-brand {
    color: var(--white);
    margin-bottom: 14px;
}

.footer-grid p {
    margin: 0;
    color: var(--slate-400);
    line-height: 1.75;
}

.footer-grid h3 {
    margin: 0 0 14px;
    color: var(--white);
    font-size: 17px;
}

.footer-grid ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-grid a:hover,
.footer-bottom a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 0;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    color: var(--slate-400);
    font-size: 14px;
}

@media (max-width: 1080px) {
    .hero-container,
    .split-hero,
    .detail-grid,
    .two-column,
    .article-layout {
        grid-template-columns: 1fr;
    }

    .hero-container {
        min-height: auto;
    }

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

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

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

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

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

    .side-card {
        position: static;
    }
}

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

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

    .hero-container {
        padding: 58px 0;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        align-content: end;
        padding: 24px;
    }

    .hero-poster {
        position: absolute;
        inset: 0;
        z-index: -1;
        aspect-ratio: auto;
        border-radius: 0;
        opacity: 0.42;
    }

    .hero-poster::after {
        background: linear-gradient(90deg, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.66));
    }

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

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

    .section-title.with-link {
        display: block;
    }

    .text-link {
        display: inline-flex;
        margin-top: 12px;
    }

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

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

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

    .brand-text small {
        display: none;
    }

    .hero-heading h1,
    .page-hero h1,
    .detail-info h1 {
        letter-spacing: -0.035em;
    }

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

    .btn {
        width: 100%;
    }

    .category-grid,
    .category-grid.large,
    .movie-grid,
    .movie-grid.small-grid,
    .hero-mini-grid {
        grid-template-columns: 1fr;
    }

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

    .rank-item img {
        width: 74px;
        height: 70px;
    }

    .info-list {
        grid-template-columns: 1fr;
    }

    .detail-hero-inner {
        padding-top: 34px;
    }

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

    .story-card,
    .side-card {
        padding: 22px;
    }

    .player-frame {
        border-radius: 18px;
    }

    .play-ring span {
        width: 68px;
        height: 68px;
        font-size: 24px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}
