:root {
    color-scheme: light;
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-850: #162033;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    --orange-600: #ea580c;
    --orange-500: #f97316;
    --orange-400: #fb923c;
    --amber-300: #fcd34d;
    --white: #ffffff;
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
    --shadow-card: 0 12px 30px rgba(15, 23, 42, 0.10);
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --container: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
    background: linear-gradient(135deg, var(--slate-50), var(--slate-100));
    color: var(--slate-800);
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

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

.narrow-container {
    width: min(100% - 32px, 980px);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(90deg, var(--slate-800), var(--slate-900));
    color: var(--white);
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.24);
}

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

.site-logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.site-logo {
    font-size: clamp(16px, 2vw, 21px);
}

.site-logo-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
    color: var(--white);
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.25);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    color: rgba(255, 255, 255, 0.88);
}

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

.nav-links a:hover,
.nav-links a.is-active,
.mobile-nav a:hover,
.mobile-nav a.is-active {
    color: var(--orange-400);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--white);
    border-radius: 99px;
}

.mobile-nav {
    display: none;
    padding: 14px 20px 20px;
    background: var(--slate-900);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav a {
    display: block;
    padding: 10px 0;
    color: rgba(255, 255, 255, 0.9);
}

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

.hero {
    position: relative;
    min-height: 650px;
    overflow: hidden;
    background: radial-gradient(circle at top left, rgba(249, 115, 22, 0.25), transparent 32%), linear-gradient(90deg, var(--slate-950), var(--slate-800), var(--slate-900));
}

.hero-stage,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slide {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: center;
    gap: 56px;
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease, visibility 0.7s ease;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hero-slide::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center;
    opacity: 0.20;
    filter: blur(1px) saturate(1.1);
    transform: scale(1.03);
    pointer-events: none;
}

.hero-slide::after {
    content: "";
    position: fixed;
    inset: 0;
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.92), rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.88));
    pointer-events: none;
}

.hero-content,
.hero-poster {
    position: relative;
    z-index: 2;
}

.hero-tags,
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-tags span,
.detail-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(249, 115, 22, 0.16);
    color: #fed7aa;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid rgba(251, 146, 60, 0.24);
}

.hero h1 {
    max-width: 760px;
    margin: 22px 0 18px;
    color: var(--white);
    font-size: clamp(42px, 7vw, 74px);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.hero p {
    max-width: 720px;
    color: rgba(226, 232, 240, 0.9);
    font-size: clamp(18px, 2.4vw, 26px);
    margin: 0 0 34px;
}

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

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

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

.btn-primary {
    background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
    color: var(--white);
    box-shadow: 0 14px 32px rgba(249, 115, 22, 0.28);
}

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

.hero-poster {
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 28px 90px rgba(2, 6, 23, 0.46);
    transform: rotate(2deg);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-poster img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.hero-poster span {
    position: absolute;
    left: 18px;
    bottom: 18px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.78);
    color: var(--white);
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.hero-search-wrap {
    position: absolute;
    left: 50%;
    bottom: 36px;
    z-index: 4;
    width: min(100% - 32px, var(--container));
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.hero-search {
    display: flex;
    width: min(100%, 560px);
    padding: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(16px);
}

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

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

.hero-search button {
    border: 0;
    border-radius: 999px;
    padding: 11px 22px;
    background: var(--orange-500);
    color: var(--white);
    font-weight: 800;
    cursor: pointer;
}

.hero-dots {
    display: flex;
    gap: 10px;
}

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

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

.hero-control {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 46px;
    height: 46px;
    transform: translateY(-50%);
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.hero-prev {
    left: 20px;
}

.hero-next {
    right: 20px;
}

.section {
    padding: 70px 0;
}

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

.section-soft {
    background: linear-gradient(180deg, #eef2f7, #f8fafc);
}

.section-dark {
    background: linear-gradient(90deg, var(--slate-800), var(--slate-900));
    color: var(--white);
}

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

.section-head h2 {
    margin: 4px 0 6px;
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.section-head p {
    margin: 0;
    color: var(--slate-500);
}

.section-dark .section-head p {
    color: rgba(255, 255, 255, 0.72);
}

.section-kicker,
.page-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--orange-500);
    font-weight: 900;
    letter-spacing: 0.04em;
}

.section-more {
    color: var(--orange-500);
    font-weight: 800;
}

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

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

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

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

.movie-card {
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.movie-cover {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--slate-900);
}

.movie-cover img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.featured-grid .movie-cover img,
.library-grid .movie-cover img {
    aspect-ratio: 3 / 4;
}

.compact-card .movie-cover img,
.mini-grid .movie-cover img {
    aspect-ratio: 16 / 10;
}

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

.movie-cover::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 55%;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.75), transparent);
}

.movie-duration {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 2;
    padding: 4px 9px;
    border-radius: 8px;
    background: rgba(2, 6, 23, 0.78);
    color: var(--white);
    font-size: 12px;
    font-weight: 800;
}

.movie-play {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%) scale(0.86);
    border-radius: 50%;
    background: rgba(249, 115, 22, 0.92);
    color: var(--white);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

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

.movie-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--slate-500);
    font-size: 12px;
    font-weight: 700;
}

.movie-card h3 {
    margin: 0 0 8px;
    color: var(--slate-800);
    font-size: 18px;
    line-height: 1.35;
}

.compact-card h3,
.mini-grid h3 {
    font-size: 15px;
}

.movie-card h3 a:hover {
    color: var(--orange-500);
}

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

.movie-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--slate-500);
    font-size: 13px;
    font-weight: 700;
}

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

.category-card,
.category-overview-card {
    display: flex;
    min-height: 180px;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    border-radius: var(--radius-md);
    padding: 22px;
    background: rgba(255, 255, 255, 0.10);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, background 0.25s ease;
}

.category-card:hover,
.category-overview-card:hover {
    transform: translateY(-5px) scale(1.02);
    background: rgba(249, 115, 22, 0.95);
}

.category-icon,
.category-overview-icon {
    font-size: 34px;
}

.category-card strong,
.category-overview-card strong {
    font-size: 20px;
}

.category-card em,
.category-overview-card em {
    color: rgba(255, 255, 255, 0.76);
    font-style: normal;
    font-size: 13px;
}

.category-strip,
.overview-poster-row {
    display: flex;
    gap: 6px;
}

.category-strip img,
.overview-poster-row img {
    width: 30%;
    height: 46px;
    object-fit: cover;
    border-radius: 8px;
}

.category-overview-card {
    background: var(--white);
    color: var(--slate-800);
}

.category-overview-card em {
    color: var(--slate-500);
}

.category-overview-card:hover {
    color: var(--white);
}

.category-preview {
    margin-top: 38px;
    padding: 28px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-card);
}

.category-preview-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.category-preview-head div {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 12px;
    align-items: center;
}

.category-preview-head span {
    grid-row: span 2;
    font-size: 30px;
}

.category-preview-head h2 {
    margin: 0;
}

.category-preview-head p {
    margin: 0;
    color: var(--slate-500);
}

.category-preview-head a {
    color: var(--orange-500);
    font-weight: 800;
}

.rank-list {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rank-link {
    display: grid;
    grid-template-columns: 54px 112px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 14px;
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.rank-number {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange-400), var(--orange-600));
    color: var(--white);
    font-size: 18px;
    font-weight: 900;
}

.rank-link img {
    width: 112px;
    height: 70px;
    object-fit: cover;
    border-radius: 12px;
}

.rank-copy {
    min-width: 0;
}

.rank-copy strong,
.rank-copy em {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-copy strong {
    color: var(--slate-800);
    font-size: 17px;
}

.rank-copy em {
    color: var(--slate-500);
    font-style: normal;
    font-size: 13px;
}

.rank-score {
    color: var(--orange-500);
    font-weight: 900;
}

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: linear-gradient(90deg, var(--slate-900), var(--slate-800));
}

.page-hero::before,
.detail-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--page-hero-image, var(--detail-bg));
    background-size: cover;
    background-position: center;
    opacity: 0.20;
    filter: saturate(1.08);
}

.page-hero::after,
.detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.92), rgba(15, 23, 42, 0.78));
}

.page-hero .container,
.detail-hero .container {
    position: relative;
    z-index: 2;
}

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

.slim-hero {
    padding: 62px 0;
}

.page-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.page-hero h1 {
    margin: 8px 0 12px;
    font-size: clamp(36px, 6vw, 60px);
    letter-spacing: -0.04em;
}

.page-hero p {
    max-width: 760px;
    margin: 0;
    color: rgba(226, 232, 240, 0.86);
    font-size: 18px;
}

.filter-panel {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 26px;
    padding: 18px;
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow-card);
}

.filter-search {
    flex: 1;
    display: grid;
    gap: 6px;
    min-width: 240px;
}

.filter-search span {
    color: var(--slate-500);
    font-size: 13px;
    font-weight: 800;
}

.filter-search input,
.filter-select {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    padding: 0 14px;
    outline: 0;
    background: var(--slate-50);
    color: var(--slate-800);
}

.filter-search input:focus,
.filter-select:focus {
    border-color: var(--orange-500);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
}

.filter-selects {
    display: flex;
    gap: 10px;
}

.empty-state {
    display: none;
    padding: 40px;
    border-radius: 20px;
    background: var(--white);
    color: var(--slate-500);
    text-align: center;
    box-shadow: var(--shadow-card);
}

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

.detail-hero {
    padding: 70px 0;
}

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

.detail-cover {
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 28px 90px rgba(2, 6, 23, 0.44);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

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

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: rgba(226, 232, 240, 0.82);
    font-size: 14px;
}

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

.detail-info h1 {
    margin: 14px 0 12px;
    font-size: clamp(34px, 6vw, 62px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.detail-one-line {
    max-width: 820px;
    margin: 0 0 18px;
    color: rgba(226, 232, 240, 0.92);
    font-size: 20px;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

.detail-meta span {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
}

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

.player-card,
.content-card,
.side-card {
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-card);
}

.player-card {
    overflow: hidden;
    margin-bottom: 24px;
}

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

.movie-video {
    width: 100%;
    height: 100%;
    display: block;
    background: #000;
}

.play-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(249, 115, 22, 0.18), rgba(2, 6, 23, 0.72));
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-circle {
    width: 78px;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
    font-size: 30px;
    box-shadow: 0 18px 50px rgba(249, 115, 22, 0.40);
}

.play-overlay strong {
    font-size: 20px;
}

.content-card,
.side-card {
    padding: 24px;
    margin-bottom: 24px;
}

.content-card h2,
.side-card h2 {
    margin: 0 0 14px;
    color: var(--slate-800);
    font-size: 24px;
}

.content-card p {
    margin: 0;
    color: var(--slate-600);
    font-size: 16px;
}

.side-card dl {
    display: grid;
    gap: 12px;
    margin: 0;
}

.side-card dl div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--slate-200);
}

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

.side-card dd {
    margin: 0;
    color: var(--slate-800);
    font-weight: 800;
    text-align: right;
}

.side-related {
    display: grid;
    gap: 14px;
}

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

.side-related .movie-cover img {
    height: 100%;
    min-height: 150px;
    aspect-ratio: auto;
}

.side-related .movie-card p,
.side-related .movie-card-foot {
    display: none;
}

.site-footer {
    background: var(--slate-900);
    color: rgba(226, 232, 240, 0.82);
    padding: 52px 0 22px;
}

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

.footer-grid p {
    max-width: 420px;
    color: rgba(226, 232, 240, 0.68);
}

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

.footer-grid a,
.footer-grid span {
    display: block;
    margin: 7px 0;
    color: rgba(226, 232, 240, 0.72);
}

.footer-grid a:hover {
    color: var(--orange-400);
}

.footer-bottom {
    width: min(100% - 32px, var(--container));
    margin: 34px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(226, 232, 240, 0.56);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
}

[data-filter-item].is-hidden {
    display: none;
}

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

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

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

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

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

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

    .nav-toggle {
        display: block;
    }

    .hero {
        min-height: 760px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        align-content: center;
        gap: 26px;
        padding: 74px 0 132px;
    }

    .hero-poster {
        width: min(100%, 260px);
        transform: rotate(0);
    }

    .hero-search-wrap {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-control {
        display: none;
    }

    .section-head,
    .page-hero-inner,
    .filter-panel,
    .category-preview-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .filter-selects {
        width: 100%;
        flex-direction: column;
    }

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

    .detail-cover {
        width: min(100%, 280px);
    }

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

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

    .site-logo span:last-child {
        max-width: 210px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .hero {
        min-height: 720px;
    }

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

    .hero-search {
        border-radius: 18px;
        flex-direction: column;
        gap: 8px;
    }

    .hero-search input {
        min-height: 42px;
    }

    .movie-grid,
    .featured-grid,
    .hot-grid,
    .latest-grid,
    .library-grid,
    .mini-grid,
    .category-grid,
    .category-overview-grid {
        grid-template-columns: 1fr;
    }

    .rank-link {
        grid-template-columns: 42px 86px minmax(0, 1fr);
    }

    .rank-link img {
        width: 86px;
        height: 62px;
    }

    .rank-number {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }

    .rank-score {
        grid-column: 3;
        justify-self: start;
    }

    .side-related .movie-card {
        grid-template-columns: 100px minmax(0, 1fr);
    }

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