:root {
    --color-bg: #f7f7f8;
    --color-surface: #ffffff;
    --color-surface-muted: #f3f4f6;
    --color-text: #111827;
    --color-muted: #6b7280;
    --color-border: #e5e7eb;
    --color-amber: #f59e0b;
    --color-amber-dark: #d97706;
    --color-slate: #0f172a;
    --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 18px 45px rgba(15, 23, 42, 0.13);
    --shadow-lg: 0 30px 80px rgba(15, 23, 42, 0.2);
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 26px;
    --container: 1180px;
}

* {
    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: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

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

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    color: #ffffff;
    transition: background 0.28s ease, box-shadow 0.28s ease, backdrop-filter 0.28s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px);
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
}

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

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

.brand-mark {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-amber), #f97316);
    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.35);
    font-size: 15px;
}

.brand-text {
    font-size: 20px;
}

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

.nav-link {
    padding: 10px 13px;
    border-radius: 999px;
    color: currentColor;
    opacity: 0.88;
    transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    opacity: 1;
    color: #ffffff;
    background: var(--color-amber);
}

.header-search {
    display: flex;
    align-items: center;
    width: 270px;
    height: 42px;
    padding: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.site-header.is-scrolled .header-search,
.site-header.is-open .header-search {
    background: #f3f4f6;
    border-color: var(--color-border);
}

.header-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 0 10px;
    color: inherit;
}

.header-search input::placeholder {
    color: currentColor;
    opacity: 0.58;
}

.header-search button {
    border: 0;
    border-radius: 999px;
    padding: 8px 14px;
    color: #ffffff;
    background: var(--color-amber);
}

.mobile-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.16);
}

.mobile-menu-button span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: currentColor;
    border-radius: 999px;
}

.mobile-panel {
    display: none;
    width: min(100% - 32px, var(--container));
    margin: 0 auto 16px;
    padding: 14px;
    border-radius: var(--radius-md);
    background: #ffffff;
    color: var(--color-text);
    box-shadow: var(--shadow-md);
}

.mobile-panel a,
.mobile-panel input,
.mobile-panel button {
    display: block;
    width: 100%;
    margin: 7px 0;
}

.mobile-panel a {
    padding: 10px 12px;
    border-radius: 12px;
    background: #f8fafc;
}

.mobile-panel form {
    display: flex;
    gap: 8px;
}

.mobile-panel input {
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 10px 12px;
}

.mobile-panel button {
    border: 0;
    border-radius: 12px;
    padding: 10px 12px;
    color: #ffffff;
    background: var(--color-amber);
}

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

.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    color: #ffffff;
    background: radial-gradient(circle at 20% 20%, rgba(245, 158, 11, 0.22), transparent 28%), #111827;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.22;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
    background-size: 34px 34px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.75) 42%, rgba(15, 23, 42, 0.32) 100%);
}

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

.hero-slide {
    opacity: 0;
    transition: opacity 0.8s ease;
}

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

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.1) contrast(1.05);
    transform: scale(1.04);
}

img.is-missing {
    opacity: 0;
}

.hero-copy {
    position: relative;
    z-index: 3;
    width: min(100% - 32px, var(--container));
    min-height: 100vh;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 120px 0 190px;
}

.section-kicker {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-amber);
}

.hero h1 {
    max-width: 820px;
    margin: 0 0 12px;
    font-size: clamp(42px, 7vw, 78px);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.hero h2 {
    margin: 0 0 18px;
    font-size: clamp(26px, 4vw, 48px);
    line-height: 1.1;
}

.hero-copy p:not(.section-kicker) {
    max-width: 680px;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 18px;
}

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

.hero-tags span,
.tag-row span,
.detail-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.hero-tags span {
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

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

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

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-amber), #f97316);
    box-shadow: 0 16px 35px rgba(245, 158, 11, 0.35);
}

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

.btn-outline {
    border: 1px solid var(--color-border);
    background: #ffffff;
}

.full-width {
    width: 100%;
}

.hero-panel {
    position: absolute;
    z-index: 4;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 0 0 34px;
}

.hero-panel__inner {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 18px;
    align-items: stretch;
}

.hero-search-card,
.hero-tab {
    border: 1px solid rgba(255, 255, 255, 0.17);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
}

.hero-search-card {
    padding: 20px;
    border-radius: var(--radius-lg);
}

.hero-search-card span {
    display: block;
    color: rgba(255, 255, 255, 0.72);
}

.hero-search-card strong {
    display: block;
    margin: 4px 0 14px;
    font-size: 32px;
}

.hero-search-card form {
    display: flex;
    gap: 8px;
}

.hero-search-card input {
    width: 100%;
    min-width: 0;
    border: 0;
    border-radius: 16px;
    padding: 12px 13px;
    outline: 0;
}

.hero-search-card button {
    border: 0;
    border-radius: 16px;
    padding: 12px 14px;
    color: #ffffff;
    background: var(--color-amber);
}

.hero-tabs {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

.hero-tab {
    display: grid;
    grid-template-rows: 96px auto;
    gap: 8px;
    border-radius: 20px;
    color: #ffffff;
    text-align: left;
    padding: 8px;
    opacity: 0.72;
    transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.hero-tab.is-active,
.hero-tab:hover {
    opacity: 1;
    transform: translateY(-3px);
    border-color: rgba(245, 158, 11, 0.78);
}

.hero-tab img {
    width: 100%;
    height: 96px;
    object-fit: cover;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.4), rgba(15, 23, 42, 0.8));
}

.hero-tab span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13px;
    font-weight: 700;
}

.stats-strip {
    background: #ffffff;
    border-bottom: 1px solid var(--color-border);
}

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

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

.stats-grid strong {
    display: block;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1;
    color: var(--color-text);
}

.stats-grid span {
    display: block;
    margin-top: 8px;
    color: var(--color-muted);
}

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

.surface-muted {
    background: var(--color-surface-muted);
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.section-heading.compact {
    display: block;
    margin-bottom: 20px;
}

.section-heading h2,
.section-heading h1 {
    margin: 0;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.section-heading a,
.text-link {
    color: var(--color-amber-dark);
    font-weight: 800;
}

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

.collection-card {
    position: relative;
    min-height: 190px;
    padding: 22px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.collection-card::before,
.category-overview-card::before,
.page-hero::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -80px;
    bottom: -80px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
}

.collection-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.collection-card h3 {
    position: relative;
    margin: 36px 0 10px;
    font-size: 24px;
}

.collection-card p {
    position: relative;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
}

.collection-count {
    position: relative;
    display: inline-flex;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    font-size: 13px;
    font-weight: 800;
}

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

.from-red.to-amber,
.from-red {
    background: linear-gradient(135deg, #ef4444, #f59e0b);
}

.from-slate.to-amber,
.from-slate {
    background: linear-gradient(135deg, #0f172a, #f59e0b);
}

.from-blue.to-cyan,
.from-blue {
    background: linear-gradient(135deg, #2563eb, #06b6d4);
}

.from-purple.to-slate,
.from-purple {
    background: linear-gradient(135deg, #7c3aed, #111827);
}

.from-orange.to-red,
.from-orange {
    background: linear-gradient(135deg, #f97316, #dc2626);
}

.from-pink.to-amber,
.from-pink {
    background: linear-gradient(135deg, #ec4899, #f59e0b);
}

.from-green.to-amber,
.from-green {
    background: linear-gradient(135deg, #10b981, #f59e0b);
}

.from-cyan.to-purple,
.from-cyan {
    background: linear-gradient(135deg, #06b6d4, #7c3aed);
}

.from-indigo.to-blue,
.from-indigo {
    background: linear-gradient(135deg, #4f46e5, #2563eb);
}

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

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

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

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

.movie-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.poster-frame {
    position: relative;
    aspect-ratio: 3 / 4;
    margin: 0;
    overflow: hidden;
    background: radial-gradient(circle at 30% 20%, rgba(245, 158, 11, 0.42), transparent 35%), #111827;
}

.poster-frame img,
.side-poster-card img,
.podium-card img,
.rank-item img,
.category-cover-row img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.poster-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 58%);
}

.poster-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    padding: 5px 9px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(245, 158, 11, 0.92);
    font-size: 12px;
    font-weight: 800;
}

.poster-play {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin: auto;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(245, 158, 11, 0.9);
    opacity: 0;
    transform: scale(0.78);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.movie-card:hover .poster-play {
    opacity: 1;
    transform: scale(1);
}

.movie-card__body {
    padding: 15px;
}

.movie-card__meta {
    margin: 0 0 6px;
    color: var(--color-amber-dark);
    font-size: 12px;
    font-weight: 800;
}

.movie-card h3 {
    display: -webkit-box;
    min-height: 46px;
    margin: 0 0 8px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 18px;
    line-height: 1.28;
}

.movie-card__text {
    display: -webkit-box;
    min-height: 45px;
    margin: 0 0 12px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: var(--color-muted);
    font-size: 14px;
}

.tag-row span {
    color: #475569;
    background: #f1f5f9;
}

.ranking-card,
.ranking-page-card,
.toolbar-card,
.detail-card,
.side-poster-card,
.side-related-card {
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.ranking-card {
    position: sticky;
    top: 96px;
    padding: 24px;
}

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

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

.rank-item {
    display: grid;
    grid-template-columns: 38px 58px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 18px;
    background: #f8fafc;
    transition: transform 0.2s ease, background 0.2s ease;
}

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

.rank-number {
    color: var(--color-amber-dark);
    font-weight: 900;
}

.rank-item img {
    width: 58px;
    height: 78px;
    border-radius: 12px;
    background: #111827;
}

.rank-copy {
    min-width: 0;
}

.rank-copy strong,
.rank-copy em {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rank-copy em {
    color: var(--color-muted);
    font-size: 13px;
    font-style: normal;
}

.rank-score {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    color: #ffffff;
    background: var(--color-amber);
    font-weight: 900;
}

.page-main {
    padding-top: 76px;
}

.page-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(135deg, #111827, #92400e);
}

.mini-hero .container {
    position: relative;
    z-index: 1;
    padding: 72px 0 58px;
}

.mini-hero h1 {
    max-width: 880px;
    margin: 0 0 14px;
    font-size: clamp(38px, 6vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.mini-hero p:not(.section-kicker) {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 18px;
}

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

.category-overview-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 20px;
    min-height: 250px;
    padding: 20px;
    border-radius: var(--radius-lg);
    color: #ffffff;
    box-shadow: var(--shadow-sm);
}

.category-cover-row {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.category-cover-row img {
    height: 96px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.7);
}

.category-overview-card__body {
    position: relative;
    z-index: 1;
}

.category-overview-card__body span {
    display: inline-flex;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    font-weight: 800;
    font-size: 13px;
}

.category-overview-card__body h2 {
    margin: 18px 0 8px;
    font-size: 30px;
}

.category-overview-card__body p {
    color: rgba(255, 255, 255, 0.78);
}

.category-overview-card__body .text-link {
    color: #ffffff;
}

.toolbar-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
    padding: 18px;
}

.toolbar-card strong,
.toolbar-card span {
    display: block;
}

.toolbar-card span {
    color: var(--color-muted);
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.filter-row input,
.filter-row select,
.filter-row button {
    min-height: 44px;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 0 12px;
    background: #ffffff;
}

.filter-row input {
    width: 260px;
}

.filter-row button {
    color: #ffffff;
    background: var(--color-amber);
    border-color: var(--color-amber);
}

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

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

.podium-card {
    position: relative;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    border-radius: var(--radius-lg);
    color: #ffffff;
    background: #111827;
    box-shadow: var(--shadow-md);
}

.podium-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.1));
}

.podium-card img {
    position: absolute;
    inset: 0;
}

.podium-card h2,
.podium-card p,
.podium-card strong,
.podium-rank {
    position: relative;
    z-index: 1;
}

.podium-rank {
    align-self: flex-start;
    padding: 6px 12px;
    border-radius: 999px;
    color: #ffffff;
    background: var(--color-amber);
    font-weight: 900;
}

.podium-card h2 {
    margin: 16px 0 8px;
    font-size: 28px;
}

.podium-card p {
    color: rgba(255, 255, 255, 0.78);
}

.podium-card strong {
    font-size: 42px;
    color: var(--color-amber);
}

.ranking-page-card {
    padding: 24px;
}

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

.breadcrumb a {
    color: var(--color-amber-dark);
    font-weight: 800;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    padding-bottom: 78px;
}

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

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #000000;
    box-shadow: var(--shadow-lg);
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 0;
    color: #ffffff;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.36), rgba(0, 0, 0, 0.02));
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-overlay span {
    display: grid;
    place-items: center;
    width: 86px;
    height: 86px;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.94);
    box-shadow: 0 22px 60px rgba(245, 158, 11, 0.35);
    font-size: 34px;
    padding-left: 5px;
}

.player-shell.is-playing .player-overlay {
    opacity: 0;
    visibility: hidden;
}

.player-status {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 2;
    padding: 7px 11px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.76);
    font-size: 12px;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.detail-card {
    padding: 26px;
}

.detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.detail-badges span {
    padding: 7px 12px;
    border-radius: 999px;
    color: #92400e;
    background: #fef3c7;
    font-weight: 800;
    font-size: 13px;
}

.detail-card h1,
.detail-card h2 {
    margin-top: 0;
    letter-spacing: -0.03em;
}

.detail-card h1 {
    margin-bottom: 14px;
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.06;
}

.detail-card h2 {
    margin-bottom: 12px;
    font-size: 26px;
}

.lead-text {
    margin: 0;
    color: #374151;
    font-size: 20px;
}

.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.detail-actions button,
.detail-actions a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    border-radius: 14px;
    border: 1px solid var(--color-border);
    background: #ffffff;
    color: var(--color-text);
    font-weight: 800;
}

.detail-actions button {
    border-color: var(--color-amber);
    color: #ffffff;
    background: var(--color-amber);
}

.prose-card p {
    margin: 0;
    color: #374151;
    font-size: 17px;
    line-height: 1.9;
}

.review-card {
    background: linear-gradient(135deg, #fff7ed, #ffffff);
}

.detail-tags span {
    color: #475569;
    background: #f1f5f9;
}

.detail-sidebar {
    display: grid;
    align-content: start;
    gap: 22px;
}

.side-poster-card,
.side-related-card {
    padding: 20px;
}

.side-poster-card {
    position: sticky;
    top: 96px;
}

.side-poster-card img {
    aspect-ratio: 3 / 4;
    border-radius: 22px;
    background: #111827;
}

.side-poster-card h2 {
    margin: 18px 0 14px;
    font-size: 26px;
}

.side-poster-card dl {
    display: grid;
    gap: 10px;
    margin: 0;
}

.side-poster-card dl div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-border);
}

.side-poster-card dt {
    color: var(--color-muted);
}

.side-poster-card dd {
    margin: 0;
    text-align: right;
    font-weight: 800;
}

.side-related-card h2 {
    margin: 0 0 16px;
}

.side-related-grid {
    display: grid;
    gap: 14px;
}

.side-related-grid .movie-card {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    border-radius: 18px;
    box-shadow: none;
    border: 1px solid var(--color-border);
}

.side-related-grid .poster-frame {
    aspect-ratio: 3 / 4;
}

.side-related-grid .movie-card h3 {
    min-height: auto;
    font-size: 16px;
}

.side-related-grid .movie-card__text,
.side-related-grid .tag-row {
    display: none;
}

.site-footer {
    color: #d1d5db;
    background: #111827;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.4fr;
    gap: 32px;
    padding: 54px 0;
}

.footer-brand {
    color: #ffffff;
    margin-bottom: 14px;
}

.site-footer p {
    margin: 0 0 10px;
    color: #9ca3af;
}

.site-footer h3 {
    margin: 0 0 12px;
    color: #ffffff;
}

.site-footer a:not(.brand) {
    display: block;
    margin: 8px 0;
    color: #d1d5db;
}

.footer-bottom {
    padding: 18px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #9ca3af;
}

@media (max-width: 1180px) {
    .collection-grid,
    .large-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

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

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

@media (max-width: 980px) {
    .desktop-nav,
    .header-search {
        display: none;
    }

    .mobile-menu-button {
        display: block;
        margin-left: auto;
    }

    .hero-panel__inner,
    .two-column-layout,
    .detail-layout,
    .footer-grid,
    .category-overview-card {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        padding-bottom: 300px;
    }

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

    .category-overview-grid,
    .podium-grid,
    .rank-list--page {
        grid-template-columns: 1fr;
    }

    .ranking-card,
    .side-poster-card {
        position: static;
    }
}

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

    .brand-text {
        font-size: 18px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-copy {
        padding: 100px 0 360px;
    }

    .hero-panel__inner {
        gap: 12px;
    }

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

    .hero-tab:nth-child(n + 3) {
        display: none;
    }

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

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

    .section-heading,
    .toolbar-card {
        display: block;
    }

    .filter-row {
        justify-content: stretch;
        margin-top: 14px;
    }

    .filter-row input,
    .filter-row select,
    .filter-row button {
        width: 100%;
    }

    .movie-grid,
    .movie-grid--compact,
    .large-grid,
    .collection-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .movie-card__body {
        padding: 12px;
    }

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

    .movie-card__text {
        font-size: 13px;
    }

    .detail-card {
        padding: 20px;
    }

    .side-related-grid .movie-card {
        grid-template-columns: 86px minmax(0, 1fr);
    }
}

@media (max-width: 480px) {
    .container,
    .header-inner,
    .hero-copy,
    .hero-panel__inner,
    .mobile-panel {
        width: min(100% - 22px, var(--container));
    }

    .hero-search-card form,
    .hero-actions,
    .detail-actions {
        flex-direction: column;
    }

    .hero-search-card button,
    .btn,
    .detail-actions button,
    .detail-actions a {
        width: 100%;
    }

    .hero-tabs {
        display: none;
    }

    .hero-copy {
        padding-bottom: 230px;
    }

    .movie-grid,
    .movie-grid--compact,
    .large-grid,
    .collection-grid {
        grid-template-columns: 1fr;
    }

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

    .rank-score {
        display: none;
    }
}
