* {
    box-sizing: border-box;
}

:root {
    --sky-50: #eff6ff;
    --sky-100: #e0f2fe;
    --sky-600: #0284c7;
    --sky-700: #0369a1;
    --orange-400: #fb923c;
    --orange-500: #f97316;
    --orange-600: #ea580c;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-500: #64748b;
    --slate-700: #334155;
    --slate-900: #0f172a;
    --white: #ffffff;
    --black: #000000;
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
    --shadow-card: 0 12px 30px rgba(15, 23, 42, 0.10);
    --radius-xl: 1.25rem;
    --radius-2xl: 1.75rem;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--slate-900);
    background: linear-gradient(180deg, #ffffff 0%, var(--slate-50) 45%, #ffffff 100%);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.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.90);
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
    backdrop-filter: blur(18px);
}

.nav-container {
    width: min(1180px, calc(100% - 32px));
    height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--slate-900);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.brand-mark {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--sky-600), var(--orange-500));
    border-radius: 13px;
    box-shadow: 0 10px 25px rgba(2, 132, 199, 0.25);
}

.brand-text {
    font-size: 1.25rem;
}

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

.nav-link {
    padding: 10px 16px;
    color: var(--slate-700);
    border-radius: 999px;
    font-weight: 650;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--sky-700);
    background: var(--sky-50);
    transform: translateY(-1px);
}

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

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

.mobile-nav {
    display: none;
    border-top: 1px solid var(--slate-200);
    background: rgba(255, 255, 255, 0.96);
}

.mobile-nav-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 12px 0 18px;
    display: grid;
    gap: 8px;
}

.hero-section {
    position: relative;
    height: 700px;
    min-height: 520px;
    overflow: hidden;
    background: var(--slate-900);
}

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

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

.hero-slide img,
.detail-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 75% 20%, rgba(249, 115, 22, 0.25), transparent 32%),
        linear-gradient(90deg, rgba(2, 6, 23, 0.92) 0%, rgba(2, 6, 23, 0.68) 42%, rgba(2, 6, 23, 0.18) 100%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.15) 60%);
}

.hero-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero-copy {
    max-width: 780px;
    padding-top: 24px;
}

.hero-copy h1,
.hero-title,
.hero-copy h2 {
    margin: 0;
    font-size: clamp(2.7rem, 7vw, 5.6rem);
    line-height: 0.98;
    letter-spacing: -0.06em;
    text-shadow: 0 16px 45px rgba(0, 0, 0, 0.35);
}

.hero-copy h1 {
    margin-bottom: 12px;
    font-size: clamp(1.9rem, 4.8vw, 4.2rem);
}

.hero-heading-kicker {
    margin: 0 0 14px;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 800;
    font-size: clamp(1.35rem, 3vw, 2.5rem);
}

.hero-copy h2 {
    margin-bottom: 22px;
}

.hero-copy p {
    max-width: 650px;
    margin: 0 0 26px;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1rem, 2vw, 1.25rem);
}

.hero-badges,
.detail-meta,
.card-meta,
.tag-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.hero-badges {
    margin-bottom: 18px;
}

.hero-badges span,
.tag-row span,
.detail-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: var(--white);
    font-size: 0.86rem;
    font-weight: 700;
    backdrop-filter: blur(12px);
}

.hero-badges span:first-child {
    background: var(--orange-500);
}

.hero-search {
    width: min(600px, 100%);
    margin-bottom: 22px;
    padding: 8px;
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    backdrop-filter: blur(16px);
}

.hero-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 12px 16px;
    color: var(--white);
    background: transparent;
}

.hero-search input::placeholder {
    color: rgba(255, 255, 255, 0.78);
}

.hero-search button {
    border: 0;
    padding: 12px 22px;
    color: var(--white);
    background: var(--sky-600);
    border-radius: 999px;
    font-weight: 800;
    box-shadow: 0 12px 25px rgba(2, 132, 199, 0.35);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 800;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.btn-primary {
    color: var(--white);
    background: var(--sky-600);
    box-shadow: 0 14px 28px rgba(2, 132, 199, 0.30);
}

.btn-primary:hover {
    background: var(--sky-700);
}

.btn-glass {
    color: var(--white);
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(14px);
}

.btn-outline {
    color: var(--sky-700);
    background: var(--white);
    border-color: var(--sky-100);
    box-shadow: var(--shadow-card);
}

.btn-text {
    color: rgba(255, 255, 255, 0.90);
    padding-inline: 8px;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 48px;
    height: 48px;
    border: 0;
    color: var(--white);
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    font-size: 2.4rem;
    line-height: 1;
    backdrop-filter: blur(12px);
    transform: translateY(-50%);
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.32);
    transform: translateY(-50%) scale(1.05);
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

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

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

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

.page-stack,
.detail-stack {
    padding: 56px 0 72px;
    display: grid;
    gap: 56px;
}

.section-block {
    display: grid;
    gap: 24px;
}

.section-heading {
    max-width: 760px;
}

.section-heading.split,
.category-overview-head {
    max-width: none;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--orange-600);
    font-size: 0.86rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eyebrow.light {
    color: rgba(255, 255, 255, 0.86);
}

.section-heading h2,
.category-overview h2,
.content-card h2,
.player-section h2 {
    margin: 0;
    color: var(--slate-900);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.section-heading p,
.category-overview p,
.content-card p {
    margin: 10px 0 0;
    color: var(--slate-500);
}

.section-more {
    color: var(--sky-700);
    font-weight: 800;
}

.tinted-block {
    padding: 28px;
    background: linear-gradient(135deg, var(--sky-50), #fff7ed);
    border: 1px solid rgba(224, 242, 254, 0.9);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-soft);
}

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

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

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

.movie-card {
    min-width: 0;
    transition: transform 0.24s ease, opacity 0.2s ease;
}

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

.card-link {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--white);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-link:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 55px rgba(15, 23, 42, 0.17);
}

.card-poster {
    position: relative;
    height: 260px;
    overflow: hidden;
    background: var(--slate-200);
}

.card-small .card-poster {
    height: 210px;
}

.card-large .card-poster {
    height: 330px;
}

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

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

.card-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.80) 0%, rgba(0, 0, 0, 0.14) 58%, rgba(0, 0, 0, 0.02) 100%);
    opacity: 0.78;
    transition: opacity 0.25s ease;
}

.card-link:hover .card-shade {
    opacity: 0.92;
}

.play-circle {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sky-700);
    background: rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    font-size: 1.45rem;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.85);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.card-category,
.card-score,
.rank-badge {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 9px;
    color: var(--white);
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 900;
}

.card-category {
    top: 12px;
    right: 12px;
    background: rgba(249, 115, 22, 0.92);
}

.card-score {
    left: 12px;
    bottom: 12px;
    background: rgba(2, 132, 199, 0.92);
}

.rank-badge {
    left: 12px;
    top: 12px;
    background: rgba(15, 23, 42, 0.88);
}

.rank-wide {
    min-width: 46px;
    justify-content: center;
}

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

.card-body h3 {
    margin: 0;
    color: var(--slate-900);
    font-size: 1.08rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.card-link:hover h3 {
    color: var(--sky-700);
}

.card-desc {
    margin: 0;
    color: var(--slate-500);
    font-size: 0.92rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    gap: 6px;
    color: var(--slate-500);
    font-size: 0.82rem;
}

.card-meta span:not(:last-child)::after {
    content: "·";
    margin-left: 6px;
    color: var(--slate-300);
}

.tag-row {
    gap: 6px;
}

.tag-row span {
    min-height: 24px;
    color: var(--sky-700);
    background: var(--sky-50);
    font-size: 0.78rem;
}

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

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

.category-tile {
    position: relative;
    min-height: 168px;
    padding: 22px;
    overflow: hidden;
    color: var(--slate-900);
    background: linear-gradient(135deg, var(--white), var(--sky-50));
    border: 1px solid rgba(224, 242, 254, 0.92);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile::after {
    content: "";
    position: absolute;
    right: -36px;
    bottom: -36px;
    width: 115px;
    height: 115px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.28), transparent 68%);
}

.category-tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 52px rgba(15, 23, 42, 0.14);
}

.category-tile span {
    color: var(--orange-600);
    font-weight: 900;
}

.category-tile h2 {
    margin: 12px 0 8px;
    font-size: 1.32rem;
}

.category-tile p {
    margin: 0;
    color: var(--slate-500);
    font-size: 0.93rem;
}

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
}

.gradient-hero {
    padding: 74px 0;
    color: var(--white);
    background:
        radial-gradient(circle at 78% 15%, rgba(251, 146, 60, 0.46), transparent 30%),
        linear-gradient(135deg, var(--sky-700), var(--orange-500));
}

.page-hero h1 {
    margin: 0;
    font-size: clamp(2.3rem, 6vw, 4.4rem);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.page-hero p {
    max-width: 760px;
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.08rem;
}

.breadcrumb {
    margin-bottom: 22px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 700;
}

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

.category-overview {
    padding: 28px;
    display: grid;
    gap: 22px;
    background: var(--white);
    border: 1px solid rgba(226, 232, 240, 0.88);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-card);
}

.filter-panel {
    padding: 18px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(14px);
}

.filter-row {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) repeat(4, minmax(140px, 180px));
    gap: 12px;
    align-items: end;
}

.search-field {
    display: grid;
    gap: 8px;
    color: var(--slate-700);
    font-weight: 800;
}

.search-field span {
    font-size: 0.85rem;
}

.search-field input,
.filter-select {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--slate-200);
    border-radius: 14px;
    outline: 0;
    padding: 0 14px;
    color: var(--slate-900);
    background: var(--white);
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.search-field input:focus,
.filter-select:focus {
    border-color: var(--sky-600);
    box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.12);
}

.empty-result {
    display: none;
    margin: 0;
    padding: 24px;
    text-align: center;
    color: var(--slate-500);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
}

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

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

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

.rank-row-link {
    display: grid;
    grid-template-columns: 52px 72px 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 14px;
    background: var(--white);
    border: 1px solid rgba(226, 232, 240, 0.86);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.rank-index {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--sky-600), var(--orange-500));
    border-radius: 14px;
    font-weight: 900;
}

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

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

.rank-main strong {
    color: var(--slate-900);
    font-size: 1rem;
}

.rank-main em {
    color: var(--slate-500);
    font-size: 0.9rem;
    font-style: normal;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rank-meta {
    color: var(--slate-500);
    font-weight: 700;
    white-space: nowrap;
}

.detail-hero {
    min-height: 620px;
    color: var(--white);
    background: var(--slate-900);
}

.detail-bg,
.detail-bg-shade {
    position: absolute;
    inset: 0;
}

.detail-bg {
    opacity: 0.42;
    filter: blur(1px);
}

.detail-bg-shade {
    background:
        radial-gradient(circle at 75% 25%, rgba(249, 115, 22, 0.26), transparent 34%),
        linear-gradient(90deg, rgba(2, 6, 23, 0.94), rgba(2, 6, 23, 0.62));
}

.detail-intro {
    position: relative;
    padding: 54px 0 72px;
}

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

.detail-cover {
    overflow: hidden;
    border-radius: var(--radius-2xl);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.40);
}

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

.detail-copy h1 {
    margin: 0 0 18px;
    font-size: clamp(2.3rem, 6vw, 5rem);
    line-height: 1.02;
    letter-spacing: -0.06em;
}

.detail-one-line {
    max-width: 820px;
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.14rem;
}

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

.detail-meta span,
.detail-tags span {
    color: var(--white);
    background: rgba(255, 255, 255, 0.16);
}

.player-section,
.content-card {
    padding: 28px;
    background: var(--white);
    border: 1px solid rgba(226, 232, 240, 0.88);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-soft);
}

.player-section {
    display: grid;
    gap: 24px;
}

.player-box {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #020617;
    border-radius: var(--radius-xl);
    box-shadow: 0 28px 70px rgba(2, 6, 23, 0.30);
}

.movie-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #020617;
}

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 0;
    color: var(--white);
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.80), rgba(2, 6, 23, 0.18));
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-button {
    width: 76px;
    height: 76px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-left: 5px;
    color: var(--sky-700);
    background: rgba(255, 255, 255, 0.94);
    border-radius: 999px;
    font-size: 2rem;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
    transition: transform 0.2s ease;
}

.player-overlay:hover .player-button {
    transform: scale(1.07);
}

.player-overlay strong {
    max-width: min(620px, 90%);
    text-align: center;
    font-size: clamp(1.2rem, 3vw, 2rem);
}

.content-card h2 {
    margin-bottom: 14px;
}

.content-card p {
    color: var(--slate-700);
    font-size: 1.04rem;
}

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

.footer-grid {
    padding: 44px 0;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.4fr;
    gap: 30px;
    align-items: start;
}

.footer-brand {
    color: var(--white);
    font-size: 1.35rem;
}

.site-footer p {
    margin: 12px 0 0;
    color: #94a3b8;
}

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

.footer-links a,
.footer-cats a {
    padding: 7px 10px;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    font-weight: 700;
}

.footer-links a:hover,
.footer-cats a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
}

.footer-bottom {
    padding: 18px;
    text-align: center;
    color: #94a3b8;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

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

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

    .rank-row-link {
        grid-template-columns: 48px 64px 1fr;
    }

    .rank-meta {
        grid-column: 3;
    }
}

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

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

    .mobile-nav.is-open {
        display: block;
    }

    .hero-section {
        height: 620px;
    }

    .hero-search {
        border-radius: 24px;
        align-items: stretch;
        flex-direction: column;
    }

    .hero-search button {
        width: 100%;
    }

    .hero-arrow {
        width: 42px;
        height: 42px;
        font-size: 2rem;
    }

    .hero-prev {
        left: 12px;
    }

    .hero-next {
        right: 12px;
    }

    .section-heading.split,
    .category-overview-head {
        align-items: start;
        flex-direction: column;
    }

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

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

    .detail-cover {
        max-width: 280px;
    }

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

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

    .nav-container {
        height: 64px;
    }

    .brand-text {
        font-size: 1.05rem;
    }

    .hero-section {
        height: 620px;
        min-height: 560px;
    }

    .hero-copy {
        padding-inline: 10px;
    }

    .hero-badges span {
        font-size: 0.78rem;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .movie-grid,
    .grid-featured,
    .grid-small,
    .category-grid,
    .category-grid.prominent {
        grid-template-columns: 1fr;
    }

    .card-poster,
    .card-small .card-poster,
    .card-large .card-poster {
        height: 260px;
    }

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

    .rank-row-link {
        grid-template-columns: 42px 58px 1fr;
        gap: 10px;
    }

    .rank-index {
        width: 36px;
        height: 36px;
        border-radius: 12px;
    }

    .rank-row img {
        width: 58px;
        height: 78px;
    }

    .rank-meta {
        grid-column: 1 / -1;
        white-space: normal;
    }

    .player-section,
    .content-card,
    .category-overview,
    .tinted-block {
        padding: 20px;
    }
}
