:root {
    color-scheme: dark;
    --bg: #020617;
    --bg-soft: #0f172a;
    --bg-card: rgba(15, 23, 42, 0.82);
    --line: rgba(148, 163, 184, 0.18);
    --text: #f8fafc;
    --muted: #94a3b8;
    --muted-strong: #cbd5e1;
    --accent: #f59e0b;
    --accent-hot: #f97316;
    --accent-soft: rgba(245, 158, 11, 0.16);
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(245, 158, 11, 0.14), transparent 35rem),
        radial-gradient(circle at 85% 10%, rgba(249, 115, 22, 0.12), transparent 38rem),
        linear-gradient(180deg, #020617 0%, #0f172a 48%, #020617 100%);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

body.nav-open {
    overflow: hidden;
}

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
    background: rgba(2, 6, 23, 0.88);
    backdrop-filter: blur(18px);
}

.nav-shell {
    width: min(1180px, calc(100% - 32px));
    height: 74px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 16px;
    display: inline-grid;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--accent), var(--accent-hot));
    box-shadow: 0 14px 30px rgba(249, 115, 22, 0.28);
}

.brand-text {
    font-size: 1.35rem;
    background: linear-gradient(90deg, #fbbf24, #fb923c, #f59e0b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand.compact .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 13px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    color: var(--muted-strong);
    font-weight: 650;
}

.desktop-nav a,
.mobile-nav a,
.footer-links a {
    transition: color 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover,
.footer-links a:hover {
    color: #fbbf24;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 14px;
    background: rgba(30, 41, 59, 0.8);
    color: var(--text);
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--text);
    border-radius: 999px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

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

.mobile-nav a {
    display: block;
    padding: 13px 16px;
    border-radius: 14px;
    color: var(--muted-strong);
    background: rgba(15, 23, 42, 0.58);
    margin-top: 8px;
}

.hero {
    position: relative;
    min-height: 78vh;
    overflow: hidden;
    isolation: isolate;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.hero-glow {
    position: absolute;
    inset: 0;
    z-index: -3;
    background:
        linear-gradient(90deg, rgba(146, 64, 14, 0.22), rgba(15, 23, 42, 0.08)),
        linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.28) 48%, rgba(15, 23, 42, 0.92) 100%);
}

.hero-slides {
    min-height: 78vh;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    position: relative;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    align-items: center;
    gap: 56px;
    opacity: 0;
    transform: translateY(18px) scale(0.985);
    pointer-events: none;
    transition: opacity 0.75s ease, transform 0.75s ease;
}

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

.hero-slide::before {
    content: "";
    position: absolute;
    inset: -80px calc(50% - 50vw);
    z-index: -2;
    background-image:
        linear-gradient(90deg, rgba(2, 6, 23, 0.95) 0%, rgba(2, 6, 23, 0.78) 44%, rgba(2, 6, 23, 0.34) 72%, rgba(2, 6, 23, 0.92) 100%),
        var(--hero-image);
    background-size: cover;
    background-position: center;
    filter: saturate(1.1);
}

.hero-slide::after {
    content: "";
    position: absolute;
    inset: -80px calc(50% - 50vw);
    z-index: -1;
    background: linear-gradient(0deg, #020617 0%, transparent 40%, rgba(2, 6, 23, 0.5) 100%);
}

.hero-copy {
    max-width: 720px;
    padding-top: 20px;
}

.eyebrow {
    margin: 0 0 14px;
    color: #fbbf24;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-copy h1,
.page-hero h1,
.detail-intro h1 {
    margin: 0;
    font-size: clamp(2.8rem, 6vw, 6rem);
    line-height: 0.98;
    letter-spacing: -0.06em;
    background: linear-gradient(90deg, #fef3c7, #fbbf24, #fb923c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-summary {
    max-width: 650px;
    margin: 24px 0 0;
    font-size: clamp(1rem, 1.9vw, 1.35rem);
    color: var(--muted-strong);
    line-height: 1.9;
}

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

.primary-button,
.ghost-button,
.text-link,
.section-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.primary-button {
    color: #111827;
    background: linear-gradient(135deg, #fbbf24, #fb923c);
    box-shadow: 0 16px 38px rgba(249, 115, 22, 0.26);
}

.ghost-button,
.section-more,
.text-link {
    color: #fde68a;
    border: 1px solid rgba(251, 191, 36, 0.32);
    background: rgba(15, 23, 42, 0.62);
}

.primary-button:hover,
.ghost-button:hover,
.text-link:hover,
.section-more:hover {
    transform: translateY(-2px);
}

.hero-poster {
    height: min(54vh, 560px);
    min-height: 420px;
    border-radius: 36px;
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow);
    border: 1px solid rgba(251, 191, 36, 0.2);
    overflow: hidden;
    position: relative;
}

.hero-poster::after,
.category-tile::after,
.category-card::after,
.card-cover::after,
.detail-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 25%, rgba(2, 6, 23, 0.76) 100%);
}

.hero-bottom {
    position: absolute;
    left: 50%;
    bottom: 34px;
    width: min(1180px, calc(100% - 32px));
    transform: translateX(-50%);
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    z-index: 5;
}

.hero-search-card {
    max-width: 560px;
    padding: 22px;
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.16);
    backdrop-filter: blur(18px);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
}

.hero-search-card p,
.hero-search-card h2 {
    margin: 0;
}

.hero-search-card p {
    color: var(--muted);
}

.hero-search-card h2 {
    margin-top: 4px;
    font-size: 1.55rem;
}

.hero-quick-links {
    margin-top: 14px;
}

.hero-quick-links a {
    color: #f8fafc;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.16);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.hero-dots {
    display: flex;
    gap: 10px;
    padding: 14px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.62);
    border: 1px solid rgba(148, 163, 184, 0.16);
    backdrop-filter: blur(14px);
}

.hero-dot {
    width: 11px;
    height: 11px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #64748b;
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
    width: 34px;
    background: linear-gradient(90deg, #fbbf24, #fb923c);
}

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

.home-shell {
    display: grid;
    gap: 70px;
}

.content-section {
    position: relative;
}

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

.section-heading h2 {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 1.1;
}

.section-heading p {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.7;
}

.section-icon {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    border-radius: 13px;
    color: #111827;
    background: linear-gradient(135deg, #fbbf24, #fb923c);
    font-weight: 900;
}

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

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

.movie-card {
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.86), rgba(15, 23, 42, 0.86));
    border: 1px solid rgba(148, 163, 184, 0.14);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.22);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

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

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(251, 191, 36, 0.36);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.3);
}

.card-cover {
    display: block;
    position: relative;
    min-height: 290px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.compact-card .card-cover {
    min-height: 230px;
}

.card-type,
.rank-badge {
    position: absolute;
    z-index: 2;
    top: 14px;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.card-type {
    right: 14px;
    color: #fde68a;
    background: rgba(15, 23, 42, 0.76);
    border: 1px solid rgba(251, 191, 36, 0.22);
}

.rank-badge {
    left: 14px;
    color: #111827;
    background: linear-gradient(135deg, #fbbf24, #fb923c);
}

.card-body {
    padding: 18px;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #fbbf24;
    font-size: 0.86rem;
    font-weight: 700;
}

.card-meta span {
    color: var(--muted);
}

.movie-card h3 {
    margin: 12px 0 8px;
    font-size: 1.2rem;
    line-height: 1.35;
}

.movie-card h3 a:hover {
    color: #fbbf24;
}

.movie-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
    font-size: 0.94rem;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 9px;
    border-radius: 999px;
    color: #cbd5e1;
    background: rgba(100, 116, 139, 0.18);
    border: 1px solid rgba(148, 163, 184, 0.12);
    font-size: 0.78rem;
}

.large-tags span {
    min-height: 32px;
    padding: 0 12px;
    color: #fde68a;
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.22);
}

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

.category-tile,
.category-card {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    border-radius: 24px;
    border: 1px solid rgba(148, 163, 184, 0.15);
    min-height: 210px;
    isolation: isolate;
}

.category-tile::before,
.category-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(2, 6, 23, 0.42), rgba(15, 23, 42, 0.84));
    z-index: -1;
}

.category-tile {
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 18px;
    transition: transform 0.22s ease, border-color 0.22s ease;
}

.category-tile:hover,
.category-card:hover {
    transform: translateY(-4px);
    border-color: rgba(251, 191, 36, 0.32);
}

.category-icon {
    position: relative;
    z-index: 2;
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
    border-radius: 15px;
    color: #111827;
    background: linear-gradient(135deg, #fbbf24, #fb923c);
    font-style: normal;
    font-weight: 900;
}

.category-tile strong,
.category-tile em {
    position: relative;
    z-index: 2;
}

.category-tile strong {
    font-size: 1.12rem;
}

.category-tile em {
    margin-top: 8px;
    color: var(--muted-strong);
    font-style: normal;
    line-height: 1.55;
    font-size: 0.9rem;
}

.page-hero {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 74px 0 42px;
}

.compact-hero > div {
    max-width: 850px;
    padding: 34px;
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.58));
    border: 1px solid rgba(148, 163, 184, 0.15);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.22);
}

.compact-hero h1 {
    font-size: clamp(2.4rem, 5vw, 4.6rem);
}

.compact-hero p:not(.eyebrow) {
    max-width: 720px;
    color: var(--muted-strong);
    line-height: 1.8;
    font-size: 1.08rem;
}

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

.category-card {
    min-height: 360px;
}

.category-card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.category-card h2 {
    margin: 0;
    font-size: 2rem;
}

.category-card p {
    color: var(--muted-strong);
    line-height: 1.7;
}

.category-preview {
    display: grid;
    gap: 8px;
    margin: 18px 0;
}

.category-preview a {
    color: #e2e8f0;
}

.category-preview a:hover {
    color: #fbbf24;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(260px, 1.8fr) repeat(3, minmax(160px, 1fr));
    gap: 14px;
    margin-bottom: 18px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.78);
    border: 1px solid rgba(148, 163, 184, 0.14);
}

.filter-panel label {
    display: grid;
    gap: 8px;
    color: var(--muted-strong);
    font-weight: 700;
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    min-height: 46px;
    color: var(--text);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 15px;
    background: rgba(2, 6, 23, 0.75);
    padding: 0 14px;
    outline: none;
}

.filter-panel input:focus,
.filter-panel select:focus {
    border-color: rgba(251, 191, 36, 0.56);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
}

.filter-note,
.empty-state {
    color: var(--muted);
    margin: 0 0 24px;
}

.empty-state {
    padding: 22px;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.68);
    border: 1px solid rgba(148, 163, 184, 0.12);
}

.rank-section {
    padding: 30px;
    border-radius: 30px;
    background: radial-gradient(circle at top right, rgba(245, 158, 11, 0.18), transparent 25rem), rgba(15, 23, 42, 0.64);
    border: 1px solid rgba(148, 163, 184, 0.12);
}

.rank-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

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

.rank-list a {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    align-items: center;
    gap: 14px;
    min-height: 60px;
    padding: 10px 14px;
    border-radius: 18px;
    background: rgba(2, 6, 23, 0.58);
    border: 1px solid rgba(148, 163, 184, 0.12);
}

.rank-list a:hover {
    border-color: rgba(251, 191, 36, 0.34);
    color: #fbbf24;
}

.rank-number {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    color: #111827;
    background: linear-gradient(135deg, #fbbf24, #fb923c);
    font-weight: 900;
}

.rank-title {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 750;
}

.rank-extra {
    color: var(--muted);
    font-size: 0.9rem;
}

.detail-hero {
    position: relative;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 64px 0 24px;
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 46px;
    align-items: center;
}

.detail-poster {
    position: relative;
    min-height: 520px;
    border-radius: 32px;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(251, 191, 36, 0.18);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.detail-intro h1 {
    font-size: clamp(2.5rem, 5vw, 5.2rem);
}

.detail-line {
    max-width: 760px;
    color: var(--muted-strong);
    font-size: 1.15rem;
    line-height: 1.9;
    margin: 24px 0 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
    color: var(--muted);
}

.breadcrumb a:hover {
    color: #fbbf24;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.detail-meta span {
    padding: 9px 12px;
    border-radius: 999px;
    color: #fef3c7;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.detail-shell {
    padding-top: 28px;
}

.player-section {
    margin-bottom: 38px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: #000000;
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: var(--shadow);
    aspect-ratio: 16 / 9;
}

.video-player {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000000;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 12px;
    border: 0;
    color: #ffffff;
    background:
        radial-gradient(circle, rgba(245, 158, 11, 0.28), transparent 16rem),
        linear-gradient(180deg, rgba(2, 6, 23, 0.25), rgba(2, 6, 23, 0.74));
    cursor: pointer;
    z-index: 3;
    transition: opacity 0.24s ease, visibility 0.24s ease;
}

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

.play-icon {
    display: grid;
    place-items: center;
    width: 88px;
    height: 88px;
    border-radius: 999px;
    color: #111827;
    background: linear-gradient(135deg, #fbbf24, #fb923c);
    font-size: 2.2rem;
    box-shadow: 0 20px 50px rgba(249, 115, 22, 0.32);
}

.play-label {
    font-size: 1.1rem;
    font-weight: 900;
    color: #fde68a;
}

.detail-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-bottom: 56px;
}

.content-card {
    padding: 28px;
    border-radius: 26px;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.14);
}

.text-card h2 {
    margin: 0 0 14px;
    font-size: 1.55rem;
}

.text-card p {
    margin: 0;
    color: var(--muted-strong);
    line-height: 1.95;
}

.site-footer {
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.7), #020617);
}

.footer-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 42px 0;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 32px;
}

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

.footer-links {
    display: grid;
    align-content: start;
    gap: 12px;
    color: var(--muted-strong);
}

.copyright {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 28px;
    color: var(--muted);
    border-top: 1px solid rgba(148, 163, 184, 0.12);
}

@media (max-width: 1024px) {
    .hero-slide,
    .detail-hero {
        grid-template-columns: 1fr;
    }

    .hero-poster {
        display: none;
    }

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

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

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

    .big-rank-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .detail-poster {
        min-height: 420px;
    }
}

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

    .nav-toggle {
        display: inline-block;
    }

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

    .hero,
    .hero-slides {
        min-height: 86vh;
    }

    .hero-copy {
        padding-top: 10px;
    }

    .hero-bottom {
        align-items: stretch;
        flex-direction: column;
        bottom: 18px;
    }

    .hero-search-card {
        padding: 18px;
    }

    .hero-dots {
        align-self: start;
    }

    .page-shell {
        padding: 36px 0;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
    }

    .movie-grid,
    .wide-grid,
    .search-grid,
    .related-grid,
    .category-grid,
    .category-overview-grid,
    .rank-list,
    .big-rank-list,
    .detail-content-grid,
    .footer-shell,
    .filter-panel {
        grid-template-columns: 1fr;
    }

    .card-cover {
        min-height: 260px;
    }

    .compact-hero > div {
        padding: 24px;
        border-radius: 24px;
    }

    .detail-hero {
        padding-top: 34px;
        gap: 26px;
    }

    .detail-poster {
        min-height: 360px;
    }

    .player-shell {
        border-radius: 20px;
    }

    .play-icon {
        width: 72px;
        height: 72px;
        font-size: 1.8rem;
    }
}
