:root {
    --bg: #0f172a;
    --panel: #111827;
    --panel-soft: #1e293b;
    --panel-deep: #020617;
    --text: #f8fafc;
    --muted: #cbd5e1;
    --muted-dark: #94a3b8;
    --line: rgba(148, 163, 184, 0.22);
    --red: #ef4444;
    --red-deep: #b91c1c;
    --orange: #f97316;
    --radius-lg: 28px;
    --radius-md: 18px;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(239, 68, 68, 0.18), transparent 34rem),
        radial-gradient(circle at top right, rgba(249, 115, 22, 0.14), transparent 38rem),
        linear-gradient(180deg, #0f172a 0%, #111827 42%, #020617 100%);
    font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
}

body.menu-open {
    overflow: hidden;
}

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

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.26);
}

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

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

.brand-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: white;
    background: linear-gradient(135deg, var(--red), var(--orange));
    box-shadow: 0 12px 24px rgba(239, 68, 68, 0.3);
}

.brand-text {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, #ff4b4b, #ffb15c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link,
.mobile-link {
    color: var(--muted);
    font-size: 15px;
    font-weight: 700;
    padding: 10px 14px;
    border-radius: 999px;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
    color: white;
    background: rgba(239, 68, 68, 0.18);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-chip {
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: var(--muted);
    font-size: 13px;
    background: rgba(255, 255, 255, 0.04);
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.nav-chip:hover {
    color: white;
    border-color: rgba(239, 68, 68, 0.65);
    background: rgba(239, 68, 68, 0.15);
}

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

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

.mobile-panel {
    display: none;
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto 16px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.96);
}

.mobile-category-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 12px;
}

.hero {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(127, 29, 29, 0.95), rgba(124, 45, 18, 0.88));
}

.hero-stage {
    position: relative;
    min-height: 620px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: center;
    gap: 56px;
    padding: 72px max(24px, calc((100vw - 1200px) / 2)) 92px;
    opacity: 0;
    transform: scale(1.02);
    pointer-events: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
    background-image:
        linear-gradient(90deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.58), rgba(15, 23, 42, 0.86)),
        var(--hero-image);
    background-size: cover;
    background-position: center;
}

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

.hero-slide::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 140px;
    background: linear-gradient(180deg, transparent, var(--bg));
    pointer-events: none;
}

.hero-copy,
.hero-poster {
    position: relative;
    z-index: 1;
}

.eyebrow {
    margin: 0 0 14px;
    color: #fed7aa;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

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

.hero-copy p {
    max-width: 720px;
    margin: 0 0 26px;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(17px, 2vw, 22px);
    line-height: 1.8;
}

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

.hero-tags span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    color: #fecaca;
    background: rgba(239, 68, 68, 0.16);
    border: 1px solid rgba(248, 113, 113, 0.28);
    font-size: 12px;
    font-weight: 700;
}

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

.primary-button,
.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
    color: white;
    background: linear-gradient(135deg, var(--red), var(--orange));
    box-shadow: 0 16px 32px rgba(239, 68, 68, 0.36);
}

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

.ghost-button {
    color: white;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(16px);
}

.hero-poster {
    height: 500px;
    overflow: hidden;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: var(--shadow);
    transform: rotate(1.4deg);
    transition: transform 0.25s ease;
}

.hero-poster:hover {
    transform: rotate(0deg) translateY(-4px);
}

.hero-poster span,
.play-mark,
.detail-cover span,
.play-overlay span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-poster span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 76px;
    height: 76px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    color: white;
    background: rgba(239, 68, 68, 0.92);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.42);
}

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

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

.hero-dot.is-active {
    width: 34px;
    background: linear-gradient(135deg, var(--red), var(--orange));
}

.band {
    width: min(1200px, calc(100% - 32px));
    margin: -44px auto 0;
    position: relative;
    z-index: 5;
}

.search-panel,
.toolbar,
.story-card,
.player-card,
.rank-panel {
    border: 1px solid var(--line);
    background: rgba(15, 23, 42, 0.78);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.search-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    align-items: center;
    gap: 28px;
    padding: 26px;
    border-radius: 28px;
}

.search-panel h2 {
    margin: 0 0 8px;
    font-size: 28px;
}

.search-panel p,
.section-head p,
.page-hero p,
.category-card small,
.category-overview-card small {
    margin: 0;
    color: var(--muted-dark);
    line-height: 1.7;
}

.search-box,
.select-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.56);
}

.search-box span,
.select-box span {
    color: #fed7aa;
    font-size: 13px;
    font-weight: 900;
    min-width: max-content;
}

.search-box input,
.select-box select {
    width: 100%;
    min-height: 42px;
    border: 0;
    outline: 0;
    color: white;
    background: transparent;
}

.select-box select {
    color-scheme: dark;
    cursor: pointer;
}

.content-section {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 70px 0 0;
}

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

.section-head h2 {
    margin: 0 0 8px;
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -0.05em;
}

.section-head.slim h2 {
    font-size: 30px;
}

.section-link {
    color: #fecaca;
    font-weight: 900;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(239, 68, 68, 0.12);
    transition: background 0.2s ease, color 0.2s ease;
}

.section-link:hover {
    color: white;
    background: rgba(239, 68, 68, 0.28);
}

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

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

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.94), rgba(15, 23, 42, 0.96));
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(239, 68, 68, 0.45);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.38);
}

.movie-cover {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(127, 29, 29, 0.45), rgba(15, 23, 42, 0.85));
}

.movie-cover img,
.list-cover img,
.detail-cover img,
.hero-poster img {
    transition: transform 0.4s ease, filter 0.4s ease;
}

.movie-card:hover .movie-cover img,
.list-card:hover .list-cover img,
.detail-cover:hover img {
    transform: scale(1.06);
    filter: saturate(1.15);
}

.cover-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(2, 6, 23, 0.88));
}

.year-badge,
.rank-badge {
    position: absolute;
    z-index: 2;
    top: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    color: white;
    font-size: 12px;
    font-weight: 900;
    background: rgba(2, 6, 23, 0.66);
    backdrop-filter: blur(10px);
}

.year-badge {
    left: 12px;
}

.rank-badge {
    right: 12px;
    background: linear-gradient(135deg, var(--red), var(--orange));
}

.play-mark {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    width: 52px;
    height: 52px;
    color: white;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.9);
    transform: translate(-50%, -50%) scale(0.88);
    opacity: 0;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.38);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.movie-card:hover .play-mark {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.movie-info {
    padding: 16px;
}

.movie-info h2 {
    margin: 12px 0 8px;
    color: white;
    font-size: 17px;
    line-height: 1.35;
}

.movie-info h2 a:hover,
.list-body h2 a:hover {
    color: #fca5a5;
}

.movie-info p,
.list-body p,
.story-card p {
    color: var(--muted);
    line-height: 1.75;
}

.movie-info p {
    margin: 0 0 14px;
    font-size: 14px;
}

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

.meta-line span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.meta-line span + span::before {
    content: "·";
    color: rgba(148, 163, 184, 0.6);
    margin-right: 4px;
}

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

.category-card,
.category-overview-card {
    position: relative;
    min-height: 170px;
    overflow: hidden;
    padding: 24px;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: var(--panel-soft);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-overview-card {
    min-height: 230px;
}

.category-card:hover,
.category-overview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 26px 56px rgba(0, 0, 0, 0.38);
}

.category-bg {
    position: absolute;
    inset: 0;
    opacity: 0.38;
    background-image:
        linear-gradient(135deg, rgba(15, 23, 42, 0.2), rgba(15, 23, 42, 0.94)),
        var(--category-image);
    background-size: cover;
    background-position: center;
    transition: transform 0.32s ease, opacity 0.32s ease;
}

.category-card:hover .category-bg,
.category-overview-card:hover .category-bg {
    opacity: 0.55;
    transform: scale(1.06);
}

.category-card strong,
.category-card small,
.category-overview-card strong,
.category-overview-card small,
.category-overview-card em {
    position: relative;
    z-index: 1;
    display: block;
}

.category-card strong,
.category-overview-card strong {
    margin-bottom: 12px;
    font-size: 26px;
    color: white;
}

.category-card small,
.category-overview-card small {
    max-width: 260px;
}

.category-overview-card em {
    margin-top: 24px;
    color: #fed7aa;
    font-style: normal;
    font-weight: 900;
}

.tone-red { --tone-a: #ef4444; --tone-b: #f97316; }
.tone-orange { --tone-a: #f97316; --tone-b: #f59e0b; }
.tone-blue { --tone-a: #2563eb; --tone-b: #06b6d4; }
.tone-pink { --tone-a: #db2777; --tone-b: #fb7185; }
.tone-green { --tone-a: #16a34a; --tone-b: #10b981; }
.tone-purple { --tone-a: #7c3aed; --tone-b: #e879f9; }
.tone-cyan { --tone-a: #0891b2; --tone-b: #22d3ee; }
.tone-amber { --tone-a: #d97706; --tone-b: #facc15; }

.category-card::after,
.category-overview-card::after,
.category-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 6px;
    background: linear-gradient(90deg, var(--tone-a), var(--tone-b));
}

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

.rank-panel {
    padding: 22px;
    border-radius: 28px;
}

.rank-list,
.rank-page-list {
    display: grid;
    gap: 14px;
}

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

.list-card {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 14px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.65);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.list-card:hover {
    transform: translateX(4px);
    border-color: rgba(249, 115, 22, 0.38);
    background: rgba(30, 41, 59, 0.88);
}

.list-cover {
    position: relative;
    overflow: hidden;
    aspect-ratio: 2 / 3;
    border-radius: 12px;
    background: rgba(239, 68, 68, 0.15);
}

.list-rank {
    position: absolute;
    left: 8px;
    top: 8px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: white;
    font-size: 12px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--red), var(--orange));
}

.list-body h2 {
    margin: 4px 0 8px;
    font-size: 17px;
    line-height: 1.35;
}

.list-body p {
    margin: 0 0 10px;
    font-size: 14px;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 92px max(24px, calc((100vw - 1200px) / 2));
    background:
        radial-gradient(circle at left, rgba(239, 68, 68, 0.34), transparent 34rem),
        linear-gradient(135deg, rgba(127, 29, 29, 0.92), rgba(15, 23, 42, 0.96));
}

.page-hero div {
    position: relative;
    z-index: 1;
    max-width: 780px;
}

.page-hero h1 {
    margin: 0 0 18px;
    font-size: clamp(36px, 6vw, 64px);
    letter-spacing: -0.07em;
}

.small-hero {
    min-height: 300px;
    display: flex;
    align-items: center;
}

.category-hero {
    min-height: 310px;
}

.toolbar {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
    padding: 16px;
    border-radius: 24px;
}

.inline-search {
    flex: 1 1 auto;
    max-width: 620px;
}

.wide-search {
    max-width: none;
}

.empty-state {
    display: none;
    margin: 28px 0 0;
    padding: 30px;
    text-align: center;
    color: var(--muted);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 22px;
}

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

.topic-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.topic-strip a {
    padding: 12px 16px;
    color: white;
    border-radius: 999px;
    background: rgba(239, 68, 68, 0.14);
    border: 1px solid rgba(239, 68, 68, 0.28);
    font-weight: 800;
}

.detail-main {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.1), rgba(2, 6, 23, 0.2));
}

.detail-hero {
    position: relative;
    overflow: hidden;
    padding: 34px 0 70px;
    background-image:
        linear-gradient(90deg, rgba(2, 6, 23, 0.94), rgba(15, 23, 42, 0.74), rgba(2, 6, 23, 0.94)),
        var(--detail-image);
    background-size: cover;
    background-position: center;
}

.detail-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    background: linear-gradient(180deg, transparent, var(--bg));
}

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

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

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

.breadcrumb strong {
    color: white;
}

.detail-layout {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 42px;
    align-items: center;
}

.detail-cover {
    position: relative;
    overflow: hidden;
    aspect-ratio: 2 / 3;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: var(--shadow);
    background: rgba(239, 68, 68, 0.12);
}

.detail-cover span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 66px;
    height: 66px;
    transform: translate(-50%, -50%);
    color: white;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.9);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.38);
}

.detail-copy h1 {
    margin: 0 0 18px;
    font-size: clamp(38px, 7vw, 74px);
    line-height: 1.02;
    letter-spacing: -0.07em;
}

.detail-copy p {
    max-width: 820px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
    line-height: 1.8;
}

.detail-tags {
    margin-top: 18px;
}

.detail-section {
    padding-top: 42px;
}

.player-card {
    overflow: hidden;
    padding: 18px;
    border-radius: 28px;
}

.player-card h2 {
    margin: 6px 6px 18px;
    font-size: 28px;
}

.movie-player {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: black;
    aspect-ratio: 16 / 9;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.movie-player video {
    width: 100%;
    height: 100%;
    display: block;
    background: black;
    object-fit: contain;
}

.play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    color: white;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.16), rgba(2, 6, 23, 0.55));
    cursor: pointer;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.play-overlay span {
    width: 88px;
    height: 88px;
    padding-left: 4px;
    border-radius: 50%;
    font-size: 30px;
    background: linear-gradient(135deg, var(--red), var(--orange));
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.4);
}

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

.info-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
    gap: 22px;
}

.story-card {
    padding: 26px;
    border-radius: 28px;
}

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

.story-card p {
    margin: 0 0 16px;
    font-size: 16px;
}

.lead-text {
    color: white !important;
    font-size: 19px !important;
}

.side-info dl {
    margin: 0;
    display: grid;
    gap: 12px;
}

.side-info div {
    display: grid;
    gap: 5px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.side-info dt {
    color: #fed7aa;
    font-size: 13px;
    font-weight: 900;
}

.side-info dd {
    margin: 0;
    color: white;
    line-height: 1.6;
}

.full-span {
    grid-column: 1 / -1;
}

.site-footer {
    margin-top: 80px;
    color: var(--muted);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.25), rgba(2, 6, 23, 0.96));
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 50px 0;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) 0.7fr 0.7fr;
    gap: 36px;
}

.footer-brand p {
    max-width: 440px;
    line-height: 1.8;
}

.footer-links h2 {
    margin: 0 0 14px;
    color: white;
    font-size: 18px;
}

.footer-links ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

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

.footer-bottom {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--muted-dark);
    text-align: center;
    font-size: 14px;
}

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

    .hero-slide {
        grid-template-columns: minmax(0, 1fr) 300px;
    }
}

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

    .menu-button {
        display: block;
    }

    body.menu-open .mobile-panel {
        display: block;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        align-items: end;
        padding-top: 52px;
    }

    .hero-poster {
        display: none;
    }

    .search-panel,
    .two-column-section,
    .detail-layout,
    .info-grid,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .rank-page-list {
        grid-template-columns: 1fr;
    }

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

    .detail-cover {
        max-width: 280px;
    }
}

@media (max-width: 720px) {
    .brand-text {
        font-size: 20px;
    }

    .hero,
    .hero-stage,
    .hero-slide {
        min-height: 580px;
    }

    .hero-slide {
        padding-bottom: 88px;
    }

    .hero-copy p {
        font-size: 16px;
    }

    .section-head,
    .toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .search-box,
    .select-box {
        width: 100%;
    }

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

    .movie-info {
        padding: 13px;
    }

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

    .movie-info p {
        display: none;
    }

    .content-section {
        padding-top: 50px;
    }

    .page-hero {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .detail-copy p {
        font-size: 17px;
    }

    .list-card {
        grid-template-columns: 74px minmax(0, 1fr);
    }
}

@media (max-width: 460px) {
    .header-inner {
        width: min(100% - 22px, 1200px);
    }

    .brand-icon {
        width: 34px;
        height: 34px;
        border-radius: 12px;
    }

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

    .category-grid,
    .category-overview-grid,
    .movie-grid,
    .featured-grid,
    .compact-grid,
    .catalog-grid {
        grid-template-columns: 1fr;
    }

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

    .movie-cover {
        height: 100%;
        aspect-ratio: auto;
    }

    .movie-info p {
        display: block;
        font-size: 13px;
    }

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

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