:root {
    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-200: #fde68a;
    --amber-300: #fcd34d;
    --amber-400: #f59e0b;
    --amber-500: #d97706;
    --amber-700: #b45309;
    --amber-800: #92400e;
    --amber-900: #78350f;
    --amber-950: #451a03;
    --orange-50: #fff7ed;
    --orange-500: #f97316;
    --orange-700: #c2410c;
    --text-main: #3f2a12;
    --text-soft: #7c5b2d;
    --surface: #ffffff;
    --surface-soft: rgba(255, 251, 235, 0.86);
    --shadow-soft: 0 20px 50px rgba(120, 53, 15, 0.14);
    --shadow-card: 0 14px 30px rgba(120, 53, 15, 0.12);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 14px;
    --max-width: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    color: var(--text-main);
    background: linear-gradient(180deg, var(--amber-50), var(--orange-50) 42%, var(--amber-50));
    min-height: 100vh;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: linear-gradient(90deg, rgba(255, 251, 235, 0.96), rgba(255, 247, 237, 0.96), rgba(255, 251, 235, 0.96));
    border-bottom: 2px solid var(--amber-200);
    box-shadow: 0 8px 24px rgba(120, 53, 15, 0.08);
    backdrop-filter: blur(16px);
}

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

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

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

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

.brand-text strong {
    color: var(--amber-900);
    font-size: 24px;
    letter-spacing: 0.04em;
}

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

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

.desktop-nav a,
.mobile-nav a {
    color: var(--amber-800);
    font-weight: 700;
    transition: color 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active,
.mobile-nav a:hover,
.mobile-nav a.is-active {
    color: var(--amber-950);
}

.desktop-nav a:hover {
    transform: translateY(-1px);
}

.header-search {
    width: 260px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-search input,
.hero-search input,
.search-page-form input,
.filter-bar input,
.filter-bar select {
    border: 2px solid var(--amber-200);
    background: white;
    border-radius: 999px;
    color: var(--text-main);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input {
    width: 100%;
    height: 42px;
    padding: 0 16px;
}

.header-search input:focus,
.hero-search input:focus,
.search-page-form input:focus,
.filter-bar input:focus,
.filter-bar select:focus {
    border-color: var(--amber-500);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
}

.header-search button,
.hero-search button,
.search-page-form button {
    border: 0;
    border-radius: 999px;
    color: white;
    background: linear-gradient(135deg, var(--amber-700), var(--orange-500));
    cursor: pointer;
    font-weight: 800;
}

.header-search button {
    height: 42px;
    padding: 0 14px;
}

.header-search-results {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    background: white;
    border: 2px solid var(--amber-100);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    display: none;
}

.header-search-results.is-open {
    display: block;
}

.header-result-item {
    display: flex;
    gap: 10px;
    padding: 10px;
    border-bottom: 1px solid var(--amber-100);
}

.header-result-item:hover {
    background: var(--amber-50);
}

.header-result-item strong {
    display: block;
    color: var(--amber-950);
    font-size: 14px;
}

.header-result-item small {
    color: var(--amber-700);
    font-size: 12px;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    border: 0;
    background: transparent;
    cursor: pointer;
    margin-left: auto;
}

.mobile-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    border-radius: 999px;
    background: var(--amber-800);
}

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

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

.site-main {
    min-height: 70vh;
}

.hero-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(110deg, var(--amber-950), var(--amber-800) 45%, var(--orange-700));
    color: white;
    padding: 70px 0 120px;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.14;
    background-image: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.9) 0 2px, transparent 2px), radial-gradient(circle at 80% 0%, rgba(252, 211, 77, 0.8), transparent 35%), radial-gradient(circle at 0% 90%, rgba(249, 115, 22, 0.7), transparent 35%);
    background-size: 54px 54px, 100% 100%, 100% 100%;
}

.hero-inner {
    position: relative;
    width: min(var(--max-width), calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
    gap: 48px;
    align-items: center;
}

.hero-badge,
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    background: rgba(254, 243, 199, 0.16);
    border: 1px solid rgba(253, 230, 138, 0.38);
    color: var(--amber-200);
    padding: 7px 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.hero-intro h1,
.page-hero h1 {
    margin: 20px 0 18px;
    font-size: clamp(42px, 7vw, 76px);
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.hero-lead,
.page-hero p {
    max-width: 680px;
    color: var(--amber-100);
    font-size: clamp(18px, 2.3vw, 24px);
    line-height: 1.7;
}

.hero-search,
.search-page-form {
    display: flex;
    gap: 10px;
    max-width: 620px;
    margin: 30px 0 20px;
}

.hero-search input,
.search-page-form input {
    flex: 1;
    min-height: 54px;
    padding: 0 20px;
}

.hero-search button,
.search-page-form button {
    min-height: 54px;
    padding: 0 24px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.hero-actions--intro {
    margin-top: 22px;
}

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

.primary-button {
    color: var(--amber-950);
    background: white;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22);
}

.secondary-button {
    color: white;
    background: linear-gradient(135deg, var(--amber-700), var(--orange-500));
    box-shadow: 0 14px 26px rgba(217, 119, 6, 0.24);
}

.ghost-button {
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.08);
}

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

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

.hero-stats span {
    padding: 12px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--amber-100);
}

.hero-stats strong {
    color: white;
    font-size: 22px;
}

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

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-rows: 1fr auto;
    gap: 18px;
    opacity: 0;
    transform: translateX(28px) scale(0.98);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

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

.hero-poster {
    min-height: 380px;
    border-radius: 34px;
    overflow: hidden;
    background: radial-gradient(circle at 30% 20%, rgba(252, 211, 77, 0.3), transparent 38%), linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(253, 230, 138, 0.3);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
}

.hero-poster-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.hero-copy {
    border-radius: 26px;
    padding: 28px;
    background: rgba(69, 26, 3, 0.56);
    border: 1px solid rgba(253, 230, 138, 0.26);
    box-shadow: 0 22px 46px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(14px);
}

.hero-copy h2 {
    margin: 10px 0;
    font-size: 34px;
}

.hero-copy p {
    color: var(--amber-100);
    line-height: 1.7;
    margin: 0 0 16px;
}

.hero-tags,
.movie-card-tags,
.tag-cloud,
.detail-meta,
.hero-meta,
.movie-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-tags span,
.movie-card-tags span,
.tag-cloud a,
.detail-meta span,
.hero-meta span,
.movie-card-meta span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 5px 10px;
    background: var(--amber-100);
    color: var(--amber-800);
    font-size: 12px;
    font-weight: 800;
}

.hero-meta span,
.detail-meta span {
    background: rgba(255, 255, 255, 0.14);
    color: var(--amber-100);
}

.hero-dots {
    position: absolute;
    right: 20px;
    bottom: -34px;
    display: flex;
    gap: 8px;
}

.hero-dots button {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, 0.38);
    cursor: pointer;
}

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

.section {
    width: min(var(--max-width), calc(100% - 32px));
    margin: 70px auto 0;
}

.section-overlap {
    margin-top: -70px;
    position: relative;
    z-index: 4;
}

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

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

.section-head p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.7;
}

.section-eyebrow {
    color: var(--amber-700);
    background: var(--amber-100);
    border-color: var(--amber-200);
}

.section-more {
    color: var(--amber-700);
    font-weight: 900;
    white-space: nowrap;
}

.section-more span {
    display: inline-block;
    transition: transform 0.2s ease;
}

.section-more:hover span {
    transform: translateX(4px);
}

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

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

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

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

.movie-card {
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid rgba(253, 230, 138, 0.8);
    box-shadow: var(--shadow-card);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.movie-card:hover {
    transform: translateY(-5px);
    border-color: var(--amber-300);
    box-shadow: 0 24px 48px rgba(120, 53, 15, 0.18);
}

.cover-frame {
    position: relative;
    display: block;
    overflow: hidden;
    background: radial-gradient(circle at 30% 25%, rgba(252, 211, 77, 0.42), transparent 36%), linear-gradient(135deg, #78350f, #f59e0b);
}

.cover-frame.is-missing {
    min-height: 180px;
}

.cover-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 0.34s ease;
}

.movie-card:hover .cover-image {
    transform: scale(1.06);
}

.type-badge,
.score-badge,
.category-count {
    position: absolute;
    top: 12px;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 900;
    backdrop-filter: blur(10px);
}

.type-badge {
    left: 12px;
    color: white;
    background: rgba(69, 26, 3, 0.72);
}

.score-badge {
    right: 12px;
    color: var(--amber-950);
    background: rgba(255, 255, 255, 0.88);
}

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

.movie-card h3 {
    margin: 10px 0 8px;
    color: var(--amber-950);
    font-size: 20px;
    line-height: 1.25;
}

.movie-card h3 a:hover {
    color: var(--amber-700);
}

.movie-card-desc {
    min-height: 50px;
    margin: 0 0 14px;
    color: var(--text-soft);
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-card-tags {
    min-height: 30px;
}

.movie-card-bottom {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
    color: var(--amber-700);
    font-size: 13px;
    font-weight: 800;
}

.movie-card--large .cover-image {
    aspect-ratio: 16 / 9;
}

.movie-card--horizontal {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
}

.movie-card--horizontal .cover-image {
    height: 100%;
    min-height: 210px;
    aspect-ratio: auto;
}

.category-tile,
.category-card-main,
.text-panel,
.side-card,
.detail-content-card,
.ranking-panel,
.cta-section,
.filter-bar,
.search-summary {
    border-radius: var(--radius-xl);
    background: var(--surface);
    border: 1px solid rgba(253, 230, 138, 0.86);
    box-shadow: var(--shadow-card);
}

.category-tile {
    padding: 24px;
    min-height: 220px;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.category-tile:hover,
.category-card-main:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
}

.category-icon {
    display: inline-grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: var(--amber-100);
    font-size: 28px;
    margin-bottom: 16px;
}

.category-tile strong,
.category-card-main h2 {
    display: block;
    color: var(--amber-950);
    font-size: 22px;
    margin-bottom: 8px;
}

.category-tile small {
    color: var(--amber-700);
    font-weight: 900;
}

.category-tile p,
.category-card-main p {
    color: var(--text-soft);
    line-height: 1.65;
}

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

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

.category-card-main {
    display: block;
    position: relative;
    padding: 26px;
}

.category-count {
    right: 20px;
    color: white;
    background: linear-gradient(135deg, var(--amber-700), var(--orange-500));
}

.category-card-full ul {
    margin: 0;
    padding: 20px;
    border-radius: var(--radius-lg);
    background: rgba(254, 243, 199, 0.68);
    list-style: none;
}

.category-card-full li + li {
    margin-top: 12px;
}

.category-card-full a:hover {
    color: var(--amber-700);
}

.section-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: start;
}

.ranking-panel {
    position: sticky;
    top: 104px;
    padding: 24px;
    background: linear-gradient(180deg, white, var(--amber-50));
}

.ranking-panel-head span {
    color: var(--amber-700);
    font-weight: 900;
}

.ranking-panel-head h2 {
    margin: 8px 0 18px;
    color: var(--amber-950);
}

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

.ranking-row {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border-radius: 14px;
    background: white;
    border: 1px solid var(--amber-100);
}

.ranking-row:hover {
    background: var(--amber-50);
}

.ranking-number {
    color: var(--orange-700);
    font-weight: 900;
}

.ranking-title {
    color: var(--amber-950);
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ranking-score {
    color: white;
    background: var(--amber-700);
    border-radius: 999px;
    padding: 3px 8px;
    font-size: 12px;
    font-weight: 900;
}

.cta-section {
    width: min(var(--max-width), calc(100% - 32px));
    margin: 80px auto 0;
    padding: 54px;
    text-align: center;
    color: white;
    background: linear-gradient(120deg, var(--amber-900), var(--orange-700));
}

.cta-section h2 {
    margin: 0 0 12px;
    font-size: clamp(30px, 4vw, 46px);
}

.cta-section p {
    color: var(--amber-100);
    font-size: 18px;
    line-height: 1.7;
}

.page-hero {
    color: white;
    background: linear-gradient(115deg, var(--amber-950), var(--amber-800), var(--orange-700));
}

.compact-hero {
    padding: 70px 0;
}

.compact-hero > div {
    width: min(var(--max-width), calc(100% - 32px));
    margin: 0 auto;
}

.compact-hero h1 {
    font-size: clamp(38px, 5vw, 62px);
}

.filter-bar {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) 190px 190px auto;
    align-items: end;
    gap: 16px;
    padding: 18px;
    margin-bottom: 28px;
}

.filter-bar label {
    display: grid;
    gap: 8px;
    color: var(--amber-800);
    font-weight: 900;
}

.filter-bar input,
.filter-bar select {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border-radius: 14px;
}

.filter-bar strong {
    color: var(--amber-950);
    padding: 12px 0;
}

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

.ranking-card {
    display: grid;
    grid-template-columns: 54px 126px minmax(0, 1fr) 70px;
    align-items: center;
    gap: 18px;
    padding: 14px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--amber-100);
    background: white;
    box-shadow: 0 10px 22px rgba(120, 53, 15, 0.08);
}

.ranking-card:hover {
    border-color: var(--amber-300);
    box-shadow: var(--shadow-card);
}

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

.ranking-card-cover {
    border-radius: 14px;
}

.ranking-card-cover .cover-image {
    aspect-ratio: 16 / 10;
}

.ranking-card-info strong {
    display: block;
    color: var(--amber-950);
    font-size: 20px;
    margin-bottom: 6px;
}

.ranking-card-info small,
.ranking-card-info em {
    display: block;
    color: var(--text-soft);
    line-height: 1.55;
    font-style: normal;
}

.ranking-card-score {
    color: var(--amber-950);
    font-size: 24px;
    font-weight: 900;
}

.search-page-form {
    margin-bottom: 0;
}

.search-summary {
    padding: 18px 22px;
    margin-bottom: 22px;
    color: var(--amber-950);
    font-weight: 900;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--amber-700);
    margin-bottom: 22px;
    font-weight: 800;
}

.breadcrumbs strong {
    color: var(--amber-950);
}

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

.player-card {
    border-radius: 26px;
    overflow: hidden;
    background: #050505;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.video-shell {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #050505;
}

.site-video {
    width: 100%;
    height: 100%;
    background: #050505;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    gap: 10px;
    border: 0;
    color: white;
    background: radial-gradient(circle at center, rgba(69, 26, 3, 0.35), rgba(0, 0, 0, 0.72));
    cursor: pointer;
}

.player-overlay[hidden] {
    display: none;
}

.play-circle {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    margin: 0 auto;
    border-radius: 50%;
    color: var(--amber-950);
    background: white;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    font-size: 28px;
}

.player-overlay strong {
    font-size: 24px;
}

.player-overlay small {
    color: var(--amber-100);
}

.video-status {
    position: absolute;
    left: 16px;
    bottom: 14px;
    margin: 0;
    color: white;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 13px;
}

.detail-title-block {
    margin: 28px 0;
}

.detail-title-block .hero-badge {
    color: var(--amber-800);
    background: var(--amber-100);
    border-color: var(--amber-200);
}

.detail-title-block h1 {
    margin: 16px 0 12px;
    color: var(--amber-950);
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.1;
}

.detail-title-block p {
    color: var(--text-soft);
    font-size: 19px;
    line-height: 1.75;
}

.detail-meta span {
    color: var(--amber-800);
    background: var(--amber-100);
}

.detail-content-card {
    padding: 26px;
    margin-top: 18px;
}

.detail-content-card h2 {
    margin: 0 0 14px;
    color: var(--amber-950);
}

.detail-content-card p {
    color: var(--text-main);
    line-height: 1.9;
    margin: 0;
}

.detail-sidebar {
    position: sticky;
    top: 104px;
    display: grid;
    gap: 18px;
}

.side-poster {
    border-radius: 24px;
    box-shadow: var(--shadow-card);
}

.side-poster .cover-image {
    aspect-ratio: 3 / 4;
}

.side-card {
    padding: 24px;
}

.side-card h2 {
    margin: 0 0 16px;
    color: var(--amber-950);
}

.side-card dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px 16px;
    margin: 0 0 20px;
}

.side-card dt {
    color: var(--text-soft);
}

.side-card dd {
    margin: 0;
    color: var(--amber-950);
    font-weight: 900;
}

.full-button {
    width: 100%;
}

.tag-cloud a {
    color: var(--amber-800);
}

.tag-cloud a:hover {
    background: var(--amber-200);
}

.text-section {
    max-width: 900px;
}

.text-panel {
    padding: 28px;
    margin-bottom: 18px;
}

.text-panel h2 {
    margin: 0 0 12px;
    color: var(--amber-950);
}

.text-panel p {
    margin: 0;
    color: var(--text-main);
    line-height: 1.9;
}

.site-footer {
    margin-top: 90px;
    color: var(--amber-50);
    background: linear-gradient(180deg, var(--amber-900), var(--amber-950));
}

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

.footer-brand .brand-mark {
    width: 34px;
    height: 34px;
}

.footer-inner p,
.footer-inner a,
.footer-bottom {
    color: var(--amber-200);
}

.footer-inner h3 {
    margin: 0 0 14px;
    color: var(--amber-300);
}

.footer-inner ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.footer-inner a:hover {
    color: white;
}

.footer-bottom {
    width: min(var(--max-width), calc(100% - 32px));
    margin: 0 auto;
    padding: 22px 0 34px;
    border-top: 1px solid rgba(253, 230, 138, 0.16);
    text-align: center;
}

.is-hidden {
    display: none !important;
}

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

    .mobile-toggle {
        display: flex;
    }

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

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

    .ranking-panel,
    .detail-sidebar {
        position: static;
    }

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

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

@media (max-width: 760px) {
    .header-inner {
        height: 70px;
    }

    .brand-text strong {
        font-size: 19px;
    }

    .brand-text small {
        display: none;
    }

    .hero-section {
        padding: 48px 0 92px;
    }

    .hero-inner {
        gap: 28px;
    }

    .hero-search,
    .search-page-form,
    .hero-actions,
    .section-head {
        flex-direction: column;
        align-items: stretch;
    }

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

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

    .hero-copy {
        padding: 22px;
    }

    .section {
        margin-top: 48px;
    }

    .spotlight-grid,
    .card-grid,
    .card-grid--compact,
    .category-grid,
    .category-overview-grid,
    .horizontal-grid {
        grid-template-columns: 1fr;
    }

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

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

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

    .ranking-card {
        grid-template-columns: 44px 90px minmax(0, 1fr);
    }

    .ranking-card-score {
        grid-column: 3;
    }

    .detail-title-block h1,
    .compact-hero h1 {
        font-size: 36px;
    }

    .cta-section {
        padding: 34px 22px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }
}
