@charset "UTF-8";

:root {
    color-scheme: dark;
    --bg: #020617;
    --bg-soft: #0f172a;
    --panel: rgba(15, 23, 42, 0.82);
    --panel-strong: rgba(15, 23, 42, 0.96);
    --line: rgba(148, 163, 184, 0.18);
    --text: #f8fafc;
    --muted: #94a3b8;
    --muted-2: #64748b;
    --amber: #f59e0b;
    --amber-soft: #fde68a;
    --orange: #f97316;
    --red: #ef4444;
    --radius: 22px;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
    --container: 1220px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    background:
        radial-gradient(circle at 10% 5%, rgba(245, 158, 11, 0.18), transparent 32rem),
        radial-gradient(circle at 90% 0%, rgba(239, 68, 68, 0.12), transparent 30rem),
        linear-gradient(180deg, #0f172a 0%, #020617 46%, #020617 100%);
    color: var(--text);
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.94), rgba(30, 41, 59, 0.9));
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(18px);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 14px;
    color: #1f1300;
    font-weight: 900;
    background: linear-gradient(135deg, #fcd34d, #f59e0b 55%, #f97316);
    box-shadow: 0 0 32px rgba(245, 158, 11, 0.38);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-text strong {
    font-size: 22px;
    letter-spacing: 0.03em;
    background: linear-gradient(90deg, #fde68a, #f59e0b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-text small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
}

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

.nav-link,
.mobile-link {
    padding: 10px 16px;
    border-radius: 999px;
    color: #cbd5e1;
    font-size: 15px;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
    color: #fff7ed;
    background: rgba(245, 158, 11, 0.18);
}

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

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    border-radius: 999px;
    background: #f8fafc;
}

.mobile-nav {
    display: none;
    width: min(100% - 32px, var(--container));
    margin: 0 auto 14px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background: rgba(2, 6, 23, 0.82);
}

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

.hero-carousel {
    position: relative;
    min-height: 760px;
    overflow: hidden;
    padding-top: 76px;
    background: #020617;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.02);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.42;
    filter: saturate(1.08) contrast(1.05);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.94) 0%, rgba(2, 6, 23, 0.7) 42%, rgba(2, 6, 23, 0.3) 100%),
        linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.16) 48%, rgba(2, 6, 23, 0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
    padding: 86px 0 220px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: center;
    gap: 56px;
}

.hero-copy {
    max-width: 760px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--amber-soft);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--amber), transparent);
}

.hero-copy h1 {
    margin: 0;
    font-size: clamp(42px, 7vw, 82px);
    line-height: 0.98;
    letter-spacing: -0.06em;
    text-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.hero-desc {
    max-width: 680px;
    margin: 24px 0 0;
    color: #dbeafe;
    font-size: 18px;
    line-height: 1.9;
}

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

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

.hero-tags span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 10px;
    border-radius: 999px;
    color: #fed7aa;
    background: rgba(245, 158, 11, 0.14);
    border: 1px solid rgba(251, 191, 36, 0.22);
    font-size: 12px;
}

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

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

.primary-btn {
    color: #1f1300;
    background: linear-gradient(135deg, #fde68a, #f59e0b 60%, #f97316);
    box-shadow: 0 16px 40px rgba(245, 158, 11, 0.34);
}

.ghost-btn,
.section-more {
    color: #f8fafc;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
}

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

.hero-poster {
    position: relative;
    display: block;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.16);
    transform: rotate(2deg);
}

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

.hero-poster span {
    position: absolute;
    left: 22px;
    bottom: 22px;
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #1f1300;
    font-weight: 900;
    background: #fbbf24;
    box-shadow: 0 0 0 10px rgba(251, 191, 36, 0.2);
}

.hero-controls {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 160px;
    transform: translateX(-50%);
    width: min(100% - 32px, var(--container));
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
}

.hero-arrow {
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    color: #fff;
    background: rgba(15, 23, 42, 0.72);
    font-size: 30px;
    line-height: 1;
}

.hero-dots {
    display: flex;
    align-items: center;
    gap: 9px;
}

.hero-dot {
    width: 36px;
    height: 5px;
    border: 0;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.45);
    transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
    width: 56px;
    background: #fbbf24;
}

.hero-search-panel {
    position: absolute;
    z-index: 6;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    width: min(100% - 32px, var(--container));
    display: grid;
    grid-template-columns: minmax(320px, 460px) minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
}

.hero-search,
.hero-category-links,
.filter-panel,
.category-overview-card,
.ranking-panel,
.feature-panel,
.detail-content section,
.player-box {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(15, 23, 42, 0.78);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(18px);
}

.hero-search {
    padding: 18px;
    border-radius: 24px;
}

.hero-search label,
.filter-search label,
.filter-selects span {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 13px;
}

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

.hero-search input,
.filter-search input,
.filter-selects select {
    width: 100%;
    min-height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    color: #f8fafc;
    background: rgba(2, 6, 23, 0.68);
    outline: none;
    padding: 0 14px;
}

.hero-search input:focus,
.filter-search input:focus,
.filter-selects select:focus {
    border-color: rgba(245, 158, 11, 0.7);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
}

.hero-search button {
    min-width: 96px;
    border: 0;
    border-radius: 16px;
    color: #1f1300;
    font-weight: 900;
    background: linear-gradient(135deg, #fde68a, #f59e0b);
}

.hero-category-links {
    padding: 18px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
}

.hero-category-links a {
    flex: 0 0 auto;
    padding: 10px 14px;
    border-radius: 999px;
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.08);
}

.hero-category-links a:hover {
    background: rgba(245, 158, 11, 0.2);
}

.hero-strip {
    position: absolute;
    z-index: 4;
    right: max(16px, calc((100vw - var(--container)) / 2));
    bottom: 142px;
    display: flex;
    gap: 12px;
}

.hero-mini {
    width: 120px;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-mini img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.hero-mini span {
    display: block;
    padding: 9px;
    color: #e2e8f0;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

.home-shell {
    padding: 70px 0 96px;
}

.inner-page {
    padding: 118px 0 96px;
}

.content-section {
    margin-top: 72px;
}

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

.section-head.compact {
    margin-bottom: 20px;
}

.section-head h2,
.page-hero h1,
.detail-copy h1,
.detail-content h2 {
    margin: 0;
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.section-head h2 {
    font-size: clamp(26px, 3vw, 40px);
}

.section-head p,
.page-hero p,
.feature-panel p,
.category-overview-head p {
    max-width: 760px;
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.8;
}

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

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

.movie-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 16px 60px rgba(0, 0, 0, 0.22);
    transition: transform 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease;
}

.movie-card:hover {
    transform: translateY(-7px);
    border-color: rgba(245, 158, 11, 0.42);
    box-shadow: 0 24px 90px rgba(0, 0, 0, 0.32);
}

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

.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 img {
    transform: scale(1.08);
}

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0) 25%, rgba(2, 6, 23, 0.86) 100%);
}

.card-score,
.card-year {
    position: absolute;
    top: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.card-score {
    left: 12px;
    color: #1f1300;
    background: #fbbf24;
}

.card-year {
    right: 12px;
    color: #e2e8f0;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

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

.card-body strong {
    color: #f8fafc;
    font-size: 18px;
    line-height: 1.32;
}

.card-meta,
.card-desc {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

.card-meta {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tag-row {
    margin-top: 2px;
}

.tag-row span {
    color: #fcd34d;
    font-size: 11px;
}

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

.category-tile {
    position: relative;
    min-height: 248px;
    overflow: hidden;
    border-radius: 26px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(15, 23, 42, 0.8);
}

.category-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    transition: transform 0.5s ease;
}

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

.category-glow {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(2, 6, 23, 0.08), rgba(2, 6, 23, 0.92)),
        radial-gradient(circle at 20% 20%, rgba(245, 158, 11, 0.24), transparent 50%);
}

.category-tile strong,
.category-tile em,
.category-sample {
    position: relative;
    z-index: 2;
}

.category-tile strong {
    font-size: 24px;
}

.category-tile em {
    margin-top: 8px;
    color: #cbd5e1;
    font-size: 13px;
    font-style: normal;
    line-height: 1.7;
}

.category-sample {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
}

.category-sample span {
    max-width: 100%;
    padding: 5px 8px;
    border-radius: 999px;
    color: #fde68a;
    background: rgba(245, 158, 11, 0.12);
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 24px;
    margin-top: 72px;
}

.ranking-panel,
.feature-panel {
    border-radius: 28px;
    padding: 26px;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 42px 76px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    min-height: 88px;
    padding: 10px;
    border-radius: 20px;
    background: rgba(2, 6, 23, 0.46);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.rank-row:hover {
    transform: translateX(4px);
    border-color: rgba(245, 158, 11, 0.36);
    background: rgba(245, 158, 11, 0.09);
}

.rank-number {
    color: #fbbf24;
    font-size: 20px;
    font-weight: 900;
}

.rank-row img {
    width: 76px;
    height: 58px;
    object-fit: cover;
    border-radius: 14px;
}

.rank-info {
    min-width: 0;
    display: grid;
    gap: 5px;
}

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

.rank-info em {
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rank-score {
    min-width: 46px;
    padding: 6px 9px;
    border-radius: 999px;
    text-align: center;
    color: #1f1300;
    font-weight: 900;
    background: #fbbf24;
}

.feature-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
    background:
        radial-gradient(circle at 10% 10%, rgba(251, 191, 36, 0.22), transparent 36%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.86));
}

.feature-panel h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

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

.breadcrumb a:hover {
    color: var(--amber-soft);
}

.page-hero {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    padding: clamp(32px, 6vw, 64px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        radial-gradient(circle at 12% 20%, rgba(245, 158, 11, 0.18), transparent 32%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.72));
    box-shadow: var(--shadow);
}

.page-hero h1 {
    font-size: clamp(34px, 5vw, 64px);
}

.filter-panel {
    margin-top: 28px;
    padding: 18px;
    border-radius: 26px;
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(0, 1.4fr);
    gap: 16px;
}

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

.empty-result {
    grid-column: 1 / -1;
    margin: 8px 0 0;
    padding: 14px 16px;
    border-radius: 16px;
    color: #fed7aa;
    background: rgba(245, 158, 11, 0.12);
}

.category-overview-list {
    display: grid;
    gap: 28px;
    margin-top: 34px;
}

.category-overview-card {
    border-radius: 30px;
    padding: 24px;
}

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

.detail-page {
    padding-top: 118px;
    padding-bottom: 96px;
}

.detail-hero {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 34px;
    align-items: stretch;
    padding: 24px;
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        radial-gradient(circle at 15% 15%, rgba(245, 158, 11, 0.16), transparent 35%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.66));
    box-shadow: var(--shadow);
}

.detail-cover {
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

.detail-cover img {
    width: 100%;
    height: 100%;
    min-height: 460px;
    object-fit: cover;
}

.detail-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 12px 8px;
}

.detail-copy h1 {
    font-size: clamp(32px, 5vw, 62px);
}

.detail-one-line {
    margin: 18px 0 0;
    color: #dbeafe;
    font-size: 18px;
    line-height: 1.85;
}

.detail-meta {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin: 24px 0 0;
}

.detail-meta div {
    min-width: 0;
    padding: 12px;
    border-radius: 16px;
    background: rgba(2, 6, 23, 0.44);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.detail-meta dt {
    color: var(--muted);
    font-size: 12px;
}

.detail-meta dd {
    margin: 6px 0 0;
    color: #f8fafc;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-section {
    margin-top: 34px;
}

.player-box {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: #000;
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    gap: 14px;
    justify-items: center;
    border: 0;
    color: #fff;
    background:
        radial-gradient(circle, rgba(245, 158, 11, 0.2), transparent 32%),
        linear-gradient(180deg, rgba(2, 6, 23, 0.18), rgba(2, 6, 23, 0.72));
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-icon {
    width: 88px;
    height: 88px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #1f1300;
    font-size: 32px;
    background: linear-gradient(135deg, #fde68a, #f59e0b);
    box-shadow: 0 0 0 16px rgba(245, 158, 11, 0.16);
}

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

.detail-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 34px;
}

.detail-content section {
    border-radius: 28px;
    padding: 28px;
}

.detail-content h2 {
    font-size: clamp(24px, 3vw, 34px);
}

.detail-content p {
    margin: 16px 0 0;
    color: #cbd5e1;
    line-height: 2;
}

.related-section {
    margin-top: 58px;
}

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

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.68), rgba(2, 6, 23, 0.98));
}

.footer-inner {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
    padding: 50px 0;
    display: grid;
    grid-template-columns: minmax(280px, 1fr) 240px 240px;
    gap: 34px;
}

.footer-brand p {
    max-width: 560px;
    color: var(--muted);
    line-height: 1.85;
}

.site-footer h2 {
    margin: 0 0 16px;
    font-size: 18px;
}

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

.footer-links a {
    color: var(--muted);
}

.footer-links a:hover {
    color: var(--amber-soft);
}

.footer-bottom {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
    padding: 18px 0 30px;
    color: var(--muted-2);
    font-size: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

[hidden] {
    display: none !important;
}

@media (max-width: 1060px) {
    .hero-content,
    .detail-hero,
    .split-section,
    .detail-content,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .hero-content {
        padding-bottom: 250px;
    }

    .hero-poster {
        display: none;
    }

    .hero-strip {
        display: none;
    }

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

    .detail-cover img {
        min-height: 0;
        max-height: 560px;
    }

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

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

    .menu-toggle {
        display: block;
    }

    .header-inner {
        height: 68px;
    }

    .hero-carousel {
        min-height: 820px;
        padding-top: 68px;
    }

    .hero-content {
        padding-top: 56px;
        padding-bottom: 320px;
    }

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

    .hero-search div,
    .section-head,
    .category-overview-head {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-controls {
        bottom: 228px;
    }

    .movie-grid,
    .compact-grid,
    .category-grid,
    .wide-rank-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

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

    .rank-row {
        grid-template-columns: 34px 64px minmax(0, 1fr);
    }

    .rank-score {
        display: none;
    }

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

    .detail-hero {
        padding: 16px;
    }
}

@media (max-width: 520px) {
    .brand-text small {
        display: none;
    }

    .hero-copy h1 {
        font-size: 38px;
    }

    .movie-grid,
    .compact-grid,
    .category-grid,
    .wide-rank-list {
        grid-template-columns: 1fr;
    }

    .hero-search-panel {
        bottom: 18px;
    }

    .hero-controls {
        bottom: 260px;
    }

    .page-shell {
        width: min(100% - 24px, var(--container));
    }

    .inner-page,
    .detail-page {
        padding-top: 96px;
    }

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