:root {
    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --orange-500: #f97316;
    --orange-600: #ea580c;
    --yellow-500: #eab308;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --black: #000000;
    --shadow-sm: 0 6px 18px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 18px 40px rgba(15, 23, 42, 0.12);
    --shadow-lg: 0 30px 80px rgba(15, 23, 42, 0.22);
    --radius-lg: 18px;
    --radius-xl: 26px;
    --max-width: 1280px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    color: var(--white);
    background: linear-gradient(90deg, var(--amber-500), var(--orange-500), var(--yellow-500));
    box-shadow: var(--shadow-sm);
}

.header-inner {
    width: min(100% - 32px, var(--max-width));
    min-height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.logo-mark {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--amber-600);
    background: var(--white);
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(217, 119, 6, 0.25);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link,
.mobile-nav-link {
    padding: 10px 15px;
    border-radius: 999px;
    font-weight: 650;
    color: rgba(255, 255, 255, 0.92);
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-nav-link:hover,
.mobile-nav-link.is-active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.14);
}

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

.hero-slider {
    position: relative;
    min-height: 680px;
    overflow: hidden;
    background: var(--gray-900);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s ease;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(251, 191, 36, 0.45), transparent 32%),
        linear-gradient(90deg, rgba(17, 24, 39, 0.96), rgba(17, 24, 39, 0.68), rgba(17, 24, 39, 0.34)),
        var(--hero-image);
    background-size: cover;
    background-position: center;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(180deg, rgba(17, 24, 39, 0.15), rgba(17, 24, 39, 0.72)),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0.08) 1px, transparent 1px, transparent 18px);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(100% - 32px, var(--max-width));
    min-height: 680px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: center;
    gap: 54px;
    padding: 88px 0;
    color: var(--white);
}

.hero-kicker,
.eyebrow {
    display: inline-flex;
    align-items: center;
    width: max-content;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--amber-700, #92400e);
    background: var(--amber-100);
    border-radius: 999px;
}

.hero-text h1 {
    margin: 24px 0 18px;
    max-width: 820px;
    font-size: clamp(42px, 7vw, 82px);
    line-height: 0.98;
    font-weight: 900;
    letter-spacing: -0.06em;
    text-shadow: 0 12px 48px rgba(0, 0, 0, 0.35);
}

.hero-text p {
    max-width: 760px;
    margin: 0 0 26px;
    font-size: clamp(18px, 2.1vw, 24px);
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.88);
}

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

.hero-tags span,
.tag-list span,
.detail-tags span {
    padding: 7px 11px;
    color: var(--amber-700, #92400e);
    background: var(--amber-100);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

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

.primary-button,
.ghost-button,
.section-link,
.home-search-form button,
.filter-button,
.full-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.primary-button,
.home-search-form button {
    color: var(--white);
    background: linear-gradient(90deg, var(--amber-500), var(--orange-600));
    box-shadow: 0 18px 36px rgba(217, 119, 6, 0.3);
    padding: 14px 24px;
}

.primary-button:hover,
.home-search-form button:hover,
.filter-button.is-active {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 24px 42px rgba(217, 119, 6, 0.36);
}

.ghost-button,
.section-link {
    padding: 12px 20px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(14px);
}

.section-link {
    color: var(--amber-700, #92400e);
    border: 1px solid rgba(245, 158, 11, 0.28);
    background: var(--amber-100);
}

.ghost-button:hover,
.section-link:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.24);
}

.hero-poster {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-lg);
    transform: rotate(2deg);
    transition: transform 0.3s ease;
}

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

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

.hero-poster span {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 9px 14px;
    color: var(--white);
    background: var(--amber-500);
    border-radius: 999px;
    font-weight: 900;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 54px;
    height: 54px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    background: rgba(17, 24, 39, 0.45);
    backdrop-filter: blur(16px);
    transform: translateY(-50%);
    font-size: 40px;
    line-height: 1;
}

.hero-prev {
    left: max(18px, calc((100vw - var(--max-width)) / 2 - 72px));
}

.hero-next {
    right: max(18px, calc((100vw - var(--max-width)) / 2 - 72px));
}

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

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

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

.home-search-block {
    position: relative;
    z-index: 3;
    width: min(100% - 32px, var(--max-width));
    margin: -44px auto 0;
}

.home-search-inner,
.filter-panel,
.category-overview-card,
.detail-article,
.detail-facts,
.player-card,
.leader-card,
.ranking-list {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(245, 158, 11, 0.16);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.home-search-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    align-items: center;
    gap: 24px;
    padding: 28px;
}

.home-search-inner h2,
.section-heading h2,
.category-overview-head h2,
.detail-article h1,
.page-hero h1 {
    margin: 10px 0 0;
    color: var(--gray-800);
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.home-search-form {
    display: flex;
    gap: 12px;
}

.home-search-form input,
.filter-search input,
.sort-actions select {
    width: 100%;
    border: 1px solid var(--gray-200);
    border-radius: 18px;
    color: var(--gray-800);
    background: var(--white);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-search-form input {
    min-height: 56px;
    padding: 0 18px;
}

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

.content-section,
.overview-stack,
.detail-layout {
    width: min(100% - 32px, var(--max-width));
    margin: 0 auto;
}

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

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

.featured-grid,
.poster-grid,
.category-grid,
.ranking-grid,
.leader-grid,
.mini-card-row {
    display: grid;
    gap: 22px;
}

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

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

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

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

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

.leader-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 28px;
}

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

.movie-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: var(--gray-800);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

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

.movie-card-compact {
    border-radius: var(--radius-lg);
}

.poster-frame {
    position: relative;
    margin: 0;
    overflow: hidden;
    background: var(--gray-200);
    aspect-ratio: 2 / 3;
}

.featured-grid .poster-frame {
    aspect-ratio: 16 / 10;
}

.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);
}

.rating-badge,
.year-badge,
.play-badge {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    border-radius: 999px;
    font-weight: 900;
}

.rating-badge {
    top: 12px;
    right: 12px;
    padding: 6px 10px;
    font-size: 12px;
    background: var(--amber-500);
}

.year-badge {
    left: 12px;
    bottom: 12px;
    padding: 6px 10px;
    font-size: 12px;
    background: rgba(17, 24, 39, 0.72);
}

.play-badge {
    left: 50%;
    top: 50%;
    width: 58px;
    height: 58px;
    opacity: 0;
    background: rgba(255, 255, 255, 0.9);
    color: var(--amber-600);
    transform: translate(-50%, -50%) scale(0.8);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

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

.movie-card-compact .movie-card-body {
    padding: 15px;
}

.movie-card h3 {
    margin: 0 0 10px;
    color: var(--gray-800);
    font-size: 20px;
    line-height: 1.25;
    font-weight: 850;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.movie-card-compact h3 {
    font-size: 16px;
}

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

.movie-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--gray-500);
    font-size: 13px;
}

.movie-meta-line span + span::before {
    content: "·";
    margin-right: 8px;
}

.tag-list span {
    padding: 5px 8px;
    font-size: 12px;
}

.rank-strip {
    background: linear-gradient(90deg, rgba(255, 237, 213, 0.92), rgba(254, 243, 199, 0.96));
    padding: 72px 0;
}

.rank-strip-inner {
    width: min(100% - 32px, var(--max-width));
    margin: 0 auto;
}

.ranking-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px;
    color: var(--gray-800);
    background: var(--white);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ranking-item:hover {
    transform: translateY(-4px);
    background: var(--amber-50);
    box-shadow: var(--shadow-md);
}

.ranking-number {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
    border-radius: 999px;
    font-weight: 900;
}

.ranking-item img {
    width: 54px;
    height: 78px;
    object-fit: cover;
    border-radius: 12px;
}

.ranking-text {
    flex: 1;
    min-width: 0;
}

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

.ranking-text strong {
    font-size: 15px;
}

.ranking-text em,
.ranking-score {
    color: var(--gray-500);
    font-size: 13px;
    font-style: normal;
}

.ranking-score {
    color: var(--amber-600);
    font-weight: 850;
}

.category-card {
    position: relative;
    min-height: 210px;
    overflow: hidden;
    padding: 26px;
    color: var(--white);
    background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.category-card:nth-child(3n + 2) {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.category-card:nth-child(3n + 3) {
    background: linear-gradient(135deg, #eab308, #f97316);
}

.category-card strong {
    position: relative;
    z-index: 1;
    display: block;
    margin-bottom: 12px;
    font-size: 24px;
    font-weight: 900;
}

.category-card p,
.category-card em {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.7;
}

.category-card em {
    display: block;
    margin-top: 18px;
    font-style: normal;
    font-weight: 800;
}

.category-glow {
    position: absolute;
    right: -36px;
    bottom: -48px;
    width: 160px;
    height: 160px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.page-hero {
    color: var(--white);
    background:
        radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.28), transparent 28%),
        linear-gradient(90deg, var(--amber-500), var(--orange-600), var(--yellow-500));
}

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

.page-hero h1 {
    color: var(--white);
}

.page-hero p {
    max-width: 760px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 19px;
    line-height: 1.8;
}

.overview-stack {
    display: grid;
    gap: 28px;
    padding: 72px 0;
}

.category-overview-card {
    padding: 28px;
}

.category-overview-head p {
    max-width: 720px;
    color: var(--gray-600);
    line-height: 1.75;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) 1.3fr auto;
    align-items: end;
    gap: 18px;
    margin-bottom: 28px;
    padding: 24px;
}

.filter-search label,
.sort-actions label {
    display: block;
    margin-bottom: 10px;
    color: var(--gray-700);
    font-weight: 850;
}

.filter-search input,
.sort-actions select {
    min-height: 50px;
    padding: 0 16px;
}

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

.filter-button {
    padding: 12px 17px;
    color: var(--gray-700);
    background: var(--gray-100);
}

.filter-button.is-active {
    color: var(--white);
    background: linear-gradient(90deg, var(--amber-500), var(--orange-600));
}

.sort-actions {
    min-width: 150px;
}

.movie-card.is-hidden {
    display: none;
}

.leader-card {
    display: flex;
    flex-direction: column;
    padding: 22px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.leader-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 20px;
}

.leader-rank {
    width: max-content;
    margin-bottom: 14px;
    padding: 8px 13px;
    color: var(--white);
    background: linear-gradient(90deg, var(--amber-500), var(--orange-600));
    border-radius: 999px;
    font-weight: 900;
}

.leader-card strong {
    margin-top: 16px;
    font-size: 24px;
    font-weight: 900;
}

.leader-card p {
    color: var(--gray-600);
    line-height: 1.7;
}

.leader-card em {
    color: var(--amber-600);
    font-style: normal;
    font-weight: 900;
}

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

.detail-main {
    background: linear-gradient(180deg, var(--amber-50), var(--white));
}

.detail-layout {
    padding: 32px 0 0;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin: 0 0 24px;
    color: var(--gray-600);
    font-weight: 700;
}

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

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

.player-card {
    overflow: hidden;
}

.player-shell {
    position: relative;
    overflow: hidden;
    background: var(--black);
    aspect-ratio: 16 / 9;
}

.movie-video {
    width: 100%;
    height: 100%;
    background: var(--black);
}

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--white);
    border: 0;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.12), rgba(17, 24, 39, 0.62));
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-overlay span {
    width: 78px;
    height: 78px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--amber-600);
    background: rgba(255, 255, 255, 0.94);
    border-radius: 50%;
    font-size: 32px;
    box-shadow: var(--shadow-lg);
}

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

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

.detail-article {
    margin-top: 24px;
    padding: 30px;
}

.detail-article h1 {
    margin-top: 0;
}

.lead-text {
    color: var(--gray-600);
    font-size: 19px;
    line-height: 1.8;
}

.detail-article h2 {
    margin: 30px 0 14px;
    color: var(--gray-800);
    font-size: 24px;
    font-weight: 900;
}

.detail-article p {
    color: var(--gray-700);
    line-height: 1.9;
}

.detail-sidebar {
    position: sticky;
    top: 96px;
}

.detail-poster {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.detail-facts {
    margin-top: 18px;
    padding: 24px;
}

.detail-facts h2 {
    margin: 0 0 18px;
    font-size: 24px;
    font-weight: 900;
}

.detail-facts p {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 0;
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-200);
}

.detail-facts strong {
    color: var(--gray-500);
}

.detail-facts span {
    color: var(--gray-800);
    font-weight: 850;
    text-align: right;
}

.full-button {
    width: 100%;
    margin-top: 22px;
}

.site-footer {
    color: rgba(255, 255, 255, 0.82);
    background: var(--gray-900);
}

.footer-inner {
    width: min(100% - 32px, var(--max-width));
    margin: 0 auto;
    padding: 46px 0 30px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
}

.footer-logo {
    color: var(--white);
}

.footer-inner p {
    max-width: 460px;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.75;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.76);
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.footer-links a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.14);
}

.copyright {
    width: min(100% - 32px, var(--max-width));
    margin: 0 auto;
    padding: 18px 0 28px;
    color: rgba(255, 255, 255, 0.46);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
}

@media (max-width: 1180px) {
    .featured-grid,
    .category-grid,
    .ranking-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .poster-grid,
    .mini-card-row,
    .listing-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

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

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

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

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

    .hero-content {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 96px 0 72px;
    }

    .hero-poster {
        max-width: 300px;
        transform: none;
    }

    .home-search-inner,
    .detail-grid,
    .footer-inner {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .home-search-form,
    .section-heading,
    .category-overview-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .detail-sidebar {
        position: static;
    }

    .ranking-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .header-inner {
        min-height: 66px;
    }

    .site-logo span:last-child {
        font-size: 18px;
    }

    .hero-slider,
    .hero-content {
        min-height: 640px;
    }

    .hero-text h1 {
        font-size: 42px;
    }

    .hero-arrow {
        display: none;
    }

    .featured-grid,
    .category-grid,
    .ranking-grid,
    .leader-grid,
    .poster-grid,
    .mini-card-row,
    .listing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

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

    .movie-card p,
    .tag-list {
        display: none;
    }

    .ranking-item {
        align-items: flex-start;
    }

    .ranking-score {
        display: none;
    }

    .page-hero > div,
    .content-section,
    .overview-stack {
        padding-top: 44px;
        padding-bottom: 44px;
    }
}
