:root {
    --primary-50: #f0f9ff;
    --primary-100: #e0f2fe;
    --primary-500: #0ea5e9;
    --primary-600: #0284c7;
    --primary-700: #0369a1;
    --secondary-50: #f0fdfa;
    --secondary-100: #ccfbf1;
    --secondary-500: #14b8a6;
    --secondary-600: #0d9488;
    --accent-100: #ffedd5;
    --accent-600: #ea580c;
    --neutral-50: #fafaf9;
    --neutral-100: #f5f5f4;
    --neutral-200: #e7e5e4;
    --neutral-400: #a8a29e;
    --neutral-500: #78716c;
    --neutral-600: #57534e;
    --neutral-700: #44403c;
    --neutral-800: #292524;
    --neutral-900: #1c1917;
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
    --shadow-card: 0 10px 25px rgba(15, 23, 42, 0.10);
    color-scheme: light;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: linear-gradient(180deg, var(--neutral-50), #fff 36rem);
    color: var(--neutral-900);
    font-family: Inter, "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
}

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 50;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0));
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.10);
    backdrop-filter: blur(18px);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}

.brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-500), var(--secondary-500));
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    box-shadow: 0 16px 30px rgba(14, 165, 233, 0.24);
    transition: transform 0.3s ease;
}

.brand:hover .brand-mark {
    transform: scale(1.08) rotate(-3deg);
}

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

.brand-copy strong {
    font-size: 20px;
    color: var(--neutral-900);
}

.brand-copy em {
    margin-top: 4px;
    color: var(--neutral-500);
    font-size: 12px;
    font-style: normal;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    color: var(--neutral-700);
    font-weight: 600;
}

.desktop-nav > a,
.nav-dropdown > button {
    border: 0;
    background: transparent;
    padding: 10px 0;
    color: var(--neutral-700);
    cursor: pointer;
    transition: color 0.2s ease;
}

.desktop-nav > a:hover,
.desktop-nav > a.is-active,
.nav-dropdown > button:hover {
    color: var(--primary-600);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    width: 190px;
    padding: 10px;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--neutral-700);
    font-size: 14px;
}

.nav-dropdown-menu a:hover {
    background: var(--primary-50);
    color: var(--primary-700);
}

.nav-search {
    width: min(280px, 26vw);
    display: flex;
    align-items: center;
    border: 1px solid var(--neutral-200);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    overflow: hidden;
}

.nav-search input,
.mobile-search input,
.filter-field {
    width: 100%;
    border: 0;
    outline: 0;
    padding: 11px 14px;
    color: var(--neutral-800);
    background: transparent;
}

.nav-search button,
.mobile-search button {
    border: 0;
    padding: 11px 16px;
    color: #fff;
    background: var(--primary-600);
    cursor: pointer;
}

.mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    background: var(--neutral-100);
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--neutral-800);
    border-radius: 999px;
}

.mobile-panel {
    display: none;
    padding: 16px;
    background: #fff;
    border-top: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-card);
}

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

.mobile-panel a,
.mobile-category-list a {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    color: var(--neutral-700);
    font-weight: 600;
}

.mobile-panel a:hover,
.mobile-category-list a:hover {
    background: var(--primary-50);
    color: var(--primary-700);
}

.mobile-search {
    display: flex;
    border: 1px solid var(--neutral-200);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 12px;
}

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

.hero-carousel {
    position: relative;
    min-height: 78vh;
    overflow: hidden;
    background: #000;
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.58) 45%, rgba(0, 0, 0, 0.30));
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding-bottom: clamp(72px, 11vh, 128px);
    color: #fff;
}

.hero-pill,
.category-pill,
.cover-chip {
    display: inline-flex;
    align-items: center;
    width: max-content;
    border-radius: 999px;
    font-weight: 700;
}

.hero-pill {
    padding: 8px 16px;
    margin-bottom: 18px;
    color: #fff;
    background: var(--primary-600);
    box-shadow: 0 12px 30px rgba(2, 132, 199, 0.35);
}

.hero-content h1,
.hero-content h2 {
    margin: 0 0 18px;
    max-width: 760px;
    font-size: clamp(36px, 6vw, 72px);
    line-height: 1.04;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.hero-content p {
    max-width: 740px;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, 0.90);
    font-size: clamp(17px, 2vw, 22px);
    line-height: 1.7;
}

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

.primary-button,
.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 26px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.primary-button {
    color: #fff;
    background: var(--primary-600);
    box-shadow: 0 18px 36px rgba(2, 132, 199, 0.28);
}

.primary-button:hover {
    transform: translateY(-2px) scale(1.03);
    background: var(--primary-700);
}

.ghost-button {
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.34);
    backdrop-filter: blur(12px);
}

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

.ghost-button.light {
    color: #fff;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: rgba(0, 0, 0, 0.48);
    font-size: 44px;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: background 0.2s ease, transform 0.2s ease;
}

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

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

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

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

.hero-dots button.is-active {
    width: 36px;
    background: #fff;
}

.main-shell,
.detail-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.main-shell {
    padding: 58px 0 80px;
}

.content-section + .content-section,
.category-portal {
    margin-top: 72px;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}

.section-heading > div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary-500), var(--secondary-500));
    font-weight: 900;
    box-shadow: 0 12px 26px rgba(14, 165, 233, 0.24);
}

.section-heading h2,
.category-portal h2,
.content-card h2 {
    margin: 0;
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1.15;
}

.section-link {
    color: var(--primary-600);
    font-weight: 800;
}

.section-link span {
    display: inline-block;
    transition: transform 0.2s ease;
}

.section-link:hover span {
    transform: translateX(4px);
}

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

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

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

.movie-card {
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow-card);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.16);
}

.movie-cover {
    position: relative;
    display: block;
    height: 230px;
    overflow: hidden;
    background: var(--neutral-200);
}

.movie-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.62), transparent);
    transition: opacity 0.28s ease;
}

.movie-card:hover .movie-cover::after {
    opacity: 1;
}

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

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

.year-chip,
.cover-chip,
.rank-badge,
.score-pill {
    position: absolute;
    z-index: 2;
    padding: 6px 10px;
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    background: rgba(0, 0, 0, 0.58);
    backdrop-filter: blur(10px);
}

.year-chip,
.score-pill {
    top: 12px;
    right: 12px;
}

.cover-chip,
.rank-badge {
    top: 12px;
    left: 12px;
    background: var(--primary-600);
}

.score-pill {
    background: rgba(234, 88, 12, 0.88);
}

.movie-card-body {
    padding: 18px;
}

.category-pill {
    margin-bottom: 10px;
    padding: 5px 10px;
    color: var(--primary-700);
    background: var(--primary-100);
    font-size: 12px;
}

.movie-title {
    display: -webkit-box;
    min-height: 2.8em;
    overflow: hidden;
    color: var(--neutral-900);
    font-size: 18px;
    line-height: 1.35;
    font-weight: 850;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.2s ease;
}

.movie-title:hover,
.movie-card:hover .movie-title {
    color: var(--primary-600);
}

.movie-card-body p {
    display: -webkit-box;
    min-height: 3.2em;
    margin: 10px 0 14px;
    overflow: hidden;
    color: var(--neutral-600);
    font-size: 14px;
    line-height: 1.6;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    color: var(--neutral-500);
    font-size: 13px;
}

.movie-card-horizontal {
    display: grid;
    grid-template-columns: 280px 1fr;
}

.movie-card-horizontal .movie-cover {
    height: 100%;
    min-height: 190px;
}

.movie-card-horizontal .movie-card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
}

.movie-card-horizontal .movie-title {
    font-size: 22px;
}

.analysis-section {
    padding: 34px;
    border-radius: 32px;
    background: linear-gradient(135deg, var(--primary-50), var(--secondary-50));
}

.horizontal-list {
    display: grid;
    gap: 20px;
}

.ranking-section {
    padding: 34px;
    border-radius: 32px;
    background: linear-gradient(135deg, #fff, var(--primary-50));
}

.category-portal {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 34px;
    align-items: center;
    padding: 38px;
    border-radius: 32px;
    background: linear-gradient(135deg, var(--neutral-900), var(--neutral-800));
    color: #fff;
    box-shadow: var(--shadow-soft);
}

.category-portal p {
    max-width: 520px;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.8;
}

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

.category-chip-grid a {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.92);
    font-weight: 800;
    transition: background 0.2s ease, transform 0.2s ease;
}

.category-chip-grid a:hover {
    background: rgba(255, 255, 255, 0.20);
    transform: translateY(-2px);
}

.inner-page {
    padding-top: 76px;
}

.page-hero {
    position: relative;
    overflow: hidden;
    min-height: 360px;
    padding: 92px 16px 72px;
    display: flex;
    align-items: flex-end;
    background: radial-gradient(circle at 18% 22%, rgba(14, 165, 233, 0.24), transparent 34%), linear-gradient(135deg, var(--neutral-900), var(--neutral-800));
    color: #fff;
}

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

.page-hero h1 {
    margin: 0 0 18px;
    max-width: 800px;
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.05;
}

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

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
}

.breadcrumb a:hover {
    color: #fff;
}

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

.category-tile {
    position: relative;
    min-height: 250px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
    padding: 24px;
    border-radius: 28px;
    color: #fff;
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-card);
}

.category-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.16));
}

.category-tile > * {
    position: relative;
    z-index: 1;
}

.category-tile span {
    font-size: 25px;
    font-weight: 900;
}

.category-tile strong {
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    line-height: 1.7;
}

.category-tile em {
    font-style: normal;
    font-weight: 800;
    color: #fff;
}

.filter-bar {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 20px;
    align-items: start;
    margin-bottom: 28px;
    padding: 18px;
    border: 1px solid var(--neutral-200);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.filter-bar label {
    display: block;
    margin-bottom: 8px;
    color: var(--neutral-600);
    font-weight: 800;
}

.filter-field {
    border: 1px solid var(--neutral-200);
    border-radius: 999px;
    background: var(--neutral-50);
}

.filter-field:focus {
    border-color: var(--primary-500);
    box-shadow: 0 0 0 4px var(--primary-100);
}

.filter-tokens {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 27px;
}

.filter-tokens button {
    border: 0;
    padding: 8px 13px;
    border-radius: 999px;
    color: var(--neutral-700);
    background: var(--neutral-100);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.filter-tokens button:hover,
.filter-tokens button.is-active {
    color: #fff;
    background: var(--primary-600);
}

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

.detail-page {
    background: #fff;
}

.detail-hero {
    position: relative;
    min-height: 690px;
    display: flex;
    align-items: flex-end;
    padding: 120px 0 72px;
    color: #fff;
    background-size: cover;
    background-position: center;
}

.detail-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.62) 52%, rgba(0, 0, 0, 0.25));
}

.detail-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 42px;
    align-items: end;
}

.detail-poster {
    margin: 0;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}

.detail-poster img {
    width: 100%;
    height: 470px;
    object-fit: cover;
}

.detail-intro h1 {
    margin: 0 0 18px;
    max-width: 850px;
    font-size: clamp(36px, 5.2vw, 70px);
    line-height: 1.05;
}

.detail-one-line {
    max-width: 820px;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 20px;
    line-height: 1.8;
}

.detail-meta,
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.detail-meta span,
.tag-row span,
.inline-tags span {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.detail-meta span {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
}

.tag-row span,
.inline-tags span {
    color: var(--primary-700);
    background: var(--primary-100);
}

.player-section {
    padding: 54px 0 0;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: #000;
    box-shadow: var(--shadow-soft);
}

.player-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    cursor: pointer;
}

.player-cover {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    border: 0;
    color: #fff;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.24));
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-orb {
    width: 88px;
    height: 88px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-left: 6px;
    border-radius: 999px;
    color: var(--primary-700);
    background: rgba(255, 255, 255, 0.94);
    font-size: 36px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.30);
}

.player-cover strong {
    max-width: 80%;
    text-align: center;
    font-size: clamp(20px, 3vw, 32px);
}

.detail-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 26px;
    padding-top: 34px;
}

.content-card {
    padding: 28px;
    border-radius: 26px;
    background: #fff;
    box-shadow: var(--shadow-card);
}

.content-card h2 {
    margin-bottom: 16px;
    font-size: 26px;
}

.content-card h2:not(:first-child) {
    margin-top: 28px;
}

.content-card p {
    margin: 0;
    color: var(--neutral-700);
    font-size: 16px;
    line-height: 1.9;
}

.info-card dl {
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 14px 16px;
    margin: 0;
}

.info-card dt {
    color: var(--neutral-500);
    font-weight: 800;
}

.info-card dd {
    margin: 0;
    color: var(--neutral-800);
    line-height: 1.65;
}

.info-card a {
    color: var(--primary-700);
    font-weight: 800;
}

.inline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.related-section {
    padding: 58px 0 82px;
}

.site-footer {
    color: var(--neutral-300);
    background: linear-gradient(135deg, var(--neutral-900), var(--neutral-800));
}

.footer-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 56px 0 36px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 42px;
}

.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.footer-logo-row strong {
    color: #fff;
    font-size: 24px;
}

.footer-logo-row p,
.footer-brand > p {
    margin: 4px 0 0;
    color: var(--neutral-400);
}

.footer-brand > p {
    max-width: 540px;
    line-height: 1.8;
}

.site-footer h3 {
    margin: 0 0 16px;
    color: #fff;
}

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

.site-footer li + li {
    margin-top: 10px;
}

.site-footer a {
    color: var(--neutral-400);
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: var(--primary-500);
}

.footer-bottom {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 22px 0 34px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--neutral-500);
    font-size: 14px;
}

.footer-bottom p {
    margin: 0;
}

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

    .mobile-toggle {
        display: block;
    }

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

    .category-portal,
    .detail-content-grid,
    .footer-shell {
        grid-template-columns: 1fr;
    }

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

    .filter-tokens {
        padding-top: 0;
    }
}

@media (max-width: 760px) {
    .brand-copy {
        display: none;
    }

    .nav-shell {
        height: 68px;
    }

    .inner-page {
        padding-top: 68px;
    }

    .hero-carousel {
        min-height: 72vh;
    }

    .hero-content {
        padding-bottom: 88px;
    }

    .hero-arrow {
        display: none;
    }

    .movie-grid,
    .ranking-grid,
    .featured-grid,
    .category-tile-grid,
    .category-chip-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .movie-cover {
        height: 190px;
    }

    .movie-card-body {
        padding: 14px;
    }

    .movie-title {
        font-size: 16px;
    }

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

    .category-portal,
    .analysis-section,
    .ranking-section {
        padding: 24px;
        border-radius: 24px;
    }

    .page-hero {
        min-height: 300px;
        padding-top: 70px;
    }

    .detail-hero {
        min-height: auto;
        padding: 92px 0 42px;
    }

    .detail-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .detail-poster {
        width: min(270px, 70vw);
    }

    .detail-poster img {
        height: 380px;
    }

    .player-section {
        padding-top: 30px;
    }

    .content-card {
        padding: 22px;
    }

    .info-card dl {
        grid-template-columns: 1fr;
        gap: 6px;
    }

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

@media (max-width: 480px) {
    .movie-grid,
    .ranking-grid,
    .featured-grid,
    .category-tile-grid,
    .category-chip-grid {
        grid-template-columns: 1fr;
    }

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