:root {
    color-scheme: light;
    --sky-50: #f0f9ff;
    --sky-100: #e0f2fe;
    --sky-200: #bae6fd;
    --sky-300: #7dd3fc;
    --sky-400: #38bdf8;
    --sky-500: #0ea5e9;
    --sky-600: #0284c7;
    --sky-700: #0369a1;
    --blue-500: #3b82f6;
    --cyan-400: #22d3ee;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-900: #111827;
    --white: #ffffff;
    --shadow-sm: 0 8px 20px rgba(14, 116, 144, 0.08);
    --shadow-md: 0 16px 38px rgba(14, 116, 144, 0.14);
    --shadow-lg: 0 26px 80px rgba(14, 116, 144, 0.22);
    --radius-xl: 22px;
    --radius-lg: 16px;
    --radius-md: 12px;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(180deg, var(--sky-50), var(--white) 42%, var(--sky-50));
    color: var(--gray-900);
    -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(186, 230, 253, 0.72);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 28px rgba(14, 116, 144, 0.08);
}

.site-header-inner {
    max-width: 1280px;
    height: 72px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 22px;
}

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

.brand-icon {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--sky-400), var(--blue-500));
    box-shadow: 0 10px 26px rgba(14, 165, 233, 0.36);
}

.brand-text,
.footer-brand div {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-text strong,
.footer-brand strong {
    font-size: 20px;
    color: var(--sky-700);
    letter-spacing: -0.02em;
}

.brand-text small,
.footer-brand small {
    margin-top: 4px;
    color: var(--sky-500);
    font-size: 12px;
}

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

.nav-link {
    padding: 9px 13px;
    border-radius: 12px;
    color: var(--gray-700);
    font-size: 14px;
    font-weight: 650;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

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

.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-search input {
    width: 220px;
    border: 1px solid var(--sky-200);
    border-radius: 999px;
    background: var(--white);
    padding: 10px 14px;
    color: var(--gray-700);
    outline: none;
}

.header-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus,
.search-panel input:focus {
    border-color: var(--sky-400);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.14);
}

.header-search button,
.search-panel button,
.filter-panel button,
.primary-button {
    border: 0;
    border-radius: 999px;
    padding: 10px 18px;
    color: var(--white);
    font-weight: 750;
    background: linear-gradient(135deg, var(--sky-500), var(--blue-500));
    box-shadow: 0 12px 28px rgba(14, 165, 233, 0.28);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-search button:hover,
.search-panel button:hover,
.filter-panel button:hover,
.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(14, 165, 233, 0.34);
}

.menu-button {
    display: none;
    margin-left: auto;
    border: 1px solid var(--sky-200);
    background: var(--white);
    color: var(--sky-700);
    border-radius: 12px;
    padding: 8px 12px;
}

.nav-chip-row {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px 12px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
}

.nav-chip,
.hero-tags span,
.tag-list a {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 7px 12px;
    background: var(--sky-50);
    color: var(--sky-700);
    border: 1px solid var(--sky-200);
    white-space: nowrap;
    font-size: 13px;
    font-weight: 650;
}

.nav-chip:hover,
.tag-list a:hover {
    background: var(--sky-100);
}

.hero {
    position: relative;
    min-height: 640px;
    overflow: hidden;
    color: var(--white);
    background: linear-gradient(135deg, var(--sky-400), var(--blue-500) 52%, var(--cyan-400));
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 90px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--sky-50));
    pointer-events: none;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.72fr);
    align-items: center;
    gap: 48px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 72px 24px 110px;
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    transition: opacity 0.7s ease, transform 0.7s ease;
    pointer-events: none;
}

.hero-slide::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center;
    opacity: 0.16;
    filter: blur(3px) saturate(1.1);
    transform: scale(1.06);
}

.hero-slide.is-active {
    position: relative;
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.hero-copy,
.hero-poster {
    position: relative;
    z-index: 1;
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: rgba(255, 255, 255, 0.94);
    font-size: 13px;
    font-weight: 750;
    backdrop-filter: blur(10px);
}

.hero h1 {
    margin: 0;
    max-width: 820px;
    font-size: clamp(42px, 7vw, 76px);
    line-height: 0.98;
    letter-spacing: -0.06em;
    text-shadow: 0 16px 44px rgba(15, 23, 42, 0.2);
}

.hero p {
    max-width: 720px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(17px, 2vw, 22px);
    line-height: 1.8;
}

.hero-tags {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-tags span {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.16);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 10px 18px;
    color: var(--white);
    font-weight: 750;
    border: 1px solid rgba(255, 255, 255, 0.52);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.hero-poster {
    border-radius: 30px;
    overflow: hidden;
    min-height: 430px;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: var(--shadow-lg);
    transform: rotate(1deg);
    transition: transform 0.25s ease;
}

.hero-poster:hover {
    transform: rotate(0deg) translateY(-6px);
}

.hero-poster img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
}

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

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

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

.page-shell {
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
    padding: 48px 0 72px;
}

.stats-bar {
    margin-top: -78px;
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.stats-bar div {
    border: 1px solid rgba(186, 230, 253, 0.9);
    border-radius: var(--radius-xl);
    padding: 24px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(14px);
}

.stats-bar strong {
    display: block;
    color: var(--sky-700);
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1;
}

.stats-bar span {
    display: block;
    margin-top: 8px;
    color: var(--gray-600);
    font-weight: 650;
}

.search-panel,
.filter-panel,
.detail-card,
.player-card,
.sticky-box,
.rank-table,
.category-overview-card {
    border: 1px solid rgba(186, 230, 253, 0.86);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-sm);
}

.search-panel {
    margin: 34px 0 56px;
    padding: 28px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    gap: 24px;
    align-items: center;
}

.search-panel h2,
.section-heading h2,
.detail-card h1,
.sticky-box h2 {
    margin: 0;
    color: var(--gray-900);
    letter-spacing: -0.035em;
}

.search-panel h2 {
    font-size: 28px;
}

.search-panel p,
.section-heading p,
.category-overview-card p,
.site-footer p {
    color: var(--gray-600);
    line-height: 1.75;
}

.search-panel form {
    display: flex;
    gap: 10px;
}

.search-panel input {
    min-width: 0;
    flex: 1;
    border: 1px solid var(--sky-200);
    border-radius: 999px;
    padding: 12px 16px;
    outline: none;
}

section + section {
    margin-top: 64px;
}

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

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

.section-heading p {
    margin: 8px 0 0;
}

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

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

.movie-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(186, 230, 253, 0.72);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: var(--sky-300);
    box-shadow: var(--shadow-md);
}

.movie-cover {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, var(--sky-100), var(--sky-200));
}

.movie-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.32s ease;
}

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

.cover-badge,
.cover-duration,
.rank-badge {
    position: absolute;
    border-radius: 999px;
    color: var(--white);
    font-size: 12px;
    font-weight: 750;
    backdrop-filter: blur(8px);
}

.cover-badge {
    top: 12px;
    left: 12px;
    padding: 6px 10px;
    background: rgba(14, 165, 233, 0.9);
}

.cover-duration {
    right: 12px;
    bottom: 12px;
    padding: 5px 9px;
    background: rgba(15, 23, 42, 0.64);
}

.rank-badge {
    right: 12px;
    top: 12px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.movie-card-body {
    padding: 16px;
    display: flex;
    flex: 1;
    flex-direction: column;
}

.movie-card h3 {
    margin: 0;
    color: var(--gray-900);
    font-size: 16px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.movie-card p {
    margin: 9px 0 14px;
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.movie-meta {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--gray-500);
    font-size: 12px;
}

.movie-meta span {
    padding: 4px 8px;
    border-radius: 999px;
    background: var(--sky-50);
}

.movie-card.compact {
    display: grid;
    grid-template-columns: 148px minmax(0, 1fr);
}

.movie-card.compact .movie-cover {
    aspect-ratio: 4 / 3;
    height: 100%;
}

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

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

.category-tile {
    position: relative;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    border-radius: var(--radius-xl);
    padding: 22px;
    color: var(--white);
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.88), rgba(59, 130, 246, 0.84));
    box-shadow: var(--shadow-sm);
}

.category-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--tile-image);
    background-size: cover;
    background-position: center;
    opacity: 0.22;
    transform: scale(1.04);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.category-tile:hover::before {
    opacity: 0.32;
    transform: scale(1.1);
}

.category-tile strong,
.category-tile span,
.category-tile p {
    position: relative;
    margin: 0;
}

.category-tile strong {
    font-size: 24px;
}

.category-tile span {
    margin-top: 5px;
    font-weight: 750;
}

.category-tile p {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

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

.page-hero.small {
    color: var(--white);
    background: linear-gradient(135deg, var(--sky-400), var(--blue-500) 58%, var(--cyan-400));
    padding: 72px 24px;
}

.page-hero.small > div {
    width: min(1280px, 100%);
    margin: 0 auto;
}

.page-hero.small h1 {
    margin: 0;
    font-size: clamp(38px, 6vw, 64px);
    letter-spacing: -0.05em;
}

.page-hero.small p {
    max-width: 780px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 18px;
    line-height: 1.8;
}

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

.breadcrumb a {
    color: var(--sky-700);
    font-weight: 650;
}

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

.category-overview-card {
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.category-covers {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    height: 132px;
    overflow: hidden;
}

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

.category-overview-card > div:last-child {
    padding: 20px;
}

.category-overview-card h2 {
    margin: 0;
    font-size: 22px;
}

.category-overview-card p {
    margin: 10px 0 14px;
}

.category-overview-card span {
    color: var(--sky-700);
    font-weight: 750;
}

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

.podium-card {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: var(--radius-xl);
    padding: 24px;
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.podium-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.podium-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.78));
}

.podium-card span,
.podium-card strong,
.podium-card small {
    position: relative;
    z-index: 1;
}

.podium-card span {
    width: max-content;
    margin-bottom: 12px;
    border-radius: 999px;
    padding: 7px 12px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    font-weight: 800;
}

.podium-card strong {
    font-size: 26px;
    letter-spacing: -0.03em;
}

.podium-card small {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.86);
}

.rank-table {
    overflow: hidden;
}

.rank-head,
.rank-row {
    display: grid;
    grid-template-columns: 72px minmax(0, 1.8fr) 120px 100px 130px;
    gap: 14px;
    align-items: center;
    padding: 14px 18px;
}

.rank-head {
    color: var(--gray-500);
    background: var(--sky-50);
    font-size: 13px;
    font-weight: 750;
}

.rank-row {
    border-top: 1px solid var(--sky-100);
    transition: background-color 0.18s ease;
}

.rank-row:hover {
    background: var(--sky-50);
}

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

.rank-number {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--sky-100);
    color: var(--sky-700);
    font-weight: 800;
}

.rank-title {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    font-weight: 750;
}

.rank-title small {
    display: block;
    margin-top: 4px;
    color: var(--gray-500);
    font-weight: 500;
}

.filter-panel {
    padding: 18px;
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: minmax(220px, 1fr) repeat(3, minmax(140px, 0.32fr)) auto;
    gap: 12px;
}

.filter-panel input,
.filter-panel select {
    min-width: 0;
    border: 1px solid var(--sky-200);
    border-radius: 14px;
    padding: 11px 12px;
    background: var(--white);
    color: var(--gray-700);
    outline: none;
}

.result-count {
    margin-bottom: 18px;
    color: var(--gray-600);
    font-weight: 700;
}

[data-search-card].is-hidden {
    display: none;
}

.detail-shell {
    padding-top: 32px;
}

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

.detail-main {
    display: grid;
    gap: 22px;
}

.player-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #020617;
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 0;
    color: var(--white);
    background: radial-gradient(circle at center, rgba(14, 165, 233, 0.3), rgba(2, 6, 23, 0.42));
    cursor: pointer;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.play-symbol {
    width: 76px;
    height: 76px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--sky-600);
    font-size: 30px;
    box-shadow: 0 18px 38px rgba(2, 6, 23, 0.26);
}

.player-overlay strong {
    font-size: 20px;
    text-shadow: 0 6px 20px rgba(2, 6, 23, 0.4);
}

.detail-card {
    padding: 28px;
}

.detail-card h1 {
    font-size: clamp(30px, 4vw, 46px);
}

.detail-meta {
    margin: 18px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.detail-meta span {
    border-radius: 999px;
    padding: 7px 11px;
    color: var(--sky-700);
    background: var(--sky-50);
    border: 1px solid var(--sky-200);
    font-size: 13px;
    font-weight: 700;
}

.one-line {
    margin: 0 0 24px;
    color: var(--sky-700);
    font-size: 17px;
    line-height: 1.8;
    font-weight: 650;
}

.detail-card section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--sky-100);
}

.detail-card h2 {
    margin: 0 0 12px;
    font-size: 20px;
}

.detail-card p {
    margin: 0;
    color: var(--gray-700);
    line-height: 1.9;
    white-space: pre-line;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

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

.sticky-box {
    position: sticky;
    top: 110px;
    padding: 20px;
}

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

.site-footer {
    border-top: 1px solid var(--sky-200);
    background: rgba(255, 255, 255, 0.88);
}

.footer-grid {
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
    padding: 44px 0;
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1fr 1fr;
    gap: 34px;
}

.site-footer h2 {
    margin: 0 0 14px;
    font-size: 15px;
    text-transform: uppercase;
    color: var(--gray-900);
}

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

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

.footer-links a {
    color: var(--gray-600);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--sky-700);
}

.footer-bottom {
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
    padding: 18px 0 28px;
    border-top: 1px solid var(--sky-100);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: var(--gray-500);
    font-size: 14px;
}

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

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

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

    .sticky-box {
        position: static;
    }

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

@media (max-width: 860px) {
    .site-header-inner {
        height: auto;
        min-height: 68px;
        flex-wrap: wrap;
        padding: 14px 18px;
    }

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

    .site-nav {
        display: none;
        width: 100%;
        order: 3;
        flex-wrap: wrap;
        margin-left: 0;
        padding-top: 10px;
    }

    .site-nav.is-open {
        display: flex;
    }

    .nav-chip-row {
        padding-inline: 18px;
    }

    .hero {
        min-height: 760px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 50px 18px 110px;
    }

    .hero-poster,
    .hero-poster img {
        min-height: 260px;
    }

    .page-shell {
        width: min(100% - 32px, 1280px);
        padding-top: 34px;
    }

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

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

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

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

    .rank-head {
        display: none;
    }

    .rank-row {
        grid-template-columns: 52px minmax(0, 1fr);
    }

    .rank-row > span:nth-of-type(n + 3),
    .rank-row > strong {
        display: none;
    }

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

    .footer-bottom {
        flex-direction: column;
    }
}

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

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

    .stats-bar,
    .movie-grid,
    .category-grid,
    .ranking-grid,
    .podium-grid,
    .category-overview-grid {
        grid-template-columns: 1fr;
    }

    .movie-card.compact {
        grid-template-columns: 128px minmax(0, 1fr);
    }

    .search-panel form {
        flex-direction: column;
    }

    .detail-card {
        padding: 20px;
    }
}
