:root {
    color-scheme: light;
    --bg: #f8fafc;
    --panel: #ffffff;
    --panel-soft: #ecfeff;
    --text: #0f172a;
    --muted: #64748b;
    --line: #e2e8f0;
    --dark: #0f172a;
    --dark-2: #111827;
    --emerald: #10b981;
    --emerald-dark: #059669;
    --cyan: #06b6d4;
    --amber: #f59e0b;
    --radius-xl: 24px;
    --radius-lg: 18px;
    --shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 44%, #f1f5f9 100%);
    color: var(--text);
    min-height: 100vh;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.98));
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.35);
    backdrop-filter: blur(14px);
}

.nav-shell {
    max-width: 1280px;
    margin: 0 auto;
    min-height: 70px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

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

.brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--emerald), var(--cyan));
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.12);
    font-size: 14px;
}

.brand-name {
    font-size: 22px;
    background: linear-gradient(90deg, #34d399, #22d3ee);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
}

.site-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    flex-wrap: wrap;
}

.nav-link {
    font-weight: 700;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.88);
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #34d399;
    transform: translateY(-1px);
}

.nav-link.compact {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.72);
}

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

.hero-slider {
    position: relative;
    height: 72vh;
    min-height: 560px;
    overflow: hidden;
    background: #020617;
}

.hero-track,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slide {
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.7s ease, transform 1s ease;
    pointer-events: none;
}

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

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.08) contrast(1.06);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 72% 24%, rgba(6, 182, 212, 0.32), transparent 28%),
        linear-gradient(90deg, rgba(2, 6, 23, 0.88), rgba(15, 23, 42, 0.6), rgba(2, 6, 23, 0.14)),
        linear-gradient(0deg, rgba(2, 6, 23, 0.88), transparent 45%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    height: 100%;
    margin: 0 auto;
    padding: 80px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #ffffff;
}

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

.hero-tags span,
.tag,
.mini-tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.hero-tags span {
    color: #d1fae5;
    background: rgba(16, 185, 129, 0.18);
    border: 1px solid rgba(110, 231, 183, 0.28);
    backdrop-filter: blur(10px);
}

.hero-content h1 {
    max-width: 820px;
    margin: 20px 0 10px;
    font-size: clamp(40px, 6vw, 74px);
    line-height: 1.05;
    font-weight: 950;
    letter-spacing: -0.06em;
}

.hero-content h2 {
    margin: 0 0 18px;
    font-size: clamp(30px, 4vw, 52px);
    color: #34d399;
    font-weight: 900;
}

.hero-content p {
    max-width: 720px;
    margin: 0 0 34px;
    color: rgba(226, 232, 240, 0.94);
    font-size: clamp(17px, 2vw, 22px);
    line-height: 1.7;
}

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

.primary-btn,
.ghost-btn,
.home-search-card button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
    border-radius: 999px;
    font-weight: 900;
    border: 0;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn,
.home-search-card button {
    color: #ffffff;
    background: linear-gradient(135deg, var(--emerald), var(--cyan));
    box-shadow: 0 18px 34px rgba(16, 185, 129, 0.28);
}

.primary-btn:hover,
.home-search-card button:hover,
.ghost-btn:hover {
    transform: translateY(-2px) scale(1.02);
}

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

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: #ffffff;
    background: rgba(15, 23, 42, 0.48);
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(12px);
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

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

.hero-dot {
    width: 38px;
    height: 5px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.36);
    cursor: pointer;
}

.hero-dot.active {
    background: linear-gradient(90deg, var(--emerald), var(--cyan));
}

.band,
.content-section,
.page-main {
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.band {
    padding-top: 46px;
}

.content-section {
    padding-top: 76px;
}

.page-main {
    padding-top: 34px;
    padding-bottom: 80px;
}

.home-search-card,
.soft-panel,
.warm-panel,
.dark-panel,
.page-hero,
.ranking-hero,
.category-card,
.detail-card,
.player-card,
.side-card {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.home-search-card {
    display: grid;
    grid-template-columns: 1.1fr 1.4fr;
    gap: 28px;
    align-items: center;
    padding: 34px;
    background: linear-gradient(135deg, #ecfdf5, #ecfeff);
    border: 1px solid rgba(16, 185, 129, 0.18);
}

.home-search-card h2,
.section-heading h2,
.page-hero h1,
.ranking-hero h1 {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.home-search-card p,
.section-heading p,
.page-hero p,
.category-card p,
.ranking-hero p {
    color: var(--muted);
    line-height: 1.75;
}

.jump-search {
    display: flex;
    gap: 12px;
    padding: 8px;
    background: #ffffff;
    border-radius: 999px;
    border: 1px solid var(--line);
}

.jump-search input {
    flex: 1;
    border: 0;
    outline: 0;
    min-height: 46px;
    padding: 0 16px;
    background: transparent;
}

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

.eyebrow {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--emerald-dark);
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-more {
    color: var(--emerald-dark);
    font-weight: 900;
}

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

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

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

.movie-card {
    min-width: 0;
}

.movie-link {
    display: block;
    height: 100%;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.86);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-link:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.16);
    border-color: rgba(16, 185, 129, 0.36);
}

.poster-frame {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--dark);
}

.highlight-card .poster-frame {
    aspect-ratio: 16 / 9;
}

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

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

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

.play-chip,
.rank-badge,
.poster-meta {
    position: absolute;
    z-index: 2;
}

.play-chip {
    left: 50%;
    top: 50%;
    width: 48px;
    height: 48px;
    transform: translate(-50%, -50%);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(10px);
    transition: background 0.2s ease, transform 0.2s ease;
}

.movie-link:hover .play-chip {
    background: rgba(16, 185, 129, 0.86);
    transform: translate(-50%, -50%) scale(1.1);
}

.rank-badge {
    left: 12px;
    top: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 950;
    color: #111827;
    background: linear-gradient(135deg, #facc15, #fb923c);
}

.poster-meta {
    left: 12px;
    right: 12px;
    bottom: 12px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
}

.card-info {
    padding: 16px;
}

.card-info h3 {
    margin: 0 0 9px;
    font-size: 17px;
    line-height: 1.35;
    letter-spacing: -0.01em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

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

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #475569;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 10px;
}

.mini-tag {
    color: #065f46;
    background: #d1fae5;
}

.soft-panel {
    margin-top: 76px;
    padding: 36px;
    background: linear-gradient(135deg, #ecfdf5, #ecfeff);
}

.warm-panel {
    margin-top: 76px;
    padding: 36px;
    background: linear-gradient(135deg, #fff7ed, #fffbeb);
}

.dark-panel {
    margin-top: 76px;
    padding: 36px;
    color: #ffffff;
    background: linear-gradient(135deg, #0f172a, #1e293b);
}

.dark-panel .section-heading p,
.dark-panel .rank-side {
    color: #cbd5e1;
}

.dark-panel .section-heading h2,
.dark-panel .eyebrow {
    color: #ffffff;
}

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

.category-tile,
.category-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tile {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 20px;
    padding: 18px;
    align-items: center;
}

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

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

.category-thumbs img {
    aspect-ratio: 16 / 10;
    width: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.category-tile h3,
.category-card h2 {
    margin: 0 0 8px;
    font-size: 24px;
}

.category-tile p,
.category-card p {
    margin: 0;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 54px 78px 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border-radius: 16px;
    color: inherit;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: background 0.2s ease, transform 0.2s ease;
}

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

.rank-row img {
    width: 78px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 10px;
}

.rank-number {
    color: #34d399;
    font-weight: 950;
    font-size: 20px;
}

.rank-title {
    font-weight: 900;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rank-side {
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.page-hero {
    padding: 48px;
    margin-bottom: 34px;
    background:
        radial-gradient(circle at right top, rgba(34, 211, 238, 0.18), transparent 30%),
        linear-gradient(135deg, #ffffff, #ecfdf5);
    border: 1px solid rgba(16, 185, 129, 0.18);
}

.breadcrumb {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
    flex-wrap: wrap;
}

.breadcrumb a:hover {
    color: var(--emerald-dark);
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) 1.6fr auto;
    gap: 16px;
    align-items: end;
    padding: 20px;
    margin-bottom: 28px;
    border-radius: var(--radius-lg);
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.search-field {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
}

.search-field input,
.select-row select {
    width: 100%;
    min-height: 44px;
    border-radius: 14px;
    border: 1px solid var(--line);
    padding: 0 14px;
    color: var(--text);
    background: #f8fafc;
    outline-color: var(--emerald);
}

.select-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(120px, 1fr));
    gap: 12px;
}

.filter-count {
    color: var(--emerald-dark);
    font-weight: 950;
    min-width: 80px;
}

.category-card {
    padding: 24px;
}

.category-card-main {
    display: block;
}

.category-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--emerald), var(--cyan));
}

.category-mini-list {
    margin: 20px 0 0;
    padding: 16px 0 0;
    list-style: none;
    border-top: 1px solid var(--line);
    display: grid;
    gap: 8px;
}

.category-mini-list a {
    color: #475569;
    font-weight: 700;
}

.category-mini-list a:hover {
    color: var(--emerald-dark);
}

.ranking-hero {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 34px;
    align-items: center;
    padding: 34px;
    margin-bottom: 30px;
    color: #ffffff;
    background: linear-gradient(135deg, #0f172a, #1e293b);
}

.ranking-hero img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 44px rgba(2, 6, 23, 0.38);
}

.ranking-hero p {
    color: #cbd5e1;
}

.long-board {
    grid-template-columns: 1fr;
}

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

.detail-primary {
    min-width: 0;
}

.player-card {
    padding: 14px;
    margin-bottom: 22px;
    background: #020617;
}

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

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

.player-start {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    color: #ffffff;
    background: radial-gradient(circle, rgba(15, 23, 42, 0.24), rgba(2, 6, 23, 0.54));
    cursor: pointer;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-start span {
    width: 84px;
    height: 84px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-left: 5px;
    border-radius: 999px;
    color: #064e3b;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 22px 44px rgba(2, 6, 23, 0.32);
    font-size: 32px;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.player-start:hover span {
    transform: scale(1.08);
    color: #ffffff;
    background: var(--emerald);
}

.video-shell.playing .player-start {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.detail-card {
    padding: 32px;
    background: #ffffff;
    border: 1px solid var(--line);
}

.detail-card h1 {
    margin: 0 0 14px;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

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

.detail-meta span {
    padding: 7px 12px;
    border-radius: 999px;
    color: #065f46;
    background: #d1fae5;
    font-size: 13px;
    font-weight: 900;
}

.tag {
    color: #334155;
    background: #f1f5f9;
}

.detail-card section {
    margin-top: 28px;
}

.detail-card h2,
.side-card h2 {
    margin: 0 0 12px;
    font-size: 22px;
}

.detail-card p,
.side-card p {
    color: #475569;
    line-height: 1.9;
    font-size: 16px;
}

.quote-text {
    padding: 16px 18px;
    border-left: 5px solid var(--emerald);
    border-radius: 16px;
    background: #ecfdf5;
    color: #064e3b !important;
    font-weight: 800;
}

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

.side-card {
    padding: 20px;
    background: #ffffff;
    border: 1px solid var(--line);
}

.sticky-card {
    position: sticky;
    top: 96px;
}

.side-card > img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 18px;
    margin-bottom: 16px;
}

.block-btn {
    width: 100%;
    margin-top: 12px;
}

.side-link {
    display: grid;
    grid-template-columns: 94px 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    font-weight: 800;
}

.side-link:last-child {
    border-bottom: 0;
}

.side-link img {
    width: 94px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 12px;
}

.site-footer {
    margin-top: 70px;
    color: #cbd5e1;
    background: linear-gradient(180deg, #0f172a, #020617);
}

.footer-grid {
    max-width: 1280px;
    margin: 0 auto;
    padding: 46px 24px;
    display: grid;
    grid-template-columns: 1.6fr 0.7fr 0.9fr;
    gap: 36px;
}

.footer-logo .brand-name {
    color: #ffffff;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
}

.footer-brand p {
    max-width: 620px;
    line-height: 1.8;
}

.site-footer h3 {
    margin: 0 0 14px;
    color: #ffffff;
}

.site-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

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

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 24px;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    text-align: center;
    font-size: 14px;
}

[hidden] {
    display: none !important;
}

@media (max-width: 1120px) {
    .movie-grid,
    .catalog-grid,
    .all-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

    .detail-layout,
    .ranking-hero,
    .home-search-card {
        grid-template-columns: 1fr;
    }

    .sticky-card {
        position: static;
    }
}

@media (max-width: 860px) {
    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .site-menu {
        position: absolute;
        left: 16px;
        right: 16px;
        top: 74px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px;
        border-radius: 18px;
        background: rgba(15, 23, 42, 0.98);
        box-shadow: 0 24px 54px rgba(2, 6, 23, 0.38);
    }

    .site-menu.open {
        display: flex;
    }

    .nav-link {
        padding: 13px 12px;
        border-radius: 12px;
    }

    .nav-link:hover,
    .nav-link.active {
        background: rgba(16, 185, 129, 0.12);
    }

    .hero-slider {
        height: 74vh;
        min-height: 580px;
    }

    .hero-arrow {
        display: none;
    }

    .hero-content {
        padding: 64px 20px;
    }

    .home-search-card,
    .soft-panel,
    .warm-panel,
    .dark-panel,
    .page-hero,
    .ranking-hero,
    .detail-card {
        padding: 24px;
    }

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

    .category-grid,
    .category-card-grid,
    .ranking-board {
        grid-template-columns: 1fr;
    }

    .category-tile {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 620px) {
    .nav-shell,
    .band,
    .content-section,
    .page-main {
        padding-left: 16px;
        padding-right: 16px;
    }

    .movie-grid,
    .featured-grid,
    .catalog-grid,
    .all-grid {
        grid-template-columns: 1fr;
    }

    .rank-row {
        grid-template-columns: 44px 68px 1fr;
    }

    .rank-side {
        grid-column: 3;
    }

    .jump-search {
        border-radius: 22px;
        flex-direction: column;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .primary-btn,
    .ghost-btn {
        width: 100%;
    }
}
