:root {
    --bg: #fff7ed;
    --paper: #ffffff;
    --ink: #0f172a;
    --muted: #64748b;
    --line: #e2e8f0;
    --dark: #0f172a;
    --dark-2: #1e293b;
    --orange: #f97316;
    --orange-2: #ea580c;
    --orange-soft: #ffedd5;
    --shadow: 0 24px 60px 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", "Microsoft YaHei", sans-serif;
    color: var(--ink);
    background: linear-gradient(135deg, #f8fafc 0%, #fff7ed 52%, #ffffff 100%);
    min-height: 100vh;
}

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.98), rgba(15, 23, 42, 0.98));
    border-bottom: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.28);
    backdrop-filter: blur(18px);
}

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

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

.brand-mark,
.footer-logo span {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--orange), var(--orange-2));
    color: #ffffff;
    box-shadow: 0 16px 32px rgba(249, 115, 22, 0.35);
}

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

.brand-name {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.brand-subtitle {
    margin-top: 4px;
    font-size: 12px;
    color: #cbd5e1;
}

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

.nav-link {
    color: #cbd5e1;
    padding: 10px 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    transition: color 0.24s ease, background 0.24s ease, transform 0.24s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
    background: rgba(249, 115, 22, 0.9);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    border: 0;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.hero {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    background: linear-gradient(90deg, #0f172a, #7c2d12, #0f172a);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.18;
    background-image: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.32) 0 2px, transparent 2px), radial-gradient(circle at 80% 10%, rgba(249, 115, 22, 0.36), transparent 36%), radial-gradient(circle at 30% 90%, rgba(255, 255, 255, 0.18), transparent 30%);
    background-size: 64px 64px, 720px 720px, 520px 520px;
}

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

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease;
    background-image: linear-gradient(90deg, rgba(15, 23, 42, 0.96) 0%, rgba(124, 45, 18, 0.78) 48%, rgba(15, 23, 42, 0.96) 100%), var(--hero-image);
    background-size: cover;
    background-position: center;
}

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

.hero-backdrop {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.1), rgba(15, 23, 42, 0.44));
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    min-height: 620px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: center;
    gap: 56px;
    padding: 72px 0 112px;
}

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

.hero-kicker,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fed7aa;
    background: rgba(249, 115, 22, 0.18);
    border: 1px solid rgba(251, 146, 60, 0.34);
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 12px;
}

.hero h1,
.page-hero h1,
.detail-hero h1 {
    margin: 20px 0 18px;
    color: #ffffff;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1.04;
    letter-spacing: -0.04em;
    font-weight: 950;
}

.hero p,
.page-hero p,
.detail-hero p {
    max-width: 820px;
    color: #dbeafe;
    font-size: clamp(16px, 2vw, 21px);
    line-height: 1.85;
}

.hero-tags,
.card-tags,
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

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

.hero-tags a,
.hero-tags span,
.card-tags a,
.card-tags span,
.detail-tags a,
.detail-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 12px;
    border-radius: 999px;
    color: #c2410c;
    background: #ffedd5;
    font-size: 12px;
    font-weight: 800;
}

.hero .hero-tags a,
.hero .hero-tags span,
.detail-hero .hero-tags a,
.detail-hero .hero-tags span {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 14px;
    font-weight: 900;
    border: 1px solid transparent;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

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

.btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--orange), var(--orange-2));
    box-shadow: 0 18px 36px rgba(249, 115, 22, 0.35);
}

.btn-ghost {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.22);
}

.hero-poster {
    position: relative;
    min-height: 480px;
    border-radius: 30px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.28), rgba(15, 23, 42, 0.8));
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.42);
    transform: rotate(2deg);
}

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

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

.hero-poster span {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: rgba(249, 115, 22, 0.9);
    border-radius: 50%;
    box-shadow: 0 20px 40px rgba(249, 115, 22, 0.4);
}

.hero-nav {
    position: absolute;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

.hero-dot {
    min-height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    color: #e2e8f0;
    background: rgba(15, 23, 42, 0.56);
    backdrop-filter: blur(12px);
    cursor: pointer;
    overflow: hidden;
    transition: background 0.25s ease, transform 0.25s ease;
}

.hero-dot span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 0 10px;
    font-size: 13px;
    font-weight: 800;
}

.hero-dot.active,
.hero-dot:hover {
    background: rgba(249, 115, 22, 0.92);
    transform: translateY(-2px);
}

.search-strip {
    margin-top: -34px;
    position: relative;
    z-index: 8;
    padding: 22px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.home-search {
    display: flex;
    gap: 12px;
}

.home-search input,
.advanced-search input,
.advanced-search select,
.filter-search input {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0 16px;
    color: var(--ink);
    background: #ffffff;
    outline: none;
    transition: border 0.22s ease, box-shadow 0.22s ease;
}

.home-search input:focus,
.advanced-search input:focus,
.advanced-search select:focus,
.filter-search input:focus {
    border-color: rgba(249, 115, 22, 0.72);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.13);
}

.home-search button {
    min-width: 128px;
    border: 0;
    color: #ffffff;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--orange), var(--orange-2));
    font-weight: 900;
    cursor: pointer;
}

.quick-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.quick-cats a {
    padding: 8px 12px;
    color: #9a3412;
    border-radius: 999px;
    background: var(--orange-soft);
    font-size: 13px;
    font-weight: 800;
}

.section {
    padding: 70px 0;
}

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

.section h2,
.ranking-aside h2,
.detail-article h2,
.detail-side h2 {
    margin: 10px 0 0;
    color: var(--ink);
    font-size: clamp(26px, 3vw, 38px);
    letter-spacing: -0.03em;
    line-height: 1.15;
    font-weight: 950;
}

.section .section-kicker {
    color: #c2410c;
    background: #ffedd5;
}

.section-more {
    color: #ea580c;
    font-weight: 900;
}

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

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

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

.movie-card {
    background: var(--paper);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(249, 115, 22, 0.38);
    box-shadow: 0 26px 60px rgba(15, 23, 42, 0.16);
}

.movie-card-link {
    display: block;
}

.poster-wrap {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, #1e293b, #f97316);
}

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

.poster-img-failed {
    opacity: 0;
}

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

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(15, 23, 42, 0.66));
}

.poster-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    transform: translate(-50%, -50%) scale(0.92);
    border-radius: 50%;
    color: #ffffff;
    background: rgba(249, 115, 22, 0.92);
    opacity: 0;
    transition: opacity 0.28s ease, transform 0.28s ease;
}

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

.poster-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.72);
    font-size: 12px;
    font-weight: 900;
    backdrop-filter: blur(8px);
}

.movie-card-body {
    display: block;
    padding: 16px 16px 12px;
}

.movie-meta-line {
    display: block;
    color: #ea580c;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 7px;
}

.movie-card strong {
    display: block;
    color: var(--ink);
    font-size: 18px;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.movie-one-line {
    display: -webkit-box;
    min-height: 44px;
    margin-top: 8px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-tags {
    padding: 0 16px 16px;
}

.movie-card-wide .poster-wrap {
    aspect-ratio: 16 / 8.5;
}

.section-dark {
    color: #ffffff;
    background: linear-gradient(135deg, #0f172a, #1e293b 58%, #7c2d12);
}

.section-dark h2,
.section-dark p {
    color: #ffffff;
}

.section-dark p {
    color: #cbd5e1;
    line-height: 1.85;
    margin-bottom: 22px;
}

.split-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 40px;
    align-items: start;
}

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

.rank-item {
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.1);
}

.compact-rank .rank-item {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.13);
}

.rank-link {
    display: grid;
    grid-template-columns: 54px 96px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 12px;
}

.rank-number {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #ffffff;
    background: #334155;
    font-weight: 950;
}

.rank-item.top .rank-number {
    background: linear-gradient(135deg, var(--orange), var(--orange-2));
    box-shadow: 0 14px 30px rgba(249, 115, 22, 0.28);
}

.rank-link img {
    width: 96px;
    height: 62px;
    object-fit: cover;
    border-radius: 12px;
    background: linear-gradient(135deg, #1e293b, #f97316);
}

.rank-info strong,
.rank-info small,
.rank-info em {
    display: block;
}

.rank-info strong {
    font-size: 17px;
    color: var(--ink);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.compact-rank .rank-info strong {
    color: #ffffff;
}

.rank-info small {
    color: #f97316;
    font-weight: 800;
    margin: 4px 0;
}

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

.compact-rank .rank-info em {
    color: #cbd5e1;
}

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

.compact-card {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 14px;
    padding: 12px;
    align-items: center;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.compact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 42px rgba(15, 23, 42, 0.14);
}

.compact-card img {
    width: 100px;
    height: 66px;
    border-radius: 13px;
    object-fit: cover;
    background: linear-gradient(135deg, #1e293b, #f97316);
}

.compact-card strong,
.compact-card small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}

.compact-card strong {
    color: var(--ink);
    white-space: nowrap;
}

.compact-card small {
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.page-hero {
    background: linear-gradient(120deg, #0f172a, #7c2d12 58%, #0f172a);
    padding: 96px 0;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: auto -10% -40% auto;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.48), transparent 65%);
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero-compact {
    padding: 78px 0;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: #cbd5e1;
    font-size: 14px;
    margin-bottom: 22px;
}

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

.breadcrumb strong {
    color: #ffffff;
}

.filter-bar {
    margin-bottom: 24px;
    padding: 18px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.07);
}

.filter-search {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-weight: 800;
}

.empty-state {
    display: none;
    text-align: center;
    color: var(--muted);
    padding: 42px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid var(--line);
}

.empty-state.show {
    display: block;
}

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

.category-tile {
    display: grid;
    gap: 8px;
    padding: 20px;
    min-height: 112px;
    align-content: center;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.07);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.category-tile:hover {
    transform: translateY(-5px);
    border-color: rgba(249, 115, 22, 0.38);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.14);
}

.category-tile span {
    color: #ea580c;
    font-size: 12px;
    font-weight: 900;
}

.category-tile strong {
    color: var(--ink);
    font-size: 19px;
}

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

.rank-list-large .rank-link {
    grid-template-columns: 60px 132px minmax(0, 1fr);
    padding: 16px;
}

.rank-list-large .rank-link img {
    width: 132px;
    height: 82px;
}

.ranking-aside {
    position: sticky;
    top: 92px;
    padding: 22px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.single-column {
    grid-template-columns: 1fr;
    margin-top: 18px;
}

.advanced-search {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 14px;
    padding: 20px;
    margin-bottom: 24px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: var(--shadow);
}

.advanced-search label {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    background: #0f172a;
    color: #ffffff;
    padding: 60px 0 84px;
}

.detail-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.74), rgba(124, 45, 18, 0.92)), var(--detail-image);
    background-size: cover;
    background-position: center;
    filter: saturate(1.15);
}

.detail-hero-inner {
    position: relative;
    z-index: 2;
}

.detail-title-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 44px;
    align-items: center;
}

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

.detail-badges a,
.detail-badges span {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    padding: 8px 13px;
    font-size: 13px;
    font-weight: 900;
}

.detail-poster {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 28px;
    background: linear-gradient(135deg, #1e293b, #f97316);
    box-shadow: 0 36px 86px rgba(0, 0, 0, 0.42);
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #000000;
    box-shadow: 0 30px 72px rgba(15, 23, 42, 0.26);
}

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

.player-center-button {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 82px;
    height: 82px;
    display: grid;
    place-items: center;
    transform: translate(-50%, -50%);
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    background: rgba(249, 115, 22, 0.92);
    box-shadow: 0 24px 54px rgba(249, 115, 22, 0.34);
    font-size: 28px;
    cursor: pointer;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.player-center-button:hover {
    transform: translate(-50%, -50%) scale(1.06);
}

.player-center-button.is-hidden {
    opacity: 0;
    pointer-events: none;
}

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

.detail-article,
.detail-side {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.detail-article {
    padding: 34px;
}

.detail-side {
    padding: 22px;
    position: sticky;
    top: 92px;
}

.detail-article h2,
.detail-side h2 {
    font-size: 26px;
    margin: 0 0 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.detail-article p {
    color: #334155;
    line-height: 2;
    font-size: 16px;
    margin: 0 0 28px;
}

.info-table {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 26px;
}

.info-table div {
    padding: 14px;
    border-radius: 15px;
    background: #f8fafc;
    border: 1px solid var(--line);
}

.info-table span,
.info-table strong {
    display: block;
}

.info-table span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 4px;
}

.info-table strong {
    color: var(--ink);
}

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

.site-footer {
    color: #cbd5e1;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 34px;
    padding: 54px 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 950;
}

.footer-brand p,
.site-footer p {
    color: #94a3b8;
    line-height: 1.8;
}

.site-footer h2 {
    color: #ffffff;
    font-size: 16px;
    margin: 0 0 16px;
}

.site-footer a {
    display: block;
    color: #cbd5e1;
    margin: 10px 0;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    text-align: center;
    padding: 20px;
    color: #94a3b8;
}

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

    .hero-content,
    .split-layout,
    .ranking-layout,
    .detail-layout,
    .footer-grid,
    .advanced-search {
        grid-template-columns: 1fr;
    }

    .ranking-aside,
    .detail-side {
        position: static;
    }
}

@media (max-width: 760px) {
    .site-header-inner {
        min-height: 64px;
    }

    .nav-toggle {
        display: grid;
        place-items: center;
    }

    .site-nav {
        position: absolute;
        left: 16px;
        right: 16px;
        top: 72px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        border-radius: 18px;
        background: rgba(15, 23, 42, 0.98);
        box-shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
    }

    .site-nav.open {
        display: flex;
    }

    .nav-link {
        padding: 13px 14px;
    }

    .brand-subtitle {
        display: none;
    }

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

    .hero-content {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 54px 0 132px;
    }

    .hero-poster {
        min-height: 260px;
        transform: none;
    }

    .hero-poster img {
        min-height: 260px;
    }

    .hero-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        bottom: 18px;
    }

    .home-search {
        flex-direction: column;
    }

    .featured-grid,
    .movie-grid,
    .movie-grid-dense,
    .compact-grid,
    .category-grid,
    .detail-title-grid,
    .info-table {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 48px 0;
    }

    .section-head {
        align-items: start;
        flex-direction: column;
    }

    .rank-link,
    .rank-list-large .rank-link {
        grid-template-columns: 48px 88px minmax(0, 1fr);
    }

    .rank-link img,
    .rank-list-large .rank-link img {
        width: 88px;
        height: 58px;
    }

    .detail-hero {
        padding: 42px 0 60px;
    }

    .detail-poster {
        max-width: 260px;
    }

    .player-center-button {
        width: 64px;
        height: 64px;
    }

    .detail-article {
        padding: 24px;
    }
}
