:root {
    --bg: #0a0a0c;
    --bg-soft: #111827;
    --text: #111827;
    --muted: #6b7280;
    --line: rgba(255, 255, 255, 0.12);
    --amber: #f59e0b;
    --amber-dark: #b45309;
    --card: rgba(255, 255, 255, 0.94);
    --shadow: 0 24px 70px rgba(15, 23, 42, 0.18);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: #f8fafc;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

body.is-menu-open {
    overflow: hidden;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
    color: #ffffff;
}

.site-header.is-scrolled,
.site-header.is-open {
    background: rgba(255, 255, 255, 0.96);
    color: #111827;
    box-shadow: 0 16px 50px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(18px);
}

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

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

.logo-mark {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #fbbf24, #d97706);
    box-shadow: 0 0 28px rgba(245, 158, 11, 0.42);
}

.logo-mark span {
    width: 0;
    height: 0;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-left: 15px solid white;
    transform: translateX(2px);
}

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

.logo-text strong {
    font-size: 22px;
    letter-spacing: 0.02em;
}

.logo-text em {
    margin-top: 4px;
    color: currentColor;
    opacity: 0.72;
    font-size: 12px;
    font-style: normal;
}

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

.nav-link,
.mobile-nav-link {
    border-radius: 999px;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.nav-link {
    padding: 10px 18px;
    font-weight: 650;
}

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

.site-header:not(.is-scrolled) .nav-link:hover,
.site-header:not(.is-scrolled) .nav-link.is-active {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: rgba(245, 158, 11, 0.16);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 99px;
    background: currentColor;
}

.mobile-nav {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 16px;
    padding: 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    color: #111827;
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.16);
}

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

.mobile-nav-link {
    padding: 13px 16px;
    font-weight: 700;
    background: #f8fafc;
}

.mobile-nav-link:hover,
.mobile-nav-link.is-active {
    color: #b45309;
    background: #fffbeb;
}

.hero-slider {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: #020617;
    color: #ffffff;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(251, 191, 36, 0.24), transparent 32%),
        radial-gradient(circle at 80% 30%, rgba(217, 119, 6, 0.18), transparent 34%),
        linear-gradient(135deg, rgba(2, 6, 23, 0.96), rgba(69, 26, 3, 0.82));
    z-index: 1;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.7s ease, transform 0.9s ease;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.55fr);
    align-items: center;
    gap: 56px;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding-top: 80px;
    z-index: 2;
    pointer-events: none;
}

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

.hero-slide-bg {
    position: absolute;
    inset: -16% -24%;
    background-size: cover;
    background-position: center;
    opacity: 0.12;
    filter: blur(28px) saturate(1.28);
    z-index: -1;
}

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

.eyebrow {
    margin: 0 0 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fbbf24;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 34px;
    height: 2px;
    border-radius: 20px;
    background: currentColor;
}

.hero-copy h1 {
    margin: 0;
    font-size: clamp(44px, 7vw, 88px);
    line-height: 0.95;
    letter-spacing: -0.05em;
    font-weight: 900;
}

.hero-description {
    margin: 24px 0 0;
    max-width: 720px;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.85;
}

.hero-tags,
.detail-side-meta,
.movie-meta-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

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

.hero-tags span,
.detail-side-meta span,
.movie-meta-line span,
.movie-meta-line a {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.hero-tags span {
    background: rgba(255, 255, 255, 0.13);
    color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
}

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

.primary-button,
.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 26px;
    border-radius: 999px;
    font-weight: 850;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.primary-button {
    color: #ffffff;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 18px 38px rgba(217, 119, 6, 0.32);
}

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

.ghost-button {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(14px);
}

.ghost-button.dark {
    color: #92400e;
    background: #fffbeb;
    border-color: #fde68a;
}

.hero-poster {
    position: relative;
    border-radius: 34px;
    overflow: hidden;
    min-height: 520px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.28), rgba(17, 24, 39, 0.94));
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
}

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

.hero-poster:hover img {
    transform: scale(1.05);
}

.hero-poster span {
    position: absolute;
    inset: auto 22px 22px auto;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.hero-poster span::before {
    content: "";
    position: absolute;
    left: 25px;
    top: 20px;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 18px solid #d97706;
}

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

.hero-dot {
    width: 11px;
    height: 11px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.36);
}

.hero-dot.is-active {
    width: 34px;
    border-radius: 999px;
    background: #f59e0b;
}

.scroll-cue {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 82px;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    transform: translateX(-50%);
    display: grid;
    place-items: start center;
    padding-top: 8px;
}

.scroll-cue span {
    width: 4px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
}

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

.wide-inner {
    width: min(1340px, calc(100% - 32px));
}

.narrow-inner {
    width: min(980px, calc(100% - 32px));
}

.metric-section {
    background: #ffffff;
    padding: 46px 0;
}

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

.metric-grid article {
    padding: 28px;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff, #fff7ed);
    box-shadow: var(--shadow);
}

.metric-grid strong {
    display: block;
    color: #111827;
    font-size: 26px;
    letter-spacing: -0.03em;
}

.metric-grid span {
    display: block;
    margin-top: 8px;
    color: #6b7280;
}

.content-section {
    padding: 78px 0;
    background: #ffffff;
}

.soft-bg {
    background:
        radial-gradient(circle at 12% 0%, rgba(245, 158, 11, 0.13), transparent 34%),
        #f8fafc;
}

.dark-section {
    background: linear-gradient(135deg, #111827, #020617);
    color: #ffffff;
}

.section-title {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 16px;
    margin-bottom: 32px;
}

.section-title p {
    grid-column: 1 / -1;
    margin: 0 0 -4px;
    color: #d97706;
    font-weight: 850;
    letter-spacing: 0.16em;
}

.section-title h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.05;
    letter-spacing: -0.04em;
    font-weight: 900;
}

.section-title a {
    color: #b45309;
    font-weight: 800;
}

.section-title.light p,
.section-title.light a {
    color: #fbbf24;
}

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

.listing-grid {
    align-items: stretch;
}

.movie-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--card);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.18);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.2);
    border-color: rgba(245, 158, 11, 0.32);
}

.movie-card[hidden] {
    display: none;
}

.poster-link {
    display: block;
}

.poster-frame {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    background: linear-gradient(135deg, #111827, #92400e);
    overflow: hidden;
}

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

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

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.52), transparent 56%);
}

.poster-play {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}

.poster-play::before {
    content: "";
    position: absolute;
    left: 17px;
    top: 12px;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-left: 14px solid #d97706;
}

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

.movie-meta-line {
    color: #6b7280;
}

.movie-meta-line span,
.movie-meta-line a {
    background: #f3f4f6;
    color: #4b5563;
}

.movie-card h3 {
    margin: 14px 0 8px;
    font-size: 20px;
    line-height: 1.28;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.movie-card h3 a:hover {
    color: #d97706;
}

.movie-card p {
    margin: 0;
    color: #64748b;
    line-height: 1.72;
    font-size: 14px;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 16px;
}

.tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 9px;
    border-radius: 999px;
    background: #fffbeb;
    color: #92400e;
    font-size: 12px;
    font-weight: 750;
}

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

.category-card,
.category-overview-card {
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(245, 158, 11, 0.88), rgba(120, 53, 15, 0.95)),
        #111827;
    color: #ffffff;
    box-shadow: 0 22px 56px rgba(120, 53, 15, 0.22);
    overflow: hidden;
}

.category-card {
    min-height: 214px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform 0.26s ease, box-shadow 0.26s ease;
}

.category-card:hover,
.category-overview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 28px 72px rgba(120, 53, 15, 0.32);
}

.category-card span,
.category-main-link span {
    display: block;
    margin-bottom: 12px;
    font-size: 26px;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.category-card strong,
.category-main-link strong {
    display: block;
    font-size: 15px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 550;
}

.category-overview-card {
    min-height: 286px;
    display: flex;
    flex-direction: column;
}

.category-main-link {
    padding: 28px;
    flex: 1;
}

.category-samples {
    display: grid;
    gap: 1px;
    background: rgba(255, 255, 255, 0.16);
}

.category-samples a {
    padding: 12px 18px;
    background: rgba(2, 6, 23, 0.2);
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
}

.category-samples a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
}

.two-column {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.7fr);
    gap: 44px;
}

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

.rank-card {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
}

.rank-card:hover {
    background: rgba(255, 255, 255, 0.14);
}

.rank-number {
    color: #fbbf24;
    font-size: 22px;
    font-weight: 950;
}

.rank-title {
    font-weight: 850;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-meta {
    color: rgba(255, 255, 255, 0.58);
    font-size: 13px;
}

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

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

.movie-card-compact h3 {
    font-size: 16px;
}

.movie-card-compact p,
.movie-card-compact .tag-row {
    display: none;
}

.page-hero {
    position: relative;
    padding: 152px 0 78px;
    color: #ffffff;
    background:
        radial-gradient(circle at 18% 18%, rgba(251, 191, 36, 0.28), transparent 30%),
        linear-gradient(135deg, #111827, #451a03);
    overflow: hidden;
}

.page-hero-inner {
    width: min(980px, calc(100% - 32px));
    margin: 0 auto;
}

.page-hero h1 {
    margin: 0;
    font-size: clamp(42px, 7vw, 74px);
    line-height: 1.02;
    letter-spacing: -0.05em;
    font-weight: 950;
}

.page-hero p:not(.eyebrow) {
    max-width: 780px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.85;
    font-size: 18px;
}

.filter-panel {
    position: sticky;
    top: 90px;
    z-index: 15;
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto;
    gap: 14px;
    margin-bottom: 30px;
    padding: 16px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 22px 56px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(18px);
}

.search-box {
    position: relative;
}

.search-box span {
    position: absolute;
    left: 17px;
    top: 50%;
    width: 15px;
    height: 15px;
    border: 2px solid #9ca3af;
    border-radius: 50%;
    transform: translateY(-50%);
}

.search-box span::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 2px;
    right: -6px;
    bottom: -4px;
    border-radius: 4px;
    background: #9ca3af;
    transform: rotate(45deg);
}

.search-box input,
.filter-select {
    width: 100%;
    height: 48px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #ffffff;
    color: #111827;
    outline: none;
}

.search-box input {
    padding: 0 18px 0 46px;
}

.filter-select {
    min-width: 156px;
    padding: 0 14px;
}

.search-box input:focus,
.filter-select:focus {
    border-color: #f59e0b;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.13);
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

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

.ranking-row {
    display: grid;
    grid-template-columns: 70px 126px 1fr;
    gap: 20px;
    align-items: center;
    padding: 18px;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.16);
}

.ranking-number {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: #fffbeb;
    color: #d97706;
    font-size: 22px;
    font-weight: 950;
}

.ranking-poster {
    aspect-ratio: 2 / 3;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(135deg, #111827, #92400e);
}

.ranking-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ranking-content h2 {
    margin: 12px 0 8px;
    font-size: 25px;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.ranking-content p {
    margin: 0;
    color: #64748b;
    line-height: 1.75;
}

.detail-main {
    background: #f8fafc;
}

.detail-hero {
    position: relative;
    padding: 118px 0 58px;
    overflow: hidden;
    color: #ffffff;
    background: #020617;
}

.detail-bg {
    position: absolute;
    inset: -18%;
    background-size: cover;
    background-position: center;
    opacity: 0.18;
    filter: blur(34px) saturate(1.28);
}

.detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(2, 6, 23, 0.92), rgba(69, 26, 3, 0.82));
}

.detail-inner {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
}

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

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

.detail-player-card,
.detail-side-card,
.detail-content-card,
.related-panel {
    border-radius: 28px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 26px 70px rgba(2, 6, 23, 0.28);
}

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

.player-shell video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000000;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 0;
    color: #ffffff;
    background:
        radial-gradient(circle, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.52)),
        rgba(0, 0, 0, 0.06);
}

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

.large-play {
    position: relative;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.34);
}

.large-play::before {
    content: "";
    position: absolute;
    left: 36px;
    top: 27px;
    border-top: 16px solid transparent;
    border-bottom: 16px solid transparent;
    border-left: 25px solid #d97706;
}

.detail-side-card {
    padding: 18px;
}

.detail-poster {
    aspect-ratio: 2 / 3;
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(135deg, #111827, #92400e);
}

.detail-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-side-meta {
    margin-top: 16px;
}

.detail-side-meta span {
    background: #f3f4f6;
    color: #4b5563;
}

.detail-content-section {
    padding: 62px 0 82px;
}

.detail-content-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: start;
}

.detail-content-card,
.related-panel {
    padding: 32px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
}

.detail-line {
    margin-bottom: 18px;
}

.detail-content-card h1 {
    margin: 0;
    color: #111827;
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.05em;
    font-weight: 950;
}

.lead-text {
    margin: 20px 0 0;
    color: #92400e;
    font-size: 20px;
    line-height: 1.78;
    font-weight: 700;
}

.detail-tags {
    margin: 12px 0 28px;
    padding-top: 0;
}

.detail-content-card h2,
.related-panel h2 {
    margin: 28px 0 14px;
    color: #111827;
    font-size: 26px;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.related-panel h2 {
    margin-top: 0;
}

.detail-content-card p {
    margin: 0;
    color: #475569;
    font-size: 16px;
    line-height: 1.95;
}

.related-grid {
    grid-template-columns: 1fr;
}

.site-footer {
    color: #e5e7eb;
    background: #020617;
    padding: 52px 0 24px;
}

.footer-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
    gap: 32px;
    align-items: start;
}

.footer-logo {
    display: inline-flex;
    color: #ffffff;
    font-size: 28px;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.footer-brand p {
    max-width: 620px;
    margin: 14px 0 0;
    color: #94a3b8;
    line-height: 1.8;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
}

.footer-links a {
    padding: 9px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    font-size: 14px;
}

.footer-links a:hover {
    color: #ffffff;
    background: rgba(245, 158, 11, 0.26);
}

.footer-bottom {
    width: min(1180px, calc(100% - 32px));
    margin: 32px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #64748b;
    font-size: 14px;
}

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

    .hero-slide,
    .detail-layout,
    .detail-content-inner,
    .two-column {
        grid-template-columns: 1fr;
    }

    .hero-poster,
    .detail-side-card {
        display: none;
    }
}

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

    .menu-toggle {
        display: flex;
    }

    .hero-slide {
        align-content: center;
        padding-top: 96px;
    }

    .hero-copy h1 {
        font-size: clamp(40px, 14vw, 64px);
    }

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

    .section-title,
    .filter-panel,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .filter-group,
    .footer-links {
        justify-content: flex-start;
    }

    .ranking-row {
        grid-template-columns: 54px 92px 1fr;
        gap: 14px;
    }

    .ranking-number {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }
}

@media (max-width: 560px) {
    .header-inner {
        height: 68px;
    }

    .logo-text strong {
        font-size: 19px;
    }

    .hero-tags span:nth-child(n + 4) {
        display: none;
    }

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

    .primary-button,
    .ghost-button {
        width: 100%;
    }

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

    .content-section {
        padding: 56px 0;
    }

    .page-hero {
        padding-top: 122px;
    }

    .filter-panel {
        position: static;
    }

    .filter-group {
        display: grid;
    }

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

    .ranking-poster {
        width: 148px;
    }

    .detail-hero {
        padding-top: 98px;
    }

    .detail-content-card,
    .related-panel {
        padding: 22px;
    }
}
