:root {
    --sky: #0ea5e9;
    --sky-dark: #0284c7;
    --rose: #f43f5e;
    --blue: #2563eb;
    --gray-950: #020617;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
    --shadow-card: 0 12px 28px rgba(15, 23, 42, 0.10);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 12px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--gray-900);
    background: linear-gradient(180deg, var(--gray-50), var(--white));
}

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(229, 231, 235, 0.9);
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(16px);
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    gap: 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: var(--gray-900);
    white-space: nowrap;
}

.brand:hover {
    color: var(--sky-dark);
}

.brand-mark {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--white);
    background: linear-gradient(135deg, var(--sky), var(--blue));
    box-shadow: 0 10px 24px rgba(14, 165, 233, 0.28);
    font-size: 14px;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--gray-600);
    font-size: 15px;
}

.nav-links a {
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--sky-dark);
}

.nav-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    background: var(--white);
}

.nav-search input {
    width: 160px;
    border: 0;
    outline: 0;
    padding: 7px 10px;
    background: transparent;
}

.nav-search button,
.primary-button,
.ghost-button,
.section-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.nav-search button,
.primary-button {
    padding: 9px 18px;
    color: var(--white);
    background: linear-gradient(135deg, var(--sky), var(--blue));
    box-shadow: 0 10px 24px rgba(14, 165, 233, 0.26);
    font-weight: 700;
}

.nav-search button:hover,
.primary-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(14, 165, 233, 0.34);
}

.ghost-button {
    padding: 9px 18px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(12px);
    font-weight: 700;
}

.ghost-button:hover {
    background: rgba(255, 255, 255, 0.28);
}

.mobile-menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: var(--gray-100);
    cursor: pointer;
}

.mobile-menu-button span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: var(--gray-700);
    border-radius: 999px;
}

.mobile-menu {
    display: none;
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 16px;
}

.mobile-menu a {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    color: var(--gray-700);
}

.mobile-menu a:hover {
    color: var(--sky-dark);
    background: #eff6ff;
}

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

.hero-carousel {
    position: relative;
    height: 70vh;
    min-height: 520px;
    overflow: hidden;
    background: linear-gradient(90deg, #0f172a, #334155);
}

.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-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.48) 48%, rgba(2, 6, 23, 0.12));
}

.hero-content {
    position: absolute;
    left: 50%;
    bottom: 78px;
    transform: translateX(-50%);
    color: var(--white);
}

.hero-badge,
.section-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 16px;
    padding: 6px 12px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(14, 165, 233, 0.92);
    box-shadow: 0 12px 28px rgba(14, 165, 233, 0.28);
    font-size: 14px;
    font-weight: 800;
}

.section-kicker {
    margin-bottom: 14px;
}

.hero-content h1 {
    max-width: 780px;
    margin: 0 0 16px;
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.05;
    letter-spacing: -0.04em;
    text-shadow: 0 8px 28px rgba(0, 0, 0, 0.32);
}

.hero-content p {
    max-width: 720px;
    margin: 0 0 24px;
    color: #e5e7eb;
    font-size: 18px;
    line-height: 1.8;
}

.hero-meta,
.card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.hero-meta span {
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
}

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

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    color: var(--white);
    background: rgba(0, 0, 0, 0.52);
    backdrop-filter: blur(10px);
    cursor: pointer;
    transform: translateY(-50%);
    font-size: 32px;
    line-height: 1;
}

.hero-arrow:hover {
    background: rgba(0, 0, 0, 0.72);
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 32px;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}

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

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

.page-sections {
    padding: 64px 0;
}

.content-section,
.category-grid-section {
    margin-bottom: 76px;
}

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

.section-head h2 {
    margin: 0;
    color: var(--gray-900);
    font-size: clamp(26px, 3vw, 36px);
    letter-spacing: -0.03em;
}

.section-head p {
    margin: 8px 0 0;
    color: var(--gray-600);
    line-height: 1.7;
}

.section-more {
    padding: 10px 18px;
    color: var(--sky-dark);
    background: #e0f2fe;
    font-weight: 800;
}

.section-more:hover {
    background: #bae6fd;
}

.movie-grid {
    display: grid;
    gap: 22px;
}

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

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.poster,
.wide-poster,
.rank-poster {
    position: relative;
    display: block;
    overflow: hidden;
    background: linear-gradient(135deg, #e0f2fe, #f8fafc);
}

.poster {
    aspect-ratio: 3 / 4;
}

.poster img,
.wide-poster img,
.rank-poster img,
.side-related img,
.detail-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease, opacity 0.2s ease;
}

.movie-card:hover .poster img,
.movie-card:hover .wide-poster img,
.rank-row:hover .rank-poster img {
    transform: scale(1.06);
}

.poster-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.58), transparent 58%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

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

.poster-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 8px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(2, 6, 23, 0.66);
    backdrop-filter: blur(8px);
    font-size: 12px;
    font-weight: 700;
}

.play-hover {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 44px;
    opacity: 0;
    text-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
    transition: opacity 0.25s ease;
}

.movie-card:hover .play-hover,
.rank-row:hover .play-hover {
    opacity: 1;
}

.card-body {
    padding: 14px;
}

.card-body h3,
.wide-body h3,
.rank-content h3 {
    margin: 0 0 8px;
    color: var(--gray-900);
    font-size: 16px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}

.card-body a:hover h3,
.wide-body a:hover h3,
.rank-content a:hover h3 {
    color: var(--sky-dark);
}

.card-meta {
    color: var(--gray-500);
    font-size: 12px;
}

.category-showcase {
    margin-bottom: 76px;
    padding: clamp(28px, 4vw, 48px);
    border-radius: 32px;
    background: linear-gradient(135deg, #f0f9ff, #eff6ff);
}

.showcase-rows {
    display: grid;
    gap: 30px;
}

.row-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.row-title h3 {
    margin: 0;
    font-size: 22px;
}

.row-title a {
    margin-left: auto;
    color: var(--sky-dark);
    font-weight: 800;
}

.accent-dot {
    width: 5px;
    height: 28px;
    border-radius: 999px;
    background: var(--sky);
}

.accent-rose { background: #f43f5e; }
.accent-sky { background: #0ea5e9; }
.accent-blue { background: #2563eb; }
.accent-violet { background: #7c3aed; }
.accent-amber { background: #f59e0b; }
.accent-emerald { background: #10b981; }
.accent-red { background: #ef4444; }
.accent-pink { background: #ec4899; }
.accent-cyan { background: #06b6d4; }
.accent-slate { background: #475569; }

.horizontal-scroll {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(190px, 1fr);
    gap: 18px;
    overflow-x: auto;
    padding: 0 2px 12px;
    scroll-snap-type: x proximity;
}

.horizontal-scroll .movie-card {
    min-width: 190px;
    scroll-snap-align: start;
}

.rank-entry {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 36px;
    margin-bottom: 76px;
    padding: clamp(28px, 4vw, 48px);
    border-radius: 32px;
    color: var(--white);
    background: radial-gradient(circle at top left, rgba(14, 165, 233, 0.55), transparent 34%), linear-gradient(135deg, #0f172a, #1e293b);
    box-shadow: var(--shadow-soft);
}

.rank-entry h2 {
    margin: 0 0 14px;
    font-size: clamp(30px, 4vw, 46px);
    letter-spacing: -0.04em;
}

.rank-entry p {
    max-width: 560px;
    margin: 0 0 24px;
    color: #dbeafe;
    line-height: 1.8;
}

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

.rank-mini-list a {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(10px);
}

.rank-mini-list a:hover {
    background: rgba(255, 255, 255, 0.16);
}

.rank-mini-list strong {
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(14, 165, 233, 0.8);
}

.rank-mini-list span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 700;
}

.rank-mini-list em {
    color: #bfdbfe;
    font-style: normal;
}

.page-hero {
    padding: 72px 0;
}

.soft-hero {
    background: radial-gradient(circle at 20% 15%, rgba(14, 165, 233, 0.18), transparent 28%), linear-gradient(180deg, #f8fafc, #ffffff);
}

.page-hero h1 {
    max-width: 820px;
    margin: 0 0 16px;
    font-size: clamp(36px, 5vw, 60px);
    letter-spacing: -0.05em;
}

.page-hero p {
    max-width: 800px;
    margin: 0;
    color: var(--gray-600);
    font-size: 18px;
    line-height: 1.8;
}

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

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

.channel-hero {
    background: linear-gradient(135deg, #ffffff, #f0f9ff);
}

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

.category-tile a {
    display: block;
    min-height: 100%;
    padding: 20px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 24px;
    background: var(--white);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile a:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.tile-covers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 18px;
}

.tile-covers img {
    aspect-ratio: 3 / 4;
    border-radius: 14px;
    object-fit: cover;
    background: linear-gradient(135deg, #e0f2fe, #f8fafc);
}

.category-tile h2 {
    margin: 0 0 10px;
    font-size: 21px;
}

.category-tile p {
    margin: 0 0 16px;
    color: var(--gray-600);
    line-height: 1.7;
}

.category-tile span {
    color: var(--sky-dark);
    font-weight: 800;
}

.filter-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: end;
    margin-bottom: 30px;
    padding: 18px;
    border: 1px solid var(--gray-200);
    border-radius: 22px;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.filter-panel label {
    display: grid;
    gap: 8px;
    min-width: min(280px, 100%);
    color: var(--gray-700);
    font-weight: 800;
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    outline: 0;
    padding: 13px 14px;
    color: var(--gray-900);
    background: var(--gray-50);
}

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

.movie-card.is-hidden,
.rank-list-item.is-hidden {
    display: none;
}

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

.rank-list-item {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: stretch;
    gap: 16px;
}

.rank-number {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    color: var(--white);
    background: linear-gradient(135deg, var(--sky), var(--blue));
    font-size: 22px;
    font-weight: 900;
    box-shadow: 0 12px 24px rgba(14, 165, 233, 0.22);
}

.rank-row {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 14px;
    border: 1px solid var(--gray-200);
    border-radius: 22px;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.rank-poster {
    aspect-ratio: 3 / 4;
    border-radius: 14px;
}

.rank-content p,
.wide-body p {
    margin: 0 0 12px;
    color: var(--gray-600);
    line-height: 1.65;
}

.heat-value {
    color: var(--rose);
    font-size: 18px;
}

.detail-hero {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    color: var(--white);
    background: #020617;
}

.detail-backdrop {
    position: absolute;
    inset: 0;
    opacity: 0.54;
    filter: blur(2px) saturate(1.08);
    transform: scale(1.02);
}

.detail-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, #020617, rgba(2, 6, 23, 0.74) 48%, rgba(15, 23, 42, 0.25));
}

.detail-hero-content {
    position: relative;
    z-index: 1;
    padding: 56px 0 72px;
}

.detail-hero .breadcrumb {
    color: #dbeafe;
}

.detail-title-block {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 32px;
    align-items: end;
}

.detail-cover {
    aspect-ratio: 3 / 4;
    border: 4px solid rgba(255, 255, 255, 0.22);
    border-radius: 24px;
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.34);
    background: linear-gradient(135deg, #e0f2fe, #f8fafc);
}

.detail-title-block h1 {
    margin: 0 0 16px;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.detail-title-block p {
    max-width: 760px;
    margin: 0 0 20px;
    color: #e5e7eb;
    font-size: 18px;
    line-height: 1.8;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 0.78fr);
    gap: 32px;
    padding: 44px 0 76px;
}

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

.player-panel {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 28px;
    background: #020617;
    box-shadow: 0 22px 52px rgba(2, 6, 23, 0.2);
}

.player-panel video {
    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: 12px;
    border: 0;
    color: var(--white);
    background: radial-gradient(circle, rgba(14, 165, 233, 0.20), rgba(2, 6, 23, 0.44));
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-icon {
    display: inline-flex;
    width: 78px;
    height: 78px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sky), var(--blue));
    box-shadow: 0 18px 40px rgba(14, 165, 233, 0.36);
    font-size: 34px;
}

.detail-card,
.review-card,
.side-box {
    border: 1px solid var(--gray-200);
    border-radius: 24px;
    background: var(--white);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.detail-card,
.review-card {
    padding: clamp(24px, 4vw, 34px);
}

.detail-card h2,
.review-card h2,
.side-box h2 {
    margin: 0 0 18px;
    font-size: 24px;
}

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

.review-card {
    background: linear-gradient(135deg, #fffbeb, #fff7ed);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.tag-list span {
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--gray-700);
    background: var(--gray-100);
    font-size: 14px;
    font-weight: 700;
}

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

.info-grid div {
    display: grid;
    gap: 6px;
    padding: 14px;
    border-radius: 16px;
    background: var(--gray-50);
}

.info-grid .full {
    grid-column: 1 / -1;
}

.info-grid strong {
    color: var(--gray-500);
    font-size: 13px;
}

.info-grid span {
    color: var(--gray-900);
    line-height: 1.6;
}

.wide-card-list {
    display: grid;
    gap: 18px;
}

.movie-card-wide {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    align-items: stretch;
}

.wide-poster {
    aspect-ratio: 3 / 4;
}

.wide-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
}

.detail-side {
    display: grid;
    align-content: start;
    gap: 22px;
}

.side-box {
    position: sticky;
    top: 86px;
    padding: 22px;
}

.side-related {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
}

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

.side-related img {
    aspect-ratio: 3 / 4;
    border-radius: 12px;
    background: linear-gradient(135deg, #e0f2fe, #f8fafc);
}

.side-related strong {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin-bottom: 6px;
    line-height: 1.35;
}

.side-related em {
    color: var(--gray-500);
    font-size: 12px;
    font-style: normal;
}

.side-links {
    position: static;
    display: grid;
    gap: 10px;
}

.side-links a {
    padding: 12px 14px;
    border-radius: 14px;
    color: var(--sky-dark);
    background: #e0f2fe;
    font-weight: 800;
}

.site-footer {
    margin-top: 40px;
    border-top: 1px solid var(--gray-200);
    background: linear-gradient(180deg, var(--gray-50), var(--gray-100));
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 34px;
    padding: 46px 0 30px;
}

.footer-brand p {
    max-width: 560px;
    margin: 16px 0 0;
    color: var(--gray-600);
    line-height: 1.75;
}

.site-footer h2 {
    margin: 0 0 14px;
    font-size: 17px;
}

.site-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer li {
    margin: 9px 0;
}

.site-footer a:hover {
    color: var(--sky-dark);
}

.footer-bottom {
    padding: 20px 0 34px;
    border-top: 1px solid var(--gray-200);
    color: var(--gray-500);
    font-size: 14px;
}

.footer-bottom p {
    margin: 0;
}

img.is-missing {
    opacity: 0;
}

@media (max-width: 1180px) {
    .movie-grid-six {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

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

    .nav-links {
        gap: 12px;
        font-size: 14px;
    }
}

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

    .mobile-menu-button {
        display: block;
    }

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

    .rank-entry,
    .detail-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .detail-side,
    .side-box {
        position: static;
    }

    .detail-title-block {
        grid-template-columns: 170px minmax(0, 1fr);
    }
}

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

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

    .hero-content {
        bottom: 92px;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .hero-arrow {
        top: auto;
        bottom: 28px;
        transform: none;
    }

    .hero-prev {
        left: 18px;
    }

    .hero-next {
        right: 18px;
    }

    .hero-dots {
        bottom: 42px;
    }

    .page-sections {
        padding: 42px 0;
    }

    .section-head {
        display: grid;
        align-items: start;
    }

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

    .category-showcase,
    .rank-entry {
        border-radius: 24px;
    }

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

    .rank-list-item {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 10px;
    }

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

    .heat-value {
        grid-column: 2;
    }

    .detail-title-block {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .detail-cover {
        width: 190px;
    }

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

    .wide-body {
        padding: 14px;
    }
}

@media (max-width: 520px) {
    .brand-text {
        font-size: 18px;
    }

    .mobile-menu {
        grid-template-columns: 1fr;
    }

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

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

    .category-tile-grid {
        grid-template-columns: 1fr;
    }

    .filter-panel label {
        min-width: 100%;
    }

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