: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;
    --orange-500: #f97316;
    --orange-600: #ea580c;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --shadow-soft: 0 16px 40px rgba(146, 64, 14, 0.12);
    --shadow-strong: 0 24px 70px rgba(15, 23, 42, 0.24);
    --radius-lg: 26px;
    --radius-md: 18px;
    --radius-sm: 12px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--gray-900);
    background: linear-gradient(180deg, var(--amber-50) 0%, #fff7ed 36%, var(--white) 100%);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "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;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 251, 235, 0.92);
    border-bottom: 1px solid rgba(245, 158, 11, 0.32);
    box-shadow: 0 10px 28px rgba(146, 64, 14, 0.12);
    backdrop-filter: blur(16px);
}

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

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

.brand-icon {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
    border-radius: 50%;
    box-shadow: 0 10px 24px rgba(217, 119, 6, 0.26);
    font-size: 14px;
}

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

.nav-search {
    flex: 1 1 360px;
    max-width: 520px;
    position: relative;
    display: flex;
    align-items: center;
}

.nav-search input,
.mobile-search input,
.hero-search-panel input,
.filter-bar input,
.filter-bar select {
    width: 100%;
    border: 2px solid rgba(245, 158, 11, 0.36);
    border-radius: 999px;
    background: var(--white);
    color: var(--gray-900);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-search input,
.mobile-search input,
.hero-search-panel input {
    padding: 12px 116px 12px 18px;
}

.nav-search input:focus,
.mobile-search input:focus,
.hero-search-panel 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.16);
}

.nav-search button,
.mobile-search button,
.hero-search-panel button {
    position: absolute;
    right: 5px;
    border: 0;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
    padding: 9px 18px;
    cursor: pointer;
    font-weight: 800;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 700;
    color: #78350f;
}

.nav-link {
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    transform: scaleX(0);
    transform-origin: left;
    background: var(--amber-500);
    transition: transform 0.2s ease;
}

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

.nav-link:hover::after,
.nav-link.is-active::after {
    transform: scaleX(1);
}

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

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background: #78350f;
    border-radius: 999px;
}

.mobile-panel {
    display: none;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 22px 22px;
}

.mobile-brand {
    margin: 8px 0 12px;
    font-weight: 900;
    color: var(--amber-700);
}

.mobile-search {
    position: relative;
    margin-bottom: 14px;
}

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

.mobile-links a {
    padding: 10px 12px;
    border-radius: 14px;
    color: #78350f;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(245, 158, 11, 0.24);
    font-weight: 700;
}

.hero-carousel {
    position: relative;
    min-height: 700px;
    overflow: hidden;
    color: var(--white);
    background: radial-gradient(circle at 20% 20%, rgba(251, 191, 36, 0.45), transparent 34%), linear-gradient(135deg, #111827, #451a03);
}

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

.hero-slide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.55s ease;
    background-image: linear-gradient(90deg, rgba(17, 24, 39, 0.92), rgba(17, 24, 39, 0.46), rgba(17, 24, 39, 0.82)), var(--hero-image);
    background-size: cover;
    background-position: center;
}

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

.hero-image {
    position: absolute;
    inset: 0 0 0 auto;
    width: 62%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
    transform: scale(1.03);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.6) 45%, rgba(15, 23, 42, 0.88));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 960px;
    margin: 0 auto;
    padding: 150px 22px 230px;
}

.hero-label,
.page-hero span,
.rank-hero span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 7px 16px;
    color: var(--white);
    background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 12px 26px rgba(217, 119, 6, 0.28);
}

.hero-content h1 {
    max-width: 780px;
    margin: 22px 0 16px;
    font-size: clamp(42px, 8vw, 76px);
    line-height: 1.05;
    font-weight: 950;
    letter-spacing: -0.04em;
    text-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.hero-content p {
    max-width: 760px;
    margin: 0 0 26px;
    color: #e5e7eb;
    font-size: clamp(18px, 2.2vw, 24px);
}

.hero-meta,
.detail-badges,
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-meta span,
.detail-badges span,
.tag-row span {
    border-radius: 999px;
    padding: 7px 12px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-weight: 800;
}

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

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

.primary-btn {
    color: var(--white);
    background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
    box-shadow: 0 16px 34px rgba(217, 119, 6, 0.32);
}

.ghost-btn {
    color: var(--white);
    background: rgba(0, 0, 0, 0.36);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
}

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

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    color: var(--white);
    background: rgba(0, 0, 0, 0.52);
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
}

.hero-prev {
    left: 22px;
}

.hero-next {
    right: 22px;
}

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

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

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

.hero-search-panel {
    position: absolute;
    left: 50%;
    bottom: 30px;
    z-index: 4;
    width: min(1180px, calc(100% - 44px));
    padding: 22px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: var(--shadow-strong);
    backdrop-filter: blur(20px);
    transform: translateX(-50%);
}

.hero-search-panel form {
    position: relative;
    max-width: 720px;
}

.hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.hero-chips a,
.page-hero-links a,
.inline-links a {
    display: inline-flex;
    border-radius: 999px;
    padding: 8px 13px;
    color: #78350f;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(245, 158, 11, 0.24);
    font-size: 14px;
    font-weight: 800;
}

.content-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 58px 22px;
}

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

.section-head div:first-child {
    position: relative;
}

.section-head span:first-child {
    display: inline-block;
    width: 5px;
    height: 34px;
    margin-right: 12px;
    vertical-align: middle;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--amber-500), var(--orange-600));
}

.section-head h2 {
    display: inline;
    margin: 0;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.15;
    font-weight: 950;
}

.section-head p {
    margin: 10px 0 0 18px;
    color: var(--gray-500);
    max-width: 720px;
}

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

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

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

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

.movie-card {
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-soft);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(146, 64, 14, 0.2);
}

.movie-card a {
    display: block;
    height: 100%;
}

.poster-frame {
    position: relative;
    height: 260px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--amber-100), #fed7aa);
}

.movie-card-large .poster-frame {
    height: 360px;
}

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

.movie-card:hover .poster-frame img {
    transform: scale(1.08);
}

.poster-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(180deg, transparent 10%, rgba(0, 0, 0, 0.66) 100%);
    transition: opacity 0.2s ease;
}

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

.poster-type,
.poster-region,
.rank-badge {
    position: absolute;
    z-index: 2;
    border-radius: 9px;
    color: var(--white);
    background: rgba(0, 0, 0, 0.68);
    font-size: 12px;
    font-weight: 900;
    padding: 5px 8px;
    backdrop-filter: blur(8px);
}

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

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

.rank-badge {
    left: 10px;
    top: 10px;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
}

.poster-play {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--amber-600);
    background: rgba(255, 255, 255, 0.92);
    transform: translate(-50%, -50%) scale(0.72);
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    font-weight: 900;
}

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

.card-content {
    padding: 18px;
}

.card-content h3 {
    margin: 0 0 9px;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 900;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-content p {
    min-height: 48px;
    margin: 0 0 12px;
    color: var(--gray-500);
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--gray-500);
    font-size: 13px;
    font-weight: 800;
}

.card-meta span:first-child {
    color: var(--amber-700);
}

.card-tags {
    margin-top: 8px;
    color: #92400e;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.highlight-section {
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--amber-100), #ffedd5);
    box-shadow: var(--shadow-soft);
}

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

.feature-side {
    display: grid;
    gap: 24px;
}

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

.category-tile,
.category-overview-card {
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tile:hover,
.category-overview-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 46px rgba(146, 64, 14, 0.18);
}

.category-tile a {
    display: block;
    padding: 24px;
    min-height: 210px;
    background: radial-gradient(circle at top right, rgba(245, 158, 11, 0.22), transparent 42%);
}

.category-tile span {
    display: inline-flex;
    border-radius: 999px;
    padding: 7px 13px;
    color: var(--white);
    background: var(--amber-500);
    font-weight: 900;
}

.category-tile h3 {
    margin: 18px 0;
    color: var(--gray-800);
    font-size: 18px;
}

.category-tile div,
.inline-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-tile div a {
    padding: 0;
    min-height: 0;
    color: var(--amber-700);
    font-size: 14px;
    font-weight: 800;
}

.dark-section {
    max-width: 1236px;
    margin-top: 46px;
    margin-bottom: 20px;
    border-radius: var(--radius-lg);
    color: var(--white);
    background: linear-gradient(135deg, var(--gray-900), #1f2937 60%, #451a03);
    box-shadow: var(--shadow-strong);
}

.dark-section .section-head p,
.dark-section .section-head h2 {
    color: var(--white);
}

.year-block {
    margin-top: 34px;
}

.year-block h3 {
    margin: 0 0 18px;
    color: var(--amber-300);
    font-size: 26px;
}

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

.compact-card {
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: 0 10px 26px rgba(146, 64, 14, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.compact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(146, 64, 14, 0.16);
}

.compact-card a {
    display: grid;
    grid-template-columns: auto 128px 1fr;
    gap: 18px;
    align-items: center;
    padding: 14px;
}

.compact-card img {
    width: 128px;
    height: 84px;
    border-radius: 14px;
    object-fit: cover;
    background: var(--amber-100);
}

.compact-no {
    min-width: 46px;
    height: 46px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
    font-weight: 950;
}

.compact-card h3 {
    margin: 0 0 5px;
    font-size: 18px;
    font-weight: 900;
}

.compact-card p {
    margin: 0 0 5px;
    color: var(--gray-500);
}

.compact-card span:last-child {
    color: var(--amber-700);
    font-size: 13px;
    font-weight: 800;
}

.page-main {
    min-height: 60vh;
}

.page-hero,
.rank-hero {
    max-width: 1280px;
    margin: 34px auto 0;
    padding: 64px 38px;
    border-radius: var(--radius-lg);
    color: var(--white);
    background: radial-gradient(circle at 12% 0%, rgba(251, 191, 36, 0.5), transparent 32%), linear-gradient(135deg, var(--gray-900), #7c2d12);
    box-shadow: var(--shadow-strong);
}

.page-hero h1,
.rank-hero h1 {
    margin: 18px 0 12px;
    font-size: clamp(34px, 5vw, 60px);
    line-height: 1.08;
    font-weight: 950;
}

.page-hero p,
.rank-hero p {
    max-width: 850px;
    margin: 0;
    color: #f3f4f6;
    font-size: 18px;
}

.page-hero-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

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

.category-cover {
    position: relative;
    min-height: 260px;
    overflow: hidden;
    background: var(--amber-100);
}

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

.category-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
}

.category-cover span {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 2;
    color: var(--white);
    font-size: 22px;
    font-weight: 950;
}

.category-overview-body {
    padding: 24px;
}

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

.category-overview-body p {
    margin: 0 0 18px;
    color: var(--gray-500);
}

.filter-bar {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    gap: 16px;
    margin-bottom: 28px;
    padding: 18px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-soft);
}

.filter-bar label {
    display: grid;
    gap: 6px;
    color: #78350f;
    font-size: 14px;
    font-weight: 900;
}

.filter-bar input,
.filter-bar select {
    padding: 12px 16px;
    border-radius: 14px;
}

.rank-hero {
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(90deg, rgba(17, 24, 39, 0.94), rgba(17, 24, 39, 0.68)), var(--hero-image);
    background-size: cover;
    background-position: center;
}

.rank-hero div {
    position: relative;
    z-index: 2;
    max-width: 820px;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background-image: linear-gradient(90deg, rgba(17, 24, 39, 0.96), rgba(17, 24, 39, 0.64)), var(--hero-image);
    background-size: cover;
    background-position: center;
}

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

.detail-layout {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 64px 22px;
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 42px;
    align-items: center;
}

.detail-poster {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--amber-100);
    box-shadow: var(--shadow-strong);
}

.detail-poster img {
    width: 100%;
    height: 460px;
    object-fit: cover;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: #fde68a;
    font-weight: 800;
}

.detail-info h1 {
    margin: 0 0 18px;
    font-size: clamp(36px, 6vw, 64px);
    line-height: 1.08;
    font-weight: 950;
}

.detail-one-line {
    max-width: 860px;
    margin: 22px 0;
    color: #f3f4f6;
    font-size: 20px;
}

.tag-row span {
    color: #78350f;
    background: rgba(255, 255, 255, 0.9);
}

.player-section {
    padding-top: 70px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #020617;
    box-shadow: var(--shadow-strong);
}

.movie-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #020617;
}

.play-layer {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 14px;
    border: 0;
    color: var(--white);
    background: radial-gradient(circle at center, rgba(245, 158, 11, 0.22), rgba(0, 0, 0, 0.48) 52%, rgba(0, 0, 0, 0.74));
    cursor: pointer;
}

.play-layer span {
    width: 82px;
    height: 82px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--amber-600);
    background: rgba(255, 255, 255, 0.94);
    font-size: 34px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
}

.play-layer strong {
    max-width: 90%;
    text-align: center;
    font-size: 24px;
}

.play-layer.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.story-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.story-card {
    padding: 28px;
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.story-card h2 {
    margin: 0 0 14px;
    font-size: 28px;
    font-weight: 950;
}

.story-card p {
    margin: 0;
    color: var(--gray-700);
    font-size: 17px;
}

.site-footer {
    margin-top: 50px;
    color: #fde68a;
    background: linear-gradient(135deg, #451a03, #111827);
}

.footer-grid {
    max-width: 1280px;
    margin: 0 auto;
    padding: 48px 22px;
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 28px;
}

.footer-brand {
    margin-bottom: 14px;
    color: var(--amber-200);
    font-size: 24px;
}

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

.site-footer p {
    margin: 0;
    color: #fffbeb;
}

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

.footer-links a {
    color: #fffbeb;
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 22px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    border-top: 1px solid rgba(253, 230, 138, 0.24);
    color: var(--amber-200);
}

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

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

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

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

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

@media (max-width: 860px) {
    .hero-carousel {
        min-height: 760px;
    }

    .hero-content {
        padding-top: 112px;
        padding-bottom: 280px;
    }

    .hero-image {
        width: 100%;
        opacity: 0.28;
    }

    .hero-arrow {
        display: none;
    }

    .hero-dots {
        bottom: 226px;
    }

    .section-head,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .feature-grid,
    .detail-layout,
    .category-overview-card {
        grid-template-columns: 1fr;
    }

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

    .compact-card a {
        grid-template-columns: auto 92px 1fr;
        gap: 12px;
    }

    .compact-card img {
        width: 92px;
        height: 70px;
    }

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

@media (max-width: 560px) {
    .nav-wrap {
        height: 64px;
        padding: 0 16px;
    }

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

    .content-section,
    .detail-layout {
        padding-left: 16px;
        padding-right: 16px;
    }

    .page-hero,
    .rank-hero {
        margin-left: 16px;
        margin-right: 16px;
        padding: 42px 22px;
    }

    .poster-frame {
        height: 220px;
    }

    .detail-poster img {
        height: 420px;
    }

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

    .compact-no {
        width: 46px;
    }
}
