* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: #1f2937;
    background: #f5f7fb;
    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;
}

.rainbow-bar {
    height: 3px;
    background: linear-gradient(90deg, #f87171, #fbbf24, #34d399, #22d3ee, #60a5fa, #a78bfa);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(229, 231, 235, 0.9);
    backdrop-filter: blur(18px);
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: #111827;
    white-space: nowrap;
}

.brand-mark {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    color: #ffffff;
    border-radius: 14px;
    background: linear-gradient(135deg, #2563eb, #7c3aed 45%, #ef4444);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28);
}

.brand-text {
    font-size: 1.1rem;
    letter-spacing: 0.01em;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.nav-link {
    display: inline-flex;
    padding: 10px 12px;
    border-radius: 999px;
    color: #4b5563;
    font-weight: 700;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #2563eb;
    background: rgba(37, 99, 235, 0.08);
    transform: translateY(-1px);
}

.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 270px;
}

.header-search input,
.mobile-search input,
.filter-form input,
.filter-form select {
    width: 100%;
    border: 1px solid #dbe3ef;
    border-radius: 14px;
    color: #111827;
    background: #ffffff;
    outline: 0;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.header-search input {
    padding: 10px 13px;
}

.header-search input:focus,
.mobile-search input:focus,
.filter-form input:focus,
.filter-form select:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.16);
}

.header-search button,
.mobile-search button,
.filter-form button {
    border: 0;
    color: #ffffff;
    border-radius: 14px;
    background: #2563eb;
    cursor: pointer;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-search button {
    padding: 10px 14px;
}

.header-search button:hover,
.mobile-search button:hover,
.filter-form button:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
}

.mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    margin-left: auto;
    border: 0;
    border-radius: 12px;
    background: #eef4ff;
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: #1f2937;
    border-radius: 999px;
}

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

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

.mobile-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    margin-top: 8px;
}

.mobile-search input,
.mobile-search button {
    padding: 12px 14px;
}

.hero {
    width: min(1260px, calc(100% - 32px));
    min-height: 650px;
    margin: 26px auto 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 22px;
}

.hero-stage {
    position: relative;
    overflow: hidden;
    min-height: 650px;
    border-radius: 34px;
    background: #111827;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    align-items: center;
    padding: clamp(26px, 6vw, 82px);
    opacity: 0;
    pointer-events: none;
    transform: scale(1.03);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.hero-slide img,
.detail-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(59, 130, 246, 0.45), transparent 38%),
        linear-gradient(90deg, rgba(2, 6, 23, 0.92), rgba(15, 23, 42, 0.62) 45%, rgba(15, 23, 42, 0.25)),
        linear-gradient(0deg, rgba(15, 23, 42, 0.62), rgba(15, 23, 42, 0.1));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    color: #ffffff;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    color: #1d4ed8;
    background: rgba(219, 234, 254, 0.92);
    font-size: 0.86rem;
    font-weight: 800;
}

.hero-content h1 {
    margin: 0 0 18px;
    font-size: clamp(2.7rem, 6vw, 5.9rem);
    line-height: 0.98;
    letter-spacing: -0.06em;
    text-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

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

.hero-tags,
.chip-row,
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-tags span,
.chip-row span,
.detail-tags a {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 10px;
    border-radius: 999px;
    color: #1f2937;
    background: #eef4ff;
    font-size: 0.82rem;
    font-weight: 700;
}

.hero-tags span {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.17);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(10px);
}

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

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

.primary-btn {
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    box-shadow: 0 18px 34px rgba(37, 99, 235, 0.3);
}

.secondary-btn {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.32);
    backdrop-filter: blur(14px);
}

.text-btn {
    min-height: auto;
    padding: 0;
    color: #2563eb;
}

.hero-content .text-btn {
    color: #ffffff;
}

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

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    cursor: pointer;
    transform: translateY(-50%);
    backdrop-filter: blur(12px);
    font-size: 2rem;
}

.hero-prev {
    left: 18px;
}

.hero-next {
    right: 18px;
}

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

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

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

.hero-side {
    min-height: 650px;
    padding: 20px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(229, 231, 235, 0.78);
    box-shadow: 0 24px 56px rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(18px);
}

.hero-side-head,
.rank-head,
.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.hero-side-head span,
.rank-head span {
    font-size: 1.1rem;
    font-weight: 900;
}

.hero-side-head a,
.rank-head a,
.section-head a {
    color: #2563eb;
    font-weight: 800;
}

.hero-mini-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.mini-card {
    display: grid;
    grid-template-columns: 74px 1fr;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 18px;
    background: #f8fafc;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.mini-card:hover {
    background: #eef4ff;
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.08);
}

.mini-card img {
    width: 74px;
    height: 94px;
    object-fit: cover;
    border-radius: 14px;
    background: #e5e7eb;
}

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

.mini-card strong {
    color: #111827;
    font-size: 0.95rem;
    line-height: 1.35;
}

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

.intro-band,
.page-hero {
    margin-top: 48px;
    padding: clamp(30px, 5vw, 54px);
    border-radius: 30px;
    color: #ffffff;
    background:
        radial-gradient(circle at top left, rgba(96, 165, 250, 0.45), transparent 35%),
        linear-gradient(135deg, #111827, #1e3a8a 56%, #5b21b6);
    box-shadow: 0 24px 62px rgba(15, 23, 42, 0.18);
}

.intro-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.intro-band h1,
.page-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 4vw, 3.7rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.intro-band p,
.page-hero p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.83);
}

.container + .container,
.container + .site-footer,
.category-section,
.split-section,
.related-section {
    margin-top: 58px;
}

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

.section-head h2 {
    margin: 0;
    color: #111827;
    font-size: clamp(1.55rem, 3vw, 2.4rem);
    letter-spacing: -0.03em;
}

.section-head p {
    margin: 6px 0 0;
    color: #6b7280;
}

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

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

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

.movie-card {
    overflow: hidden;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(229, 231, 235, 0.8);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border 0.22s ease;
}

.movie-card:hover {
    border-color: rgba(96, 165, 250, 0.55);
    transform: translateY(-5px);
    box-shadow: 0 28px 58px rgba(15, 23, 42, 0.15);
}

.poster {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4.2;
    overflow: hidden;
    background: #e5e7eb;
}

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

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

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.64));
}

.poster-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 9px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(17, 24, 39, 0.72);
    font-size: 0.8rem;
    font-weight: 900;
    backdrop-filter: blur(10px);
}

.poster-play {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: rgba(37, 99, 235, 0.88);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.26);
}

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

.movie-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    color: #6b7280;
    font-size: 0.8rem;
    font-weight: 800;
}

.movie-meta-row span + span::before {
    content: "·";
    margin-right: 6px;
    color: #cbd5e1;
}

.movie-card h2 {
    margin: 8px 0 8px;
    color: #111827;
    font-size: 1.06rem;
    line-height: 1.35;
}

.movie-card p {
    min-height: 44px;
    margin: 0 0 12px;
    color: #64748b;
    font-size: 0.92rem;
}

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

.category-card,
.category-overview-card {
    display: block;
    overflow: hidden;
    border-radius: 26px;
    background: #ffffff;
    border: 1px solid rgba(229, 231, 235, 0.85);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.category-card {
    padding: 18px;
}

.category-posters,
.category-cover-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

.category-cover-row {
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 0;
}

.category-posters img,
.category-cover-row img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 16px;
    background: #e5e7eb;
}

.category-card span,
.category-overview-card h2 {
    display: block;
    margin: 0 0 8px;
    color: #111827;
    font-size: 1.28rem;
    font-weight: 900;
}

.category-card p,
.category-overview-card p {
    margin: 0;
    color: #64748b;
}

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

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
}

.rank-panel,
.filter-panel,
.story-card,
.info-card,
.tag-card,
.player-card {
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid rgba(229, 231, 235, 0.86);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.rank-panel {
    padding: 22px;
    align-self: start;
    position: sticky;
    top: 96px;
}

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

.rank-item {
    display: grid;
    grid-template-columns: 42px 54px 1fr;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 18px;
    background: #f8fafc;
}

.rank-number {
    color: #2563eb;
    font-weight: 950;
}

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

.rank-item strong,
.rank-item em {
    display: block;
}

.rank-item strong {
    color: #111827;
    font-size: 0.92rem;
    line-height: 1.3;
}

.rank-item em {
    margin-top: 3px;
    color: #6b7280;
    font-size: 0.78rem;
    font-style: normal;
}

.page-hero {
    margin-top: 28px;
    min-height: 290px;
    display: flex;
    align-items: center;
}

.slim-hero,
.category-hero,
.latest-hero,
.rank-hero {
    background:
        radial-gradient(circle at 78% 12%, rgba(251, 191, 36, 0.24), transparent 34%),
        radial-gradient(circle at 10% 16%, rgba(59, 130, 246, 0.42), transparent 38%),
        linear-gradient(135deg, #111827, #1e40af 58%, #581c87);
}

.small-actions {
    margin-top: 22px;
}

.filter-panel {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 22px;
    align-items: end;
    margin-bottom: 26px;
    padding: 22px;
}

.filter-copy h2 {
    margin: 0 0 8px;
    font-size: 1.35rem;
}

.filter-copy p {
    margin: 0;
    color: #64748b;
}

.filter-form {
    display: grid;
    grid-template-columns: 1.5fr 160px 180px auto;
    gap: 12px;
    align-items: end;
}

.filter-form label {
    display: grid;
    gap: 6px;
    color: #475569;
    font-size: 0.86rem;
    font-weight: 800;
}

.filter-form input,
.filter-form select,
.filter-form button {
    min-height: 46px;
    padding: 10px 12px;
}

.filter-form button {
    padding-inline: 18px;
}

.movie-card.is-hidden,
.ranking-row.is-hidden {
    display: none;
}

.ranking-list {
    display: grid;
    gap: 14px;
}

.ranking-row {
    display: grid;
    grid-template-columns: 68px 86px 1fr 120px;
    align-items: center;
    gap: 18px;
    padding: 14px;
}

.ranking-index {
    color: #2563eb;
    font-size: 1.4rem;
    font-weight: 950;
    text-align: center;
}

.ranking-poster img {
    width: 86px;
    height: 112px;
    object-fit: cover;
    border-radius: 16px;
}

.ranking-info h2 {
    margin: 0 0 6px;
}

.ranking-info p {
    margin: 0 0 10px;
    color: #64748b;
}

.ranking-score {
    color: #ef4444;
    text-align: right;
}

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

.detail-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.94), rgba(15, 23, 42, 0.65) 50%, rgba(15, 23, 42, 0.32)),
        linear-gradient(0deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.15));
}

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

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: rgba(255, 255, 255, 0.76);
    font-weight: 700;
}

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

.detail-intro {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 38px;
    align-items: end;
    min-height: 470px;
}

.detail-poster {
    width: 260px;
    aspect-ratio: 3 / 4.25;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.34);
}

.detail-copy h1 {
    margin: 0 0 16px;
    max-width: 880px;
    font-size: clamp(2.4rem, 5vw, 5.2rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

.detail-copy p {
    max-width: 790px;
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.18rem;
}

.large-chips span {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.17);
    border: 1px solid rgba(255, 255, 255, 0.24);
}

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

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

.player-card {
    overflow: hidden;
}

.video-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #020617;
}

.video-wrap video {
    width: 100%;
    height: 100%;
    display: block;
    background: #020617;
    object-fit: contain;
}

.play-cover {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 0;
    color: #ffffff;
    background:
        radial-gradient(circle at center, rgba(37, 99, 235, 0.24), rgba(2, 6, 23, 0.38)),
        rgba(2, 6, 23, 0.18);
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.play-cover span {
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    padding-left: 5px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    box-shadow: 0 20px 38px rgba(37, 99, 235, 0.34);
    font-size: 2rem;
}

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

.player-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
}

.player-title-row h2 {
    margin: 0;
    font-size: 1.28rem;
}

.player-title-row span {
    color: #2563eb;
    font-weight: 900;
}

.story-card,
.info-card,
.tag-card {
    padding: 24px;
}

.story-card h2,
.info-card h2,
.tag-card h2 {
    margin: 0 0 12px;
    font-size: 1.28rem;
}

.story-card p {
    margin: 0 0 20px;
    color: #475569;
    font-size: 1rem;
}

.story-card p:last-child {
    margin-bottom: 0;
}

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

.info-card dt {
    color: #94a3b8;
    font-weight: 800;
}

.info-card dd {
    margin: 0;
    color: #1f2937;
    font-weight: 700;
}

.info-card a {
    color: #2563eb;
}

.detail-tags a:hover {
    color: #ffffff;
    background: #2563eb;
}

.related-section {
    margin-bottom: 70px;
}

.site-footer {
    margin-top: 72px;
    color: #cbd5e1;
    background: #0f172a;
}

.footer-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 48px 0 36px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 34px;
}

.footer-logo .brand-text,
.footer-links h2 {
    color: #ffffff;
}

.footer-brand p {
    max-width: 430px;
    margin: 14px 0 0;
    color: #94a3b8;
}

.footer-links {
    display: grid;
    gap: 9px;
    align-content: start;
}

.footer-links h2 {
    margin: 0 0 8px;
    font-size: 1rem;
}

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

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

.footer-bottom {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 28px;
    color: #94a3b8;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    font-size: 0.9rem;
}

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

    .hero,
    .split-section,
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .hero-side,
    .rank-panel {
        min-height: auto;
        position: static;
    }

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

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

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

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

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

    .mobile-toggle {
        display: block;
    }

    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
    }

    .hero-stage {
        min-height: 560px;
        border-radius: 26px;
    }

    .hero-slide {
        padding: 54px 24px 78px;
    }

    .hero-arrow {
        display: none;
    }

    .intro-band {
        display: block;
    }

    .intro-band .primary-btn {
        margin-top: 20px;
    }

    .category-grid,
    .overview-grid,
    .footer-inner {
        grid-template-columns: 1fr;
    }

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

    .detail-intro {
        grid-template-columns: 1fr;
        gap: 22px;
        align-items: start;
        min-height: auto;
        padding-top: 42px;
    }

    .detail-poster {
        width: 210px;
    }

    .ranking-row {
        grid-template-columns: 52px 72px 1fr;
    }

    .ranking-score {
        grid-column: 3;
        text-align: left;
    }
}

@media (max-width: 640px) {
    .container,
    .header-inner,
    .mobile-nav,
    .footer-inner,
    .footer-bottom,
    .hero {
        width: min(100% - 22px, 1180px);
    }

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

    .hero-stage {
        min-height: 510px;
    }

    .hero-content h1,
    .detail-copy h1 {
        font-size: 2.55rem;
    }

    .hero-side {
        padding: 14px;
        border-radius: 22px;
    }

    .hero-mini-list,
    .movie-grid,
    .compact-grid,
    .small-grid {
        grid-template-columns: 1fr;
    }

    .mini-card {
        grid-template-columns: 64px 1fr;
    }

    .mini-card img {
        width: 64px;
        height: 82px;
    }

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

    .page-hero,
    .intro-band {
        padding: 26px;
        border-radius: 24px;
    }

    .filter-panel,
    .story-card,
    .info-card,
    .tag-card {
        padding: 18px;
        border-radius: 22px;
    }

    .detail-hero {
        min-height: auto;
    }

    .detail-hero-inner {
        padding-bottom: 40px;
    }

    .player-title-row {
        display: block;
    }

    .ranking-row {
        grid-template-columns: 44px 66px 1fr;
        gap: 12px;
        padding: 10px;
    }

    .ranking-poster img {
        width: 66px;
        height: 88px;
        border-radius: 12px;
    }
}
