:root {
    --primary-50: #f4f7f5;
    --primary-100: #e5eee7;
    --primary-300: #93b69a;
    --primary-400: #5d9b69;
    --primary-500: #4a7c54;
    --primary-600: #3d6744;
    --primary-700: #305235;
    --primary-800: #233d26;
    --accent-50: #fef7ed;
    --accent-500: #e88f1a;
    --text-900: #111827;
    --text-700: #374151;
    --text-600: #4b5563;
    --text-500: #6b7280;
    --line: #e5e7eb;
    --surface: #ffffff;
    --soft: #f9fafb;
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.12), 0 8px 10px -6px rgb(0 0 0 / 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--text-900);
    background: var(--soft);
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgb(255 255 255 / 0.95);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgb(229 231 235 / 0.8);
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
    background: #ffffff;
    box-shadow: var(--shadow-md);
}

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

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: var(--text-900);
}

.site-logo-mark {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #ffffff;
    background: var(--primary-500);
    box-shadow: 0 10px 22px rgb(74 124 84 / 0.22);
    transition: background 0.25s ease, transform 0.25s ease;
}

.site-logo:hover .site-logo-mark {
    background: var(--primary-600);
    transform: translateY(-1px);
}

.site-logo-text {
    font-size: 23px;
    letter-spacing: -0.03em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-size: 15px;
    font-weight: 650;
    color: var(--text-600);
    transition: color 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--primary-600);
}

.menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: var(--primary-50);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.menu-button span {
    width: 20px;
    height: 2px;
    background: var(--primary-700);
    border-radius: 999px;
}

.mobile-nav {
    display: none;
    border-top: 1px solid var(--line);
    background: #ffffff;
    padding: 12px 16px 16px;
}

.mobile-nav.is-open {
    display: grid;
    gap: 8px;
}

.mobile-link {
    padding: 12px 14px;
    border-radius: 12px;
    color: var(--text-700);
    font-weight: 650;
}

.mobile-link:hover,
.mobile-link.is-active {
    color: var(--primary-600);
    background: var(--primary-50);
}

.hero-slider {
    position: relative;
    height: 640px;
    overflow: hidden;
    background: #000000;
}

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

.hero-slide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease;
}

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

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

.hero-cover {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #000000 0%, rgb(0 0 0 / 0.62) 46%, rgb(0 0 0 / 0.18) 100%);
}

.hero-content {
    position: absolute;
    left: 50%;
    bottom: 78px;
    width: min(1180px, calc(100% - 32px));
    transform: translateX(-50%);
    color: #ffffff;
}

.hero-content h1 {
    margin: 0 0 10px;
    max-width: 860px;
    font-size: clamp(28px, 5vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.hero-content h2 {
    margin: 0 0 16px;
    max-width: 760px;
    font-size: clamp(26px, 4.5vw, 54px);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.hero-content p {
    max-width: 720px;
    margin: 0 0 22px;
    color: rgb(255 255 255 / 0.82);
    font-size: 18px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 26px;
}

.hero-meta span {
    padding: 6px 12px;
    border: 1px solid rgb(255 255 255 / 0.26);
    border-radius: 999px;
    color: rgb(255 255 255 / 0.88);
    background: rgb(255 255 255 / 0.12);
    backdrop-filter: blur(10px);
    font-size: 13px;
}

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

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: rgb(255 255 255 / 0.20);
    backdrop-filter: blur(12px);
    cursor: pointer;
    font-size: 36px;
    line-height: 1;
    transition: background 0.25s ease, transform 0.25s ease;
}

.hero-arrow:hover {
    background: rgb(255 255 255 / 0.30);
    transform: translateY(-50%) scale(1.04);
}

.hero-prev {
    left: 22px;
    transform: translateY(-50%);
}

.hero-next {
    right: 22px;
    transform: translateY(-50%);
}

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

.hero-dot {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 999px;
    background: rgb(255 255 255 / 0.45);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
    width: 34px;
    background: #ffffff;
}

.section {
    padding: 72px 0;
}

.section-white {
    background: #ffffff;
}

.section-soft {
    background: linear-gradient(135deg, var(--primary-50), var(--accent-50));
}

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

.section-title-row h2,
.section-heading h2 {
    margin: 8px 0 0;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.section-pill {
    display: inline-flex;
    align-items: center;
    width: max-content;
    padding: 6px 14px;
    border-radius: 999px;
    color: #ffffff;
    background: var(--primary-500);
    font-size: 13px;
    font-weight: 700;
}

.text-link {
    color: var(--primary-600);
    font-weight: 750;
}

.text-link:hover {
    color: var(--primary-700);
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.heading-line {
    width: 5px;
    height: 34px;
    border-radius: 999px;
    background: var(--primary-500);
}

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

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

.btn-primary {
    color: #ffffff;
    background: var(--primary-500);
    box-shadow: 0 12px 26px rgb(74 124 84 / 0.24);
}

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

.btn-light {
    color: var(--primary-700);
    background: #ffffff;
}

.btn-light:hover {
    color: #ffffff;
    background: var(--primary-600);
}

.btn-ghost {
    color: #ffffff;
    border: 1px solid rgb(255 255 255 / 0.32);
    background: rgb(255 255 255 / 0.12);
    backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    background: rgb(255 255 255 / 0.20);
}

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

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

.movie-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--shadow-md);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

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

.poster-wrap {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #111827;
}

.movie-card-compact .poster-wrap,
.movie-card-small .poster-wrap {
    aspect-ratio: 16 / 9;
}

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

.movie-card:hover .poster-wrap img {
    transform: scale(1.10);
}

.poster-shade {
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / 0);
    transition: background 0.3s ease;
}

.movie-card:hover .poster-shade {
    background: rgb(0 0 0 / 0.30);
}

.poster-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--primary-600);
    background: rgb(255 255 255 / 0.92);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.74);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

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

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

.movie-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--text-500);
    font-size: 12px;
}

.movie-card strong {
    display: -webkit-box;
    overflow: hidden;
    color: var(--text-900);
    font-size: 18px;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.25s ease;
}

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

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

.movie-tags,
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.movie-tags span,
.detail-tags span {
    padding: 4px 10px;
    border-radius: 999px;
    color: var(--text-700);
    background: var(--primary-50);
    font-size: 12px;
}

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

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

.rank-hero-card {
    position: relative;
    min-height: 320px;
    overflow: hidden;
    border-radius: 20px;
    background: #111827;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rank-hero-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.rank-hero-card img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.rank-hero-card:hover img {
    transform: scale(1.08);
}

.rank-hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgb(0 0 0 / 0.88), rgb(0 0 0 / 0.45), rgb(0 0 0 / 0.08));
}

.rank-badge {
    position: absolute;
    left: 18px;
    top: 18px;
    padding: 6px 12px;
    border-radius: 999px;
    color: #ffffff;
    background: var(--accent-500);
    font-weight: 800;
    font-size: 13px;
}

.rank-hero-content {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    display: grid;
    gap: 8px;
    color: #ffffff;
}

.rank-hero-content strong {
    font-size: 24px;
    line-height: 1.25;
}

.rank-hero-content em {
    display: -webkit-box;
    overflow: hidden;
    color: rgb(255 255 255 / 0.82);
    font-style: normal;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.rank-hero-content span {
    color: rgb(255 255 255 / 0.72);
    font-size: 13px;
}

.category-chips,
.year-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.category-chips a,
.year-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 20px;
    border: 2px solid var(--line);
    border-radius: 999px;
    color: var(--text-700);
    background: #ffffff;
    font-weight: 720;
    transition: border 0.25s ease, color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.category-chips a:hover,
.year-chip:hover {
    color: var(--primary-600);
    border-color: var(--primary-500);
    background: var(--primary-50);
    transform: translateY(-1px);
}

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

.filter-card {
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #ffffff;
    color: var(--text-900);
    font-weight: 750;
    box-shadow: var(--shadow-md);
    transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.filter-card:hover {
    color: var(--primary-600);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

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

.movie-row {
    display: grid;
    grid-template-columns: 148px 1fr;
    align-items: stretch;
    gap: 18px;
    overflow: hidden;
    border-radius: 18px;
    background: var(--soft);
    box-shadow: 0 0 0 1px rgb(229 231 235 / 0.65) inset;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ranking-list .movie-row {
    grid-template-columns: 72px 148px 1fr;
    background: #ffffff;
}

.movie-row:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.movie-row img {
    width: 148px;
    height: 108px;
    object-fit: cover;
}

.movie-row-content {
    display: grid;
    align-content: center;
    gap: 5px;
    padding: 14px 18px 14px 0;
}

.movie-row-content strong {
    font-size: 18px;
    line-height: 1.25;
}

.movie-row-content em {
    display: -webkit-box;
    overflow: hidden;
    color: var(--text-600);
    font-size: 14px;
    font-style: normal;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-row-content span {
    color: var(--text-500);
    font-size: 13px;
}

.row-rank {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-600);
    font-size: 24px;
    font-weight: 850;
}

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

.page-hero h1 {
    margin: 12px 0 14px;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.page-hero p {
    max-width: 760px;
    margin: 0;
    color: var(--text-600);
    font-size: 18px;
}

.page-hero-soft {
    background: linear-gradient(135deg, #ffffff, var(--primary-50) 58%, var(--accent-50));
}

.page-hero-dark {
    color: #ffffff;
    background: radial-gradient(circle at 18% 18%, rgb(232 143 26 / 0.34), transparent 34%), linear-gradient(135deg, #111827, #1f2937 50%, #233d26);
}

.page-hero-dark p {
    color: rgb(255 255 255 / 0.78);
}

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

.category-card {
    position: relative;
    min-height: 270px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

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

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

.category-card-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgb(0 0 0 / 0.86), rgb(0 0 0 / 0.36), transparent);
}

.category-card-body {
    position: absolute;
    inset: auto 18px 18px;
    display: grid;
    gap: 8px;
    color: #ffffff;
}

.category-card-body strong {
    font-size: 26px;
    line-height: 1.2;
}

.category-card-body em {
    display: -webkit-box;
    overflow: hidden;
    color: rgb(255 255 255 / 0.78);
    font-style: normal;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.category-card-body span {
    color: var(--primary-300);
    font-weight: 750;
}

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

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

.breadcrumb-light {
    color: rgb(255 255 255 / 0.72);
}

.breadcrumb-light a:hover {
    color: #ffffff;
}

.detail-hero {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    color: #ffffff;
    background: #111827;
}

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

.detail-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(8px) scale(1.06);
    opacity: 0.62;
}

.detail-hero-shade {
    background: linear-gradient(90deg, rgb(0 0 0 / 0.88), rgb(0 0 0 / 0.62), rgb(0 0 0 / 0.34));
}

.detail-hero-inner {
    position: relative;
    z-index: 2;
    padding: 52px 0 62px;
}

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

.detail-poster {
    width: 260px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 28px 70px rgb(0 0 0 / 0.42);
}

.detail-headline h1 {
    margin: 14px 0 16px;
    max-width: 820px;
    font-size: clamp(36px, 5vw, 60px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.detail-headline p {
    max-width: 760px;
    margin: 0 0 22px;
    color: rgb(255 255 255 / 0.82);
    font-size: 18px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: #000000;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 16 / 9;
}

.movie-player {
    width: 100%;
    height: 100%;
    display: block;
    background: #000000;
}

.player-cover {
    position: absolute;
    inset: 0;
    z-index: 3;
    border: 0;
    padding: 0;
    cursor: pointer;
    overflow: hidden;
    background: #000000;
}

.player-cover.is-hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.player-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.72;
}

.player-cover-shade {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgb(0 0 0 / 0.08), rgb(0 0 0 / 0.66));
}

.player-button {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--primary-600);
    background: rgb(255 255 255 / 0.92);
    font-size: 36px;
    transform: translate(-50%, -50%);
    box-shadow: 0 18px 48px rgb(0 0 0 / 0.34);
    transition: transform 0.25s ease, background 0.25s ease;
}

.player-cover:hover .player-button {
    background: #ffffff;
    transform: translate(-50%, -50%) scale(1.06);
}

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

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

.content-card,
.side-card {
    border-radius: 20px;
    background: #ffffff;
    padding: 28px;
    box-shadow: var(--shadow-md);
}

.content-card h2,
.side-card h2 {
    margin: 0 0 14px;
    font-size: 24px;
    line-height: 1.2;
}

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

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

.side-card div {
    display: grid;
    gap: 4px;
}

.side-card dt {
    color: var(--text-500);
    font-size: 13px;
}

.side-card dd {
    margin: 0;
    color: var(--text-900);
    font-weight: 750;
}

.search-panel {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr auto;
    gap: 14px;
    align-items: end;
    margin-bottom: 26px;
    padding: 22px;
    border-radius: 20px;
    background: var(--soft);
    box-shadow: 0 0 0 1px rgb(229 231 235 / 0.7) inset;
}

.search-panel label {
    display: grid;
    gap: 8px;
    color: var(--text-700);
    font-weight: 700;
    font-size: 14px;
}

.search-panel input,
.search-panel select {
    width: 100%;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0 14px;
    color: var(--text-900);
    background: #ffffff;
    outline: none;
    transition: border 0.25s ease, box-shadow 0.25s ease;
}

.search-panel input:focus,
.search-panel select:focus {
    border-color: var(--primary-500);
    box-shadow: 0 0 0 4px rgb(74 124 84 / 0.12);
}

.search-summary {
    margin-bottom: 22px;
    color: var(--text-600);
    font-weight: 750;
}

.site-footer {
    color: rgb(209 213 219);
    background: #111827;
}

.footer-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 52px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 34px;
}

.site-footer h2 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 18px;
}

.site-footer p {
    margin: 0;
    color: rgb(156 163 175);
    font-size: 14px;
}

.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.site-footer a {
    color: rgb(156 163 175);
    font-size: 14px;
}

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

.footer-bottom {
    border-top: 1px solid rgb(55 65 81);
    padding-top: 24px;
    color: rgb(156 163 175);
    text-align: center;
    font-size: 14px;
}

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

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

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

    .search-panel .btn {
        grid-column: span 2;
    }
}

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

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

    .site-logo-text {
        font-size: 20px;
    }

    .hero-slider {
        height: 560px;
    }

    .hero-content {
        bottom: 62px;
    }

    .hero-arrow {
        display: none;
    }

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

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

    .detail-poster {
        width: 220px;
    }

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

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

    .section-title-row {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 620px) {
    .container,
    .site-header-inner,
    .footer-inner {
        width: min(100% - 24px, 1180px);
    }

    .site-header-inner {
        height: 64px;
    }

    .hero-slider {
        height: 620px;
    }

    .hero-content h1,
    .hero-content h2 {
        font-size: 34px;
    }

    .hero-content p,
    .detail-headline p,
    .page-hero p {
        font-size: 16px;
    }

    .section,
    .page-hero {
        padding: 48px 0;
    }

    .movie-grid,
    .movie-grid-compact,
    .category-overview-grid {
        grid-template-columns: 1fr;
    }

    .movie-row,
    .ranking-list .movie-row {
        grid-template-columns: 112px 1fr;
    }

    .ranking-list .row-rank {
        display: none;
    }

    .movie-row img {
        width: 112px;
        height: 112px;
    }

    .movie-row-content {
        padding: 12px 12px 12px 0;
    }

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

    .search-panel .btn {
        grid-column: auto;
    }

    .content-card,
    .side-card {
        padding: 22px;
    }

    .player-button {
        width: 68px;
        height: 68px;
        font-size: 28px;
    }
}
