:root {
    --amber: #d97706;
    --amber-dark: #b45309;
    --amber-soft: #fef3c7;
    --blue: #2563eb;
    --cyan: #0891b2;
    --slate: #0f172a;
    --slate-soft: #1e293b;
    --gray: #64748b;
    --line: rgba(148, 163, 184, 0.28);
    --paper: rgba(255, 255, 255, 0.86);
    --shadow: 0 22px 60px rgba(15, 23, 42, 0.13);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
    font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: #172033;
    background: linear-gradient(180deg, #f8fafc 0%, #eff6ff 44%, #fff7ed 100%);
    min-height: 100vh;
}

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(245, 158, 11, 0.22);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px);
}

.header-inner {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    height: 74px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-weight: 900;
    background: linear-gradient(135deg, #f59e0b, #2563eb);
    box-shadow: 0 12px 30px rgba(217, 119, 6, 0.32);
}

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

.brand-text strong {
    font-size: 18px;
    letter-spacing: 0.04em;
}

.brand-text em {
    margin-top: 3px;
    color: var(--gray);
    font-style: normal;
    font-size: 12px;
}

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

.nav-link {
    color: #334155;
    font-weight: 700;
    transition: color 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--amber);
}

.header-search,
.mobile-search {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-search input,
.mobile-search input,
.filter-search input {
    border: 1px solid rgba(245, 158, 11, 0.32);
    border-radius: 999px;
    padding: 10px 16px;
    color: #172033;
    background: rgba(255, 255, 255, 0.78);
    outline: none;
    min-width: 250px;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.header-search input:focus,
.mobile-search input:focus,
.filter-search input:focus {
    border-color: #f59e0b;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.16);
}

.header-search button,
.mobile-search button,
.primary-btn,
.list-action {
    border: 0;
    border-radius: 999px;
    padding: 10px 18px;
    color: #ffffff;
    font-weight: 800;
    cursor: pointer;
    background: linear-gradient(135deg, #d97706, #2563eb);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.2);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.header-search button:hover,
.mobile-search button:hover,
.primary-btn:hover,
.list-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(217, 119, 6, 0.25);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    background: rgba(245, 158, 11, 0.12);
    cursor: pointer;
}

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

.mobile-panel {
    display: none;
    border-top: 1px solid rgba(245, 158, 11, 0.18);
    padding: 16px;
    background: rgba(255, 255, 255, 0.96);
}

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

.mobile-nav {
    display: grid;
    gap: 12px;
    margin-bottom: 14px;
}

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

.site-main {
    position: relative;
    overflow: hidden;
}

.main-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 12%, rgba(245, 158, 11, 0.20), transparent 32%),
        radial-gradient(circle at 82% 8%, rgba(37, 99, 235, 0.16), transparent 28%);
}

.page-stack {
    position: relative;
    padding: 34px 0 72px;
}

.hero-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    margin-bottom: 58px;
}

.hero-carousel {
    position: relative;
    min-height: 580px;
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    background: #111827;
}

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

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

.hero-image {
    position: absolute;
    inset: 0;
}

.hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.96) 0%, rgba(15, 23, 42, 0.58) 48%, rgba(15, 23, 42, 0.12) 100%), linear-gradient(0deg, rgba(15, 23, 42, 0.88), transparent 56%);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.03);
}

.hero-copy {
    position: relative;
    z-index: 2;
    width: min(620px, 84%);
    padding: 92px 56px 72px;
    color: #ffffff;
}

.hero-tags,
.detail-tags,
.card-tags,
.article-tags,
.mini-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-tags span,
.detail-tags span,
.card-tags span,
.article-tags span,
.mini-chips span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 800;
    color: #92400e;
    background: linear-gradient(135deg, #fef3c7, #dbeafe);
}

.hero-copy h1 {
    margin: 20px 0 18px;
    font-size: clamp(38px, 6vw, 70px);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.hero-copy p {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
    line-height: 1.8;
}

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

.ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    padding: 10px 18px;
    color: #ffffff;
    font-weight: 800;
    background: rgba(15, 23, 42, 0.24);
    backdrop-filter: blur(12px);
    transition: transform 0.25s ease, background 0.25s ease;
}

.ghost-btn.soft {
    background: rgba(245, 158, 11, 0.18);
}

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

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    font-size: 36px;
    cursor: pointer;
    background: rgba(15, 23, 42, 0.54);
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.25s ease, background 0.25s ease;
}

.hero-carousel:hover .hero-arrow {
    opacity: 1;
}

.hero-prev {
    left: 18px;
}

.hero-next {
    right: 18px;
}

.hero-dots {
    position: absolute;
    left: 56px;
    bottom: 34px;
    z-index: 5;
    display: flex;
    gap: 8px;
}

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

.hero-dot.is-active {
    width: 34px;
    background: #ffffff;
}

.hero-rail {
    border-radius: var(--radius-xl);
    padding: 18px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.hero-rail-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.hero-rail-head span {
    color: var(--amber);
    font-weight: 900;
}

.hero-rail-head strong {
    color: #0f172a;
}

.hero-rail-grid {
    display: grid;
    gap: 14px;
}

.content-section {
    margin-bottom: 58px;
}

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

.section-head span {
    display: inline-flex;
    margin-bottom: 6px;
    color: var(--amber);
    font-weight: 900;
    letter-spacing: 0.08em;
}

.section-head h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.1;
    background: linear-gradient(135deg, #dc2626, #d97706 48%, #2563eb);
    background-clip: text;
    color: transparent;
}

.section-more,
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--amber);
    font-weight: 900;
}

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

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

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

.movie-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 56px rgba(15, 23, 42, 0.16);
}

.movie-card-large {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    min-height: 132px;
}

.movie-card-large .card-cover {
    height: 100%;
}

.card-cover {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #0f172a;
}

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

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

.card-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.62), transparent 58%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

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

.play-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: var(--amber);
    background: rgba(255, 255, 255, 0.92);
    transform: translate(-50%, -50%) scale(0.78);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

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

.duration,
.rank-badge {
    position: absolute;
    z-index: 3;
    border-radius: 999px;
    padding: 5px 8px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    background: rgba(15, 23, 42, 0.72);
}

.duration {
    right: 10px;
    bottom: 10px;
}

.rank-badge {
    left: 10px;
    top: 10px;
    background: linear-gradient(135deg, #dc2626, #f59e0b);
}

.card-body {
    padding: 14px;
}

.card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 48px;
    color: #0f172a;
    font-size: 17px;
    line-height: 1.38;
    font-weight: 900;
    transition: color 0.25s ease;
}

.card-title:hover {
    color: var(--amber);
}

.card-body p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 42px;
    margin: 8px 0 12px;
    color: var(--gray);
    font-size: 13px;
    line-height: 1.6;
}

.card-meta,
.list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    color: #64748b;
    font-size: 12px;
}

.card-tags {
    margin-top: 12px;
}

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

.category-tile {
    position: relative;
    min-height: 240px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #ffffff;
    box-shadow: var(--shadow);
    background: #111827;
}

.category-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.22));
}

.category-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.category-tile span,
.category-tile em {
    position: relative;
    z-index: 2;
}

.category-tile span {
    font-size: 22px;
    font-weight: 900;
}

.category-tile em {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.78);
    font-style: normal;
    line-height: 1.6;
}

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

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

.list-card {
    display: grid;
    grid-template-columns: 52px 142px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 14px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.list-rank {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #ffffff;
    font-weight: 900;
    background: linear-gradient(135deg, #dc2626, #d97706);
}

.list-rank.muted {
    color: var(--amber);
    background: var(--amber-soft);
}

.list-cover {
    overflow: hidden;
    border-radius: 16px;
    aspect-ratio: 16 / 10;
    background: #111827;
}

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

.list-title {
    color: #0f172a;
    font-weight: 900;
    font-size: 18px;
}

.list-info p {
    margin: 7px 0 9px;
    color: var(--gray);
    line-height: 1.6;
}

.page-hero,
.detail-hero,
.player-section,
.detail-layout,
.filter-panel,
.category-overview-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.page-hero {
    padding: 48px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(219, 234, 254, 0.82)),
        radial-gradient(circle at 20% 20%, rgba(245, 158, 11, 0.22), transparent 28%);
}

.page-hero span {
    display: inline-flex;
    color: var(--amber);
    font-weight: 900;
    margin-bottom: 10px;
}

.page-hero h1 {
    margin: 0;
    font-size: clamp(34px, 5vw, 58px);
    letter-spacing: -0.04em;
}

.page-hero p {
    max-width: 760px;
    color: var(--gray);
    font-size: 18px;
    line-height: 1.8;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: #64748b;
    font-size: 14px;
}

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

.filter-panel {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 16px;
    padding: 18px;
}

.filter-search input {
    width: 100%;
    min-width: auto;
}

.filter-years {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-years button {
    border: 1px solid rgba(245, 158, 11, 0.26);
    border-radius: 999px;
    padding: 9px 13px;
    color: #475569;
    background: #ffffff;
    cursor: pointer;
}

.filter-years button.is-active,
.filter-years button:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #d97706, #2563eb);
}

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

.category-overview-card {
    overflow: hidden;
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
}

.category-cover-cluster {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    min-height: 230px;
    background: #111827;
}

.category-cover-cluster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.category-overview-body h2 {
    margin: 0 0 10px;
}

.category-overview-body p {
    color: var(--gray);
    line-height: 1.7;
}

.mini-chips {
    margin-bottom: 18px;
}

.detail-main .page-stack {
    padding-top: 22px;
}

.detail-hero {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 30px;
    padding: 28px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.90));
    color: #ffffff;
}

.detail-poster {
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.35);
    background: #111827;
}

.detail-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-copy h1 {
    margin: 18px 0 12px;
    font-size: clamp(34px, 5vw, 60px);
    line-height: 1.06;
    letter-spacing: -0.04em;
}

.detail-lead {
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
    line-height: 1.8;
}

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

.detail-meta-grid span {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    padding: 13px 14px;
    color: rgba(255, 255, 255, 0.86);
    background: rgba(255, 255, 255, 0.08);
}

.detail-meta-grid strong {
    display: block;
    color: #fbbf24;
    margin-bottom: 4px;
}

.player-section {
    overflow: hidden;
    padding: 20px;
}

.player-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}

.player-title-row h2 {
    margin: 0;
    color: #0f172a;
}

.player-title-row span {
    color: var(--gray);
    font-weight: 700;
}

.video-shell {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    aspect-ratio: 16 / 9;
    background: #020617;
}

.movie-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    background: #020617;
}

.play-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 0;
    color: #ffffff;
    cursor: pointer;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.25), rgba(15, 23, 42, 0.78));
}

.play-overlay span {
    width: 82px;
    height: 82px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #d97706;
    font-size: 32px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 20px 52px rgba(0, 0, 0, 0.32);
}

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

.video-shell.is-playing .play-overlay {
    display: none;
}

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

.detail-article h2,
.detail-side h2 {
    margin: 0 0 14px;
    color: #0f172a;
}

.detail-article p {
    color: #475569;
    line-height: 1.95;
    font-size: 16px;
    margin: 0 0 26px;
}

.article-tags {
    margin-top: 10px;
}

.detail-side {
    border-left: 1px solid var(--line);
    padding-left: 24px;
}

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

.detail-side dt {
    color: var(--amber);
    font-weight: 900;
}

.detail-side dd {
    margin: 2px 0 0;
    color: #475569;
    line-height: 1.6;
}

.search-layer {
    position: fixed;
    inset: 0;
    z-index: 80;
    padding: 90px 16px 24px;
    background: rgba(15, 23, 42, 0.48);
    backdrop-filter: blur(8px);
}

.search-box {
    width: min(760px, 100%);
    max-height: min(680px, calc(100vh - 120px));
    overflow: auto;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    background: #ffffff;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.35);
}

.search-box-head {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    border-bottom: 1px solid var(--line);
    background: #ffffff;
}

.search-box-head button {
    border: 0;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    cursor: pointer;
    background: var(--amber-soft);
}

.search-results {
    display: grid;
    gap: 10px;
    padding: 18px;
}

.search-result-item {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 10px;
}

.search-result-item img {
    width: 96px;
    height: 64px;
    object-fit: cover;
    border-radius: 14px;
}

.search-result-item strong {
    display: block;
    color: #0f172a;
    margin-bottom: 5px;
}

.search-result-item p {
    margin: 0;
    color: var(--gray);
    font-size: 13px;
    line-height: 1.5;
}

.site-footer {
    color: #cbd5e1;
    background: linear-gradient(135deg, #0f172a, #1e293b 50%, #111827);
}

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

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

.footer-brand-line .brand-text strong {
    color: #ffffff;
}

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

.footer-links h3 {
    margin: 0 0 14px;
    color: #ffffff;
}

.footer-links a {
    display: block;
    color: #cbd5e1;
    margin: 9px 0;
    transition: color 0.25s ease;
}

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

.footer-bottom {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    padding: 20px 0 30px;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    color: #94a3b8;
    font-size: 14px;
}

[hidden] {
    display: none !important;
}

@media (max-width: 1180px) {
    .hero-section {
        grid-template-columns: 1fr;
    }

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

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

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

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

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

    .hero-copy {
        width: 100%;
        padding: 72px 30px 64px;
    }

    .hero-rail-grid,
    .two-column {
        grid-template-columns: 1fr;
    }

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

    .list-action {
        grid-column: 2 / -1;
        justify-self: start;
    }

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

    .detail-side {
        border-left: 0;
        padding-left: 0;
        border-top: 1px solid var(--line);
        padding-top: 24px;
    }
}

@media (max-width: 640px) {
    .container,
    .header-inner,
    .footer-inner,
    .footer-bottom {
        width: min(100% - 24px, 1240px);
    }

    .brand-text em {
        display: none;
    }

    .hero-carousel {
        min-height: 560px;
    }

    .hero-copy h1 {
        font-size: 38px;
    }

    .hero-actions,
    .detail-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .movie-grid,
    .compact-grid,
    .category-grid,
    .footer-links {
        grid-template-columns: 1fr;
    }

    .movie-card-large {
        grid-template-columns: 1fr;
    }

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

    .list-rank {
        width: 100%;
    }

    .list-cover {
        width: 100%;
    }

    .page-hero,
    .detail-hero,
    .player-section,
    .detail-layout {
        padding: 20px;
    }

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

    .player-title-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .search-result-item {
        grid-template-columns: 1fr;
    }

    .search-result-item img {
        width: 100%;
        height: 160px;
    }
}
