:root {
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    --orange: #f97316;
    --orange-dark: #ea580c;
    --red: #dc2626;
    --gold: #f59e0b;
    --text: #111827;
    --muted: #64748b;
    --panel: #ffffff;
    --shadow: 0 24px 80px rgba(15, 23, 42, 0.14);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background: var(--slate-50);
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    color: #fff;
    background: linear-gradient(90deg, var(--slate-950), var(--slate-800), var(--slate-950));
    box-shadow: 0 10px 40px rgba(2, 6, 23, 0.28);
}

.header-inner {
    max-width: 1220px;
    height: 70px;
    margin: 0 auto;
    padding: 0 22px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: max-content;
}

.brand-icon {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--red));
    box-shadow: 0 14px 35px rgba(249, 115, 22, 0.35);
    transition: transform 0.25s ease;
}

.brand:hover .brand-icon {
    transform: scale(1.08) rotate(-2deg);
}

.brand-text {
    display: grid;
    line-height: 1.15;
}

.brand-title {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 0.02em;
    background: linear-gradient(90deg, #fb923c, #ef4444);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-subtitle {
    margin-top: 2px;
    font-size: 12px;
    color: #94a3b8;
}

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

.nav-link {
    font-weight: 700;
    color: #e5e7eb;
    transition: color 0.2s ease, transform 0.2s ease;
}

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

.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.88);
    border: 1px solid rgba(148, 163, 184, 0.22);
}

.header-search input,
.mobile-search input,
.large-search input,
.filter-panel input,
.filter-panel select {
    border: 0;
    outline: none;
}

.header-search input {
    width: 150px;
    color: #fff;
    background: transparent;
    padding: 8px 10px;
}

.header-search input::placeholder,
.mobile-search input::placeholder,
.large-search input::placeholder {
    color: #94a3b8;
}

.header-search button,
.mobile-search button,
.large-search button {
    border: 0;
    color: #fff;
    cursor: pointer;
    font-weight: 800;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--orange), var(--red));
    box-shadow: 0 10px 24px rgba(249, 115, 22, 0.28);
}

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

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    color: #fff;
    cursor: pointer;
    border-radius: 12px;
    background: rgba(51, 65, 85, 0.8);
}

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

.mobile-nav {
    display: none;
    padding: 14px 22px 18px;
    background: var(--slate-900);
    border-top: 1px solid rgba(148, 163, 184, 0.16);
}

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

.mobile-link {
    padding: 8px 0;
    color: #e5e7eb;
    font-weight: 700;
}

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

.mobile-search input {
    color: #fff;
    background: var(--slate-800);
    border-radius: 12px;
    padding: 12px 14px;
}

.mobile-search button {
    padding: 0 16px;
}

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

.hero {
    position: relative;
    min-height: 700px;
    overflow: hidden;
    color: #fff;
    background: radial-gradient(circle at 12% 20%, rgba(249, 115, 22, 0.22), transparent 30%), linear-gradient(135deg, #020617 0%, #172033 48%, #3b1111 100%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.17;
    background-image: radial-gradient(circle at 20px 20px, rgba(255, 255, 255, 0.22) 0, rgba(255, 255, 255, 0.22) 2px, transparent 2px);
    background-size: 52px 52px;
}

.hero-slides {
    position: relative;
    min-height: 700px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

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

.hero-backdrop {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(2, 6, 23, 0.98), rgba(2, 6, 23, 0.72), rgba(127, 29, 29, 0.55)), var(--hero-image);
    background-size: cover;
    background-position: center;
    filter: saturate(1.1);
}

.hero-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.18), rgba(2, 6, 23, 0.94));
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1220px, calc(100% - 44px));
    min-height: 700px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 520px);
    gap: 70px;
    align-items: center;
    padding: 90px 0 110px;
}

.hero-copy {
    animation: fadeRise 0.7s ease both;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 8px 15px;
    border-radius: 999px;
    color: #fed7aa;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(249, 115, 22, 0.18);
    border: 1px solid rgba(251, 146, 60, 0.45);
    backdrop-filter: blur(10px);
}

.eyebrow.dark {
    color: var(--orange-dark);
    background: #fff7ed;
    border-color: #fed7aa;
}

.hero h1 {
    margin: 24px 0 18px;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.05;
    letter-spacing: -0.06em;
}

.hero p {
    max-width: 660px;
    margin: 0;
    color: #d1d5db;
    font-size: 18px;
}

.hero-meta,
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.hero-meta span,
.detail-meta span {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    color: #e5e7eb;
    background: rgba(15, 23, 42, 0.52);
    border: 1px solid rgba(226, 232, 240, 0.13);
}

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

.primary-btn,
.ghost-btn,
.section-link,
.category-overview-title a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 999px;
    font-weight: 900;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.primary-btn {
    padding: 0 28px;
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--red));
    box-shadow: 0 18px 40px rgba(249, 115, 22, 0.35);
}

.primary-btn:hover,
.large-search button:hover,
.header-search button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 20px 54px rgba(249, 115, 22, 0.45);
}

.ghost-btn {
    padding: 0 22px;
    color: #fff;
    background: rgba(15, 23, 42, 0.44);
    border: 1px solid rgba(226, 232, 240, 0.16);
    backdrop-filter: blur(14px);
}

.ghost-btn:hover {
    background: rgba(249, 115, 22, 0.16);
    transform: translateY(-2px);
}

.hero-poster {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 38px 95px rgba(0, 0, 0, 0.42);
}

.hero-poster::before {
    content: "";
    position: absolute;
    inset: -18px;
    z-index: -1;
    border-radius: 36px;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.48), rgba(220, 38, 38, 0.3));
    filter: blur(22px);
}

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

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

.hero-poster span {
    position: absolute;
    right: 18px;
    bottom: 18px;
    padding: 10px 16px;
    border-radius: 999px;
    color: #fff;
    font-weight: 900;
    background: rgba(2, 6, 23, 0.74);
    backdrop-filter: blur(12px);
}

.hero-controls {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 38px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 18px;
}

.hero-arrow,
.hero-dot {
    border: 0;
    cursor: pointer;
}

.hero-arrow {
    width: 46px;
    height: 46px;
    color: #fff;
    font-size: 32px;
    line-height: 1;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(226, 232, 240, 0.18);
    backdrop-filter: blur(12px);
}

.hero-dots {
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.42);
    transition: width 0.22s ease, background 0.22s ease;
}

.hero-dot.is-active {
    width: 34px;
    background: var(--orange);
}

.search-band {
    margin-top: -45px;
    position: relative;
    z-index: 10;
}

.search-band-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 560px);
    gap: 24px;
    align-items: center;
    padding: 26px;
    border-radius: 28px;
    background: #fff;
    box-shadow: var(--shadow);
}

.search-band h2 {
    margin: 10px 0 0;
    font-size: clamp(26px, 4vw, 40px);
    line-height: 1.15;
}

.large-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 8px;
    border-radius: 999px;
    background: var(--slate-100);
}

.large-search input {
    min-width: 0;
    padding: 14px 18px;
    background: transparent;
}

.large-search button {
    padding: 0 24px;
}

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

.section-muted {
    background: linear-gradient(180deg, #f8fafc, #fff);
}

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

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

.section-heading.light {
    color: #fff;
}

.section-link {
    padding: 0 20px;
    color: var(--orange-dark);
    background: #fff7ed;
}

.section-link:hover,
.category-overview-title a:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(249, 115, 22, 0.2);
}

.light-link {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

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

.movie-card {
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: 0 12px 38px rgba(15, 23, 42, 0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.movie-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.16);
}

.movie-cover {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #111827, #7f1d1d);
}

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

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

.cover-glow {
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(180deg, transparent, rgba(2, 6, 23, 0.72));
    transition: opacity 0.25s ease;
}

.movie-card:hover .cover-glow {
    opacity: 1;
}

.movie-year,
.movie-type {
    position: absolute;
    z-index: 2;
    top: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    background: rgba(2, 6, 23, 0.74);
    backdrop-filter: blur(10px);
}

.movie-year {
    right: 12px;
}

.movie-type {
    left: 12px;
    background: rgba(249, 115, 22, 0.9);
}

.movie-info {
    padding: 18px;
}

.movie-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.movie-meta-line a {
    color: var(--orange-dark);
}

.movie-info h2 {
    margin: 9px 0 8px;
    font-size: 18px;
    line-height: 1.35;
}

.movie-info h2 a:hover {
    color: var(--orange-dark);
}

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

.movie-tags,
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.movie-tags span,
.detail-tags span,
.detail-tags a {
    padding: 6px 9px;
    border-radius: 999px;
    color: #475569;
    background: #f1f5f9;
    font-size: 12px;
    font-weight: 800;
}

.detail-tags a {
    color: #c2410c;
    background: #ffedd5;
}

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

.movie-card-compact {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
}

.movie-card-compact .movie-cover {
    height: 100%;
    min-height: 160px;
}

.movie-card-compact .movie-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.category-tile {
    min-height: 220px;
    padding: 22px;
    border-radius: 26px;
    background: linear-gradient(135deg, #fff, #fff7ed);
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 54px rgba(15, 23, 42, 0.12);
}

.category-tile span {
    display: block;
    margin-bottom: 10px;
    color: var(--orange-dark);
    font-size: 22px;
    font-weight: 900;
}

.category-tile strong {
    display: block;
    color: var(--slate-700);
    font-size: 14px;
}

.category-samples {
    display: grid;
    gap: 8px;
    margin-top: 22px;
}

.category-samples a {
    display: block;
    overflow: hidden;
    color: var(--muted);
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.category-samples a:hover {
    color: var(--orange-dark);
}

.ranking-preview {
    color: #fff;
    background: radial-gradient(circle at top left, rgba(249, 115, 22, 0.2), transparent 30%), linear-gradient(135deg, #020617, #172033 48%, #431407);
}

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

.ranking-row {
    display: grid;
    grid-template-columns: 54px 86px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 13px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.22s ease, background 0.22s ease;
}

.ranking-page-list .ranking-row {
    color: var(--text);
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.ranking-row:hover {
    transform: translateX(5px);
    background: rgba(249, 115, 22, 0.16);
}

.ranking-row img {
    width: 86px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 12px;
}

.rank-number {
    color: #fb923c;
    font-size: 24px;
    font-weight: 950;
}

.ranking-text {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.ranking-text strong,
.ranking-text em {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-text em {
    color: #94a3b8;
    font-style: normal;
    font-size: 13px;
}

.ranking-page-list .ranking-text em {
    color: var(--muted);
}

.rank-heat {
    color: #fed7aa;
    font-weight: 900;
}

.ranking-page-list .rank-heat {
    color: var(--orange-dark);
}

.page-hero,
.detail-hero {
    position: relative;
    color: #fff;
    overflow: hidden;
    background: radial-gradient(circle at 10% 20%, rgba(249, 115, 22, 0.22), transparent 32%), linear-gradient(120deg, var(--slate-950), #1e293b 50%, #7f1d1d);
}

.compact-hero .section-inner {
    padding: 70px 0 72px;
}

.compact-hero h1,
.detail-hero h1 {
    margin: 14px 0;
    font-size: clamp(42px, 6vw, 68px);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.compact-hero p,
.detail-hero p {
    max-width: 800px;
    color: #d1d5db;
    font-size: 18px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 18px;
    color: #fed7aa;
    font-weight: 800;
}

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

.overview-stack {
    display: grid;
    gap: 24px;
}

.category-overview-card {
    padding: 26px;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 14px 44px rgba(15, 23, 42, 0.08);
}

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

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

.category-overview-title p {
    margin: 0;
    color: var(--muted);
}

.category-overview-title a {
    padding: 0 18px;
    color: var(--orange-dark);
    background: #fff7ed;
}

.category-mini-list {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 14px;
}

.category-mini-list a {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.category-mini-list img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 14px;
    background: var(--slate-800);
}

.category-mini-list span {
    overflow: hidden;
    font-size: 13px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(200px, 1fr) minmax(200px, 1.2fr) 170px 170px;
    gap: 14px;
    align-items: end;
    margin-bottom: 26px;
    padding: 20px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
}

.filter-panel strong {
    display: block;
    font-size: 20px;
}

.filter-panel div span {
    display: block;
    color: var(--muted);
    font-size: 13px;
}

.filter-panel label {
    display: grid;
    gap: 7px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    padding: 13px 14px;
    border-radius: 14px;
    color: var(--text);
    background: var(--slate-100);
}

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

.empty-state {
    display: none;
    margin-top: 28px;
    padding: 38px;
    border-radius: 24px;
    color: var(--muted);
    text-align: center;
    background: #fff;
}

.empty-state.is-visible {
    display: block;
}

.detail-hero {
    min-height: 430px;
    background-image: linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.82), rgba(127, 29, 29, 0.58)), var(--detail-image);
    background-size: cover;
    background-position: center;
}

.detail-hero-backdrop {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.2), rgba(2, 6, 23, 0.94));
}

.detail-hero-inner {
    position: relative;
    z-index: 1;
    padding: 58px 0 76px;
}

.detail-title-block {
    margin-top: 44px;
}

.detail-main-block {
    padding-top: 40px;
}

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

.detail-main,
.detail-side {
    display: grid;
    gap: 24px;
}

.player-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 24px;
    background: #000;
    box-shadow: 0 30px 90px rgba(2, 6, 23, 0.28);
}

.video-player {
    width: 100%;
    height: 100%;
    display: block;
    background: #000;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 12px;
    border: 0;
    color: #fff;
    cursor: pointer;
    background: radial-gradient(circle at center, rgba(249, 115, 22, 0.22), rgba(2, 6, 23, 0.52));
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-circle {
    width: 84px;
    height: 84px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange), var(--red));
    box-shadow: 0 20px 54px rgba(249, 115, 22, 0.45);
}

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

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

.content-card h2,
.side-card h2 {
    margin: 0 0 16px;
    font-size: 26px;
}

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

.poster-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 18px;
    margin-bottom: 18px;
    background: var(--slate-800);
}

.meta-card dl {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 12px 14px;
    margin: 0;
}

.meta-card dt {
    color: var(--muted);
    font-weight: 900;
}

.meta-card dd {
    margin: 0;
    color: var(--text);
    font-weight: 800;
}

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

.site-footer {
    color: #cbd5e1;
    background: linear-gradient(180deg, var(--slate-900), var(--slate-950));
}

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

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 22px;
    font-weight: 950;
}

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

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

.footer-links h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 18px;
}

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

.footer-copy {
    grid-column: 1 / -1;
    padding-top: 22px;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    color: #94a3b8;
}

@keyframes fadeRise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

    .hero-content {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .hero-poster {
        max-width: 620px;
    }

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

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

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

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

@media (max-width: 760px) {
    .header-inner {
        height: 64px;
        padding: 0 16px;
    }

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

    .brand-subtitle {
        display: none;
    }

    .section-inner,
    .footer-inner {
        width: min(100% - 30px, 1220px);
    }

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

    .hero-content {
        padding: 58px 0 120px;
    }

    .hero h1,
    .compact-hero h1,
    .detail-hero h1 {
        font-size: 38px;
    }

    .hero p,
    .compact-hero p,
    .detail-hero p {
        font-size: 16px;
    }

    .hero-actions {
        display: grid;
    }

    .search-band-inner,
    .large-search,
    .section-heading,
    .category-overview-title {
        grid-template-columns: 1fr;
        display: grid;
    }

    .large-search {
        border-radius: 20px;
    }

    .large-search button {
        min-height: 46px;
    }

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

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

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

    .movie-card-compact .movie-cover {
        min-height: 145px;
    }

    .movie-info {
        padding: 14px;
    }

    .movie-info h2 {
        font-size: 16px;
    }

    .movie-tags {
        display: none;
    }

    .ranking-row {
        grid-template-columns: 42px 70px minmax(0, 1fr);
    }

    .rank-heat {
        display: none;
    }

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

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

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

    .meta-card dl {
        grid-template-columns: 62px minmax(0, 1fr);
    }
}
