:root {
    color-scheme: dark;
    --bg: #0f172a;
    --bg-soft: #111827;
    --panel: rgba(15, 23, 42, 0.78);
    --panel-strong: rgba(15, 23, 42, 0.92);
    --line: rgba(148, 163, 184, 0.18);
    --muted: #94a3b8;
    --text: #f8fafc;
    --text-soft: #cbd5e1;
    --accent: #10b981;
    --accent-2: #2dd4bf;
    --accent-dark: #047857;
    --shadow: 0 24px 80px rgba(2, 6, 23, 0.48);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 20% 5%, rgba(16, 185, 129, 0.18), transparent 34rem),
        radial-gradient(circle at 80% 10%, rgba(45, 212, 191, 0.12), transparent 32rem),
        linear-gradient(135deg, #0f172a 0%, #1e293b 48%, #0f172a 100%);
    color: var(--text);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

body.nav-open {
    overflow: hidden;
}

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

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

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 80;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.76));
    backdrop-filter: blur(18px);
}

.nav-wrap {
    width: min(1280px, calc(100% - 32px));
    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.02em;
    white-space: nowrap;
    background: linear-gradient(90deg, #34d399, #5eead4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo-mark {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #062e24;
    background: linear-gradient(135deg, #34d399, #2dd4bf);
    box-shadow: 0 0 28px rgba(16, 185, 129, 0.32);
    font-size: 14px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    color: #cbd5e1;
    font-size: 15px;
}

.nav-link {
    position: relative;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #34d399;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 2px;
    transform: scaleX(0);
    transform-origin: center;
    background: linear-gradient(90deg, #10b981, #2dd4bf);
    transition: transform 0.2s ease;
}

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

.mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    background: rgba(30, 41, 59, 0.82);
    color: var(--text);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.mobile-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: #cbd5e1;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-nav {
    display: none;
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto 16px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.96);
    box-shadow: var(--shadow);
}

.mobile-nav-link {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    color: #cbd5e1;
}

.mobile-nav-link:hover {
    color: #34d399;
    background: rgba(16, 185, 129, 0.10);
}

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

.hero-carousel {
    position: relative;
    min-height: 640px;
    overflow: hidden;
    isolation: isolate;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
    align-items: center;
    gap: 48px;
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.hero-bg {
    position: fixed;
    inset: 0;
    z-index: -3;
    width: 100vw;
    height: 720px;
    object-fit: cover;
    opacity: 0.22;
    filter: blur(2px) saturate(1.12);
}

.hero-layer {
    position: fixed;
    inset: 0;
    z-index: -2;
    height: 760px;
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.98) 0%, rgba(15, 23, 42, 0.72) 48%, rgba(15, 23, 42, 0.94) 100%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.40), #0f172a 88%);
}

.hero-content {
    max-width: 760px;
    padding: 56px 0 24px;
}

.hero-kicker,
.section-heading p,
.page-kicker {
    margin: 0 0 14px;
    color: #34d399;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-content h1,
.hero-content h2 {
    margin: 0;
    max-width: 860px;
    font-size: clamp(42px, 6vw, 78px);
    line-height: 1.05;
    letter-spacing: -0.055em;
    font-weight: 900;
}

.hero-focus-name {
    margin: 18px 0 0;
    color: #ecfeff;
    font-size: clamp(24px, 4vw, 48px);
    font-weight: 800;
}

.hero-copy {
    max-width: 680px;
    margin: 22px 0 0;
    color: #d1d5db;
    font-size: 18px;
    line-height: 1.85;
}

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

.hero-tags {
    margin-top: 24px;
}

.hero-tags span,
.tag-list span,
.detail-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border: 1px solid rgba(45, 212, 191, 0.22);
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.16);
    color: #a7f3d0;
    font-size: 12px;
    font-weight: 700;
}

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

.btn-primary,
.btn-secondary,
.filter-reset,
.detail-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 800;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-primary,
.detail-btn {
    color: #052e23;
    background: linear-gradient(135deg, #34d399, #2dd4bf);
    box-shadow: 0 18px 42px rgba(16, 185, 129, 0.32);
}

.btn-secondary,
.filter-reset {
    color: #d1fae5;
    background: rgba(15, 23, 42, 0.72);
    border-color: rgba(45, 212, 191, 0.26);
}

.btn-primary:hover,
.btn-secondary:hover,
.filter-reset:hover,
.detail-btn:hover {
    transform: translateY(-2px);
}

.hero-poster {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(15, 23, 42, 0.86);
    box-shadow: var(--shadow);
    aspect-ratio: 3 / 4.2;
}

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

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

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

.hero-controls {
    position: absolute;
    left: 50%;
    bottom: 34px;
    transform: translateX(-50%);
    width: min(1280px, calc(100% - 32px));
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.hero-dots {
    display: flex;
    gap: 10px;
    pointer-events: auto;
}

.hero-dot {
    width: 42px;
    height: 4px;
    border: 0;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.36);
}

.hero-dot.is-active {
    background: linear-gradient(90deg, #34d399, #2dd4bf);
}

.hero-arrows {
    display: flex;
    gap: 10px;
    pointer-events: auto;
}

.hero-arrow {
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text);
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(12px);
}

.content-wrap {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
}

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

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

.section-heading h2,
.page-heading h1 {
    margin: 0;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.section-heading span,
.page-heading span {
    display: block;
    max-width: 760px;
    margin-top: 10px;
    color: var(--muted);
    line-height: 1.8;
}

.section-heading a {
    flex: 0 0 auto;
    color: #a7f3d0;
    font-weight: 800;
}

.filter-panel {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    margin: -40px auto 28px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.86);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
}

.movie-search,
.movie-filter {
    width: 100%;
    height: 48px;
    border: 1px solid rgba(148, 163, 184, 0.20);
    border-radius: 16px;
    outline: none;
    padding: 0 16px;
    color: var(--text);
    background: rgba(30, 41, 59, 0.82);
}

.movie-search:focus,
.movie-filter:focus {
    border-color: rgba(52, 211, 153, 0.72);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}

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

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

.category-card {
    position: relative;
    overflow: hidden;
    min-height: 188px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at top right, rgba(16, 185, 129, 0.18), transparent 12rem),
        rgba(15, 23, 42, 0.72);
    box-shadow: 0 18px 50px rgba(2, 6, 23, 0.28);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: rgba(16, 185, 129, 0.42);
}

.category-card h2 {
    margin: 0 0 12px;
    font-size: 24px;
}

.category-card p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.7;
}

.category-card strong {
    display: inline-flex;
    margin-top: 22px;
    color: #a7f3d0;
}

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

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 22px;
    background: rgba(15, 23, 42, 0.78);
    box-shadow: 0 16px 40px rgba(2, 6, 23, 0.24);
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(16, 185, 129, 0.42);
    background: rgba(15, 23, 42, 0.96);
}

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

.poster-link {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 2 / 3;
    background: #111827;
}

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

.movie-card:hover .poster-link img {
    transform: scale(1.06);
    opacity: 0.86;
}

.play-mini {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #052e23;
    background: #34d399;
    box-shadow: 0 8px 22px rgba(16, 185, 129, 0.32);
    transform: translateY(8px);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

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

.rank-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    min-width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #052e23;
    background: linear-gradient(135deg, #34d399, #2dd4bf);
    font-weight: 900;
}

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

.movie-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    color: #9ca3af;
    font-size: 12px;
    font-weight: 700;
}

.movie-card h2 {
    min-height: 50px;
    margin: 8px 0 8px;
    color: #fff;
    font-size: 17px;
    line-height: 1.45;
    font-weight: 850;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-card h2 a:hover {
    color: #34d399;
}

.movie-card p {
    min-height: 62px;
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tag-list span {
    min-height: 24px;
    padding: 4px 8px;
    font-size: 11px;
}

.ranking-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 22px;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 58px 86px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.76);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.rank-row:hover {
    transform: translateX(4px);
    border-color: rgba(16, 185, 129, 0.42);
}

.rank-number {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #052e23;
    background: linear-gradient(135deg, #34d399, #2dd4bf);
    font-weight: 900;
}

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

.rank-info h2 {
    margin: 0 0 8px;
    font-size: 20px;
}

.rank-info h2 a:hover {
    color: #34d399;
}

.rank-info p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.rank-info small {
    display: inline-flex;
    margin-top: 8px;
    color: #a7f3d0;
}

.sidebar-panel {
    position: sticky;
    top: 96px;
    align-self: start;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(15, 23, 42, 0.72);
    box-shadow: 0 16px 48px rgba(2, 6, 23, 0.28);
}

.sidebar-panel h2 {
    margin: 0 0 16px;
    font-size: 22px;
}

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

.mini-card {
    display: grid;
    grid-template-columns: auto 62px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 16px;
    background: rgba(30, 41, 59, 0.54);
}

.mini-card:hover {
    background: rgba(30, 41, 59, 0.88);
}

.mini-card img {
    width: 62px;
    height: 82px;
    object-fit: cover;
    border-radius: 12px;
}

.mini-card strong,
.mini-card em {
    display: block;
}

.mini-card strong {
    color: #fff;
    line-height: 1.35;
}

.mini-card em {
    margin-top: 6px;
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
    line-height: 1.4;
}

.mini-rank {
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #052e23;
    background: #34d399;
    font-weight: 900;
    font-size: 13px;
}

.page-hero {
    padding: 132px 0 26px;
    background:
        radial-gradient(circle at 22% 10%, rgba(16, 185, 129, 0.16), transparent 34rem),
        linear-gradient(180deg, rgba(15, 23, 42, 0.38), transparent 100%);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 14px;
}

.breadcrumb a:hover {
    color: #34d399;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    padding-top: 26px;
}

.detail-card,
.article-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(15, 23, 42, 0.74);
    box-shadow: 0 18px 58px rgba(2, 6, 23, 0.28);
}

.detail-card {
    overflow: hidden;
}

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

.player-wrap video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #020617;
}

.play-overlay {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 0;
    color: #052e23;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.18), rgba(2, 6, 23, 0.72));
    font-size: 18px;
    font-weight: 900;
}

.play-overlay span {
    display: inline-flex;
    width: 76px;
    height: 76px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, #34d399, #2dd4bf);
    box-shadow: 0 22px 50px rgba(16, 185, 129, 0.32);
}

.play-overlay.is-hidden {
    display: none;
}

.detail-body {
    padding: 24px;
}

.detail-body h1 {
    margin: 0 0 16px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
    color: #cbd5e1;
}

.detail-meta span {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(30, 41, 59, 0.76);
}

.detail-intro {
    margin: 18px 0 0;
    color: var(--text-soft);
    font-size: 17px;
    line-height: 1.9;
}

.article-card {
    margin-top: 20px;
    padding: 24px;
}

.article-card h2 {
    margin: 0 0 14px;
    font-size: 26px;
}

.article-card p {
    margin: 0;
    color: var(--text-soft);
    line-height: 2;
}

.article-card p + p {
    margin-top: 14px;
}

.detail-side-poster {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(15, 23, 42, 0.72);
}

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

.detail-side-poster div {
    padding: 18px;
}

.detail-side-poster h2 {
    margin: 0 0 8px;
    font-size: 22px;
}

.detail-side-poster p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

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

.site-footer {
    margin-top: 84px;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(15, 23, 42, 0.78);
}

.footer-grid {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 46px 0;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 36px;
}

.site-footer p {
    max-width: 420px;
    color: var(--muted);
    line-height: 1.8;
}

.site-footer h2 {
    margin: 0 0 16px;
    font-size: 18px;
}

.footer-links {
    display: grid;
    gap: 10px;
    color: var(--muted);
}

.footer-links a:hover {
    color: #34d399;
}

.footer-bottom {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 20px 0 34px;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    color: #64748b;
    text-align: center;
    font-size: 14px;
}

.empty-filter {
    display: none;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 18px;
    color: var(--muted);
    background: rgba(15, 23, 42, 0.72);
}

.empty-filter.is-visible {
    display: block;
}

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

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

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

    .mobile-toggle {
        display: flex;
    }

    body.nav-open .mobile-nav {
        display: block;
    }

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

    .hero-slide {
        grid-template-columns: 1fr;
        align-content: center;
        gap: 24px;
    }

    .hero-content {
        padding-top: 36px;
    }

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

    .filter-panel {
        grid-template-columns: 1fr;
        margin-top: -22px;
    }

    .filter-selects {
        flex-wrap: wrap;
    }

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

    .ranking-layout,
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .sidebar-panel {
        position: static;
    }

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

@media (max-width: 720px) {
    .nav-wrap {
        height: 64px;
    }

    .site-logo,
    .footer-logo {
        font-size: 18px;
    }

    .site-main {
        padding-top: 64px;
    }

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

    .hero-content h1,
    .hero-content h2 {
        font-size: clamp(34px, 12vw, 52px);
    }

    .hero-copy {
        font-size: 16px;
        line-height: 1.72;
    }

    .hero-controls {
        bottom: 18px;
        align-items: flex-end;
    }

    .hero-arrows {
        display: none;
    }

    .section-heading,
    .page-heading {
        display: block;
    }

    .section-heading a {
        display: inline-flex;
        margin-top: 14px;
    }

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

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

    .rank-row .detail-btn {
        grid-column: 1 / -1;
    }

    .rank-row img {
        width: 72px;
        height: 96px;
    }

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

    .movie-card h2 {
        font-size: 15px;
    }

    .movie-card p {
        display: none;
    }
}

@media (max-width: 460px) {
    .category-grid,
    .movie-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }

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

    .hero-poster {
        display: none;
    }

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