:root {
    color-scheme: light;
    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-200: #fde68a;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --orange-500: #f97316;
    --red-500: #ef4444;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --shadow-sm: 0 8px 20px rgba(17, 24, 39, 0.08);
    --shadow-md: 0 16px 40px rgba(17, 24, 39, 0.12);
    --shadow-lg: 0 28px 70px rgba(17, 24, 39, 0.18);
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

body.no-scroll {
    overflow: hidden;
}

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

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

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(100% - 32px, var(--container));
    margin-inline: auto;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 90;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.82));
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(245, 158, 11, 0.16);
    box-shadow: 0 8px 30px rgba(17, 24, 39, 0.06);
}

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

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: max-content;
}

.brand-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: #ffffff;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-500), var(--red-500));
    box-shadow: 0 12px 26px rgba(245, 158, 11, 0.34);
}

.brand-text strong,
.footer-brand {
    display: block;
    font-size: 23px;
    line-height: 1.05;
    font-weight: 850;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--amber-600), var(--orange-500));
    -webkit-background-clip: text;
    color: transparent;
}

.brand-text small {
    display: block;
    margin-top: 4px;
    color: var(--gray-500);
    font-size: 12px;
}

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

.nav-link,
.mobile-link {
    position: relative;
    padding: 10px 14px;
    color: var(--gray-700);
    font-size: 15px;
    font-weight: 700;
    border-radius: 999px;
    transition: color 0.25s ease, background 0.25s ease;
}

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

.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 310px;
    padding: 6px;
    border: 1px solid rgba(245, 158, 11, 0.26);
    background: #ffffff;
    border-radius: 999px;
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.06);
}

.header-search input,
.mobile-search input,
.filter-input {
    width: 100%;
    border: 0;
    outline: 0;
    color: var(--gray-800);
    background: transparent;
}

.header-search input {
    padding-left: 12px;
}

.header-search button,
.mobile-search button {
    border: 0;
    color: #ffffff;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 800;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: var(--amber-50);
    align-items: center;
    justify-content: center;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--amber-600);
    border-radius: 99px;
}

.mobile-panel {
    display: none;
    width: min(100% - 32px, var(--container));
    margin: 0 auto 16px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid rgba(245, 158, 11, 0.16);
    border-radius: 22px;
    box-shadow: var(--shadow-md);
}

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

.mobile-search {
    display: flex;
    gap: 8px;
    padding: 6px;
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    margin-bottom: 12px;
}

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

.hero-carousel {
    position: relative;
    min-height: 650px;
    overflow: hidden;
    background: linear-gradient(135deg, #b45309, #ea580c, #dc2626);
}

.hero-carousel::before,
.page-hero::before,
.rank-hero::before,
.detail-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.28) 0 2px, transparent 3px), radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.14) 0 4px, transparent 5px);
    background-size: 78px 78px, 110px 110px;
    opacity: 0.35;
    pointer-events: none;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    align-items: center;
    gap: 56px;
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
    padding-top: 96px;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
    pointer-events: none;
}

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

.hero-shade {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: linear-gradient(90deg, rgba(127, 29, 29, 0.92), rgba(234, 88, 12, 0.82), rgba(17, 24, 39, 0.38)), var(--hero-image);
    background-size: cover;
    background-position: center;
    filter: saturate(1.05);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    max-width: 760px;
}

.hero-kicker,
.section-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 18px;
    padding: 9px 16px;
    color: #92400e;
    background: rgba(254, 243, 199, 0.94);
    border-radius: 999px;
    font-weight: 850;
    font-size: 14px;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.18);
}

.hero-content h1,
.page-hero h1,
.rank-hero h1,
.detail-intro h1 {
    margin: 0 0 22px;
    font-size: clamp(42px, 7vw, 76px);
    line-height: 1.02;
    letter-spacing: -0.055em;
    font-weight: 900;
}

.hero-content p,
.page-hero p,
.rank-hero p,
.detail-intro p {
    max-width: 780px;
    margin: 0 0 26px;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.85;
}

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

.hero-tags span,
.tag-row span,
.meta-row span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 750;
}

.hero-tags span {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 22px;
    border-radius: 999px;
    font-weight: 850;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

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

.btn-primary {
    color: var(--amber-700, #b45309);
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(17, 24, 39, 0.18);
}

.btn-ghost {
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
}

.btn-soft {
    color: #7c2d12;
    background: var(--amber-100);
}

.hero-cover {
    position: relative;
    z-index: 2;
    border-radius: 34px;
    overflow: hidden;
    box-shadow: 0 40px 90px rgba(17, 24, 39, 0.42);
    transform: rotate(2deg);
    transition: transform 0.35s ease;
}

.hero-cover:hover {
    transform: rotate(0deg) translateY(-6px);
}

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

.hero-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(17, 24, 39, 0.55));
}

.hero-controls {
    position: absolute;
    left: 50%;
    bottom: 30px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 16px;
    transform: translateX(-50%);
}

.hero-prev,
.hero-next,
.hero-dot {
    border: 0;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
}

.hero-prev,
.hero-next {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    font-size: 30px;
    line-height: 1;
}

.hero-dots {
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 999px;
    transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
    width: 32px;
    background: #ffffff;
}

.stats-section {
    position: relative;
    z-index: 3;
    margin-top: -40px;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.stat-card {
    padding: 28px 22px;
    text-align: center;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(245, 158, 11, 0.18);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.stat-card strong {
    display: block;
    color: var(--gray-900);
    font-size: 28px;
    font-weight: 900;
}

.stat-card span {
    color: var(--gray-500);
    font-size: 14px;
    font-weight: 700;
}

.content-section {
    padding: 78px 0;
}

.warm-section {
    background: linear-gradient(180deg, #ffffff, var(--amber-50));
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 38px;
    text-align: center;
}

.section-heading .section-kicker {
    margin-inline: auto;
}

.section-heading h2 {
    margin: 0 0 14px;
    color: var(--gray-900);
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.08;
    letter-spacing: -0.04em;
    font-weight: 900;
}

.section-heading p {
    margin: 0;
    color: var(--gray-500);
    font-size: 17px;
    line-height: 1.8;
}

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

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

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(245, 158, 11, 0.14);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.movie-card:hover {
    transform: translateY(-7px);
    border-color: rgba(245, 158, 11, 0.38);
    box-shadow: var(--shadow-lg);
}

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

.poster-link img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: transform 0.45s ease, filter 0.45s ease;
}

.movie-card:hover .poster-link img {
    transform: scale(1.08);
    filter: saturate(1.05) contrast(1.03);
}

.poster-link::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(180deg, transparent 38%, rgba(17, 24, 39, 0.76));
    transition: opacity 0.25s ease;
}

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

.year-badge,
.play-chip {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-weight: 850;
}

.year-badge {
    top: 12px;
    right: 12px;
    padding: 5px 10px;
    color: #ffffff;
    background: var(--amber-500);
    font-size: 12px;
}

.play-chip {
    left: 12px;
    bottom: 12px;
    padding: 7px 12px;
    color: #ffffff;
    background: rgba(17, 24, 39, 0.68);
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card:hover .play-chip {
    opacity: 1;
    transform: translateY(0);
}

.card-body {
    padding: 18px;
}

.card-body h3 {
    margin: 0 0 10px;
    color: var(--gray-900);
    font-size: 19px;
    line-height: 1.35;
    font-weight: 900;
}

.card-body h3 a:hover,
.ranking-card h3 a:hover,
.text-link:hover,
.overview-card a:hover {
    color: var(--amber-600);
}

.card-body p {
    min-height: 48px;
    margin: 0 0 14px;
    color: var(--gray-500);
    font-size: 14px;
    line-height: 1.7;
}

.meta-row {
    margin-bottom: 12px;
}

.meta-row span {
    color: #92400e;
    background: var(--amber-50);
}

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

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

.category-tile,
.overview-card {
    display: grid;
    gap: 12px;
    padding: 24px 18px;
    text-align: center;
    border: 1px solid rgba(245, 158, 11, 0.16);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover,
.overview-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.category-icon,
.overview-icon {
    width: 66px;
    height: 66px;
    display: grid;
    place-items: center;
    margin-inline: auto;
    color: #ffffff;
    border-radius: 22px;
    font-size: 28px;
    box-shadow: 0 18px 35px rgba(17, 24, 39, 0.18);
}

.category-tile strong {
    font-size: 17px;
    font-weight: 900;
}

.category-tile small,
.overview-card p,
.overview-card li,
.site-footer p {
    color: var(--gray-500);
    line-height: 1.7;
}

.ranking-section {
    background: #ffffff;
}

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

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

.ranking-card {
    display: grid;
    grid-template-columns: 138px 1fr;
    gap: 18px;
    padding: 14px;
    border: 1px solid rgba(245, 158, 11, 0.15);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ranking-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.ranking-poster {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
}

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

.ranking-poster span {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: #ffffff;
    border-radius: 999px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--amber-400), var(--orange-500));
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.25);
}

.ranking-card h3 {
    margin: 4px 0 10px;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 900;
}

.ranking-card p {
    margin: 0 0 14px;
    color: var(--gray-500);
    line-height: 1.7;
}

.center-action {
    display: flex;
    justify-content: center;
    margin-top: 34px;
}

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

.page-hero,
.rank-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(135deg, var(--amber-600), var(--orange-500), var(--red-500));
}

.page-hero {
    padding: 105px 0 90px;
}

.small-hero,
.search-hero {
    text-align: center;
}

.category-hero {
    background: var(--category-gradient);
}

.page-hero .container,
.rank-hero-inner,
.detail-hero-inner {
    position: relative;
    z-index: 2;
}

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

.overview-card {
    text-align: left;
}

.overview-card .overview-icon {
    margin-inline: 0;
    text-align: center;
}

.overview-card h2 {
    margin: 0;
    font-size: 25px;
    font-weight: 900;
}

.overview-card p {
    margin: 0;
}

.overview-card ul {
    display: grid;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.text-link {
    color: var(--amber-600);
    font-weight: 900;
}

.filter-panel {
    display: grid;
    gap: 16px;
    margin-bottom: 30px;
    padding: 18px;
    border: 1px solid rgba(245, 158, 11, 0.16);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-sm);
}

.filter-input {
    min-height: 52px;
    padding: 0 18px;
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    background: #ffffff;
}

.filter-input:focus {
    border-color: var(--amber-500);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.13);
}

.filter-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-chip-row button,
.chip-link {
    border: 0;
    color: #92400e;
    background: var(--amber-50);
    border-radius: 999px;
    padding: 9px 14px;
    font-size: 14px;
    font-weight: 800;
}

.filter-chip-row button:hover,
.chip-link:hover {
    color: #ffffff;
    background: var(--amber-500);
}

.filter-empty {
    grid-column: 1 / -1;
    padding: 42px;
    text-align: center;
    color: var(--gray-500);
    border: 1px dashed rgba(245, 158, 11, 0.35);
    border-radius: var(--radius-lg);
    background: var(--amber-50);
}

.rank-hero {
    min-height: 520px;
    padding: 110px 0 70px;
}

.rank-hero-shade {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(17, 24, 39, 0.88), rgba(146, 64, 14, 0.72)), var(--hero-image);
    background-size: cover;
    background-position: center;
}

.rank-hero-inner {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    align-items: center;
}

.rank-lead-cover {
    overflow: hidden;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    transform: rotate(2deg);
}

.rank-lead-cover img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.detail-hero {
    min-height: 640px;
    padding: 118px 0 70px;
}

.detail-backdrop {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(17, 24, 39, 0.88), rgba(194, 65, 12, 0.72), rgba(245, 158, 11, 0.34)), var(--detail-bg);
    background-size: cover;
    background-position: center;
    filter: saturate(1.05);
}

.detail-hero-inner {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 52px;
    align-items: center;
}

.detail-cover {
    overflow: hidden;
    border-radius: 32px;
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.38);
}

.detail-cover img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 750;
}

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

.player-section {
    padding-top: 40px;
    background: #0f172a;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: #000000;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.38);
}

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

.play-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    gap: 16px;
    border: 0;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.18), rgba(17, 24, 39, 0.72));
    text-align: center;
}

.play-overlay.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.play-circle {
    width: 88px;
    height: 88px;
    display: grid;
    place-items: center;
    padding-left: 6px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--amber-400), var(--orange-500));
    box-shadow: 0 18px 45px rgba(245, 158, 11, 0.35);
    font-size: 34px;
}

.play-overlay strong {
    max-width: 80%;
    font-size: clamp(20px, 3vw, 34px);
}

.detail-content-section {
    background: #ffffff;
}

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

.detail-article,
.detail-side {
    padding: 32px;
    border: 1px solid rgba(245, 158, 11, 0.14);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.detail-article h2,
.detail-side h2 {
    margin: 0 0 18px;
    font-size: 30px;
    line-height: 1.25;
    font-weight: 900;
}

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

.detail-side dl {
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 14px 16px;
    margin: 0 0 22px;
}

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

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

.large-tags span {
    min-height: 34px;
    padding-inline: 14px;
}

.site-footer {
    color: var(--gray-600);
    background: linear-gradient(180deg, var(--gray-50), var(--gray-100));
    border-top: 1px solid var(--gray-200);
}

.footer-inner {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
    padding: 44px 0;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 28px;
}

.footer-brand {
    font-size: 24px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.footer-links a {
    padding: 9px 13px;
    border-radius: 999px;
    background: #ffffff;
    font-weight: 750;
}

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

.footer-bottom {
    padding: 18px 0 28px;
    text-align: center;
    color: var(--gray-500);
    font-size: 14px;
}

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

    .hero-slide,
    .detail-hero-inner,
    .rank-hero-inner {
        grid-template-columns: 1fr 300px;
        gap: 32px;
    }

    .movie-grid,
    .featured-grid,
    .compact-grid,
    .all-grid,
    .ranking-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

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

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

    .header-inner {
        height: 70px;
    }

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

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

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

    .hero-slide {
        grid-template-columns: 1fr;
        align-content: center;
        padding-top: 92px;
    }

    .hero-cover {
        width: min(270px, 70vw);
        margin-inline: auto;
    }

    .stat-grid,
    .overview-grid,
    .footer-inner,
    .detail-layout {
        grid-template-columns: 1fr;
    }

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

    .detail-hero-inner,
    .rank-hero-inner {
        grid-template-columns: 1fr;
    }

    .detail-cover,
    .rank-lead-cover {
        width: min(300px, 76vw);
        margin-inline: auto;
    }

    .footer-links {
        justify-content: flex-start;
    }
}

@media (max-width: 560px) {
    .container,
    .header-inner,
    .mobile-panel,
    .footer-inner {
        width: min(100% - 24px, var(--container));
    }

    .brand-icon {
        width: 34px;
        height: 34px;
        border-radius: 12px;
    }

    .brand-text small {
        display: none;
    }

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

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

    .hero-actions,
    .filter-chip-row {
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .content-section {
        padding: 58px 0;
    }

    .stat-grid,
    .category-grid,
    .movie-grid,
    .featured-grid,
    .compact-grid,
    .all-grid,
    .ranking-grid,
    .ranking-list {
        grid-template-columns: 1fr;
    }

    .ranking-card {
        grid-template-columns: 120px 1fr;
    }

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

    .play-circle {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }
}
