:root {
    --amber: #f59e0b;
    --amber-dark: #d97706;
    --orange: #f97316;
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    --white: #ffffff;
    --text: #111827;
    --muted: #64748b;
    --line: #e2e8f0;
    --shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #fff7ed 0, #ffffff 24rem, #f8fafc 100%);
    line-height: 1.65;
}

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(90deg, var(--amber), var(--orange), var(--amber-dark));
    box-shadow: 0 18px 42px rgba(217, 119, 6, 0.28);
}

.nav-shell {
    width: min(1180px, calc(100% - 32px));
    height: 68px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 22px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.brand-mark {
    width: 36px;
    height: 36px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32);
    font-size: 15px;
}

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

.nav-link,
.mobile-links a,
.nav-menu-panel a {
    color: rgba(255, 255, 255, 0.94);
    font-weight: 700;
    border-radius: 999px;
    transition: 180ms ease;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 14px;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 255, 255, 0.18);
    color: var(--white);
}

.nav-menu {
    position: relative;
}

.nav-menu-button {
    border: 0;
    cursor: pointer;
}

.nav-menu-panel {
    position: absolute;
    top: 48px;
    right: 0;
    width: 260px;
    padding: 12px;
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    background: rgba(15, 23, 42, 0.94);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.nav-menu:hover .nav-menu-panel,
.nav-menu:focus-within .nav-menu-panel {
    display: grid;
}

.nav-menu-panel a {
    padding: 9px 10px;
    font-size: 14px;
}

.nav-menu-panel a:hover {
    background: rgba(245, 158, 11, 0.2);
}

.header-search {
    position: relative;
    width: 230px;
}

.header-search input,
.mobile-search input,
.large-search input,
.search-page-form input,
.filter-panel input {
    width: 100%;
    border: 0;
    outline: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--text);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.header-search input {
    height: 40px;
    padding: 0 76px 0 16px;
}

.header-search button,
.mobile-search button,
.large-search button,
.search-page-form button {
    border: 0;
    cursor: pointer;
    color: var(--white);
    background: var(--slate-900);
    border-radius: 999px;
    font-weight: 800;
    transition: 180ms ease;
}

.header-search button {
    position: absolute;
    top: 5px;
    right: 5px;
    height: 30px;
    padding: 0 12px;
    font-size: 13px;
}

.header-search button:hover,
.mobile-search button:hover,
.large-search button:hover,
.search-page-form button:hover {
    transform: translateY(-1px);
    background: #111827;
}

.mobile-toggle {
    display: none;
    margin-left: auto;
    color: var(--white);
    border: 0;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    width: 42px;
    height: 42px;
    cursor: pointer;
}

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

.mobile-search {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.mobile-search input {
    height: 42px;
    padding: 0 16px;
}

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

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

.mobile-links a {
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.14);
}

.hero {
    position: relative;
    min-height: 72vh;
    overflow: hidden;
    background: var(--slate-950);
}

.hero-slider,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 700ms ease;
}

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

.hero-slide img,
.detail-hero > img,
.page-hero > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 70% 20%, rgba(245, 158, 11, 0.55), transparent 35%),
        linear-gradient(90deg, rgba(2, 6, 23, 0.93), rgba(15, 23, 42, 0.58), rgba(2, 6, 23, 0.3)),
        linear-gradient(0deg, rgba(2, 6, 23, 0.9), transparent 45%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    min-height: 72vh;
    margin: 0 auto;
    padding-top: 92px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--white);
}

.hero-kicker,
.section-heading span,
.page-hero span,
.spotlight-card > span {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.18);
    color: #fbbf24;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 12px;
}

.hero h1 {
    width: min(850px, 100%);
    margin: 20px 0 18px;
    font-size: clamp(42px, 7vw, 86px);
    line-height: 0.98;
    letter-spacing: -0.05em;
    text-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.hero p {
    width: min(680px, 100%);
    margin: 0 0 34px;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(17px, 2vw, 22px);
}

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

.primary-button,
.ghost-button,
.text-link,
.filter-chips button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 900;
    transition: 180ms ease;
}

.primary-button {
    min-height: 46px;
    padding: 0 24px;
    color: var(--white);
    background: linear-gradient(90deg, var(--amber), var(--orange));
    box-shadow: 0 18px 36px rgba(249, 115, 22, 0.32);
}

.primary-button:hover,
.ghost-button:hover,
.text-link:hover,
.filter-chips button:hover {
    transform: translateY(-2px);
}

.ghost-button {
    min-height: 46px;
    padding: 0 24px;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

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

.hero-dot {
    width: 12px;
    height: 12px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
}

.hero-dot.active {
    width: 36px;
    background: var(--white);
}

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

.section-band {
    background: linear-gradient(90deg, #fff7ed, #fffbeb);
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 34px;
    text-align: center;
}

.section-heading.left {
    margin-left: 0;
    text-align: left;
}

.section-heading h2,
.page-hero h1,
.spotlight-card h2 {
    margin: 14px 0 12px;
    color: var(--text);
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.section-heading p,
.page-hero p,
.spotlight-card p {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
}

.grid {
    display: grid;
    gap: 22px;
}

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

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

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

.movie-card {
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.09);
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, #fed7aa, #fef3c7);
}

.poster-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 420ms ease;
}

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

.poster-shade {
    position: absolute;
    inset: auto 0 0;
    height: 45%;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.72), transparent);
}

.score-badge,
.type-badge {
    position: absolute;
    top: 12px;
    z-index: 2;
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    border-radius: 999px;
    color: var(--white);
    font-size: 13px;
    font-weight: 900;
    backdrop-filter: blur(10px);
}

.score-badge {
    left: 12px;
    padding: 0 10px;
    background: rgba(245, 158, 11, 0.88);
}

.type-badge {
    right: 12px;
    padding: 0 10px;
    background: rgba(15, 23, 42, 0.72);
}

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

.movie-card h2 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.25;
}

.movie-card h2 a:hover,
.ranking-main h2 a:hover,
.category-overview-card h2 a:hover {
    color: var(--amber-dark);
}

.movie-meta,
.movie-desc {
    margin: 0;
}

.movie-meta {
    color: var(--amber-dark);
    font-size: 13px;
    font-weight: 800;
}

.movie-desc {
    margin-top: 8px;
    color: var(--slate-600);
    font-size: 14px;
}

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

.movie-tags a,
.detail-tags a {
    padding: 5px 9px;
    border-radius: 999px;
    color: var(--slate-700);
    background: var(--slate-100);
    font-size: 12px;
    font-weight: 800;
}

.movie-tags a:hover,
.detail-tags a:hover {
    color: var(--amber-dark);
    background: #fef3c7;
}

.movie-card.horizontal {
    display: grid;
    grid-template-columns: 170px 1fr;
    align-items: stretch;
}

.movie-card.horizontal .poster-link {
    aspect-ratio: auto;
    min-height: 210px;
}

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

.dark-section {
    background: radial-gradient(circle at top right, rgba(245, 158, 11, 0.25), transparent 32%), linear-gradient(135deg, var(--slate-950), var(--slate-800));
    color: var(--white);
}

.section-heading.invert h2,
.section-heading.invert p {
    color: var(--white);
}

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

.category-tile {
    position: relative;
    min-height: 210px;
    overflow: hidden;
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: var(--slate-800);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.category-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.54;
    transition: transform 420ms ease;
}

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

.category-tile span {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.88), transparent 65%);
}

.category-tile strong,
.category-tile em {
    position: relative;
    z-index: 1;
}

.category-tile strong {
    font-size: 22px;
    font-style: normal;
    font-weight: 900;
}

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

.two-column-section {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 34px;
    align-items: start;
}

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

.ranking-row {
    position: relative;
    display: grid;
    grid-template-columns: 88px 46px 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 14px;
    border-radius: 20px;
    background: var(--white);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.ranking-cover {
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 14px;
    background: #fed7aa;
}

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

.ranking-number {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--amber), var(--orange));
    border-radius: 14px;
    font-weight: 900;
}

.ranking-main h2 {
    margin: 0 0 6px;
    font-size: 20px;
}

.ranking-main p {
    margin: 0 0 8px;
    color: var(--slate-600);
}

.ranking-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ranking-meta span {
    padding: 4px 9px;
    border-radius: 999px;
    color: var(--slate-700);
    background: var(--slate-100);
    font-size: 12px;
    font-weight: 800;
}

.text-link {
    min-height: 38px;
    padding: 0 15px;
    color: var(--amber-dark);
    background: #fef3c7;
}

.inline-button {
    margin-top: 24px;
}

.spotlight-card {
    position: sticky;
    top: 92px;
    padding: 30px;
    border-radius: 30px;
    color: var(--white);
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.22), transparent 34%),
        linear-gradient(135deg, var(--slate-900), var(--slate-950));
    box-shadow: var(--shadow);
}

.spotlight-card h2,
.spotlight-card p {
    color: var(--white);
}

.large-search {
    position: relative;
    margin-top: 24px;
}

.large-search input {
    height: 52px;
    padding: 0 120px 0 18px;
}

.large-search button {
    position: absolute;
    top: 6px;
    right: 6px;
    height: 40px;
    padding: 0 18px;
}

.spotlight-card > a {
    display: inline-flex;
    margin-top: 18px;
    color: #fbbf24;
    font-weight: 900;
}

.page-hero,
.detail-hero {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--slate-950), var(--slate-800));
}

.page-hero.small-hero {
    min-height: 310px;
    padding-top: 68px;
}

.page-hero > div,
.detail-hero-content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.page-hero h1,
.page-hero p {
    color: var(--white);
}

.page-hero > img,
.detail-hero > img {
    position: absolute;
    inset: 0;
    opacity: 0.45;
}

.page-hero-shade,
.detail-hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.38)), radial-gradient(circle at 75% 25%, rgba(245, 158, 11, 0.45), transparent 30%);
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 18px;
    padding: 18px;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

.category-collage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    overflow: hidden;
    border-radius: 18px;
}

.category-collage img {
    width: 100%;
    height: 118px;
    object-fit: cover;
    background: #fed7aa;
}

.category-overview-card h2 {
    margin: 4px 0 10px;
    font-size: 24px;
}

.category-overview-card p {
    margin: 0 0 16px;
    color: var(--slate-600);
}

.filter-panel {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    padding: 14px;
    border-radius: 24px;
    background: var(--white);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.sticky-filter {
    position: sticky;
    top: 84px;
    z-index: 20;
}

.filter-panel input {
    height: 48px;
    padding: 0 18px;
    background: var(--slate-50);
    box-shadow: inset 0 0 0 1px var(--line);
}

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

.filter-chips button {
    min-height: 40px;
    padding: 0 14px;
    border: 0;
    cursor: pointer;
    color: var(--slate-700);
    background: var(--slate-100);
}

.filter-chips button.active {
    color: var(--white);
    background: linear-gradient(90deg, var(--amber), var(--orange));
}

.empty-state,
.search-status {
    color: var(--slate-600);
    text-align: center;
    font-weight: 800;
}

.search-page-form {
    position: relative;
    max-width: 820px;
    margin: 0 auto 32px;
}

.search-page-form input {
    height: 58px;
    padding: 0 130px 0 22px;
    background: var(--white);
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.1), inset 0 0 0 1px var(--line);
}

.search-page-form button {
    position: absolute;
    top: 7px;
    right: 7px;
    height: 44px;
    padding: 0 24px;
}

.detail-hero {
    min-height: 520px;
    padding-top: 68px;
}

.detail-hero-content h1 {
    width: min(850px, 100%);
    margin: 20px 0 18px;
    color: var(--white);
    font-size: clamp(40px, 6vw, 74px);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.detail-hero-content p {
    width: min(720px, 100%);
    margin: 0 0 28px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 19px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    font-weight: 800;
}

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

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

.detail-main {
    display: grid;
    gap: 22px;
}

.player-box {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #000;
    box-shadow: var(--shadow);
    aspect-ratio: 16 / 9;
}

.movie-video,
.player-cover,
.player-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.movie-video {
    object-fit: contain;
    background: #000;
}

.player-cover {
    z-index: 2;
    cursor: pointer;
    overflow: hidden;
    border: 0;
    padding: 0;
    color: var(--white);
    transition: opacity 220ms ease, visibility 220ms ease;
}

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

.player-cover img {
    object-fit: cover;
    filter: saturate(1.04);
}

.player-cover-shade {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(245, 158, 11, 0.18), transparent 30%), linear-gradient(0deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.16));
}

.play-button {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    width: 86px;
    height: 86px;
    transform: translate(-50%, -50%);
    border: 0;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(135deg, var(--amber), var(--orange));
    box-shadow: 0 24px 54px rgba(249, 115, 22, 0.36);
    font-size: 32px;
    cursor: pointer;
}

.player-error {
    position: absolute;
    z-index: 4;
    left: 20px;
    right: 20px;
    bottom: 16px;
    margin: 0;
    padding: 12px 16px;
    border-radius: 14px;
    color: var(--white);
    background: rgba(220, 38, 38, 0.86);
    text-align: center;
    font-weight: 800;
}

.detail-card,
.related-aside {
    border-radius: 24px;
    background: var(--white);
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

.detail-card {
    padding: 26px;
}

.detail-card h2,
.related-aside h2 {
    margin: 0 0 16px;
    font-size: 24px;
}

.detail-card p {
    margin: 0;
    color: var(--slate-700);
}

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

.detail-title-row span {
    display: inline-flex;
    min-width: 68px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(90deg, var(--amber), var(--orange));
    font-weight: 900;
}

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

.movie-info div {
    padding: 14px;
    border-radius: 16px;
    background: var(--slate-50);
}

.movie-info dt {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.movie-info dd {
    margin: 4px 0 0;
    color: var(--text);
    font-weight: 900;
}

.review-card {
    background: linear-gradient(135deg, #fff7ed, #ffffff);
}

.related-aside {
    position: sticky;
    top: 92px;
    padding: 20px;
}

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

.compact-card {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 12px;
    align-items: center;
}

.compact-card img {
    width: 72px;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 12px;
    background: #fed7aa;
}

.compact-card strong,
.compact-card em {
    display: block;
}

.compact-card strong {
    line-height: 1.25;
}

.compact-card em {
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
    font-style: normal;
}

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

.footer-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 52px 0;
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 28px;
}

.footer-logo {
    color: var(--white);
    margin-bottom: 14px;
}

.footer-brand p,
.footer-column a {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-column a {
    display: block;
    margin-bottom: 9px;
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    padding: 18px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    color: rgba(255, 255, 255, 0.58);
}

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

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

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

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

    .spotlight-card,
    .related-aside,
    .sticky-filter {
        position: static;
    }

    .category-overview-grid,
    .horizontal-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .nav-shell {
        width: min(100% - 24px, 1180px);
        height: 62px;
    }

    .brand {
        font-size: 19px;
    }

    .brand-mark {
        width: 32px;
        height: 32px;
    }

    .hero,
    .hero-content {
        min-height: 76vh;
    }

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

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

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

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

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

    .movie-desc {
        display: none;
    }

    .horizontal-list,
    .movie-card.horizontal,
    .category-overview-card,
    .ranking-row {
        grid-template-columns: 1fr;
    }

    .movie-card.horizontal .poster-link {
        aspect-ratio: 2 / 3;
    }

    .category-collage {
        min-height: 220px;
    }

    .filter-panel {
        align-items: stretch;
        flex-direction: column;
    }

    .search-page-form input,
    .large-search input {
        padding-right: 18px;
    }

    .search-page-form button,
    .large-search button {
        position: static;
        width: 100%;
        height: 46px;
        margin-top: 10px;
    }

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

    .play-button {
        width: 70px;
        height: 70px;
        font-size: 26px;
    }
}

@media (max-width: 460px) {
    .featured-grid,
    .poster-grid,
    .dense-grid,
    .category-grid {
        grid-template-columns: 1fr;
    }
}
