:root {
    --primary: #0ea5e9;
    --primary-dark: #2563eb;
    --cyan: #06b6d4;
    --orange: #f97316;
    --red: #ef4444;
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-100: #f1f5f9;
    --blue-50: #eff6ff;
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    --shadow-strong: 0 28px 70px rgba(15, 23, 42, 0.22);
    --radius-xl: 24px;
    --radius-lg: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

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

button,
input {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    color: #ffffff;
    background: linear-gradient(120deg, #0891b2 0%, #2563eb 52%, #1d4ed8 100%);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.18);
}

.nav-shell {
    display: flex;
    align-items: center;
    gap: 22px;
    min-height: 74px;
    padding: 8px 0 14px;
}

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

.brand-mark {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(12px);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text strong {
    font-size: 24px;
    letter-spacing: 0.02em;
}

.brand-text small {
    margin-top: 4px;
    color: #dbeafe;
    font-size: 12px;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1;
    white-space: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}

.primary-nav::-webkit-scrollbar {
    display: none;
}

.primary-nav a {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 700;
    font-size: 14px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.primary-nav a:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

.top-search,
.mobile-search,
.hero-search {
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(14px);
}

.top-search input,
.mobile-search input,
.hero-search input {
    width: 230px;
    border: 0;
    outline: 0;
    color: #ffffff;
    background: transparent;
    padding: 12px 16px;
}

.top-search input::placeholder,
.mobile-search input::placeholder,
.hero-search input::placeholder {
    color: rgba(255, 255, 255, 0.78);
}

.top-search button,
.mobile-search button,
.hero-search button {
    border: 0;
    color: #2563eb;
    background: #ffffff;
    padding: 12px 18px;
    font-weight: 800;
    cursor: pointer;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    cursor: pointer;
}

.mobile-panel {
    display: none;
    padding: 0 16px 18px;
}

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

.mobile-panel nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.mobile-panel nav a {
    padding: 11px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.14);
}

.header-wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    width: 100%;
    height: 30px;
    fill: #eff6ff;
    pointer-events: none;
}

.hero-slider {
    position: relative;
    min-height: 680px;
    overflow: hidden;
    color: #ffffff;
    background: #0f172a;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.6s ease, transform 0.8s ease;
    pointer-events: none;
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.12) contrast(1.04);
}

.hero-layer {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 72% 22%, rgba(14, 165, 233, 0.38), transparent 26%),
        linear-gradient(90deg, rgba(2, 6, 23, 0.92) 0%, rgba(15, 23, 42, 0.78) 44%, rgba(15, 23, 42, 0.3) 100%),
        linear-gradient(0deg, rgba(2, 6, 23, 0.75), rgba(2, 6, 23, 0.18));
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) 390px;
    align-items: center;
    gap: 56px;
    min-height: 680px;
    padding: 76px 0 92px;
}

.hero-copy {
    max-width: 760px;
}

.hero-kicker,
.page-hero span,
.section-heading span,
.panel-title span,
.prose-card span {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    gap: 8px;
    border-radius: 999px;
    color: #0369a1;
    background: #e0f2fe;
    padding: 7px 13px;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-kicker {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(14px);
}

.hero-copy h1 {
    margin: 22px 0 18px;
    font-size: clamp(44px, 8vw, 82px);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.hero-copy p {
    max-width: 690px;
    color: #dbeafe;
    font-size: 19px;
    line-height: 1.85;
}

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

.hero-tags span,
.tag-list span {
    border-radius: 999px;
    color: #e0f2fe;
    background: rgba(255, 255, 255, 0.13);
    padding: 8px 13px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.hero-actions,
.center-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
}

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

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

.btn-primary {
    color: #ffffff;
    background: linear-gradient(120deg, #06b6d4, #2563eb);
    box-shadow: 0 16px 30px rgba(37, 99, 235, 0.28);
}

.btn-ghost {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(14px);
}

.content-section .btn-ghost,
.page-hero .btn-ghost {
    color: #0f172a;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

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

.hero-stats span {
    min-width: 126px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.14);
    padding: 14px 18px;
    color: #dbeafe;
    backdrop-filter: blur(16px);
}

.hero-stats strong {
    display: block;
    color: #ffffff;
    font-size: 23px;
}

.hero-poster {
    position: relative;
    display: block;
    border-radius: 34px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    box-shadow: var(--shadow-strong);
    transform: rotate(2deg);
}

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

.hero-poster span {
    position: absolute;
    right: 20px;
    bottom: 20px;
    display: grid;
    width: 62px;
    height: 62px;
    place-items: center;
    border-radius: 50%;
    color: #2563eb;
    background: #ffffff;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
}

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

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

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

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

.soft-bg {
    background: rgba(255, 255, 255, 0.62);
}

.section-heading,
.panel-title {
    margin-bottom: 28px;
}

.section-heading h2,
.panel-title h2 {
    margin: 14px 0 10px;
    color: #0f172a;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.1;
}

.section-heading p {
    max-width: 680px;
    color: var(--slate-600);
    line-height: 1.8;
}

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

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

.movie-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.poster-frame {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, #dbeafe, #e0f2fe);
}

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

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

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 42%, rgba(2, 6, 23, 0.78) 100%);
}

.duration-badge,
.play-badge {
    position: absolute;
    z-index: 2;
    color: #ffffff;
    font-weight: 800;
}

.duration-badge {
    right: 10px;
    bottom: 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.68);
    padding: 5px 9px;
    font-size: 12px;
}

.play-badge {
    left: 10px;
    bottom: 10px;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(120deg, #06b6d4, #2563eb);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.32);
}

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

.category-badge {
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    color: #0369a1;
    background: #e0f2fe;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 900;
}

.movie-card strong {
    color: #0f172a;
    font-size: 17px;
    line-height: 1.35;
}

.movie-desc {
    display: -webkit-box;
    min-height: 43px;
    overflow: hidden;
    color: var(--slate-600);
    font-size: 13px;
    line-height: 1.65;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    color: var(--slate-500);
    font-size: 12px;
}

.movie-meta span {
    border-radius: 999px;
    background: #f1f5f9;
    padding: 5px 9px;
}

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

.category-card {
    display: grid;
    min-height: 220px;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.09);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.category-covers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    height: 128px;
    overflow: hidden;
}

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

.category-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px;
}

.category-info strong {
    color: #0f172a;
    font-size: 20px;
}

.category-info em,
.category-info small {
    color: var(--slate-500);
    font-style: normal;
    line-height: 1.5;
}

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

.ranking-panel,
.ranking-page-panel {
    border-radius: 28px;
    background: #ffffff;
    padding: 24px;
    box-shadow: var(--shadow);
}

.ranking-panel {
    position: sticky;
    top: 104px;
}

.ranking-list {
    display: grid;
    gap: 12px;
}

.ranking-item {
    display: grid;
    grid-template-columns: 42px 58px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    border-radius: 18px;
    background: #f8fafc;
    padding: 10px;
    transition: transform 0.2s ease, background 0.2s ease;
}

.ranking-item:hover {
    transform: translateX(4px);
    background: #eff6ff;
}

.ranking-number {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 14px;
    color: #2563eb;
    background: #dbeafe;
    font-weight: 900;
}

.top-rank .ranking-number {
    color: #ffffff;
    background: linear-gradient(135deg, #f97316, #ef4444);
}

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

.ranking-text {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.ranking-text strong {
    overflow: hidden;
    color: #0f172a;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-text em {
    overflow: hidden;
    color: var(--slate-500);
    font-size: 12px;
    font-style: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-views {
    color: #2563eb;
    font-size: 13px;
    font-weight: 900;
}

.page-hero,
.detail-hero {
    color: #ffffff;
    background:
        radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.36), transparent 28%),
        linear-gradient(120deg, #0f172a 0%, #164e63 46%, #2563eb 100%);
}

.page-hero .container {
    padding: 82px 0 76px;
}

.page-hero h1 {
    margin: 16px 0 14px;
    font-size: clamp(38px, 6vw, 64px);
    line-height: 1.05;
}

.page-hero p {
    max-width: 760px;
    color: #dbeafe;
    font-size: 18px;
    line-height: 1.8;
}

.hero-search {
    width: min(680px, 100%);
    margin-top: 24px;
}

.hero-search input {
    width: 100%;
    flex: 1;
}

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

.overview-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
}

.overview-cover {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    min-height: 260px;
    overflow: hidden;
}

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

.overview-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 24px;
}

.overview-body span {
    width: fit-content;
    border-radius: 999px;
    color: #0369a1;
    background: #e0f2fe;
    padding: 6px 12px;
    font-weight: 900;
    font-size: 12px;
}

.overview-body h2 {
    margin: 0;
    color: #0f172a;
}

.overview-body p {
    color: var(--slate-600);
    line-height: 1.7;
}

.mini-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.mini-links a {
    border-radius: 999px;
    color: var(--slate-600);
    background: #f1f5f9;
    padding: 6px 10px;
    font-size: 12px;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    border-radius: 24px;
    background: #ffffff;
    padding: 16px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.sticky-filter {
    position: sticky;
    top: 92px;
    z-index: 20;
}

.filter-bar input {
    min-width: min(360px, 100%);
    flex: 1;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    outline: 0;
    padding: 13px 16px;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-buttons button {
    border: 0;
    border-radius: 999px;
    color: #2563eb;
    background: #eff6ff;
    padding: 10px 13px;
    font-weight: 800;
    cursor: pointer;
}

.filter-buttons button.is-active {
    color: #ffffff;
    background: linear-gradient(120deg, #06b6d4, #2563eb);
}

.filter-bar strong,
.search-summary {
    color: var(--slate-600);
}

.search-summary {
    margin-bottom: 24px;
    border-radius: 18px;
    background: #ffffff;
    padding: 18px 20px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
}

.detail-hero .container {
    padding: 54px 0 66px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
    color: #bfdbfe;
    font-size: 14px;
}

.breadcrumb strong {
    color: #ffffff;
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) 390px;
    gap: 30px;
    align-items: start;
}

.player-card,
.detail-side,
.prose-card {
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-strong);
    backdrop-filter: blur(18px);
}

.player-card {
    padding: 14px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #000000;
    aspect-ratio: 16 / 9;
}

.movie-player {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000000;
    cursor: pointer;
}

.play-cover {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border: 0;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.18), rgba(2, 6, 23, 0.72));
    cursor: pointer;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.play-cover span {
    display: grid;
    width: 86px;
    height: 86px;
    place-items: center;
    border-radius: 50%;
    color: #2563eb;
    background: #ffffff;
    font-size: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.play-cover strong {
    max-width: 80%;
    font-size: 22px;
    line-height: 1.4;
}

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

.detail-side {
    display: grid;
    gap: 18px;
    padding: 18px;
}

.detail-side img {
    width: 100%;
    max-height: 420px;
    border-radius: 22px;
    object-fit: cover;
}

.detail-side h1 {
    margin: 14px 0 10px;
    color: #ffffff;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.1;
}

.detail-side p {
    color: #dbeafe;
    line-height: 1.8;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 16px;
}

.detail-meta span {
    border-radius: 999px;
    color: #dbeafe;
    background: rgba(255, 255, 255, 0.14);
    padding: 7px 11px;
    font-size: 13px;
    font-weight: 800;
}

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

.prose-card {
    color: #0f172a;
    background: #ffffff;
    padding: 28px;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

.prose-card h2 {
    margin: 14px 0;
    font-size: 30px;
}

.prose-card p {
    color: var(--slate-600);
    font-size: 17px;
    line-height: 1.9;
}

.site-footer {
    color: #cbd5e1;
    background: #0f172a;
    padding: 56px 0 0;
}

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

.footer-brand {
    color: #ffffff;
    font-size: 22px;
}

.site-footer p {
    max-width: 460px;
    color: #94a3b8;
    line-height: 1.8;
}

.site-footer h3 {
    margin: 0 0 16px;
    color: #22d3ee;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-tags {
    flex-direction: row;
    flex-wrap: wrap;
}

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

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

.footer-tags a {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    padding: 7px 10px;
    font-size: 13px;
}

.footer-bottom {
    margin-top: 44px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 16px;
    text-align: center;
    color: #64748b;
}

.is-hidden-card {
    display: none !important;
}

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

    .hero-content,
    .detail-grid,
    .split-layout {
        grid-template-columns: 1fr;
    }

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

    .ranking-panel {
        position: static;
    }
}

@media (max-width: 920px) {
    .primary-nav,
    .top-search {
        display: none;
    }

    .menu-toggle {
        display: grid;
        place-items: center;
    }

    .nav-shell {
        justify-content: space-between;
    }

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

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

    .hero-content {
        min-height: 700px;
        padding-top: 52px;
    }

    .hero-copy p {
        font-size: 16px;
    }
}

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

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

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

    .movie-grid,
    .archive-grid,
    .category-grid,
    .overview-grid,
    .detail-content-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .featured-grid,
    .latest-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

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

    .movie-desc {
        display: none;
    }

    .filter-bar {
        align-items: stretch;
        flex-direction: column;
    }

    .filter-bar input {
        min-width: 0;
        width: 100%;
    }

    .ranking-item {
        grid-template-columns: 36px 50px minmax(0, 1fr);
    }

    .ranking-views {
        display: none;
    }

    .detail-side img {
        max-height: none;
    }

    .footer-grid {
        gap: 24px;
    }
}
