:root {
    color-scheme: light;
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    --amber-600: #d97706;
    --amber-500: #f59e0b;
    --amber-400: #fbbf24;
    --orange-500: #f97316;
    --text-main: #111827;
    --text-soft: #64748b;
    --surface: #ffffff;
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
    --shadow-strong: 0 28px 70px rgba(2, 6, 23, 0.28);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(180deg, var(--slate-50), var(--slate-100));
    color: var(--text-main);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(15, 23, 42, 0.96);
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 21px;
    font-weight: 900;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--amber-400), var(--orange-500));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
}

.brand-mark {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(245, 158, 11, 0.32);
    font-size: 14px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.desktop-nav a,
.mobile-nav a {
    color: #e2e8f0;
    font-weight: 700;
    padding: 10px 14px;
    border-radius: 12px;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active,
.mobile-nav a:hover,
.mobile-nav a.active {
    color: var(--amber-400);
    background: rgba(255, 255, 255, 0.08);
}

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

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

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

.hero-carousel {
    position: relative;
    min-height: 76vh;
    overflow: hidden;
    background: var(--slate-950);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    background-position: center;
    background-size: cover;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.7s ease, transform 1.2s ease;
    pointer-events: none;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.68) 42%, rgba(2, 6, 23, 0.28)),
        linear-gradient(0deg, rgba(2, 6, 23, 0.9), rgba(2, 6, 23, 0.1) 48%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    padding: 120px 0 170px;
    color: #ffffff;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.14);
    color: var(--amber-400);
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-content h1 {
    max-width: 780px;
    margin: 22px 0 18px;
    font-size: clamp(44px, 8vw, 86px);
    line-height: 0.98;
    font-weight: 950;
    letter-spacing: -0.05em;
    text-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.hero-content p {
    max-width: 720px;
    margin: 0 0 24px;
    color: #e2e8f0;
    font-size: clamp(17px, 2vw, 22px);
    line-height: 1.75;
}

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

.hero-tags span,
.tag-row span {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #f8fafc;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 800;
}

.tag-row span {
    background: #fff7ed;
    color: #b45309;
}

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

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

.primary-button {
    color: #ffffff;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
    box-shadow: 0 16px 36px rgba(245, 158, 11, 0.34);
}

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

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

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 8;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.48);
    color: #ffffff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(12px);
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

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

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

.hero-dots button.active {
    width: 34px;
    background: var(--amber-500);
}

.hero-thumbs {
    position: absolute;
    right: max(24px, calc((100vw - 1240px) / 2));
    bottom: 90px;
    z-index: 8;
    display: grid;
    grid-template-columns: repeat(2, 160px);
    gap: 12px;
}

.hero-thumbs a {
    position: relative;
    height: 92px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--shadow-strong);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

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

.hero-thumbs span {
    position: absolute;
    inset: auto 0 0;
    padding: 30px 10px 8px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), transparent);
}

.content-section,
.search-band {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    padding: 68px 0;
}

.search-band {
    margin-top: -54px;
    position: relative;
    z-index: 20;
    padding: 0;
}

.section-heading {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 32px;
}

.section-heading.align-left {
    text-align: left;
    margin-left: 0;
}

.section-heading.compact {
    display: none;
}

.section-heading h2,
.ranking-copy h2 {
    margin: 14px 0 10px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.12;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.section-heading p,
.ranking-copy p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.8;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 180px 160px auto;
    gap: 12px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(16px);
}

.category-search .filter-panel {
    grid-template-columns: minmax(220px, 1fr) 180px 160px 160px auto;
}

.filter-panel input,
.filter-panel select,
.filter-panel button {
    min-height: 48px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 0 14px;
    outline: none;
}

.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--amber-500);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
}

.filter-panel button {
    border: 0;
    background: var(--slate-900);
    color: #ffffff;
    cursor: pointer;
    font-weight: 900;
}

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

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

.movie-card {
    min-width: 0;
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.82);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 158, 11, 0.46);
    box-shadow: var(--shadow-soft);
}

.movie-link {
    display: block;
    height: 100%;
}

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

.movie-card-large .poster-wrap {
    aspect-ratio: 16 / 9;
}

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

.movie-card:hover .poster-wrap img,
.horizontal-card:hover img {
    transform: scale(1.07);
}

.poster-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.54), transparent 58%);
    opacity: 0.9;
}

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

.poster-type {
    left: 12px;
    top: 12px;
    border-radius: 999px;
    background: var(--amber-500);
    color: #ffffff;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 900;
}

.poster-play {
    right: 14px;
    bottom: 12px;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--amber-600);
    box-shadow: 0 12px 26px rgba(2, 6, 23, 0.28);
}

.rank-badge {
    left: 12px;
    bottom: 12px;
    display: grid;
    min-width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 12px;
    background: rgba(2, 6, 23, 0.78);
    color: var(--amber-400);
    font-size: 18px;
}

.movie-info {
    padding: 18px;
}

.movie-info h3 {
    margin: 0 0 9px;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 950;
    letter-spacing: -0.02em;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-info p {
    margin: 0 0 12px;
    color: var(--text-soft);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

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

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

.editor-panel,
.ranking-strip,
.text-card,
.info-card {
    border-radius: var(--radius-xl);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(226, 232, 240, 0.88);
}

.editor-panel {
    padding: 26px;
    position: sticky;
    top: 96px;
}

.horizontal-list {
    display: grid;
    gap: 16px;
}

.horizontal-card a {
    display: grid;
    grid-template-columns: auto 110px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    padding: 12px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.horizontal-card a:hover {
    transform: translateY(-3px);
    border-color: rgba(245, 158, 11, 0.45);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1);
}

.horizontal-card img {
    width: 110px;
    height: 74px;
    border-radius: 14px;
    object-fit: cover;
    background: var(--slate-800);
    transition: transform 0.35s ease;
}

.horizontal-card h3 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 950;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.horizontal-card p {
    margin: 0 0 8px;
    color: var(--text-soft);
    font-size: 13px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.horizontal-card span {
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.rank-number {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 12px;
    background: #fff7ed;
    color: #c2410c;
    font-size: 16px !important;
    font-weight: 950 !important;
}

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

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

.category-tile {
    min-height: 142px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px;
    border-radius: 22px;
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(245, 158, 11, 0.94), rgba(249, 115, 22, 0.92)),
        var(--slate-900);
    box-shadow: 0 18px 45px rgba(249, 115, 22, 0.22);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-tile:nth-child(even) {
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(51, 65, 85, 0.92)),
        var(--slate-900);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.22);
}

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

.category-tile strong {
    font-size: 22px;
    font-weight: 950;
}

.category-tile span {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
}

.ranking-strip {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 28px;
    padding: 30px;
    background:
        radial-gradient(circle at 20% 20%, rgba(245, 158, 11, 0.2), transparent 32%),
        linear-gradient(135deg, #0f172a, #020617);
    color: #ffffff;
}

.ranking-strip .horizontal-card a {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
}

.ranking-strip .horizontal-card h3 {
    color: #ffffff;
}

.ranking-strip .horizontal-card p,
.ranking-strip .horizontal-card span {
    color: #cbd5e1;
}

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background-color: var(--slate-950);
    background-position: center;
    background-size: cover;
}

.small-hero {
    min-height: 310px;
    display: grid;
    place-items: center;
    text-align: center;
    background:
        radial-gradient(circle at 20% 10%, rgba(245, 158, 11, 0.26), transparent 30%),
        linear-gradient(135deg, #0f172a, #020617);
}

.small-hero > div {
    width: min(860px, calc(100% - 32px));
}

.small-hero h1 {
    margin: 18px 0 12px;
    font-size: clamp(36px, 6vw, 62px);
    font-weight: 950;
    letter-spacing: -0.04em;
}

.small-hero p {
    margin: 0;
    color: #cbd5e1;
    font-size: 18px;
    line-height: 1.8;
}

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

.detail-mask {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.76) 45%, rgba(2, 6, 23, 0.42)),
        linear-gradient(0deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.2));
    backdrop-filter: blur(2px);
}

.detail-layout {
    position: relative;
    z-index: 2;
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 42px;
    align-items: center;
    padding: 96px 0 72px;
}

.detail-poster {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.detail-poster img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    background: var(--slate-800);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    color: #cbd5e1;
    font-size: 14px;
}

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

.detail-copy h1 {
    margin: 18px 0;
    font-size: clamp(40px, 7vw, 76px);
    line-height: 1;
    font-weight: 950;
    letter-spacing: -0.05em;
}

.detail-copy p {
    max-width: 780px;
    margin: 0;
    color: #e2e8f0;
    font-size: 20px;
    line-height: 1.85;
}

.detail-tags {
    margin-top: 22px;
}

.video-section {
    width: min(1120px, calc(100% - 32px));
    margin: -80px auto 0;
    position: relative;
    z-index: 12;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #000000;
    box-shadow: var(--shadow-strong);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.player-shell video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
    cursor: pointer;
}

.play-overlay {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: grid;
    place-items: center;
    border: 0;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.44));
    color: #ffffff;
    cursor: pointer;
    transition: opacity 0.24s ease, visibility 0.24s ease;
}

.play-overlay span {
    display: grid;
    width: 84px;
    height: 84px;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
    box-shadow: 0 20px 48px rgba(245, 158, 11, 0.38);
    font-size: 30px;
    transform: translateX(3px);
}

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

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

.detail-main {
    display: grid;
    gap: 22px;
}

.text-card,
.info-card {
    padding: 28px;
}

.text-card h2,
.info-card h2,
.site-footer h2 {
    margin: 0 0 16px;
    font-size: 22px;
    font-weight: 950;
    letter-spacing: -0.02em;
}

.text-card p {
    margin: 0;
    color: #334155;
    line-height: 2;
    text-align: justify;
}

.info-card dl {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px 14px;
    margin: 0;
}

.info-card dt {
    color: #64748b;
    font-weight: 900;
}

.info-card dd {
    margin: 0;
    color: #0f172a;
    font-weight: 700;
    line-height: 1.6;
}

.info-card a {
    color: #d97706;
}

.pager-section {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-top: 18px;
    padding-bottom: 18px;
}

.pager-section a {
    flex: 1;
    border-radius: 18px;
    background: #ffffff;
    padding: 18px 20px;
    font-weight: 900;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    border: 1px solid #e2e8f0;
}

.pager-section a:last-child {
    text-align: right;
}

.no-result {
    display: none;
    margin-top: 26px;
    padding: 24px;
    border-radius: 18px;
    background: #ffffff;
    color: #64748b;
    text-align: center;
    font-weight: 900;
    border: 1px solid #e2e8f0;
}

.no-result.show {
    display: block;
}

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

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

.footer-brand {
    margin-bottom: 16px;
}

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

.site-footer a:not(.brand) {
    display: block;
    margin: 9px 0;
    color: #cbd5e1;
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: var(--amber-400);
}

.copyright {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    font-size: 14px;
}

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

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

    .split-section,
    .detail-content,
    .ranking-strip {
        grid-template-columns: 1fr;
    }

    .editor-panel {
        position: static;
    }

    .hero-thumbs {
        display: none;
    }

    .detail-layout {
        grid-template-columns: 280px minmax(0, 1fr);
    }
}

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

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

    .hero-content {
        padding: 92px 0 130px;
    }

    .hero-arrow {
        display: none;
    }

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

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

    .detail-layout {
        grid-template-columns: 1fr;
        padding-top: 70px;
    }

    .detail-poster {
        max-width: 280px;
    }

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

    .horizontal-card a {
        grid-template-columns: auto 92px minmax(0, 1fr);
    }

    .horizontal-card img {
        width: 92px;
        height: 62px;
    }
}

@media (max-width: 560px) {
    .nav-shell,
    .content-section,
    .search-band,
    .video-section,
    .footer-grid,
    .copyright {
        width: min(100% - 24px, 1240px);
    }

    .brand {
        font-size: 18px;
    }

    .movie-grid,
    .large-grid,
    .category-grid,
    .category-grid-wide {
        grid-template-columns: 1fr;
    }

    .movie-info {
        padding: 16px;
    }

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

    .hero-content h1,
    .detail-copy h1 {
        letter-spacing: -0.03em;
    }

    .detail-hero {
        min-height: auto;
    }

    .video-section {
        margin-top: 0;
        padding-top: 16px;
    }

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

    .pager-section {
        flex-direction: column;
    }

    .pager-section a:last-child {
        text-align: left;
    }
}
