:root {
    --amber-50: #fff7ed;
    --amber-100: #ffedd5;
    --amber-200: #fed7aa;
    --amber-300: #fdba74;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --orange-500: #f97316;
    --orange-600: #ea580c;
    --red-500: #ef4444;
    --purple-500: #a855f7;
    --pink-500: #ec4899;
    --blue-500: #3b82f6;
    --indigo-500: #6366f1;
    --green-500: #22c55e;
    --text: #1f2937;
    --muted: #6b7280;
    --line: #f3d3a6;
    --card: #ffffff;
    --shadow: 0 20px 45px rgba(124, 45, 18, 0.10);
    --soft-shadow: 0 10px 25px rgba(124, 45, 18, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: linear-gradient(135deg, #fff7ed 0%, #fffbeb 45%, #fff7ed 100%);
}

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 247, 237, 0.93);
    border-bottom: 1px solid rgba(251, 191, 36, 0.25);
    box-shadow: 0 8px 22px rgba(146, 64, 14, 0.08);
    backdrop-filter: blur(18px);
}

.nav-shell {
    width: min(1180px, calc(100% - 32px));
    height: 64px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 26px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: inline-grid;
    place-items: center;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.25);
    transition: transform 0.3s ease;
}

.brand:hover .brand-mark {
    transform: rotate(10deg) scale(1.04);
}

.brand-name {
    font-weight: 800;
    font-size: 21px;
    letter-spacing: -0.02em;
    color: transparent;
    background: linear-gradient(90deg, var(--amber-600), var(--orange-500));
    -webkit-background-clip: text;
    background-clip: text;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: auto;
}

.nav-link,
.mobile-link {
    color: #374151;
    font-weight: 650;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
    color: var(--amber-600);
}

.site-search {
    width: 320px;
    max-width: 35vw;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 8px;
}

.search-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.site-search input,
.filter-input,
.search-page-form input {
    width: 100%;
    height: 42px;
    border: 1px solid var(--amber-200);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: var(--text);
    padding: 0 16px;
    outline: none;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.site-search input:focus,
.filter-input:focus,
.search-page-form input:focus {
    border-color: var(--amber-500);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.16);
}

.site-search button,
.search-page-form button {
    height: 42px;
    border: 0;
    border-radius: 999px;
    padding: 0 18px;
    color: #fff;
    font-weight: 700;
    background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-search button:hover,
.search-page-form button:hover,
.primary-button:hover {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 14px 25px rgba(249, 115, 22, 0.24);
}

.mobile-menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: var(--amber-100);
    cursor: pointer;
    margin-left: auto;
}

.mobile-menu-button span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    border-radius: 999px;
    background: #92400e;
}

.mobile-panel {
    display: none;
    border-top: 1px solid var(--amber-200);
    background: rgba(255, 255, 255, 0.98);
    padding: 16px 20px 20px;
}

.mobile-panel.is-open {
    display: grid;
    gap: 14px;
}

.mobile-search {
    width: 100%;
    max-width: none;
    margin: 0;
}

.hero-carousel {
    position: relative;
    height: min(720px, 72vh);
    min-height: 520px;
    overflow: hidden;
    background: #111827;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 45%, rgba(245, 158, 11, 0.22), transparent 30%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.54) 48%, rgba(0, 0, 0, 0.08));
}

.hero-content {
    position: absolute;
    inset: 0;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    max-width: 1180px;
}

.hero-kicker,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fbbf24;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-kicker::before,
.section-kicker::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: currentColor;
    box-shadow: 0 0 16px currentColor;
}

.hero-title {
    width: min(680px, 100%);
    margin: 16px 0 14px;
    color: #fff;
    font-size: clamp(42px, 7vw, 76px);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: -0.06em;
    text-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.hero-content p {
    width: min(660px, 100%);
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(17px, 2vw, 22px);
    line-height: 1.75;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.hero-tags span,
.detail-meta span {
    border-radius: 999px;
    padding: 8px 14px;
    color: #fff;
    font-weight: 700;
    background: rgba(245, 158, 11, 0.90);
    backdrop-filter: blur(12px);
}

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

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

.primary-button {
    color: #fff;
    background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
}

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

.ghost-button:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-1px);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    font-size: 38px;
    line-height: 1;
    background: rgba(0, 0, 0, 0.48);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
    background: rgba(0, 0, 0, 0.70);
    transform: translateY(-50%) scale(1.04);
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 26px;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}

.hero-dot {
    width: 9px;
    height: 9px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.50);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
    width: 34px;
    background: #fff;
}

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

.section-shell {
    padding: 66px 0 0;
}

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

.section-heading h2 {
    margin: 8px 0 0;
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.1;
    font-weight: 900;
    color: #1f2937;
}

.section-heading a {
    color: var(--amber-600);
    font-weight: 800;
}

.horizontal-list {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 330px);
    gap: 24px;
    overflow-x: auto;
    padding: 4px 4px 18px;
    scroll-snap-type: x proximity;
}

.horizontal-list .movie-card {
    scroll-snap-align: start;
}

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

.movie-card {
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--soft-shadow);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

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

.movie-poster {
    position: relative;
    display: block;
    height: 260px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--amber-100), #fff7ed);
}

.movie-card.wide .movie-poster {
    height: 210px;
}

.movie-poster::after {
    content: "";
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.58), transparent);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.movie-card:hover .movie-poster::after {
    opacity: 1;
}

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

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

.type-badge,
.year-badge,
.rank-badge {
    position: absolute;
    z-index: 2;
    border-radius: 10px;
    color: #fff;
    font-weight: 800;
    font-size: 12px;
    line-height: 1;
    padding: 8px 10px;
    backdrop-filter: blur(12px);
}

.type-badge {
    top: 12px;
    right: 12px;
    background: rgba(245, 158, 11, 0.94);
}

.year-badge {
    left: 12px;
    bottom: 12px;
    background: rgba(0, 0, 0, 0.68);
}

.rank-badge {
    left: 12px;
    top: 12px;
    min-width: 34px;
    text-align: center;
    background: linear-gradient(135deg, var(--red-500), var(--pink-500));
}

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

.movie-card h2 {
    margin: 0 0 10px;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 800;
}

.movie-card h2 a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.2s ease;
}

.movie-card:hover h2 a {
    color: var(--amber-600);
}

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

.movie-meta-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #6b7280;
    font-size: 12px;
}

.movie-meta-line span:first-child {
    max-width: 50%;
    overflow: hidden;
    border-radius: 999px;
    padding: 6px 10px;
    color: #b45309;
    background: #fffbeb;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.movie-meta-line span:last-child {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.category-panel,
.rank-panel,
.filter-panel,
.detail-card,
.related-panel,
.category-overview-card a,
.player-card {
    border: 1px solid rgba(251, 191, 36, 0.22);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--soft-shadow);
}

.category-panel,
.rank-panel {
    padding: 34px;
}

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

.category-tile,
.category-overview-card a {
    display: block;
    min-height: 150px;
    padding: 22px;
    border-radius: 20px;
    background: linear-gradient(135deg, #fff7ed, #ffffff 58%, #fff1f2);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-tile span,
.category-overview-card h2 {
    margin: 0 0 10px;
    color: #92400e;
    font-size: 22px;
    font-weight: 900;
}

.category-tile p,
.category-overview-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.compact-grid,
.compact-list {
    display: grid;
    gap: 14px;
}

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

.compact-card {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 10px;
    border-radius: 16px;
    background: rgba(255, 247, 237, 0.72);
    transition: background 0.2s ease, transform 0.2s ease;
}

.compact-card:hover {
    background: #fff7ed;
    transform: translateX(3px);
}

.compact-card img {
    width: 96px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 12px;
    object-fit: cover;
    background: var(--amber-100);
}

.compact-card span {
    min-width: 0;
}

.compact-card strong {
    display: block;
    overflow: hidden;
    color: var(--text);
    font-size: 14px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.compact-card em {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
}

.page-shell {
    padding: 44px 0 72px;
}

.page-hero {
    margin-bottom: 28px;
    padding: 44px;
    border-radius: 30px;
    color: #fff;
    background:
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.22), transparent 22%),
        linear-gradient(135deg, #f59e0b, #f97316 50%, #ea580c);
    box-shadow: var(--shadow);
}

.page-hero h1 {
    margin: 10px 0 12px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.page-hero p {
    max-width: 780px;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.8;
    font-size: 17px;
}

.small-hero .section-kicker {
    color: #fff7ed;
}

.rank-hero {
    background:
        radial-gradient(circle at 78% 20%, rgba(255, 255, 255, 0.22), transparent 24%),
        linear-gradient(135deg, #ef4444, #f97316 55%, #f59e0b);
}

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

.category-overview-card {
    list-style: none;
}

.preview-title-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0;
}

.preview-title-list span {
    max-width: 100%;
    overflow: hidden;
    border-radius: 999px;
    padding: 6px 10px;
    color: #92400e;
    font-size: 12px;
    background: #fff7ed;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.category-overview-card strong {
    color: var(--amber-600);
}

.filter-panel {
    display: grid;
    gap: 16px;
    margin-bottom: 28px;
    padding: 22px;
}

.filter-panel label,
.search-page-form label {
    color: #374151;
    font-weight: 800;
}

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

.filter-chip {
    border: 0;
    border-radius: 999px;
    padding: 9px 16px;
    color: #92400e;
    font-weight: 750;
    background: #fffbeb;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.filter-chip:hover,
.filter-chip.is-active {
    color: #fff;
    background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
    transform: translateY(-1px);
}

.page-grid {
    align-items: start;
}

.empty-state {
    display: none;
    margin: 36px 0 0;
    padding: 38px;
    border-radius: 24px;
    color: var(--muted);
    text-align: center;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--soft-shadow);
}

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

.search-page-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: end;
}

.search-page-form label {
    grid-column: 1 / -1;
}

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

.breadcrumb a {
    color: var(--amber-600);
    font-weight: 700;
}

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

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

.player-card {
    overflow: hidden;
    padding: 0;
    background: #000;
}

.player-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.player-frame video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 0;
    color: #fff;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.22));
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-overlay span {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    padding-left: 5px;
    color: #fff;
    font-size: 32px;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    transition: transform 0.22s ease;
}

.player-overlay:hover span {
    transform: scale(1.08);
}

.detail-card,
.related-panel {
    padding: 28px;
}

.detail-card h1 {
    margin: 0 0 18px;
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid #f3d3a6;
}

.detail-meta span {
    color: #92400e;
    background: #fffbeb;
}

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

.detail-card h2,
.related-panel h2 {
    margin: 0 0 12px;
    font-size: 22px;
    font-weight: 900;
}

.detail-card p {
    margin: 0;
    color: #4b5563;
    line-height: 1.9;
    white-space: pre-line;
}

.lead-text {
    color: #374151;
    font-weight: 700;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-cloud a {
    border-radius: 999px;
    padding: 9px 14px;
    color: #b45309;
    font-weight: 750;
    background: #fffbeb;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.tag-cloud a:hover,
.tag-cloud .featured-tag {
    color: #fff;
    background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
    transform: translateY(-1px);
}

.review-box {
    border-radius: 22px;
    padding: 24px;
    background: linear-gradient(135deg, #fff7ed, #ffffff);
}

.related-panel {
    position: sticky;
    top: 88px;
}

.more-like-this {
    width: 100%;
    padding-top: 56px;
}

.site-footer {
    margin-top: 36px;
    border-top: 1px solid rgba(251, 191, 36, 0.24);
    background: linear-gradient(135deg, rgba(255, 247, 237, 0.98), rgba(255, 251, 235, 0.98));
}

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

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

.footer-brand-line {
    pointer-events: none;
}

.footer-column {
    display: grid;
    gap: 10px;
    align-content: start;
}

.footer-column h2 {
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 900;
}

.footer-column a {
    color: var(--muted);
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: var(--amber-600);
}

.footer-bottom {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 26px;
    border-top: 1px solid rgba(251, 191, 36, 0.20);
    color: var(--muted);
    text-align: center;
    font-size: 14px;
}

@media (max-width: 1100px) {
    .site-search {
        display: none;
    }

    .mobile-search {
        display: flex;
    }

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

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

    .related-panel {
        position: static;
    }
}

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

    .mobile-menu-button {
        display: block;
    }

    .hero-carousel {
        min-height: 560px;
        height: 78vh;
    }

    .hero-content {
        align-items: center;
        text-align: center;
    }

    .hero-tags,
    .hero-actions {
        justify-content: center;
    }

    .hero-arrow {
        display: none;
    }

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

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

@media (max-width: 620px) {
    .nav-shell,
    .section-shell,
    .page-shell,
    .footer-shell,
    .footer-bottom {
        width: min(100% - 24px, 1180px);
    }

    .brand-name {
        font-size: 18px;
    }

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

    .hero-title {
        font-size: 40px;
    }

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

    .movie-grid,
    .category-grid,
    .category-overview-grid,
    .compact-grid,
    .footer-shell {
        grid-template-columns: 1fr;
    }

    .category-panel,
    .rank-panel,
    .page-hero,
    .detail-card,
    .related-panel,
    .filter-panel {
        padding: 22px;
        border-radius: 22px;
    }

    .movie-poster {
        height: 230px;
    }

    .search-page-form {
        grid-template-columns: 1fr;
    }
}
