:root {
    --orange: #f97316;
    --orange-dark: #ea580c;
    --amber: #f59e0b;
    --yellow: #facc15;
    --ink: #1f2937;
    --muted: #6b7280;
    --soft: #fff7ed;
    --line: #fed7aa;
    --card: #ffffff;
    --shadow: 0 24px 70px rgba(124, 45, 18, 0.16);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: linear-gradient(180deg, #fffaf3 0%, #ffffff 36%, #fff7ed 100%);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

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

img {
    display: block;
    width: 100%;
    height: auto;
}

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, #f59e0b 0%, #fb923c 48%, #f59e0b 100%);
    box-shadow: 0 12px 30px rgba(194, 65, 12, 0.28);
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

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

.brand-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: var(--orange);
    font-size: 18px;
    box-shadow: 0 12px 26px rgba(154, 52, 18, 0.22);
    transition: transform 0.25s ease;
}

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

.brand-text {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 10px rgba(124, 45, 18, 0.32);
}

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

.nav-link {
    position: relative;
    color: #fff7ed;
    font-weight: 700;
    padding: 8px 0;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    border-radius: 99px;
    background: #ffffff;
    transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.is-active::after {
    width: 100%;
}

.menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.menu-button span {
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: #ffffff;
}

.mobile-nav {
    display: none;
    background: #ffffff;
    padding: 12px 20px 20px;
    box-shadow: inset 0 1px 0 rgba(251, 146, 60, 0.22);
}

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

.mobile-link {
    padding: 12px 14px;
    border-radius: 12px;
    color: var(--ink);
    font-weight: 800;
}

.mobile-link.is-active,
.mobile-link:hover {
    color: var(--orange);
    background: #fff7ed;
}

.hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 18% 18%, rgba(253, 186, 116, 0.55), transparent 28%), linear-gradient(135deg, #7c2d12 0%, #ea580c 46%, #f59e0b 100%);
}

.hero-shell {
    position: relative;
    min-height: 670px;
}

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

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

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(10px) saturate(1.2);
    transform: scale(1.08);
    opacity: 0.32;
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(20, 12, 8, 0.88), rgba(124, 45, 18, 0.74), rgba(251, 146, 60, 0.22));
}

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

.hero-copy {
    color: #ffffff;
    max-width: 720px;
}

.hero-kicker,
.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    padding: 7px 13px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff7ed;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 12px;
}

.eyebrow {
    background: #ffedd5;
    color: var(--orange-dark);
}

.hero h1 {
    margin: 20px 0 18px;
    font-size: clamp(42px, 7vw, 82px);
    line-height: 0.98;
    font-weight: 950;
    letter-spacing: -0.05em;
    text-shadow: 0 12px 35px rgba(0, 0, 0, 0.32);
}

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

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

.hero-meta span,
.detail-meta span {
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 999px;
    padding: 7px 12px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    font-size: 14px;
    font-weight: 800;
}

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

.btn-primary,
.btn-ghost,
.section-more,
.text-link,
.ranking-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    font-weight: 900;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary {
    min-height: 48px;
    padding: 0 24px;
    color: #ffffff;
    background: linear-gradient(90deg, var(--orange), var(--amber));
    box-shadow: 0 18px 35px rgba(234, 88, 12, 0.34);
}

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

.btn-ghost {
    min-height: 48px;
    padding: 0 24px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
}

.btn-ghost.dark {
    color: var(--orange-dark);
    border-color: #fdba74;
    background: #ffffff;
}

.hero-poster {
    position: relative;
    display: block;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.42);
    transform: rotate(2deg);
    background: linear-gradient(145deg, #fed7aa, #ffffff);
}

.hero-poster img {
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.hero-poster span {
    position: absolute;
    left: 18px;
    top: 18px;
    border-radius: 999px;
    padding: 8px 13px;
    color: #ffffff;
    background: linear-gradient(90deg, var(--orange), var(--amber));
    font-weight: 950;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
}

.hero-bottom {
    position: relative;
    z-index: 4;
    margin-top: -132px;
    padding-bottom: 34px;
}

.hero-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 12px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
}

.hero-search input,
.filter-panel input,
.filter-panel select {
    width: 100%;
    border: 1px solid #fed7aa;
    border-radius: 18px;
    outline: 0;
    background: #ffffff;
    color: var(--ink);
    min-height: 50px;
    padding: 0 16px;
}

.hero-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.14);
}

.hero-search button {
    border: 0;
    min-height: 50px;
    border-radius: 18px;
    padding: 0 24px;
    color: #ffffff;
    background: var(--orange);
    font-weight: 900;
}

.hero-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.hero-links a,
.pill-links a {
    border-radius: 999px;
    padding: 9px 14px;
    color: #7c2d12;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(253, 186, 116, 0.7);
    font-weight: 800;
}

.hero-thumbs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    margin-top: 18px;
}

.hero-thumb {
    display: grid;
    grid-template-columns: 52px 1fr;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: 18px;
    padding: 8px;
    color: #ffffff;
    background: rgba(124, 45, 18, 0.32);
    backdrop-filter: blur(16px);
    text-align: left;
    transition: transform 0.25s ease, background 0.25s ease;
}

.hero-thumb:hover,
.hero-thumb.is-active {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.2);
}

.hero-thumb img {
    width: 52px;
    height: 68px;
    border-radius: 12px;
    object-fit: cover;
}

.hero-thumb span {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-weight: 900;
    line-height: 1.25;
}

.feature-strip {
    padding: 26px 0 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.feature-grid a {
    min-height: 108px;
    border-radius: 24px;
    padding: 24px;
    color: #7c2d12;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(124, 45, 18, 0.1);
    border: 1px solid #ffedd5;
}

.feature-grid strong {
    display: block;
    font-size: 20px;
    margin-bottom: 6px;
}

.feature-grid span {
    color: var(--muted);
}

.section {
    padding: 66px 0;
}

.section-warm {
    background: linear-gradient(90deg, #ffedd5 0%, #fef3c7 50%, #fff7ed 100%);
}

.section-soft {
    background: linear-gradient(180deg, #ffffff 0%, #fff7ed 100%);
}

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

.section-heading h2 {
    margin: 10px 0 8px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.1;
}

.section-heading p {
    margin: 0;
    color: var(--muted);
}

.section-more,
.text-link {
    color: var(--orange-dark);
}

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

.movie-card {
    overflow: hidden;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 16px 36px rgba(124, 45, 18, 0.1);
    border: 1px solid #ffedd5;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.movie-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 60px rgba(124, 45, 18, 0.18);
}

.poster-wrap {
    position: relative;
    display: block;
    overflow: hidden;
    background: linear-gradient(145deg, #ffedd5, #ffffff);
}

.poster-wrap img {
    aspect-ratio: 2 / 3;
    object-fit: cover;
    transition: transform 0.45s ease;
}

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

.play-hover {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 32px;
    background: rgba(0, 0, 0, 0.42);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.movie-card:hover .play-hover {
    opacity: 1;
}

.rank-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    border-radius: 999px;
    padding: 6px 10px;
    color: #ffffff;
    background: linear-gradient(90deg, var(--orange), var(--amber));
    font-weight: 950;
    font-size: 12px;
}

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

.movie-card h2 {
    margin: 0;
    font-size: 16px;
    line-height: 1.35;
}

.movie-card h2 a:hover,
.ranking-info h2 a:hover,
.detail-side a:hover {
    color: var(--orange-dark);
}

.movie-meta {
    margin: 6px 0 8px;
    color: #9ca3af;
    font-size: 13px;
}

.movie-line {
    min-height: 42px;
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

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

.tag-row span,
.detail-tags span {
    border-radius: 999px;
    padding: 4px 8px;
    color: var(--orange-dark);
    background: #ffedd5;
    font-size: 12px;
    font-weight: 800;
}

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

.category-card {
    position: relative;
    min-height: 220px;
    border-radius: 28px;
    overflow: hidden;
    color: #ffffff;
    box-shadow: 0 22px 56px rgba(124, 45, 18, 0.18);
    background: #7c2d12;
}

.category-card img {
    position: absolute;
    inset: 0;
    height: 100%;
    object-fit: cover;
    opacity: 0.48;
    transition: transform 0.45s ease;
}

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

.category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(124, 45, 18, 0.86));
}

.category-card div {
    position: absolute;
    z-index: 2;
    left: 20px;
    right: 20px;
    bottom: 20px;
}

.category-card span {
    font-size: 12px;
    font-weight: 900;
    opacity: 0.82;
}

.category-card strong {
    display: block;
    font-size: 24px;
    line-height: 1.2;
    margin: 4px 0;
}

.category-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
}

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

.mini-card {
    display: grid;
    grid-template-columns: 72px 1fr 48px;
    align-items: center;
    gap: 14px;
    border-radius: 18px;
    padding: 10px;
    background: #ffffff;
    border: 1px solid #ffedd5;
    box-shadow: 0 12px 30px rgba(124, 45, 18, 0.08);
}

.mini-card img {
    width: 72px;
    height: 92px;
    object-fit: cover;
    border-radius: 14px;
}

.mini-card strong {
    display: block;
    line-height: 1.35;
}

.mini-card em {
    display: block;
    color: var(--muted);
    font-style: normal;
    margin-top: 6px;
    font-size: 13px;
}

.mini-card > span {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--orange);
    font-weight: 950;
}

.page-hero {
    padding: 82px 0;
    color: #ffffff;
    background: radial-gradient(circle at 12% 18%, rgba(254, 215, 170, 0.46), transparent 26%), linear-gradient(135deg, #7c2d12, #f97316 54%, #f59e0b);
}

.page-hero h1 {
    margin: 14px 0 12px;
    font-size: clamp(36px, 6vw, 68px);
    line-height: 1;
    letter-spacing: -0.04em;
}

.page-hero p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
}

.page-hero .eyebrow {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

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

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: #9ca3af;
    margin-top: 22px;
}

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

.breadcrumb.light {
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0;
}

.breadcrumb.light a:hover {
    color: #ffffff;
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    overflow: hidden;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid #ffedd5;
    box-shadow: 0 18px 45px rgba(124, 45, 18, 0.1);
}

.category-cover {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    padding: 10px;
    background: #ffedd5;
}

.category-cover img {
    height: 160px;
    object-fit: cover;
    border-radius: 14px;
}

.category-overview-body {
    padding: 28px;
}

.category-overview-body span {
    color: var(--orange-dark);
    font-weight: 900;
}

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

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

.category-sample-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.category-sample-links a {
    border-radius: 999px;
    padding: 7px 11px;
    color: #7c2d12;
    background: #fff7ed;
    font-size: 13px;
    font-weight: 800;
}

.filter-section {
    margin-top: -28px;
    position: relative;
    z-index: 5;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 160px 160px;
    gap: 12px;
    padding: 14px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
    border: 1px solid #ffedd5;
    backdrop-filter: blur(18px);
}

.filter-panel.large {
    grid-template-columns: minmax(0, 1fr) 180px 180px;
}

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

.compact-section {
    padding-top: 0;
}

.compact-section h2 {
    margin: 0 0 16px;
}

.pill-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

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

.ranking-row {
    display: grid;
    grid-template-columns: 54px 96px 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 14px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid #ffedd5;
    box-shadow: 0 14px 34px rgba(124, 45, 18, 0.08);
}

.ranking-num {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--orange), var(--amber));
    font-weight: 950;
}

.ranking-poster img {
    width: 96px;
    height: 128px;
    object-fit: cover;
    border-radius: 14px;
}

.ranking-info h2 {
    margin: 0;
    font-size: 22px;
}

.ranking-info p {
    margin: 6px 0 10px;
    color: var(--muted);
}

.ranking-action {
    min-height: 42px;
    padding: 0 18px;
    color: #ffffff;
    background: var(--orange);
}

.detail-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: #7c2d12;
}

.detail-bg {
    position: absolute;
    inset: 0;
}

.detail-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(12px) saturate(1.18);
    transform: scale(1.08);
    opacity: 0.36;
}

.detail-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(17, 24, 39, 0.9), rgba(124, 45, 18, 0.76), rgba(249, 115, 22, 0.34));
}

.detail-hero-inner {
    position: relative;
    z-index: 2;
    min-height: 560px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 46px;
    align-items: center;
    padding: 58px 0;
}

.detail-poster {
    position: relative;
    display: block;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.detail-poster img {
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.detail-poster span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 56px;
    background: rgba(0, 0, 0, 0.24);
}

.detail-copy h1 {
    margin: 18px 0 14px;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.detail-line {
    max-width: 780px;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 19px;
}

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

.detail-tags span {
    color: #7c2d12;
    background: rgba(255, 255, 255, 0.88);
}

.player-card {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: #000000;
    box-shadow: 0 28px 80px rgba(17, 24, 39, 0.28);
    aspect-ratio: 16 / 9;
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    border: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: #ffffff;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.72));
    cursor: pointer;
}

.player-overlay.is-hidden {
    display: none;
}

.player-overlay span {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--orange), var(--amber));
    box-shadow: 0 18px 46px rgba(249, 115, 22, 0.42);
    font-size: 34px;
}

.player-overlay strong {
    max-width: min(90%, 640px);
    text-align: center;
    font-size: clamp(22px, 4vw, 38px);
    line-height: 1.2;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 30px;
}

.detail-main,
.detail-side {
    border-radius: 26px;
    padding: 30px;
    background: #ffffff;
    border: 1px solid #ffedd5;
    box-shadow: 0 16px 42px rgba(124, 45, 18, 0.08);
}

.detail-main h2,
.detail-side h2 {
    margin: 0 0 14px;
    font-size: 26px;
}

.detail-main h2:not(:first-child) {
    margin-top: 30px;
}

.detail-main p {
    margin: 0;
    color: #4b5563;
    font-size: 17px;
}

.detail-side dl {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 10px 14px;
    margin: 0;
}

.detail-side dt {
    color: #9ca3af;
    font-weight: 800;
}

.detail-side dd {
    margin: 0;
    color: var(--ink);
    font-weight: 800;
}

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

.site-footer {
    color: #e5e7eb;
    background: #111827;
    padding-top: 56px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 34px;
}

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

.footer-brand .brand-icon {
    width: 38px;
    height: 38px;
    font-size: 15px;
}

.site-footer h2 {
    margin: 0 0 14px;
    color: #fb923c;
    font-size: 18px;
}

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

.site-footer a {
    display: block;
    color: #9ca3af;
    margin: 8px 0;
}

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

.footer-bottom {
    width: min(1180px, calc(100% - 32px));
    margin: 44px auto 0;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    color: #9ca3af;
    font-size: 14px;
}

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

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

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

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

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

    .menu-button {
        display: inline-flex;
    }

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

    .hero-content,
    .detail-hero-inner,
    .detail-layout,
    .category-overview-card {
        grid-template-columns: 1fr;
    }

    .hero-content {
        gap: 28px;
        padding-bottom: 190px;
    }

    .hero-poster,
    .detail-poster {
        width: min(280px, 80vw);
        margin: 0 auto;
        transform: none;
    }

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

    .feature-grid,
    .rank-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

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

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

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

    .ranking-action {
        grid-column: 2 / -1;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 24px, 1180px);
    }

    .header-inner {
        min-height: 66px;
    }

    .brand-icon {
        width: 38px;
        height: 38px;
    }

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

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

    .hero-content {
        padding-top: 34px;
    }

    .hero h1,
    .detail-copy h1,
    .page-hero h1 {
        letter-spacing: -0.03em;
    }

    .hero-search {
        grid-template-columns: 1fr;
        border-radius: 22px;
    }

    .hero-thumbs {
        display: flex;
        overflow-x: auto;
        padding-bottom: 6px;
    }

    .hero-thumb {
        min-width: 210px;
    }

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

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

    .section {
        padding: 44px 0;
    }

    .section-heading {
        display: block;
    }

    .section-more {
        margin-top: 14px;
    }

    .category-cover {
        grid-template-columns: repeat(4, 1fr);
    }

    .category-cover img {
        height: 116px;
    }

    .category-overview-body,
    .detail-main,
    .detail-side {
        padding: 22px;
    }

    .ranking-row {
        grid-template-columns: 36px 72px 1fr;
        gap: 12px;
        padding: 12px;
    }

    .ranking-poster img {
        width: 72px;
        height: 96px;
    }

    .ranking-info h2 {
        font-size: 17px;
    }

    .ranking-info p:not(.movie-meta),
    .ranking-info .tag-row {
        display: none;
    }

    .detail-hero-inner {
        min-height: auto;
        padding: 34px 0 46px;
    }

    .player-card {
        border-radius: 18px;
    }

    .player-overlay span {
        width: 66px;
        height: 66px;
        font-size: 26px;
    }

    .footer-bottom {
        display: grid;
        gap: 8px;
    }
}
