:root {
    --rose-50: #fff1f2;
    --rose-100: #ffe4e6;
    --rose-500: #f43f5e;
    --rose-600: #e11d48;
    --pink-500: #ec4899;
    --purple-600: #9333ea;
    --orange-500: #f97316;
    --green-500: #22c55e;
    --blue-500: #3b82f6;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --gray-900: #111827;
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.10);
    --shadow-strong: 0 24px 70px rgba(15, 23, 42, 0.20);
    --radius-xl: 1.25rem;
    --radius-2xl: 1.75rem;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--gray-900);
    background: var(--gray-50);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    line-height: 1.65;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(90deg, rgba(255, 241, 242, 0.96), rgba(253, 242, 248, 0.96));
    border-bottom: 1px solid var(--rose-100);
    backdrop-filter: blur(18px);
    box-shadow: 0 4px 18px rgba(225, 29, 72, 0.06);
}

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

.site-logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.28rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(90deg, var(--rose-600), var(--pink-500));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
}

.site-logo-mark {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
    box-shadow: 0 10px 26px rgba(244, 63, 94, 0.28);
    font-size: 0.82rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    font-weight: 650;
    color: var(--gray-700);
    white-space: nowrap;
}

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

.site-nav a:hover,
.mobile-nav a:hover {
    color: var(--rose-600);
}

.header-search,
.mobile-search {
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid #fecdd3;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(225, 29, 72, 0.06);
}

.header-search input,
.mobile-search input {
    width: 220px;
    border: 0;
    outline: 0;
    padding: 10px 14px;
    background: transparent;
}

.header-search button,
.mobile-search button {
    border: 0;
    padding: 10px 16px;
    color: #fff;
    cursor: pointer;
    background: linear-gradient(90deg, var(--rose-500), var(--pink-500));
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    border-radius: 99px;
    background: var(--gray-700);
}

.mobile-panel {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 18px;
}

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

.mobile-search {
    margin-bottom: 14px;
}

.mobile-search input {
    width: 100%;
}

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

.mobile-nav a {
    padding: 10px 14px;
    border-radius: 14px;
    background: #fff;
    color: var(--gray-700);
}

.hero {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    background: linear-gradient(135deg, #be123c, #db2777 48%, #6d28d9);
}

.hero-layer {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 10%, rgba(255,255,255,0.22), transparent 28%),
        radial-gradient(circle at 78% 18%, rgba(251, 113, 133, 0.28), transparent 30%),
        linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.22));
    pointer-events: none;
}

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

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

.hero-content {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 480px;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-copy {
    color: #fff;
    max-width: 620px;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 7px 13px;
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(12px);
    font-size: 0.82rem;
    font-weight: 750;
    letter-spacing: 0.06em;
}

.hero h1 {
    margin: 0;
    font-size: clamp(2.6rem, 6vw, 5.4rem);
    line-height: 0.96;
    letter-spacing: -0.06em;
}

.hero h1 span {
    display: block;
    margin-top: 12px;
    color: #fecdd3;
    font-size: clamp(2rem, 4.6vw, 4.2rem);
}

.hero p {
    margin: 24px 0 0;
    max-width: 600px;
    color: #fff1f2;
    font-size: 1.2rem;
}

.hero-tags,
.movie-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.hero-tags span,
.movie-tags span {
    display: inline-flex;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
}

.movie-tags span {
    background: #dbeafe;
    color: #1d4ed8;
}

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

.primary-btn,
.ghost-btn,
.text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn {
    padding: 12px 24px;
    color: #fff;
    background: linear-gradient(90deg, var(--rose-500), var(--pink-500));
    box-shadow: 0 14px 30px rgba(244, 63, 94, 0.30);
}

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

.primary-btn:hover,
.ghost-btn:hover,
.text-link:hover {
    transform: translateY(-2px);
}

.text-link {
    color: var(--rose-600);
    font-size: 0.98rem;
}

.hero-collage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.hero-collage .mini-card:first-child {
    grid-column: span 2;
    min-height: 240px;
}

.mini-card {
    position: relative;
    min-height: 160px;
    display: block;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: var(--shadow-strong);
    transform: translateZ(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #111827;
}

.mini-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 26px 80px rgba(15, 23, 42, 0.35);
}

.mini-card img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    transition: transform 0.45s ease;
}

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

.mini-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.82), rgba(0,0,0,0.08) 58%, transparent);
}

.mini-card span:not(.mini-rank) {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 16px;
    z-index: 2;
    color: #fff;
}

.mini-card strong,
.mini-card em {
    display: block;
}

.mini-card strong {
    font-size: 1rem;
    line-height: 1.25;
}

.mini-card em {
    margin-top: 4px;
    color: #ffe4e6;
    font-style: normal;
    font-size: 0.78rem;
}

.mini-rank {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--rose-500), var(--orange-500));
    font-weight: 900;
    box-shadow: 0 10px 20px rgba(0,0,0,0.18);
}

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

.hero-dots button {
    width: 42px;
    height: 7px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    background: rgba(255,255,255,0.35);
    transition: width 0.2s ease, background 0.2s ease;
}

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

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

.soft-section {
    width: 100%;
    max-width: none;
    padding-left: max(16px, calc((100% - 1180px) / 2));
    padding-right: max(16px, calc((100% - 1180px) / 2));
    background: linear-gradient(135deg, #fff7ed, #fff1f2, #fdf2f8);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-heading.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.between-heading {
    max-width: none;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.section-kicker {
    color: var(--rose-600);
    background: #ffe4e6;
    border: 1px solid #fecdd3;
}

.section-heading h2,
.movie-info-panel h1,
.page-hero h1 {
    margin: 0;
    color: var(--gray-900);
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.section-heading p,
.page-hero p {
    margin: 12px 0 0;
    color: var(--gray-500);
    font-size: 1.05rem;
}

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

.movie-card {
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.movie-poster {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #111827;
}

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

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

.poster-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.58), rgba(0,0,0,0.08) 48%, transparent);
    opacity: 0.55;
}

.play-hover {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--rose-600);
    background: rgba(255,255,255,0.92);
    border-radius: 999px;
    transform: translate(-50%, -50%) scale(0.76);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    font-size: 1.1rem;
    font-weight: 900;
}

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

.corner-badge,
.rank-badge {
    position: absolute;
    top: 12px;
    border-radius: 999px;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 5px 9px;
    backdrop-filter: blur(10px);
}

.corner-badge {
    right: 12px;
    background: rgba(0,0,0,0.62);
}

.rank-badge {
    left: 12px;
    min-width: 34px;
    text-align: center;
    background: linear-gradient(135deg, var(--rose-500), var(--orange-500));
}

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

.movie-card h2 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    line-height: 1.3;
}

.movie-card h2 a:hover {
    color: var(--rose-600);
}

.movie-card p {
    margin: 0;
    color: var(--gray-500);
    font-size: 0.92rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-meta {
    margin-top: 12px;
    color: var(--gray-500);
    font-size: 0.82rem;
}

.compact-card .movie-card-body {
    padding: 15px;
}

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

.category-tile,
.category-overview-card {
    display: block;
    overflow: hidden;
    border-radius: 26px;
    padding: 24px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-tile:hover,
.category-overview-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-strong);
}

.category-title {
    display: block;
    font-size: 1.28rem;
    font-weight: 900;
    color: var(--gray-900);
}

.category-desc {
    display: block;
    min-height: 70px;
    margin-top: 8px;
    color: var(--gray-500);
    font-size: 0.92rem;
}

.category-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    margin-top: 18px;
}

.category-thumbs img {
    height: 70px;
    width: 100%;
    border-radius: 14px;
    object-fit: cover;
}

.rank-section {
    padding-bottom: 88px;
}

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

.center-actions {
    justify-content: center;
}

.page-hero {
    position: relative;
    min-height: 330px;
    display: flex;
    align-items: center;
    color: #fff;
    background: linear-gradient(135deg, #be123c, #db2777 48%, #6d28d9);
    overflow: hidden;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(255,255,255,0.20), transparent 32%),
        radial-gradient(circle at 80% 18%, rgba(251,113,133,0.26), transparent 34%);
}

.page-hero > div {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    color: #fff;
}

.page-hero p {
    max-width: 760px;
    color: #ffe4e6;
}

.category-hero {
    background: linear-gradient(135deg, #15803d, #0d9488 48%, #2563eb);
}

.rank-hero {
    background: linear-gradient(135deg, #7e22ce, #db2777 52%, #f97316);
}

.search-hero {
    background: linear-gradient(135deg, #2563eb, #7c3aed 55%, #db2777);
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 24px;
    padding: 18px;
}

.category-cover-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}

.category-cover-strip img {
    height: 92px;
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
}

.category-overview-card h2 {
    margin: 0 0 8px;
    font-size: 1.45rem;
}

.category-overview-card p {
    margin: 0 0 12px;
    color: var(--gray-500);
}

.category-overview-card ul,
.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-overview-card li {
    margin: 5px 0;
    color: var(--gray-700);
    font-size: 0.92rem;
}

.filter-panel {
    display: grid;
    grid-template-columns: 1fr 180px 180px 180px;
    gap: 14px;
    margin-bottom: 28px;
    padding: 18px;
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.filter-panel input,
.filter-panel select {
    min-width: 0;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 12px 14px;
    outline: 0;
    background: #fff;
}

.filter-panel input:focus,
.filter-panel select:focus {
    border-color: #fda4af;
    box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.12);
}

.empty-state {
    display: none;
    margin-top: 32px;
    padding: 32px;
    border-radius: 24px;
    background: #fff;
    text-align: center;
    color: var(--gray-500);
    box-shadow: var(--shadow-soft);
}

.empty-state.show {
    display: block;
}

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

.top-rank-card {
    position: relative;
    min-height: 270px;
    overflow: hidden;
    border-radius: 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: #fff;
    background: #111827;
    box-shadow: var(--shadow-strong);
}

.top-rank-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.top-rank-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.85), rgba(0,0,0,0.10));
}

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

.top-rank-card strong,
.top-rank-card em,
.top-rank-number {
    position: relative;
    z-index: 2;
}

.top-rank-card strong {
    font-size: 1.4rem;
    line-height: 1.25;
}

.top-rank-card em {
    margin-top: 6px;
    color: #ffe4e6;
    font-style: normal;
}

.top-rank-number {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--rose-500), var(--orange-500));
    font-weight: 900;
}

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

.detail-wrap {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0 72px;
}

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

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

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

.detail-main,
.side-card,
.movie-info-panel {
    border-radius: 28px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.detail-main {
    overflow: hidden;
}

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

.movie-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: #000;
}

.player-poster {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 0;
    color: #fff;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    text-align: center;
}

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

.player-icon {
    width: 82px;
    height: 82px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--rose-600);
    background: rgba(255,255,255,0.94);
    box-shadow: 0 20px 55px rgba(0,0,0,0.30);
    font-size: 2rem;
    padding-left: 5px;
}

.player-title {
    font-size: 1.12rem;
    font-weight: 900;
    text-shadow: 0 8px 26px rgba(0,0,0,0.45);
}

.movie-info-panel {
    padding: 30px;
    border-radius: 0 0 28px 28px;
    box-shadow: none;
}

.movie-info-panel h1 {
    font-size: clamp(2rem, 4vw, 3.4rem);
}

.movie-info-panel h2,
.side-card h2 {
    margin: 28px 0 12px;
    font-size: 1.35rem;
    line-height: 1.25;
}

.movie-info-panel p {
    margin: 0;
    color: var(--gray-700);
    font-size: 1.02rem;
}

.lead-text {
    margin-top: 18px !important;
    color: var(--gray-900) !important;
    font-size: 1.18rem !important;
    font-weight: 650;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 18px;
}

.detail-meta span,
.detail-meta a {
    padding: 7px 11px;
    border-radius: 999px;
    background: #fff1f2;
    color: var(--rose-600);
    font-weight: 750;
    font-size: 0.86rem;
}

.large-tags span {
    background: #f3e8ff;
    color: #7e22ce;
}

.inner-section {
    width: 100%;
    padding: 32px;
}

.compact-heading {
    margin-bottom: 22px;
}

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

.detail-side {
    display: grid;
    gap: 20px;
    position: sticky;
    top: 96px;
}

.side-card {
    padding: 18px;
}

.cover-card img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 22px;
    margin-bottom: 16px;
}

.full-btn {
    width: 100%;
}

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

.side-rank-list .mini-card {
    min-height: 90px;
    border-radius: 18px;
}

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

.side-category-list a {
    padding: 7px 11px;
    border-radius: 999px;
    background: var(--gray-100);
    color: var(--gray-700);
    font-size: 0.88rem;
    font-weight: 700;
}

.side-category-list a:hover {
    color: #fff;
    background: linear-gradient(90deg, var(--rose-500), var(--pink-500));
}

.site-footer {
    background: linear-gradient(180deg, #fff, #f3f4f6);
    border-top: 1px solid var(--gray-200);
}

.footer-grid {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 52px 0 30px;
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 34px;
}

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

.site-footer p,
.site-footer li,
.footer-bottom {
    color: var(--gray-500);
    font-size: 0.92rem;
}

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

.site-footer a:hover {
    color: var(--rose-600);
}

.footer-bottom {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 28px;
    border-top: 1px solid var(--gray-200);
}

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

    .header-search {
        margin-left: auto;
    }

    .menu-toggle {
        display: flex;
    }

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

    .hero-collage {
        display: none;
    }

    .detail-side {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

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

@media (max-width: 820px) {
    .site-header-inner {
        height: 66px;
    }

    .header-search {
        display: none;
    }

    .hero {
        min-height: 560px;
    }

    .hero-content {
        gap: 24px;
    }

    .movie-grid,
    .ranking-list,
    .category-grid,
    .rank-grid,
    .top-rank-grid,
    .category-overview-grid,
    .footer-grid,
    .related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

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

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

    .between-heading {
        align-items: start;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .site-header-inner,
    .mobile-panel,
    .section,
    .detail-wrap,
    .footer-grid,
    .footer-bottom,
    .page-hero > div,
    .hero-content {
        width: min(100% - 24px, 1180px);
    }

    .hero {
        min-height: 620px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h1 span {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .movie-grid,
    .ranking-list,
    .category-grid,
    .rank-grid,
    .top-rank-grid,
    .category-overview-grid,
    .footer-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }

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

    .section {
        padding: 52px 0;
    }

    .soft-section {
        padding-left: 12px;
        padding-right: 12px;
    }

    .movie-info-panel,
    .inner-section {
        padding: 22px;
    }

    .player-icon {
        width: 68px;
        height: 68px;
        font-size: 1.6rem;
    }
}
