:root {
    --page-bg: #fff7ed;
    --panel-bg: #ffffff;
    --ink: #3f2507;
    --muted: #8a5b25;
    --soft: #fef3c7;
    --line: #f5d7a1;
    --brand: #d97706;
    --brand-dark: #92400e;
    --brand-deep: #78350f;
    --orange: #ea580c;
    --shadow: 0 22px 60px rgba(120, 53, 15, 0.16);
    --shadow-soft: 0 12px 30px rgba(120, 53, 15, 0.12);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --max-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 247, 237, 0.92);
    border-bottom: 1px solid rgba(217, 119, 6, 0.18);
    box-shadow: 0 10px 35px rgba(120, 53, 15, 0.08);
    backdrop-filter: blur(18px);
}

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

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
}

.brand-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--orange));
    border-radius: 14px;
    box-shadow: 0 12px 24px rgba(217, 119, 6, 0.28);
}

.brand-text {
    display: grid;
    line-height: 1.1;
}

.brand-text span {
    font-size: 20px;
    letter-spacing: 0.02em;
    background: linear-gradient(90deg, var(--brand-dark), var(--orange));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-text small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
}

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

.desktop-nav a,
.desktop-nav button,
.mobile-panel a {
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    color: var(--brand-deep);
    border-radius: 12px;
    border: 0;
    background: transparent;
    font-weight: 700;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active,
.desktop-nav button:hover,
.mobile-panel a:hover,
.mobile-panel a.is-active {
    color: var(--brand-dark);
    background: #ffedd5;
    transform: translateY(-1px);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 12px);
    width: 180px;
    padding: 10px;
    display: grid;
    gap: 6px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.site-search-form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-search {
    width: 292px;
}

.site-search-form input,
.filter-panel input,
.filter-panel select {
    width: 100%;
    min-height: 42px;
    color: var(--ink);
    background: #fff;
    border: 1px solid rgba(217, 119, 6, 0.26);
    border-radius: 999px;
    outline: 0;
    padding: 0 16px;
    box-shadow: 0 8px 22px rgba(120, 53, 15, 0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-search-form input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.15);
}

.site-search-form button {
    min-height: 42px;
    white-space: nowrap;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--orange));
    border: 0;
    border-radius: 999px;
    padding: 0 18px;
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(217, 119, 6, 0.24);
}

.mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: #ffedd5;
}

.mobile-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--brand-deep);
    border-radius: 99px;
}

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

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

.mobile-panel nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.hero-carousel {
    position: relative;
    height: min(660px, calc(100vh - 72px));
    min-height: 520px;
    overflow: hidden;
    background: #111827;
}

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

.hero-slide.is-active {
    opacity: 1;
    z-index: 1;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(251, 191, 36, 0.28), transparent 32%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.54) 45%, rgba(0, 0, 0, 0.16) 100%);
}

.hero-content {
    position: absolute;
    left: max(28px, calc((100% - var(--max-width)) / 2));
    right: 28px;
    bottom: 82px;
    z-index: 2;
    max-width: 780px;
    color: #fff;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    width: max-content;
    max-width: 100%;
    padding: 7px 14px;
    color: #fff7ed;
    background: rgba(217, 119, 6, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
    font-size: 14px;
    font-weight: 800;
}

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

.hero-content p {
    max-width: 720px;
    margin: 0 0 28px;
    color: #ffedd5;
    font-size: clamp(16px, 2vw, 22px);
}

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

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

.primary-button {
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--orange));
    box-shadow: 0 14px 28px rgba(217, 119, 6, 0.34);
}

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

.ghost-button {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
}

.ghost-button--dark {
    color: var(--brand-deep);
    border-color: rgba(217, 119, 6, 0.26);
    background: rgba(255, 247, 237, 0.78);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    color: #fff;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.34);
    font-size: 38px;
    line-height: 1;
    opacity: 0;
    transform: translateY(-50%);
    transition: opacity 0.2s ease, background 0.2s ease;
    backdrop-filter: blur(12px);
}

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

.hero-arrow:hover {
    background: rgba(0, 0, 0, 0.54);
}

.hero-arrow--prev {
    left: 24px;
}

.hero-arrow--next {
    right: 24px;
}

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

.hero-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.6);
    transition: width 0.25s ease, background 0.25s ease;
}

.hero-dots button.is-active {
    width: 34px;
    background: #f59e0b;
}

.home-search-band {
    width: min(var(--max-width), calc(100% - 32px));
    margin: -44px auto 0;
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: 1fr minmax(300px, 480px);
    gap: 24px;
    align-items: center;
    padding: 24px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(217, 119, 6, 0.18);
    border-radius: 26px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.home-search-band h2 {
    margin: 0 0 4px;
    color: var(--brand-deep);
    font-size: clamp(24px, 3vw, 34px);
}

.home-search-band p {
    margin: 0;
    color: var(--muted);
}

.page-container {
    width: min(var(--max-width), calc(100% - 32px));
    margin: 0 auto;
    padding: 58px 0;
}

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

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

.section-head h2 {
    margin: 0 0 6px;
    color: var(--brand-deep);
    font-size: clamp(26px, 3.2vw, 38px);
    line-height: 1.15;
}

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

.title-line {
    display: block;
    width: 78px;
    height: 4px;
    margin-top: 12px;
    background: linear-gradient(90deg, var(--brand), var(--orange));
    border-radius: 999px;
}

.section-more {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    color: var(--brand-dark);
    background: #ffedd5;
    border-radius: 999px;
    font-weight: 900;
}

.movie-grid {
    display: grid;
    gap: 24px;
}

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

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

.movie-card {
    min-width: 0;
}

.movie-card-link {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--panel-bg);
    border: 1px solid rgba(217, 119, 6, 0.14);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.movie-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    margin: 0;
    overflow: hidden;
    background: #451a03;
}

.movie-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

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

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

.movie-region {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    padding: 4px 10px;
    color: #fff;
    background: rgba(217, 119, 6, 0.92);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.movie-play {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(217, 119, 6, 0.92);
    border-radius: 50%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.86);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.movie-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 18px;
}

.movie-card-body h3 {
    margin: 0 0 8px;
    color: var(--brand-deep);
    font-size: 19px;
    line-height: 1.3;
}

.movie-card-body p {
    margin: 0 0 14px;
    color: var(--muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: auto;
}

.movie-meta span,
.detail-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 9px;
    color: var(--brand-dark);
    background: #ffedd5;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

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

.category-tile {
    position: relative;
    min-height: 220px;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    background: #451a03;
}

.category-tile img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    opacity: 0.74;
    transition: transform 0.5s ease, opacity 0.2s ease;
}

.category-tile:hover img {
    opacity: 0.9;
    transform: scale(1.06);
}

.category-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.08));
}

.category-tile span,
.category-tile p {
    position: absolute;
    left: 18px;
    right: 18px;
    z-index: 2;
}

.category-tile span {
    bottom: 64px;
    color: #fff;
    font-size: 24px;
    font-weight: 900;
}

.category-tile p {
    bottom: 18px;
    margin: 0;
    color: #ffedd5;
    font-size: 14px;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 28px;
}

.rank-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.rank-list li a {
    display: grid;
    grid-template-columns: 54px 86px 1fr;
    align-items: center;
    gap: 14px;
    padding: 12px;
    background: #fff;
    border: 1px solid rgba(217, 119, 6, 0.14);
    border-radius: 18px;
    box-shadow: 0 8px 18px rgba(120, 53, 15, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-list li a:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-soft);
}

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

.rank-list img {
    width: 86px;
    height: 54px;
    object-fit: cover;
    border-radius: 12px;
}

.rank-text {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.rank-text strong,
.rank-text em {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rank-text strong {
    color: var(--brand-deep);
}

.rank-text em {
    color: var(--muted);
    font-style: normal;
    font-size: 13px;
}

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

.movie-card--compact .movie-card-link {
    display: grid;
    grid-template-columns: 150px 1fr;
    border-radius: 18px;
}

.movie-card--compact .movie-thumb {
    height: 100%;
    aspect-ratio: auto;
}

.movie-card--compact .movie-card-body h3 {
    font-size: 17px;
}

.page-hero {
    padding: 88px 24px 76px;
    color: #fff;
    text-align: center;
    background:
        radial-gradient(circle at 15% 15%, rgba(251, 191, 36, 0.32), transparent 30%),
        linear-gradient(135deg, #78350f, #b45309 52%, #ea580c);
}

.page-hero span {
    display: inline-flex;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    font-weight: 900;
}

.page-hero h1 {
    margin: 16px 0 12px;
    font-size: clamp(36px, 5vw, 60px);
    line-height: 1.08;
}

.page-hero p {
    max-width: 760px;
    margin: 0 auto;
    color: #ffedd5;
    font-size: 18px;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(360px, 0.9fr);
    gap: 16px;
    margin-bottom: 30px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(217, 119, 6, 0.18);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
}

.filter-selects {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.empty-state {
    margin-bottom: 24px;
    padding: 28px;
    color: var(--muted);
    text-align: center;
    background: #fff;
    border: 1px dashed rgba(217, 119, 6, 0.35);
    border-radius: 20px;
}

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

.category-overview-card a {
    display: grid;
    grid-template-columns: 210px 1fr;
    min-height: 190px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(217, 119, 6, 0.14);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-overview-card a:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

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

.category-overview-card div {
    padding: 24px;
}

.category-overview-card h2 {
    margin: 0 0 8px;
    color: var(--brand-deep);
}

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

.category-samples {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-samples span {
    padding: 4px 9px;
    color: var(--brand-dark);
    background: #ffedd5;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.ranking-grid {
    display: grid;
    gap: 16px;
}

.ranking-card a {
    display: grid;
    grid-template-columns: 72px 180px 1fr;
    gap: 18px;
    align-items: center;
    padding: 16px;
    background: #fff;
    border: 1px solid rgba(217, 119, 6, 0.14);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-card a:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.ranking-index {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--orange));
    border-radius: 18px;
    font-size: 20px;
    font-weight: 900;
}

.ranking-card img {
    width: 180px;
    height: 106px;
    object-fit: cover;
    border-radius: 16px;
}

.ranking-card h2 {
    margin: 0 0 8px;
    color: var(--brand-deep);
}

.ranking-card p {
    margin: 0 0 12px;
    color: var(--muted);
}

.breadcrumb {
    width: min(var(--max-width), calc(100% - 32px));
    margin: 28px auto 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--brand-dark);
    font-weight: 800;
}

.detail-hero {
    width: min(var(--max-width), calc(100% - 32px));
    margin: 28px auto 0;
    display: grid;
    grid-template-columns: minmax(280px, 420px) 1fr;
    gap: 34px;
    align-items: center;
    padding: 28px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 237, 213, 0.78));
    border: 1px solid rgba(217, 119, 6, 0.18);
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.detail-poster {
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 24px 54px rgba(120, 53, 15, 0.22);
}

.detail-poster img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.detail-info h1 {
    margin: 16px 0 12px;
    color: var(--brand-deep);
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.detail-one-line {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 19px;
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

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

.player-section,
.article-section {
    margin-bottom: 48px;
    padding: 24px;
    background: #fff;
    border: 1px solid rgba(217, 119, 6, 0.14);
    border-radius: 28px;
    box-shadow: var(--shadow-soft);
}

.player-section h2,
.article-section h2 {
    margin: 0 0 18px;
    color: var(--brand-deep);
    font-size: 28px;
}

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

.article-section p {
    margin: 0;
    color: #6f471b;
    font-size: 17px;
}

.player-frame {
    position: relative;
    overflow: hidden;
    background: #000;
    border-radius: 24px;
    aspect-ratio: 16 / 9;
}

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

.player-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: #000;
    transition: opacity 0.24s ease, visibility 0.24s ease;
}

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

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

.player-cover-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.66), rgba(0, 0, 0, 0.12));
}

.player-start-button {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--orange));
    border-radius: 50%;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
    font-size: 34px;
    transform: translate(-50%, -50%);
}

.site-footer {
    color: #ffedd5;
    background: linear-gradient(135deg, #78350f, #451a03);
    margin-top: 20px;
}

.footer-inner {
    width: min(var(--max-width), calc(100% - 32px));
    margin: 0 auto;
    padding: 44px 0 28px;
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) 1fr;
    gap: 28px;
}

.footer-brand {
    color: #fff;
    font-size: 24px;
}

.footer-inner p {
    max-width: 440px;
    margin: 12px 0 0;
    color: #fcd9a6;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    align-content: flex-start;
}

.footer-links a {
    padding: 7px 12px;
    color: #ffedd5;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
}

.footer-bottom {
    width: min(var(--max-width), calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 28px;
    color: #fcd9a6;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 14px;
}

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

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

    .split-section,
    .detail-hero,
    .footer-inner {
        grid-template-columns: 1fr;
    }

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

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

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

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

    .hero-content {
        left: 24px;
        bottom: 78px;
    }

    .hero-arrow {
        display: none;
    }

    .home-search-band,
    .filter-panel,
    .category-overview-card a,
    .ranking-card a {
        grid-template-columns: 1fr;
    }

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

    .filter-selects {
        grid-template-columns: 1fr;
    }

    .ranking-card img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .footer-links {
        justify-content: flex-start;
    }
}

@media (max-width: 560px) {
    .brand-text small {
        display: none;
    }

    .header-inner {
        width: min(100% - 20px, var(--max-width));
    }

    .page-container,
    .breadcrumb,
    .detail-hero,
    .home-search-band {
        width: min(100% - 20px, var(--max-width));
    }

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

    .hero-content h1,
    .hero-content h2 {
        font-size: 38px;
    }

    .movie-grid--four,
    .movie-grid--three,
    .category-grid,
    .category-overview-grid {
        grid-template-columns: 1fr;
    }

    .movie-card--compact .movie-card-link,
    .rank-list li a {
        grid-template-columns: 1fr;
    }

    .movie-card--compact .movie-thumb,
    .rank-list img {
        width: 100%;
        aspect-ratio: 16 / 9;
    }

    .detail-hero,
    .player-section,
    .article-section {
        padding: 16px;
        border-radius: 22px;
    }

    .player-start-button {
        width: 68px;
        height: 68px;
        font-size: 28px;
    }
}
