:root {
    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-200: #fde68a;
    --amber-300: #fcd34d;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --amber-700: #b45309;
    --orange-500: #f97316;
    --orange-600: #ea580c;
    --stone-50: #fafaf9;
    --stone-100: #f5f5f4;
    --stone-200: #e7e5e4;
    --stone-500: #78716c;
    --stone-700: #44403c;
    --stone-900: #1c1917;
    --white: #ffffff;
    --shadow-soft: 0 18px 45px rgba(120, 53, 15, 0.14);
    --shadow-card: 0 15px 30px rgba(41, 37, 36, 0.10);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 14px;
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--stone-900);
    background: linear-gradient(180deg, var(--amber-50) 0%, #fff7ed 38%, var(--white) 100%);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    line-height: 1.65;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: linear-gradient(90deg, rgba(255, 251, 235, 0.96), rgba(255, 237, 213, 0.96));
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(245, 158, 11, 0.18);
    box-shadow: 0 8px 26px rgba(146, 64, 14, 0.08);
}

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

.brand,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.brand-mark {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--amber-700), var(--orange-500));
    border-radius: 50%;
    box-shadow: 0 12px 22px rgba(217, 119, 6, 0.28);
    font-size: 15px;
    transform: translateZ(0);
}

.brand-text,
.footer-logo {
    font-size: 24px;
    color: transparent;
    background: linear-gradient(90deg, var(--amber-700), var(--orange-600));
    -webkit-background-clip: text;
    background-clip: text;
}

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

.nav-link,
.mobile-link {
    color: var(--stone-700);
    font-weight: 650;
    border-radius: 999px;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

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

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
    color: var(--amber-700);
    background: rgba(245, 158, 11, 0.12);
}

.header-search,
.mobile-search,
.hero-search {
    display: flex;
    align-items: center;
    background: var(--white);
    border: 1px solid rgba(245, 158, 11, 0.32);
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72), 0 10px 24px rgba(217, 119, 6, 0.10);
    overflow: hidden;
}

.header-search input,
.mobile-search input,
.hero-search input {
    width: 220px;
    min-width: 0;
    padding: 12px 16px;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--stone-900);
}

.header-search button,
.mobile-search button,
.hero-search button {
    border: 0;
    padding: 11px 18px;
    color: var(--white);
    background: linear-gradient(135deg, var(--amber-600), var(--orange-500));
    font-weight: 700;
    cursor: pointer;
}

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

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--amber-700);
}

.mobile-panel {
    display: none;
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto 14px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(245, 158, 11, 0.18);
    border-radius: 18px;
    box-shadow: var(--shadow-card);
}

.mobile-panel.open {
    display: grid;
    gap: 10px;
}

.mobile-link {
    padding: 11px 14px;
}

.hero,
.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
}

.hero {
    min-height: 660px;
    color: var(--white);
    background: radial-gradient(circle at 18% 15%, rgba(255, 255, 255, 0.20), transparent 28%), linear-gradient(125deg, #b45309 0%, #f97316 48%, #f59e0b 100%);
}

.hero-bg-glow {
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    filter: blur(18px);
}

.glow-one {
    top: 70px;
    left: 7%;
}

.glow-two {
    right: 8%;
    bottom: 40px;
    width: 480px;
    height: 480px;
}

.hero-shell {
    position: relative;
    width: min(var(--max), calc(100% - 32px));
    min-height: 660px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 42px;
    padding: 58px 0;
}

.hero-copy h1,
.page-hero h1,
.detail-info h1 {
    margin: 0;
    font-size: clamp(38px, 6vw, 70px);
    line-height: 1.06;
    letter-spacing: -0.06em;
}

.hero-copy p,
.page-hero p {
    max-width: 640px;
    margin: 18px 0 28px;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(17px, 2vw, 22px);
}

.hero-kicker,
.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 16px;
    padding: 7px 12px;
    color: #fff7ed;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 750;
}

.hero-search {
    max-width: 560px;
    margin-bottom: 18px;
    background: rgba(255, 255, 255, 0.96);
}

.hero-search input {
    width: 100%;
    flex: 1;
}

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

.hero-quick-links a,
.ghost-btn,
.primary-btn,
.text-link {
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hero-quick-links a {
    padding: 8px 14px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 999px;
    font-weight: 650;
}

.hero-quick-links a:hover,
.primary-btn:hover,
.ghost-btn:hover,
.text-link:hover {
    transform: translateY(-2px);
}

.hero-slider {
    position: relative;
    min-height: 520px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 0.86fr 1fr;
    gap: 0;
    opacity: 0;
    transform: translateX(28px) scale(0.98);
    pointer-events: none;
    transition: opacity 0.55s ease, transform 0.55s ease;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(120, 53, 15, 0.38);
    backdrop-filter: blur(16px);
}

.hero-slide.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: auto;
}

.hero-image-wrap {
    position: relative;
    min-height: 520px;
}

.hero-image-wrap img,
.detail-backdrop img,
.category-cover img,
.poster-link img,
.detail-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(120, 53, 15, 0.50));
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 42px;
}

.hero-content h2 {
    margin: 0 0 14px;
    font-size: clamp(28px, 3.8vw, 52px);
    line-height: 1.1;
}

.hero-content p {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.88);
}

.hero-tags,
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-tags span,
.tag-row span {
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.primary-btn,
.ghost-btn,
.text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 800;
}

.primary-btn {
    min-height: 46px;
    padding: 12px 24px;
    color: var(--amber-700);
    background: var(--white);
    box-shadow: 0 14px 26px rgba(120, 53, 15, 0.18);
}

.ghost-btn {
    min-height: 46px;
    padding: 11px 22px;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.74);
}

.ghost-btn.dark {
    color: var(--amber-700);
    border-color: rgba(217, 119, 6, 0.35);
}

.centered-actions {
    justify-content: center;
}

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

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

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

.feature-strip,
.section-block,
.split-section,
.category-overview-grid,
.filter-panel,
.player-section,
.detail-content {
    width: min(var(--max), calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
}

.feature-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: -46px;
    position: relative;
    z-index: 10;
}

.feature-card,
.category-overview-card,
.article-panel,
.detail-side,
.filter-panel,
.ranking-panel,
.category-panel,
.player-box {
    border: 1px solid rgba(245, 158, 11, 0.16);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
}

.feature-card {
    color: var(--white);
    padding: 26px;
    min-height: 150px;
    overflow: hidden;
}

.feature-card span,
.section-heading span {
    display: block;
    color: var(--amber-700);
    font-size: 13px;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.feature-card span {
    color: rgba(255, 255, 255, 0.78);
}

.feature-card strong {
    display: block;
    margin: 6px 0;
    font-size: 26px;
}

.feature-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
}

.feature-card.warm {
    background: linear-gradient(135deg, var(--amber-600), var(--orange-500));
}

.feature-card.bright {
    background: linear-gradient(135deg, #f59e0b, #fb923c);
}

.feature-card.soft {
    background: linear-gradient(135deg, #92400e, #d97706);
}

.section-block {
    padding: 64px 0 0;
}

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

.section-heading h2 {
    margin: 4px 0 0;
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -0.05em;
}

.section-heading a,
.text-link {
    color: var(--amber-700);
    font-weight: 800;
}

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

.movie-card {
    position: relative;
    overflow: hidden;
    background: var(--white);
    border: 1px solid rgba(245, 158, 11, 0.13);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, var(--amber-100), var(--amber-300));
}

.poster-link img {
    transition: transform 0.36s ease;
}

.movie-card:hover .poster-link img,
.category-tile:hover img,
.category-cover:hover img {
    transform: scale(1.05);
}

.play-chip,
.rank-badge {
    position: absolute;
    border-radius: 999px;
    font-weight: 850;
}

.play-chip {
    right: 12px;
    bottom: 12px;
    padding: 7px 10px;
    color: var(--white);
    background: rgba(28, 25, 23, 0.74);
    backdrop-filter: blur(10px);
    font-size: 13px;
}

.rank-badge {
    top: 12px;
    left: 12px;
    min-width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: var(--amber-700);
    background: var(--white);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.18);
}

.card-body {
    padding: 18px;
}

.card-meta {
    display: flex;
    gap: 8px;
    color: var(--stone-500);
    font-size: 13px;
    font-weight: 700;
}

.card-body h3 {
    margin: 7px 0 8px;
    font-size: 19px;
    line-height: 1.3;
}

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

.tag-row span {
    color: var(--amber-700);
    background: var(--amber-100);
}

.category-pill {
    display: inline-flex;
    margin-top: 14px;
    padding: 7px 11px;
    color: var(--amber-700);
    background: rgba(245, 158, 11, 0.10);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 370px;
    gap: 28px;
    padding: 64px 0 80px;
}

.category-panel,
.ranking-panel {
    background: rgba(255, 255, 255, 0.76);
    padding: 26px;
}

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

.category-tile {
    position: relative;
    min-height: 170px;
    overflow: hidden;
    color: var(--white);
    border-radius: var(--radius-lg);
    background: var(--amber-600);
}

.category-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(28, 25, 23, 0.18), rgba(28, 25, 23, 0.74));
}

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

.category-tile span,
.category-tile strong,
.category-tile em {
    position: relative;
    z-index: 2;
    display: block;
    padding-left: 18px;
    padding-right: 18px;
}

.category-tile span {
    padding-top: 72px;
    color: var(--amber-100);
    font-weight: 800;
}

.category-tile strong {
    font-size: 23px;
}

.category-tile em {
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    font-style: normal;
}

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

.rank-row {
    display: grid;
    grid-template-columns: auto 58px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: var(--white);
    border-radius: 18px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-row:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-card);
}

.list-rank {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--amber-600), var(--orange-500));
    border-radius: 50%;
    font-weight: 850;
}

.rank-row img {
    width: 58px;
    height: 78px;
    object-fit: cover;
    border-radius: 12px;
    background: var(--amber-100);
}

.rank-row-text {
    min-width: 0;
}

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

.rank-row em {
    color: var(--stone-500);
    font-size: 13px;
    font-style: normal;
}

.page-hero {
    width: min(var(--max), calc(100% - 32px));
    margin: 34px auto 0;
    padding: 58px 34px;
    text-align: center;
    color: var(--white);
    background: radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.20), transparent 30%), linear-gradient(135deg, var(--amber-700), var(--orange-500));
    border-radius: 34px;
    box-shadow: var(--shadow-soft);
}

.page-hero .hero-kicker {
    margin-left: auto;
    margin-right: auto;
}

.page-hero p {
    margin-left: auto;
    margin-right: auto;
}

.filter-panel {
    margin-top: 30px;
    padding: 22px;
    background: rgba(255, 255, 255, 0.84);
}

.filter-grid {
    display: grid;
    grid-template-columns: 1fr 190px 220px;
    gap: 16px;
}

.filter-grid label {
    display: grid;
    gap: 7px;
    color: var(--stone-700);
    font-weight: 800;
}

.filter-grid input,
.filter-grid select {
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid rgba(245, 158, 11, 0.28);
    border-radius: 14px;
    outline: none;
    background: var(--white);
}

.empty-message {
    display: none;
    margin: 16px 0 0;
    color: var(--amber-700);
    font-weight: 800;
}

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

.list-section {
    padding-bottom: 76px;
}

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

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

.rank-extended {
    padding-bottom: 76px;
}

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

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

.category-overview-card {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 22px;
    padding: 18px;
    background: var(--white);
}

.category-cover {
    display: block;
    overflow: hidden;
    min-height: 240px;
    border-radius: 20px;
    background: var(--amber-100);
}

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

.category-overview-card p {
    color: var(--stone-500);
}

.preview-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0;
}

.preview-links span {
    padding: 6px 9px;
    color: var(--amber-700);
    background: var(--amber-100);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 750;
}

.detail-hero {
    min-height: 560px;
    color: var(--white);
    background: var(--stone-900);
}

.detail-backdrop {
    position: absolute;
    inset: 0;
    opacity: 0.28;
    filter: blur(3px);
}

.detail-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(28, 25, 23, 0.96), rgba(28, 25, 23, 0.58), rgba(217, 119, 6, 0.58));
}

.detail-shell {
    position: relative;
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 40px;
    align-items: center;
    min-height: 560px;
    padding: 50px 0;
}

.detail-poster {
    overflow: hidden;
    aspect-ratio: 2 / 3;
    border: 6px solid rgba(255, 255, 255, 0.20);
    border-radius: 28px;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.34);
    background: var(--amber-100);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 700;
}

.detail-info h1 {
    max-width: 780px;
}

.detail-lead {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 20px;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.detail-meta span {
    padding: 8px 12px;
    color: var(--amber-100);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    font-weight: 750;
}

.large-tags span {
    background: rgba(255, 255, 255, 0.16);
    color: var(--white);
}

.player-section {
    margin-top: -72px;
    position: relative;
    z-index: 5;
}

.player-box {
    position: relative;
    overflow: hidden;
    background: #050505;
    aspect-ratio: 16 / 9;
}

.video-player {
    display: block;
    width: 100%;
    height: 100%;
    background: #050505;
    object-fit: contain;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at center, rgba(245, 158, 11, 0.18), rgba(0, 0, 0, 0.72));
    cursor: pointer;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.big-play-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 26px;
    color: var(--amber-700);
    background: var(--white);
    border: 0;
    border-radius: 999px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
    font-size: 18px;
    font-weight: 900;
    cursor: pointer;
}

.big-play-button span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: var(--white);
    background: linear-gradient(135deg, var(--amber-600), var(--orange-500));
    border-radius: 50%;
    font-size: 14px;
}

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

.article-panel,
.detail-side {
    padding: 28px;
    background: var(--white);
}

.article-panel h2,
.detail-side h2 {
    margin-top: 0;
    font-size: 28px;
}

.prose p {
    margin: 0 0 16px;
    color: var(--stone-700);
    font-size: 17px;
}

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

.detail-side dl div {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--stone-200);
}

.detail-side dt {
    color: var(--stone-500);
    font-weight: 800;
}

.detail-side dd {
    margin: 0;
    color: var(--stone-900);
    font-weight: 700;
}

.related-section {
    padding-bottom: 80px;
}

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

.movie-card.compact .card-body p {
    -webkit-line-clamp: 2;
}

.site-footer {
    background: #2b2118;
    color: rgba(255, 255, 255, 0.78);
}

.footer-inner {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 34px 0;
}

.footer-inner p {
    margin: 8px 0 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    color: var(--amber-100);
    font-weight: 750;
}

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

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

    .hero-shell {
        padding-top: 42px;
    }

    .hero-slider {
        min-height: 500px;
    }

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

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

    .ranking-panel {
        width: 100%;
    }
}

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

    .menu-toggle {
        display: block;
    }

    .hero {
        min-height: auto;
    }

    .hero-shell {
        min-height: auto;
    }

    .hero-slide {
        grid-template-columns: 1fr;
    }

    .hero-image-wrap {
        min-height: 300px;
    }

    .hero-content {
        padding: 28px;
    }

    .hero-slider {
        min-height: 650px;
    }

    .feature-strip,
    .filter-grid,
    .category-grid,
    .extended-list {
        grid-template-columns: 1fr;
    }

    .feature-strip {
        margin-top: 22px;
    }

    .movie-grid,
    .wide-grid,
    .ranking-grid,
    .related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .detail-shell {
        padding-top: 34px;
    }

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

    .player-section {
        margin-top: 18px;
    }

    .footer-inner,
    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .header-inner {
        width: min(100% - 22px, var(--max));
    }

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

    .hero-shell,
    .feature-strip,
    .section-block,
    .split-section,
    .category-overview-grid,
    .filter-panel,
    .player-section,
    .detail-content,
    .page-hero,
    .detail-shell,
    .footer-inner {
        width: min(100% - 22px, var(--max));
    }

    .hero-copy h1,
    .page-hero h1,
    .detail-info h1 {
        font-size: 36px;
    }

    .hero-slider {
        min-height: 620px;
    }

    .hero-search,
    .mobile-search {
        border-radius: 18px;
        flex-direction: column;
        align-items: stretch;
    }

    .hero-search button,
    .mobile-search button {
        width: 100%;
    }

    .movie-grid,
    .wide-grid,
    .ranking-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .page-hero {
        padding: 42px 20px;
        border-radius: 24px;
    }

    .detail-side dl div {
        grid-template-columns: 1fr;
    }
}
