:root {
    --rose: #f43f5e;
    --rose-dark: #e11d48;
    --pink: #ec4899;
    --orange: #f97316;
    --amber: #f59e0b;
    --slate: #0f172a;
    --slate-soft: #1e293b;
    --text: #111827;
    --muted: #6b7280;
    --line: rgba(15, 23, 42, 0.1);
    --soft: #fff7ed;
    --shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background: linear-gradient(135deg, #fff1f2 0%, #fdf2f8 45%, #fff7ed 100%);
    min-height: 100vh;
}

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

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

button,
input {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(90deg, var(--rose), var(--pink), var(--orange));
    color: #fff;
    box-shadow: 0 14px 30px rgba(244, 63, 94, 0.25);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 16px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.brand-mark {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
    transition: transform 0.25s ease;
}

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

.brand-text {
    font-size: 1.45rem;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    font-weight: 700;
}

.nav-link {
    position: relative;
    opacity: 0.92;
    transition: opacity 0.25s ease, color 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    opacity: 1;
    color: #fef08a;
}

.header-search,
.mobile-search,
.search-panel {
    display: flex;
    align-items: center;
}

.header-search {
    position: relative;
    min-width: 280px;
}

.header-search input,
.mobile-search input {
    width: 100%;
    border: 0;
    outline: 0;
    color: #fff;
    padding: 11px 42px 11px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
}

.header-search input::placeholder,
.mobile-search input::placeholder {
    color: rgba(255, 255, 255, 0.76);
}

.header-search button {
    position: absolute;
    right: 6px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
}

.menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
}

.mobile-panel {
    display: none;
    padding: 0 16px 16px;
}

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

.mobile-search {
    gap: 10px;
    margin-bottom: 12px;
}

.mobile-search button,
.search-panel button {
    border: 0;
    border-radius: 999px;
    padding: 10px 18px;
    color: var(--rose-dark);
    background: #fff;
    font-weight: 800;
}

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

.mobile-link {
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
}

.hero {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    background: var(--slate);
}

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

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

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

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.03);
    filter: saturate(1.08);
}

.hero-fade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.96) 0%, rgba(15, 23, 42, 0.72) 42%, rgba(15, 23, 42, 0.16) 100%), linear-gradient(0deg, rgba(15, 23, 42, 0.9), transparent 44%);
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 620px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    max-width: 720px;
    color: #fff;
}

.hero-kicker,
.section-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero-kicker {
    color: #fff;
    background: linear-gradient(90deg, var(--rose), var(--orange));
    box-shadow: 0 14px 28px rgba(244, 63, 94, 0.28);
}

.hero h1 {
    margin: 20px 0 18px;
    font-size: clamp(2.6rem, 8vw, 5.8rem);
    line-height: 0.96;
    max-width: 850px;
}

.hero p {
    margin: 0;
    max-width: 680px;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    color: rgba(255, 255, 255, 0.86);
}

.hero-tags {
    margin-top: 22px;
}

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

.primary-btn,
.secondary-btn,
.secondary-dark-btn,
.light-btn,
.outline-light-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
    border-radius: 999px;
    font-weight: 900;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.primary-btn {
    color: #fff;
    background: linear-gradient(90deg, var(--rose), var(--orange));
    box-shadow: 0 18px 32px rgba(244, 63, 94, 0.3);
}

.secondary-btn {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
}

.secondary-dark-btn {
    color: var(--text);
    background: #fff;
    box-shadow: inset 0 0 0 1px var(--line);
}

.primary-btn:hover,
.secondary-btn:hover,
.secondary-dark-btn:hover,
.light-btn:hover,
.outline-light-btn:hover {
    transform: translateY(-2px) scale(1.02);
}

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

.hero-dot {
    width: 36px;
    height: 8px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.38);
    transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
    width: 62px;
    background: #fff;
}

.stats-strip {
    background: #fff;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    padding: 28px 0;
}

.stats-grid div {
    text-align: center;
}

.stats-grid strong {
    display: block;
    font-size: 2.1rem;
    color: var(--rose);
}

.stats-grid span {
    color: var(--muted);
}

.section-block {
    padding: 70px 0;
}

.soft-bg {
    background: rgba(255, 255, 255, 0.52);
}

.warm-bg {
    background: linear-gradient(135deg, #ffedd5, #fce7f3);
}

.section-head {
    margin-bottom: 28px;
}

.split-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

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

.section-kicker {
    color: var(--rose);
    background: #fff1f2;
    box-shadow: inset 0 0 0 1px rgba(244, 63, 94, 0.12);
}

.section-head h2 {
    margin: 12px 0 8px;
    font-size: clamp(1.8rem, 4vw, 2.55rem);
    line-height: 1.1;
}

.section-head p {
    margin: 0;
    max-width: 720px;
    color: var(--muted);
}

.text-link {
    color: var(--rose-dark);
    font-weight: 900;
    white-space: nowrap;
}

.featured-wrap {
    display: grid;
}

.featured-panel {
    position: relative;
    overflow: hidden;
    min-height: 420px;
    border-radius: 28px;
    box-shadow: var(--shadow);
    background: var(--slate);
}

.featured-panel img {
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.featured-panel:hover img {
    transform: scale(1.06);
}

.featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.15) 62%);
}

.featured-copy {
    position: absolute;
    left: 32px;
    right: 32px;
    bottom: 32px;
    color: #fff;
}

.featured-copy small,
.featured-copy em {
    display: block;
    color: rgba(255, 255, 255, 0.78);
    font-style: normal;
}

.featured-copy strong {
    display: block;
    margin: 8px 0;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.02;
}

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

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

.category-tile {
    position: relative;
    min-height: 180px;
    overflow: hidden;
    border-radius: 24px;
    color: #fff;
    background: linear-gradient(135deg, var(--rose), var(--orange));
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.13);
    transform: translateZ(0);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
}

.category-tile img {
    height: 100%;
    min-height: 180px;
    object-fit: cover;
    opacity: 0.52;
    mix-blend-mode: multiply;
    transition: transform 0.45s ease;
}

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

.category-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0.08));
}

.category-content {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
}

.category-content strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1.25rem;
}

.category-content small {
    display: -webkit-box;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.82);
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.tone-pink {
    background: linear-gradient(135deg, #ec4899, #f43f5e);
}

.tone-orange {
    background: linear-gradient(135deg, #f97316, #f59e0b);
}

.tone-red {
    background: linear-gradient(135deg, #ef4444, #f97316);
}

.tone-violet {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
}

.tone-blue {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
}

.tone-cyan {
    background: linear-gradient(135deg, #0891b2, #3b82f6);
}

.tone-emerald {
    background: linear-gradient(135deg, #059669, #10b981);
}

.tone-amber {
    background: linear-gradient(135deg, #d97706, #f59e0b);
}

.tone-slate {
    background: linear-gradient(135deg, #0f172a, #475569);
}

.two-column {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 30px;
    align-items: start;
}

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

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

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

.movie-card {
    overflow: hidden;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.09);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.14);
}

.card-cover,
.list-cover {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--slate-soft);
}

.card-cover {
    aspect-ratio: 3 / 4;
}

.card-cover img,
.list-cover img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

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

.card-badge,
.card-score {
    position: absolute;
    top: 12px;
    z-index: 2;
    border-radius: 999px;
    padding: 5px 10px;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 900;
}

.card-badge {
    left: 12px;
    background: linear-gradient(90deg, var(--rose), var(--orange));
}

.card-score {
    right: 12px;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(10px);
}

.card-body {
    padding: 16px;
}

.card-title {
    display: -webkit-box;
    overflow: hidden;
    min-height: 2.6em;
    color: var(--text);
    font-size: 1.08rem;
    font-weight: 900;
    line-height: 1.3;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.25s ease;
}

.card-title:hover {
    color: var(--rose-dark);
}

.card-body p,
.list-body p {
    display: -webkit-box;
    overflow: hidden;
    margin: 10px 0 12px;
    color: var(--muted);
    line-height: 1.65;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-pill {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    border-radius: 999px;
    padding: 5px 10px;
    color: var(--rose-dark);
    background: #fff1f2;
    font-size: 0.78rem;
    font-weight: 800;
}

.hero-tags .tag-pill,
.detail-tags .tag-pill {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.card-meta,
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
    color: var(--muted);
    font-size: 0.86rem;
}

.card-meta span,
.detail-meta span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 9px;
    background: rgba(15, 23, 42, 0.05);
}

.rank-panel {
    border-radius: 24px;
    padding: 22px;
    background: #fff;
    box-shadow: var(--shadow);
}

.sticky-panel {
    position: sticky;
    top: 94px;
}

.rank-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    font-weight: 900;
}

.rank-head a {
    color: var(--rose-dark);
    font-size: 0.92rem;
}

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

.rank-item {
    display: grid;
    grid-template-columns: 34px 54px 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 16px;
    background: #f8fafc;
    transition: transform 0.25s ease, background 0.25s ease;
}

.rank-item:hover {
    transform: translateX(4px);
    background: #fff1f2;
}

.rank-num {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, var(--rose), var(--orange));
    font-weight: 900;
}

.rank-item img {
    width: 54px;
    height: 72px;
    object-fit: cover;
    border-radius: 12px;
}

.rank-text strong,
.rank-text small {
    display: block;
}

.rank-text strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-text small {
    color: var(--muted);
    line-height: 1.5;
}

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

.list-card {
    display: grid;
    grid-template-columns: 230px 1fr;
}

.list-cover {
    min-height: 190px;
}

.list-body {
    padding: 22px;
}

.list-body .card-title {
    min-height: auto;
    font-size: 1.25rem;
}

.cta-band {
    padding: 76px 0;
    color: #fff;
    text-align: center;
    background: linear-gradient(90deg, var(--rose), var(--pink), var(--orange));
}

.cta-band h2 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 5vw, 3.4rem);
}

.cta-band p {
    margin: 0 auto;
    max-width: 700px;
    color: rgba(255, 255, 255, 0.85);
}

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

.light-btn {
    color: var(--rose-dark);
    background: #fff;
}

.outline-light-btn {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.page-hero {
    padding: 66px 0;
    color: #fff;
    background: linear-gradient(90deg, var(--rose), var(--pink), var(--orange));
}

.page-hero h1 {
    margin: 12px 0;
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    line-height: 1.05;
}

.page-hero p {
    margin: 0;
    max-width: 760px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.12rem;
}

.breadcrumb,
.detail-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 800;
}

.category-preview {
    margin-bottom: 70px;
}

.category-preview:last-child {
    margin-bottom: 0;
}

.sort-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 28px;
    padding: 18px 20px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.sort-bar strong,
.sort-bar span {
    display: block;
}

.sort-bar span {
    color: var(--muted);
    margin-top: 3px;
}

.sort-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sort-button {
    border: 0;
    border-radius: 999px;
    padding: 10px 16px;
    color: var(--text);
    background: #f1f5f9;
    font-weight: 900;
}

.sort-button.is-active {
    color: #fff;
    background: linear-gradient(90deg, var(--rose), var(--orange));
    box-shadow: 0 12px 24px rgba(244, 63, 94, 0.2);
}

.rank-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 30px;
    align-items: start;
}

.search-panel {
    max-width: 660px;
    gap: 10px;
    margin-top: 26px;
}

.search-panel input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    border-radius: 999px;
    padding: 15px 20px;
    color: var(--text);
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
}

.search-result-head h2 {
    margin: 12px 0 0;
    font-size: 2rem;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    padding: 70px 0;
    color: #fff;
    background: radial-gradient(circle at 20% 0%, rgba(244, 63, 94, 0.46), transparent 35%), linear-gradient(135deg, #0f172a, #1e293b 55%, #111827);
}

.detail-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 38px;
    align-items: center;
}

.detail-poster {
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

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

.detail-copy h1 {
    margin: 18px 0 14px;
    font-size: clamp(2.2rem, 6vw, 5rem);
    line-height: 1.02;
}

.detail-one-line {
    max-width: 860px;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.15rem;
    line-height: 1.75;
}

.detail-meta {
    margin: 20px 0;
    color: rgba(255, 255, 255, 0.86);
}

.detail-meta span {
    background: rgba(255, 255, 255, 0.12);
}

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

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #000;
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.28);
}

.movie-player {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

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

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

.play-circle {
    width: 78px;
    height: 78px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding-left: 5px;
    color: var(--rose-dark);
    background: rgba(255, 255, 255, 0.94);
    font-size: 2rem;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

.player-status {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    color: rgba(255, 255, 255, 0.86);
    text-align: center;
    pointer-events: none;
}

.detail-content {
    display: grid;
    gap: 20px;
}

.content-panel {
    padding: 26px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.content-panel h2 {
    margin: 0 0 14px;
    font-size: 1.55rem;
}

.content-panel p {
    margin: 0;
    color: #374151;
    line-height: 1.9;
}

.info-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 0;
}

.info-list div {
    padding: 16px;
    border-radius: 18px;
    background: #f8fafc;
}

.info-list dt {
    color: var(--muted);
    font-size: 0.86rem;
}

.info-list dd {
    margin: 6px 0 0;
    font-weight: 900;
}

.site-footer {
    color: #e5e7eb;
    background: linear-gradient(135deg, #0f172a, #1e293b, #0f172a);
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: #fff;
    font-size: 1.28rem;
    font-weight: 900;
}

.site-footer p {
    margin: 0;
    color: #94a3b8;
    line-height: 1.8;
}

.site-footer h2 {
    margin: 0 0 14px;
    color: #fb7185;
    font-size: 1.05rem;
}

.footer-links {
    display: grid;
    gap: 10px;
}

.footer-links.compact {
    grid-template-columns: repeat(2, 1fr);
}

.footer-links a {
    color: #cbd5e1;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    padding: 20px 16px;
    color: #94a3b8;
    text-align: center;
}

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

    .menu-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .header-search {
        display: none;
    }

    .two-column,
    .rank-layout {
        grid-template-columns: 1fr;
    }

    .sticky-panel {
        position: static;
    }

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

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

@media (max-width: 820px) {
    .hero,
    .hero-content {
        min-height: 560px;
    }

    .stats-grid,
    .footer-grid,
    .detail-grid,
    .info-list {
        grid-template-columns: 1fr;
    }

    .detail-grid {
        align-items: start;
    }

    .detail-poster {
        max-width: 280px;
    }

    .three-col,
    .four-col,
    .large-grid,
    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .split-head,
    .sort-bar {
        align-items: flex-start;
        flex-direction: column;
    }

    .list-card {
        grid-template-columns: 160px 1fr;
    }
}

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

    .brand-text {
        font-size: 1.15rem;
    }

    .hero,
    .hero-content {
        min-height: 520px;
    }

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

    .hero p,
    .detail-one-line {
        font-size: 1rem;
    }

    .section-block {
        padding: 48px 0;
    }

    .three-col,
    .four-col,
    .large-grid,
    .category-grid {
        grid-template-columns: 1fr;
    }

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

    .list-cover {
        aspect-ratio: 16 / 10;
    }

    .rank-item {
        grid-template-columns: 30px 48px 1fr;
    }

    .search-panel {
        align-items: stretch;
        flex-direction: column;
    }

    .player-shell {
        border-radius: 18px;
    }
}
