:root {
    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-300: #fcd34d;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --orange-700: #c2410c;
    --orange-900: #7c2d12;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-500: #64748b;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --teal-500: #14b8a6;
    --cyan-500: #06b6d4;
    --rose-500: #f43f5e;
    --shadow: 0 24px 70px rgba(15, 23, 42, 0.16);
}

html {
    scroll-behavior: smooth;
}

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

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

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

button,
input,
select {
    font: inherit;
}

.site-container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: linear-gradient(90deg, rgba(120, 53, 15, 0.94), rgba(124, 45, 18, 0.92));
    color: white;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.14);
    backdrop-filter: blur(16px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    font-size: 24px;
    letter-spacing: -0.03em;
    color: var(--amber-50);
}

.logo-mark {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    color: var(--orange-900);
    background: linear-gradient(135deg, var(--amber-300), var(--amber-50));
    box-shadow: 0 0 28px rgba(252, 211, 77, 0.36);
    font-size: 15px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-link {
    position: relative;
    color: var(--amber-50);
    font-weight: 700;
    opacity: 0.88;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 2px;
    border-radius: 999px;
    background: var(--amber-300);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

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

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

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--amber-50);
    border-radius: 999px;
}

.page-main {
    padding-top: 72px;
}

.hero-carousel {
    position: relative;
    min-height: 760px;
    overflow: hidden;
    background: var(--slate-900);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

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

.hero-bg,
.detail-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(15, 23, 42, 0.92) 0%, rgba(120, 53, 15, 0.72) 48%, rgba(15, 23, 42, 0.32) 100%),
        var(--hero-image);
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
}

.hero-bg::after,
.detail-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(245, 158, 11, 0.32), transparent 34%), linear-gradient(0deg, rgba(15, 23, 42, 0.72), transparent 36%);
}

.hero-content {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: center;
    gap: 56px;
    padding-top: 112px;
    color: white;
}

.hero-copy h1 {
    max-width: 780px;
    margin: 18px 0 16px;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 0.98;
    letter-spacing: -0.06em;
    font-weight: 950;
}

.hero-copy h2 {
    margin: 0 0 16px;
    color: var(--amber-300);
    font-size: clamp(26px, 3vw, 42px);
    font-weight: 900;
}

.hero-copy p {
    max-width: 720px;
    color: #fde68a;
    font-size: 18px;
    line-height: 1.85;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--amber-200);
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eyebrow.dark {
    color: var(--amber-600);
}

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

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

.primary-button {
    color: var(--orange-900);
    background: linear-gradient(135deg, var(--amber-300), var(--amber-50));
    box-shadow: 0 16px 34px rgba(245, 158, 11, 0.28);
}

.ghost-button {
    border: 1px solid rgba(255, 255, 255, 0.42);
    color: white;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.ghost-button.dark {
    border-color: var(--slate-200);
    color: var(--slate-800);
    background: white;
}

.primary-button:hover,
.ghost-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
}

.hero-poster {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: var(--shadow);
    transform: rotate(2deg);
    border: 6px solid rgba(255, 255, 255, 0.16);
}

.hero-poster img {
    width: 100%;
    aspect-ratio: 3 / 4.25;
    object-fit: cover;
}

.hero-poster span {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 12px 14px;
    border-radius: 18px;
    color: white;
    font-weight: 800;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(12px);
}

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

.hero-dot {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.38);
    transition: width 0.25s ease, background 0.25s ease;
}

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

.quick-search-section {
    margin-top: -58px;
    position: relative;
    z-index: 4;
}

.quick-search-card,
.search-panel {
    display: grid;
    grid-template-columns: minmax(220px, 0.8fr) minmax(280px, 1.2fr);
    align-items: center;
    gap: 24px;
    padding: 24px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
    border: 1px solid rgba(226, 232, 240, 0.72);
    backdrop-filter: blur(18px);
}

.quick-search-card h2 {
    margin: 6px 0 0;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 950;
    color: var(--slate-900);
}

.search-panel {
    grid-template-columns: 1fr auto;
    margin-bottom: 28px;
    box-shadow: 0 16px 46px rgba(15, 23, 42, 0.1);
}

.quick-search-card .search-panel {
    margin-bottom: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
}

.search-field {
    position: relative;
}

.search-field span {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--slate-500);
    font-weight: 900;
}

.movie-search-input,
.filter-select {
    width: 100%;
    min-height: 50px;
    border: 2px solid var(--slate-200);
    border-radius: 16px;
    outline: none;
    background: white;
    color: var(--slate-800);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.movie-search-input {
    padding: 0 16px 0 44px;
}

.filter-select {
    padding: 0 14px;
    cursor: pointer;
}

.movie-search-input:focus,
.filter-select:focus {
    border-color: var(--teal-500);
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.12);
}

.filter-fields {
    display: flex;
    gap: 12px;
}

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

.soft-bg {
    background: linear-gradient(135deg, #fff7ed, #fef3c7);
}

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

.section-heading h2 {
    margin: 8px 0 0;
    color: var(--slate-900);
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 950;
    letter-spacing: -0.04em;
}

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

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

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

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

.movie-card[hidden],
.compact-card[hidden],
.ranking-card[hidden] {
    display: none;
}

.movie-card-link {
    display: flex;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border-radius: 24px;
    background: white;
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.1);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card-link:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
}

.poster-frame {
    position: relative;
    display: block;
    overflow: hidden;
    background: linear-gradient(135deg, var(--amber-100), var(--slate-200));
}

.poster-frame img {
    width: 100%;
    aspect-ratio: 3 / 4.15;
    object-fit: cover;
    transition: transform 0.35s ease;
}

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

.poster-shade {
    position: absolute;
    inset: auto 0 0;
    height: 46%;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.84), transparent);
}

.movie-year {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--orange-900);
    background: var(--amber-300);
    font-size: 12px;
    font-weight: 900;
}

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

.movie-meta,
.movie-genre {
    color: var(--amber-600);
    font-size: 13px;
    font-weight: 900;
}

.movie-card h2,
.movie-card h3 {
    display: -webkit-box;
    margin: 0;
    min-height: 48px;
    overflow: hidden;
    color: var(--slate-900);
    font-size: 18px;
    font-weight: 950;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-line {
    display: -webkit-box;
    min-height: 44px;
    overflow: hidden;
    color: var(--slate-500);
    font-size: 14px;
    line-height: 1.58;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: auto;
}

.tag-row span {
    padding: 5px 8px;
    border-radius: 999px;
    color: var(--slate-700);
    background: var(--slate-100);
    font-size: 12px;
    font-weight: 800;
}

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

.category-tile {
    position: relative;
    min-height: 270px;
    overflow: hidden;
    border-radius: 26px;
    box-shadow: var(--shadow);
    background: var(--slate-900);
}

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

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

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.2));
}

.category-info {
    position: absolute;
    inset: auto 0 0;
    display: grid;
    gap: 10px;
    padding: 22px;
    color: white;
}

.category-info strong {
    font-size: 26px;
    font-weight: 950;
}

.category-info em {
    color: #fde68a;
    font-style: normal;
    line-height: 1.65;
}

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

.category-samples span {
    padding: 5px 8px;
    border-radius: 999px;
    color: var(--orange-900);
    background: var(--amber-200);
    font-size: 12px;
    font-weight: 900;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 44px 72px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: 22px;
    background: white;
    box-shadow: 0 14px 38px rgba(15, 23, 42, 0.08);
}

.rank-row span {
    color: var(--amber-600);
    font-size: 22px;
    font-weight: 950;
}

.rank-row img {
    width: 72px;
    height: 96px;
    border-radius: 14px;
    object-fit: cover;
}

.rank-row strong {
    display: block;
    overflow: hidden;
    color: var(--slate-900);
    font-weight: 950;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rank-row em {
    display: block;
    margin-top: 6px;
    color: var(--slate-500);
    font-style: normal;
    font-weight: 700;
}

.page-hero {
    padding: 78px 0 74px;
    color: white;
}

.page-hero h1 {
    margin: 12px 0 14px;
    font-size: clamp(42px, 6vw, 68px);
    font-weight: 950;
    letter-spacing: -0.05em;
}

.page-hero p {
    max-width: 820px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
    line-height: 1.8;
}

.amber-hero {
    background: linear-gradient(135deg, #78350f, #c2410c);
}

.teal-hero {
    background: linear-gradient(135deg, #0f766e, #0891b2);
}

.blue-hero {
    background: linear-gradient(135deg, #1d4ed8, #0891b2);
}

.rose-hero {
    background: linear-gradient(135deg, #be123c, #9f1239);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    font-weight: 800;
}

.breadcrumb a:hover {
    color: var(--amber-200);
}

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

.category-overview-card {
    overflow: hidden;
    border-radius: 28px;
    background: white;
    box-shadow: var(--shadow);
}

.category-hero-link {
    position: relative;
    display: block;
    min-height: 280px;
    overflow: hidden;
    color: white;
    background: var(--slate-900);
}

.category-hero-link img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    opacity: 0.76;
    transition: transform 0.35s ease;
}

.category-hero-link:hover img {
    transform: scale(1.05);
}

.category-hero-link > span {
    position: absolute;
    inset: auto 0 0;
    display: grid;
    gap: 10px;
    padding: 24px;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.94), transparent);
}

.category-hero-link em {
    color: var(--amber-200);
    font-style: normal;
    font-weight: 900;
}

.category-hero-link strong {
    font-size: 32px;
    font-weight: 950;
}

.category-hero-link p {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.7;
}

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

.compact-card {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 18px;
    background: var(--slate-50);
    transition: background 0.2s ease, transform 0.2s ease;
}

.compact-card:hover {
    background: var(--amber-50);
    transform: translateX(3px);
}

.compact-card img {
    width: 58px;
    height: 76px;
    border-radius: 12px;
    object-fit: cover;
}

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

.compact-card strong {
    color: var(--slate-900);
    font-weight: 950;
}

.compact-card em {
    margin-top: 6px;
    color: var(--slate-500);
    font-style: normal;
    font-size: 13px;
    font-weight: 700;
}

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

.ranking-card a {
    display: grid;
    grid-template-columns: 64px 88px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    min-height: 140px;
    padding: 16px;
    border-radius: 24px;
    background: white;
    box-shadow: 0 16px 44px rgba(15, 23, 42, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.ranking-card a:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.14);
}

.rank-number {
    color: var(--amber-600);
    font-size: 30px;
    font-weight: 950;
    text-align: center;
}

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

.rank-info strong,
.rank-info em,
.rank-info span {
    display: block;
}

.rank-info strong {
    color: var(--slate-900);
    font-size: 20px;
    font-weight: 950;
}

.rank-info em {
    margin: 6px 0;
    color: var(--amber-600);
    font-style: normal;
    font-weight: 800;
}

.rank-info span {
    display: -webkit-box;
    overflow: hidden;
    color: var(--slate-500);
    line-height: 1.6;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.detail-page {
    padding-top: 72px;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    min-height: 620px;
    color: white;
    background: var(--slate-900);
}

.detail-bg {
    background-image:
        linear-gradient(90deg, rgba(15, 23, 42, 0.95), rgba(120, 53, 15, 0.72), rgba(15, 23, 42, 0.38)),
        var(--detail-image);
}

.detail-hero-inner {
    position: relative;
    z-index: 2;
    padding: 52px 0 64px;
}

.detail-intro {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 42px;
    align-items: center;
}

.detail-poster {
    width: 280px;
    aspect-ratio: 3 / 4.15;
    border-radius: 28px;
    object-fit: cover;
    box-shadow: var(--shadow);
    border: 6px solid rgba(255, 255, 255, 0.16);
}

.detail-copy h1 {
    margin: 12px 0 14px;
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 950;
    line-height: 1.04;
    letter-spacing: -0.055em;
}

.detail-one-line {
    max-width: 840px;
    color: #fde68a;
    font-size: 20px;
    line-height: 1.75;
}

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

.detail-meta span {
    padding: 8px 12px;
    border-radius: 999px;
    color: white;
    background: rgba(255, 255, 255, 0.12);
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.detail-tags {
    margin-bottom: 26px;
}

.detail-tags span {
    color: var(--orange-900);
    background: var(--amber-200);
}

.watch-section {
    background: var(--slate-900);
}

.player-card {
    overflow: hidden;
    border-radius: 32px;
    background: #020617;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

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

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

.player-start {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 14px;
    border: 0;
    color: white;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.26));
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-start span {
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
    border-radius: 999px;
    color: var(--orange-900);
    background: linear-gradient(135deg, var(--amber-300), var(--amber-50));
    box-shadow: 0 18px 44px rgba(245, 158, 11, 0.28);
    font-size: 32px;
}

.player-start strong {
    font-size: 22px;
    font-weight: 950;
}

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

.player-title {
    padding: 22px 26px 26px;
    color: white;
}

.player-title h2 {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 950;
}

.player-title p {
    margin: 0;
    color: #cbd5e1;
    line-height: 1.7;
}

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

.detail-article,
.detail-side {
    border-radius: 28px;
    background: white;
    box-shadow: 0 16px 44px rgba(15, 23, 42, 0.08);
}

.detail-article {
    padding: 34px;
}

.detail-article h2,
.detail-side h2 {
    margin: 0 0 16px;
    color: var(--slate-900);
    font-size: 28px;
    font-weight: 950;
}

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

.detail-article p {
    margin: 0;
    color: var(--slate-700);
    font-size: 17px;
    line-height: 2;
}

.detail-side {
    align-self: start;
    padding: 26px;
}

.detail-side dl {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 12px 10px;
    margin: 0 0 24px;
}

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

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

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

.site-footer {
    padding: 58px 0 24px;
    color: #cbd5e1;
    background: linear-gradient(135deg, var(--slate-900), var(--slate-800));
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 1fr;
    gap: 34px;
}

.footer-logo {
    color: var(--amber-50);
    margin-bottom: 14px;
}

.site-footer p {
    margin: 0;
    max-width: 520px;
    line-height: 1.8;
}

.site-footer h2 {
    margin: 0 0 16px;
    color: var(--amber-300);
    font-size: 20px;
    font-weight: 950;
}

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

.footer-links a {
    color: #cbd5e1;
    font-weight: 700;
    transition: color 0.2s ease;
}

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

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

.footer-bottom {
    margin-top: 34px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #94a3b8;
}

@media (max-width: 1180px) {
    .archive-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

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

@media (max-width: 960px) {
    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        left: 16px;
        right: 16px;
        top: 78px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 14px;
        border-radius: 22px;
        background: rgba(120, 53, 15, 0.98);
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: flex;
    }

    .nav-link {
        padding: 12px 14px;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.08);
    }

    .nav-link::after {
        display: none;
    }

    .hero-content,
    .detail-intro,
    .detail-content-grid,
    .footer-grid,
    .quick-search-card,
    .search-panel {
        grid-template-columns: 1fr;
    }

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

    .hero-content {
        gap: 28px;
        padding-top: 120px;
    }

    .hero-poster {
        width: min(320px, 82vw);
        margin: 0 auto;
    }

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

    .detail-poster {
        width: min(280px, 76vw);
    }
}

@media (max-width: 640px) {
    .site-container {
        width: min(100% - 24px, 1180px);
    }

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

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

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

    .hero-copy p,
    .detail-one-line,
    .page-hero p {
        font-size: 16px;
    }

    .hero-actions,
    .filter-fields,
    .section-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .movie-grid,
    .category-grid,
    .ranking-grid,
    .category-overview-grid,
    .ranking-list,
    .archive-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .ranking-card a,
    .rank-row {
        grid-template-columns: 42px 72px minmax(0, 1fr);
    }

    .rank-info span {
        -webkit-line-clamp: 1;
    }

    .detail-article,
    .detail-side {
        padding: 22px;
    }
}
