:root {
    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-200: #fde68a;
    --amber-300: #fcd34d;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --amber-700: #b45309;
    --amber-800: #92400e;
    --amber-900: #78350f;
    --orange-50: #fff7ed;
    --orange-100: #ffedd5;
    --orange-500: #f97316;
    --orange-600: #ea580c;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --shadow-md: 0 12px 30px rgba(120, 53, 15, 0.12);
    --shadow-lg: 0 24px 60px rgba(120, 53, 15, 0.18);
    --radius-lg: 18px;
    --radius-xl: 28px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

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

button,
input,
select {
    font: inherit;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(90deg, rgba(255, 251, 235, 0.96), rgba(255, 247, 237, 0.96));
    border-bottom: 1px solid rgba(245, 158, 11, 0.28);
    box-shadow: 0 8px 24px rgba(120, 53, 15, 0.08);
    backdrop-filter: blur(18px);
}

.nav-shell {
    max-width: 1280px;
    margin: 0 auto;
    height: 72px;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 0 24px;
}

.site-logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--amber-700);
    font-weight: 900;
    letter-spacing: -0.04em;
    white-space: nowrap;
}

.site-logo {
    font-size: 25px;
}

.logo-mark {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--amber-600);
}

.logo-mark svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.top-search {
    position: relative;
    flex: 1;
    max-width: 520px;
}

.top-search input,
.mobile-search input,
.search-page-form input,
.filter-panel input,
.filter-panel select {
    width: 100%;
    border: 2px solid var(--amber-300);
    outline: none;
    background: rgba(255, 255, 255, 0.92);
    color: var(--gray-800);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.top-search input {
    height: 42px;
    padding: 0 52px 0 18px;
    border-radius: 999px;
}

.top-search input:focus,
.mobile-search input:focus,
.search-page-form input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--amber-500);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.16);
    background: #ffffff;
}

.top-search button {
    position: absolute;
    right: 5px;
    top: 50%;
    width: 34px;
    height: 34px;
    transform: translateY(-50%);
    border: 0;
    border-radius: 999px;
    background: var(--amber-500);
    color: #ffffff;
    cursor: pointer;
}

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

.nav-link {
    color: var(--amber-800);
    font-weight: 700;
    transition: color 0.2s ease;
}

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

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: var(--amber-800);
    font-size: 28px;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    padding: 0 24px 18px;
    border-top: 1px solid rgba(245, 158, 11, 0.24);
}

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

.mobile-search {
    display: flex;
    gap: 10px;
    margin: 16px 0;
}

.mobile-search input,
.search-page-form input,
.filter-panel input,
.filter-panel select {
    min-height: 44px;
    border-radius: 999px;
    padding: 0 16px;
}

.mobile-search button,
.search-page-form button {
    border: 0;
    border-radius: 999px;
    background: var(--amber-500);
    color: #ffffff;
    font-weight: 800;
    padding: 0 18px;
    cursor: pointer;
}

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

.mobile-nav a {
    color: var(--amber-800);
    font-weight: 700;
}

.hero-carousel {
    position: relative;
    height: min(760px, 72vh);
    min-height: 520px;
    overflow: hidden;
    background: #000000;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
}

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

.hero-layer {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.48) 42%, rgba(0, 0, 0, 0.12));
}

.hero-content {
    position: absolute;
    left: max(24px, calc((100vw - 1280px) / 2 + 24px));
    right: 24px;
    bottom: 86px;
    max-width: 820px;
    color: #ffffff;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.hero-content h1,
.page-hero h1,
.detail-intro h1 {
    margin: 16px 0 16px;
    font-size: clamp(38px, 7vw, 78px);
    line-height: 1.02;
    letter-spacing: -0.06em;
    text-shadow: 0 16px 46px rgba(0, 0, 0, 0.42);
}

.hero-content p,
.page-hero p,
.detail-intro p {
    max-width: 760px;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(17px, 2vw, 22px);
    line-height: 1.7;
}

.hero-meta,
.hero-tags,
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.hero-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
}

.hero-tags {
    margin: 16px 0 24px;
}

.hero-tags span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
}

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

.primary-btn {
    background: var(--amber-500);
    color: #ffffff;
    box-shadow: 0 14px 34px rgba(245, 158, 11, 0.32);
}

.ghost-btn {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
}

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

.primary-btn:hover {
    background: var(--amber-600);
}

.hero-nav {
    position: absolute;
    top: 50%;
    width: 46px;
    height: 46px;
    transform: translateY(-50%);
    border: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.48);
    color: #ffffff;
    font-size: 38px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-nav:hover {
    background: rgba(0, 0, 0, 0.72);
    transform: translateY(-50%) scale(1.05);
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

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

.hero-dots button {
    width: 12px;
    height: 12px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

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

.content-shell {
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
}

.home-section,
.page-content {
    padding: 64px 0;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 28px;
}

.section-kicker {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(245, 158, 11, 0.26);
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.section-heading p {
    margin: 8px 0 0;
    color: var(--gray-600);
}

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

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

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

.movie-card {
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-md);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

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

.card-large .poster-wrap {
    aspect-ratio: 16 / 10;
}

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

.movie-card:hover .poster-wrap img,
.compact-card:hover img,
.side-card:hover img,
.category-card:hover img,
.podium-card:hover img {
    transform: scale(1.08);
}

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.02) 62%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.movie-card:hover .poster-shade {
    opacity: 1;
}

.type-chip,
.region-chip,
.rank-badge {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 9px;
    border-radius: 8px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    background: rgba(0, 0, 0, 0.66);
    backdrop-filter: blur(8px);
}

.type-chip {
    top: 10px;
    right: 10px;
}

.region-chip {
    left: 10px;
    bottom: 10px;
    background: rgba(245, 158, 11, 0.92);
}

.play-float {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    transform: translate(-50%, -50%) scale(0.55);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--amber-600);
    font-size: 24px;
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.movie-info {
    padding: 18px;
}

.movie-info h2,
.compact-card h2,
.podium-card h2 {
    margin: 0 0 10px;
    color: var(--gray-900);
    font-size: 18px;
    line-height: 1.35;
}

.movie-info h2 a:hover,
.compact-card h2 a:hover,
.side-card strong:hover {
    color: var(--amber-600);
}

.movie-info p,
.compact-card p,
.podium-card p {
    display: -webkit-box;
    margin: 0 0 14px;
    overflow: hidden;
    color: var(--gray-600);
    line-height: 1.65;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.meta-row,
.mini-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--gray-500);
    font-size: 13px;
}

.meta-row span:first-child {
    color: var(--amber-600);
    font-weight: 900;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

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

.feature-block,
.dark-block {
    margin: 32px 0 72px;
    padding: 36px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--amber-100), var(--orange-100));
    box-shadow: var(--shadow-md);
}

.feature-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.stacked-cards {
    display: grid;
    gap: 24px;
}

.feature-tail {
    margin-top: 24px;
}

.category-strip {
    margin: 0 0 44px;
    padding: 28px;
    border-radius: var(--radius-xl);
}

.category-strip:nth-child(odd) {
    background: linear-gradient(90deg, rgba(255, 247, 237, 0.86), rgba(255, 251, 235, 0.86));
}

.strip-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 22px;
}

.strip-head h3 {
    margin: 0;
    color: var(--amber-700);
    font-size: 26px;
}

.strip-head a {
    color: var(--amber-600);
    font-weight: 900;
}

.dark-block {
    color: #ffffff;
    background: linear-gradient(135deg, #111827, #1f2937 68%, #451a03);
}

.dark-block .section-heading h2,
.dark-block .compact-card h2 a {
    color: #ffffff;
}

.dark-block .section-heading p,
.dark-block .compact-card p,
.dark-block .mini-meta {
    color: rgba(255, 255, 255, 0.7);
}

.list-grid {
    display: grid;
    gap: 18px;
}

.compact-card {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 18px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-md);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dark-block .compact-card {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.compact-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.compact-poster {
    position: relative;
    display: block;
    height: 130px;
    overflow: hidden;
    background: var(--amber-100);
}

.compact-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.compact-card > div {
    padding: 20px 20px 20px 0;
}

.rank-badge {
    top: 10px;
    left: 10px;
    min-width: 30px;
    justify-content: center;
    background: linear-gradient(135deg, #ef4444, var(--orange-500));
}

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(135deg, #111827, #78350f);
}

.page-hero {
    min-height: 360px;
    display: flex;
    align-items: center;
    padding: 70px max(24px, calc((100vw - 1280px) / 2 + 24px));
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: -35%;
    background:
        radial-gradient(circle at 20% 20%, rgba(245, 158, 11, 0.42), transparent 28%),
        radial-gradient(circle at 82% 32%, rgba(249, 115, 22, 0.34), transparent 30%);
    opacity: 0.88;
}

.page-hero > div {
    position: relative;
    max-width: 860px;
}

.small-hero,
.category-hero,
.ranking-hero,
.search-hero {
    min-height: 330px;
}

.filter-panel {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 16px;
    margin: 0 0 30px;
    padding: 22px;
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
}

.filter-panel label {
    display: grid;
    gap: 8px;
}

.filter-panel span {
    color: var(--amber-800);
    font-size: 14px;
    font-weight: 900;
}

.filter-empty {
    padding: 38px;
    border-radius: var(--radius-lg);
    text-align: center;
    color: var(--gray-600);
    background: #ffffff;
    box-shadow: var(--shadow-md);
}

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

.category-card {
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: #ffffff;
    box-shadow: var(--shadow-md);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-covers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: 170px;
    overflow: hidden;
    background: var(--amber-100);
}

.category-covers img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.category-body {
    padding: 24px;
}

.category-body h2 {
    margin: 0 0 10px;
    font-size: 24px;
}

.category-body p {
    margin: 0 0 18px;
    color: var(--gray-600);
    line-height: 1.7;
}

.category-body span {
    color: var(--amber-600);
    font-weight: 900;
}

.podium-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: -110px 0 44px;
    position: relative;
    z-index: 3;
}

.podium-card {
    position: relative;
    overflow: hidden;
    min-height: 420px;
    border-radius: var(--radius-xl);
    background: #000000;
    box-shadow: var(--shadow-lg);
}

.podium-card img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    opacity: 0.72;
    transition: transform 0.4s ease;
}

.podium-card span {
    position: absolute;
    top: 18px;
    left: 18px;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, #ef4444, var(--orange-500));
    color: #ffffff;
    font-size: 22px;
    font-weight: 900;
}

.podium-card h2,
.podium-card p {
    position: absolute;
    left: 24px;
    right: 24px;
    color: #ffffff;
}

.podium-card h2 {
    bottom: 90px;
    font-size: 26px;
}

.podium-card p {
    bottom: 20px;
}

.search-page-form {
    display: flex;
    max-width: 720px;
    gap: 12px;
    margin-top: 26px;
}

.search-page-form input {
    min-height: 52px;
}

.search-page-form button {
    min-width: 116px;
}

.search-status {
    margin: 0 0 24px;
    color: var(--gray-600);
    font-weight: 800;
}

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

.detail-backdrop {
    position: absolute;
    inset: 0;
}

.detail-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(16px) saturate(1.12);
    transform: scale(1.08);
    opacity: 0.44;
}

.detail-backdrop span {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(17, 24, 39, 0.98), rgba(17, 24, 39, 0.62));
}

.detail-hero-inner {
    position: relative;
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
    padding: 36px 0 88px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 42px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 14px;
}

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

.detail-intro {
    display: grid;
    grid-template-columns: 310px 1fr;
    gap: 42px;
    align-items: center;
}

.detail-cover {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.42);
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.detail-intro h1 {
    max-width: 840px;
    font-size: clamp(36px, 5vw, 68px);
}

.detail-meta {
    margin-bottom: 16px;
}

.detail-shell {
    display: grid;
    grid-template-columns: minmax(0, 2fr) 360px;
    gap: 32px;
    padding: 54px 0 80px;
}

.player-card,
.text-card,
.side-panel {
    border-radius: var(--radius-xl);
    background: #ffffff;
    box-shadow: var(--shadow-md);
}

.player-card {
    overflow: hidden;
    margin-bottom: 28px;
    background: #000000;
}

.player-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000000;
}

.movie-video {
    width: 100%;
    height: 100%;
    display: block;
    background: #000000;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 0;
    color: #ffffff;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.16));
    cursor: pointer;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-overlay span {
    width: 82px;
    height: 82px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.95);
    box-shadow: 0 18px 44px rgba(245, 158, 11, 0.32);
    font-size: 34px;
}

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

.text-card {
    padding: 30px;
    margin-bottom: 28px;
}

.text-card h2,
.side-panel h2 {
    margin: 0 0 16px;
    color: var(--gray-900);
    font-size: 26px;
}

.text-card p {
    margin: 0;
    color: var(--gray-700);
    font-size: 17px;
    line-height: 1.9;
    text-align: justify;
}

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

.detail-side {
    position: relative;
}

.side-panel {
    padding: 24px;
    margin-bottom: 24px;
}

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

.side-card {
    display: grid;
    grid-template-columns: 112px 1fr;
    gap: 12px;
    align-items: center;
    padding: 8px;
    border-radius: 14px;
    transition: background 0.2s ease;
}

.side-card:hover {
    background: var(--amber-50);
}

.side-card img {
    width: 112px;
    height: 72px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.35s ease;
}

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

.side-card strong {
    color: var(--gray-900);
    line-height: 1.45;
}

.side-card em {
    margin-top: 6px;
    color: var(--gray-500);
    font-size: 13px;
    font-style: normal;
}

.side-tags {
    display: grid;
    gap: 12px;
}

.side-tags a {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    color: var(--amber-700);
    background: var(--amber-50);
    font-weight: 900;
}

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

.footer-grid {
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 32px;
    padding: 52px 0;
}

.footer-logo {
    color: var(--amber-100);
    font-size: 22px;
}

.footer-grid h2 {
    margin: 0 0 16px;
    color: var(--amber-200);
    font-size: 18px;
}

.footer-grid p {
    color: var(--amber-100);
    line-height: 1.8;
}

.footer-links {
    display: grid;
    gap: 10px;
}

.footer-links a {
    color: var(--amber-100);
}

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

.footer-bottom {
    border-top: 1px solid rgba(253, 230, 138, 0.22);
    padding: 18px 24px;
    color: var(--amber-200);
    text-align: center;
}

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

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

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

    .three-cols,
    .category-grid,
    .podium-grid,
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .detail-shell,
    .detail-intro {
        grid-template-columns: 1fr;
    }

    .detail-cover {
        max-width: 320px;
    }

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

@media (max-width: 760px) {
    .nav-shell {
        height: 64px;
        padding: 0 16px;
        gap: 14px;
    }

    .site-logo {
        font-size: 20px;
    }

    .top-search {
        display: none;
    }

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

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

    .hero-content h1,
    .page-hero h1,
    .detail-intro h1 {
        font-size: 38px;
    }

    .hero-content p,
    .page-hero p,
    .detail-intro p {
        font-size: 16px;
    }

    .hero-nav {
        display: none;
    }

    .content-shell,
    .detail-hero-inner,
    .footer-grid {
        width: min(100% - 32px, 1280px);
    }

    .home-section,
    .page-content {
        padding: 42px 0;
    }

    .four-cols,
    .three-cols,
    .feature-layout,
    .category-grid,
    .podium-grid,
    .footer-grid,
    .filter-panel {
        grid-template-columns: 1fr;
    }

    .feature-block,
    .dark-block,
    .category-strip {
        padding: 22px;
        border-radius: 22px;
    }

    .compact-card {
        grid-template-columns: 124px 1fr;
    }

    .compact-poster {
        height: 120px;
    }

    .compact-card > div {
        padding: 14px 14px 14px 0;
    }

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

    .page-hero {
        min-height: 300px;
        padding: 52px 20px;
    }

    .podium-grid {
        margin-top: -70px;
    }

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

    .detail-intro {
        gap: 24px;
    }

    .detail-shell {
        padding: 36px 0 60px;
    }

    .side-card {
        grid-template-columns: 96px 1fr;
    }

    .side-card img {
        width: 96px;
        height: 66px;
    }

    .search-page-form {
        flex-direction: column;
    }
}
