:root {
    --pink-50: #fff1f7;
    --pink-100: #ffe4ef;
    --pink-400: #f472b6;
    --pink-500: #ec4899;
    --pink-600: #db2777;
    --orange-50: #fff7ed;
    --orange-300: #fdba74;
    --orange-400: #fb923c;
    --orange-500: #f97316;
    --yellow-300: #fde047;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --shadow-md: 0 10px 28px rgba(236, 72, 153, 0.12);
    --shadow-xl: 0 18px 48px rgba(17, 24, 39, 0.16);
    --radius-xl: 1.25rem;
    --radius-2xl: 1.6rem;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--gray-800);
    background: linear-gradient(180deg, var(--orange-50) 0%, var(--pink-50) 38%, var(--orange-50) 100%);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

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

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

button,
input,
select {
    font: inherit;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(90deg, rgba(255, 241, 247, 0.96), rgba(255, 247, 237, 0.96));
    box-shadow: 0 8px 24px rgba(236, 72, 153, 0.12);
    backdrop-filter: blur(14px);
}

.site-header-inner {
    max-width: var(--container);
    margin: 0 auto;
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 20px;
}

.site-logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: var(--gray-900);
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(135deg, var(--pink-500), var(--orange-500));
    box-shadow: 0 8px 18px rgba(236, 72, 153, 0.28);
}

.logo-text {
    font-size: 1.32rem;
    background: linear-gradient(90deg, var(--pink-500), var(--orange-500));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    color: var(--gray-700);
    font-weight: 650;
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--pink-500);
}

.header-search,
.mobile-search,
.search-page-form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-search input,
.mobile-search input,
.search-page-form input,
.filter-panel input,
.filter-panel select {
    border: 1px solid rgba(244, 114, 182, 0.35);
    border-radius: 999px;
    background: var(--white);
    color: var(--gray-800);
    outline: none;
    padding: 10px 14px;
    min-width: 0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input:focus,
.mobile-search input:focus,
.search-page-form input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--pink-400);
    box-shadow: 0 0 0 4px rgba(244, 114, 182, 0.18);
}

.header-search button,
.mobile-search button,
.search-page-form button,
.primary-button {
    border: 0;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(90deg, var(--pink-500), var(--orange-500));
    padding: 10px 18px;
    font-weight: 750;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(236, 72, 153, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-search button:hover,
.mobile-search button:hover,
.search-page-form button:hover,
.primary-button:hover,
.ghost-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(236, 72, 153, 0.28);
}

.mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: rgba(244, 114, 182, 0.12);
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    border-radius: 999px;
    background: var(--pink-600);
}

.mobile-menu {
    display: none;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px 18px;
}

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

.mobile-menu nav {
    display: grid;
    gap: 8px;
    margin-bottom: 12px;
}

.mobile-menu nav a {
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--gray-700);
    background: rgba(255, 255, 255, 0.68);
}

.hero-slider {
    position: relative;
    overflow: hidden;
    min-height: 650px;
    background: linear-gradient(120deg, var(--pink-400), var(--orange-300), var(--yellow-300));
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.22;
    background-image: radial-gradient(circle at 20px 20px, rgba(255, 255, 255, 0.85) 0 2px, transparent 2px);
    background-size: 42px 42px;
}

.hero-slides {
    position: relative;
    z-index: 1;
    min-height: 650px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.01);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.18;
    filter: blur(4px) saturate(120%);
    transform: scale(1.04);
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(236, 72, 153, 0.82), rgba(249, 115, 22, 0.72), rgba(253, 224, 71, 0.66));
}

.hero-content {
    position: relative;
    max-width: var(--container);
    margin: 0 auto;
    min-height: 650px;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    align-items: center;
    gap: 50px;
    padding: 78px 20px 118px;
}

.hero-copy {
    color: var(--white);
    text-shadow: 0 3px 16px rgba(17, 24, 39, 0.22);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    color: var(--white);
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 0.88rem;
    font-weight: 750;
    backdrop-filter: blur(10px);
}

.hero-copy h1 {
    margin: 18px 0 16px;
    font-size: clamp(2.4rem, 6vw, 5.8rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.hero-copy p {
    max-width: 680px;
    margin: 0;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    color: rgba(255, 255, 255, 0.92);
}

.hero-tags,
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.tag {
    display: inline-flex;
    border-radius: 999px;
    padding: 6px 11px;
    color: #7c2d12;
    background: rgba(255, 255, 255, 0.72);
    font-size: 0.84rem;
    font-weight: 700;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 30px;
}

.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 999px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.13);
    padding: 10px 18px;
    font-weight: 750;
    backdrop-filter: blur(10px);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-poster {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border-radius: 30px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.08));
    box-shadow: 0 32px 72px rgba(17, 24, 39, 0.28);
    transform: rotate(2deg);
}

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

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

.poster-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.86);
    background: linear-gradient(145deg, var(--pink-500), var(--orange-500));
    font-size: 4rem;
    font-weight: 900;
    z-index: 0;
}

img.is-missing {
    opacity: 0;
}

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

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

.hero-dot.active {
    width: 34px;
    background: var(--white);
}

.hero-category-strip {
    position: absolute;
    left: 50%;
    bottom: 22px;
    z-index: 3;
    display: flex;
    max-width: calc(var(--container) - 40px);
    width: max-content;
    max-width: 90%;
    overflow-x: auto;
    gap: 10px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(14px);
    transform: translateX(-50%);
}

.hero-category-strip a {
    flex: 0 0 auto;
    border-radius: 999px;
    padding: 8px 13px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.16);
    font-size: 0.9rem;
    font-weight: 750;
}

.content-section {
    max-width: var(--container);
    margin: 0 auto;
    padding: 64px 20px;
}

.soft-panel {
    max-width: none;
    padding-left: max(20px, calc((100% - var(--container)) / 2 + 20px));
    padding-right: max(20px, calc((100% - var(--container)) / 2 + 20px));
    background: rgba(255, 255, 255, 0.45);
}

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

.section-heading.tight {
    margin-bottom: 16px;
}

.section-heading h2 {
    margin: 0;
    color: var(--gray-800);
    font-size: clamp(1.6rem, 3vw, 2.35rem);
    line-height: 1.15;
}

.section-heading p {
    margin: 8px 0 0;
    color: var(--gray-600);
}

.section-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--pink-600);
    font-weight: 800;
}

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

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

.movie-card {
    overflow: hidden;
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow-md);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.poster-link,
.poster-shell {
    position: relative;
    display: block;
}

.poster-shell {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: linear-gradient(145deg, var(--pink-400), var(--orange-400));
}

.poster-shell img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.2s ease;
}

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

.card-category,
.rank-badge {
    position: absolute;
    z-index: 2;
    top: 10px;
    border-radius: 999px;
    padding: 5px 9px;
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 800;
}

.card-category {
    right: 10px;
    background: rgba(236, 72, 153, 0.92);
}

.rank-badge {
    left: 10px;
    background: rgba(17, 24, 39, 0.82);
}

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

.movie-card-body h3 {
    margin: 0 0 8px;
    color: var(--gray-800);
    font-size: 1.05rem;
    line-height: 1.28;
}

.movie-card-body h3 a:hover {
    color: var(--pink-600);
}

.movie-card-body p {
    display: -webkit-box;
    min-height: 42px;
    margin: 0 0 12px;
    overflow: hidden;
    color: var(--gray-600);
    font-size: 0.92rem;
    line-height: 1.55;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: var(--gray-500);
    font-size: 0.82rem;
}

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

.category-tile,
.category-overview-card {
    display: flex;
    flex-direction: column;
    gap: 9px;
    min-height: 142px;
    padding: 22px;
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(255, 241, 247, 0.72));
    box-shadow: var(--shadow-md);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-tile span,
.category-overview-card h2 {
    color: var(--gray-800);
    font-size: 1.2rem;
    font-weight: 900;
}

.category-tile small,
.category-overview-card p {
    color: var(--gray-600);
    line-height: 1.58;
}

.category-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    color: var(--white);
    background: linear-gradient(135deg, var(--pink-500), var(--orange-500));
    font-weight: 900;
}

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

.ranking-panel,
.text-panel,
.detail-info-card,
.player-card,
.filter-panel {
    border-radius: var(--radius-2xl);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-xl);
}

.ranking-panel {
    position: sticky;
    top: 92px;
    padding: 24px;
}

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

.ranking-list a {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 14px;
    background: linear-gradient(90deg, var(--pink-50), var(--orange-50));
}

.rank-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    color: var(--white);
    background: var(--pink-500);
    font-weight: 900;
}

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

.rank-score {
    color: var(--orange-500);
    font-weight: 900;
}

.page-hero {
    background: linear-gradient(120deg, var(--pink-400), var(--orange-400));
    color: var(--white);
}

.page-hero-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 78px 20px;
    text-align: center;
}

.page-hero h1 {
    margin: 18px 0 12px;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.1;
}

.page-hero p {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.12rem;
    line-height: 1.8;
}

.breadcrumb {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.95rem;
}

.breadcrumb a:hover {
    color: var(--white);
    text-decoration: underline;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(220px, 1.2fr) repeat(3, minmax(150px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
    padding: 20px;
}

.filter-panel label {
    display: block;
    margin: 0 0 8px;
    color: var(--gray-700);
    font-weight: 800;
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    border-radius: 14px;
}

.empty-state {
    margin-top: 24px;
    padding: 36px;
    border-radius: 20px;
    color: var(--gray-600);
    background: rgba(255, 255, 255, 0.72);
    text-align: center;
    font-weight: 750;
}

.detail-page {
    max-width: var(--container);
    margin: 0 auto;
    padding: 28px 20px 68px;
}

.detail-breadcrumb {
    justify-content: flex-start;
    color: var(--gray-600);
    margin: 0 0 22px;
}

.detail-breadcrumb a:hover {
    color: var(--pink-600);
}

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

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

.movie-player {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: var(--radius-2xl);
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 0;
    color: var(--white);
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.2), rgba(17, 24, 39, 0.72));
    cursor: pointer;
}

.player-overlay.hidden {
    display: none;
}

.play-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    border-radius: 999px;
    color: var(--pink-600);
    background: var(--white);
    font-size: 2rem;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.player-status {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 4;
    border-radius: 999px;
    color: var(--white);
    background: rgba(17, 24, 39, 0.72);
    padding: 8px 12px;
    font-size: 0.9rem;
}

.detail-info-card {
    display: grid;
    grid-template-columns: 145px minmax(0, 1fr);
    gap: 18px;
    padding: 20px;
}

.detail-cover {
    position: relative;
    overflow: hidden;
    min-height: 220px;
    border-radius: 20px;
    background: linear-gradient(145deg, var(--pink-500), var(--orange-500));
}

.detail-cover img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-info .eyebrow {
    color: var(--pink-700, #be185d);
    background: var(--pink-50);
    border-color: var(--pink-100);
    text-shadow: none;
}

.detail-info h1 {
    margin: 16px 0 10px;
    color: var(--gray-900);
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.12;
}

.one-line {
    color: var(--gray-600);
    line-height: 1.7;
}

.detail-tags .tag {
    background: var(--orange-50);
}

.movie-meta-list {
    display: grid;
    gap: 10px;
    margin: 20px 0 0;
}

.movie-meta-list div {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px;
}

.movie-meta-list dt {
    color: var(--gray-500);
    font-weight: 750;
}

.movie-meta-list dd {
    margin: 0;
    color: var(--gray-800);
    font-weight: 700;
}

.detail-text-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-top: 30px;
}

.text-panel {
    padding: 30px;
}

.text-panel h2 {
    margin: 0 0 14px;
    color: var(--gray-900);
    font-size: 1.5rem;
}

.text-panel p {
    margin: 0 0 16px;
    color: var(--gray-700);
    line-height: 1.9;
}

.related-section {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
}

.search-page-form {
    max-width: 680px;
    margin: 28px auto 0;
    padding: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(12px);
}

.search-page-form input {
    flex: 1;
    width: 100%;
}

.narrow-section {
    max-width: 880px;
}

.site-footer {
    color: var(--gray-600);
    background: linear-gradient(180deg, rgba(255, 241, 247, 0.78), rgba(255, 247, 237, 0.96));
    border-top: 1px solid rgba(244, 114, 182, 0.2);
}

.footer-grid {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
    gap: 34px;
    padding: 44px 20px;
}

.footer-grid h3 {
    margin: 0 0 14px;
    color: var(--gray-800);
}

.footer-grid p {
    line-height: 1.8;
}

.footer-links {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links a:hover {
    color: var(--pink-600);
}

.footer-bottom {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 20px 28px;
    border-top: 1px solid rgba(244, 114, 182, 0.18);
    font-size: 0.92rem;
}

@media (max-width: 1024px) {
    .desktop-nav,
    .header-search {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-content,
    .detail-layout,
    .two-column-section {
        grid-template-columns: 1fr;
    }

    .hero-content {
        gap: 34px;
        padding-bottom: 140px;
    }

    .hero-poster {
        max-width: 320px;
        margin: 0 auto;
    }

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

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

    .ranking-panel {
        position: static;
    }

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

@media (max-width: 720px) {
    .site-header-inner {
        min-height: 62px;
    }

    .logo-text {
        font-size: 1.08rem;
    }

    .hero-slider,
    .hero-slides,
    .hero-content {
        min-height: 720px;
    }

    .hero-content {
        padding-top: 54px;
        text-align: center;
    }

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

    .hero-category-strip {
        width: calc(100% - 28px);
        max-width: none;
        border-radius: 20px;
    }

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

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

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

    .filter-panel,
    .detail-text-grid,
    .detail-info-card,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .detail-cover {
        max-width: 240px;
    }

    .search-page-form {
        border-radius: 24px;
        flex-direction: column;
    }

    .search-page-form button {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

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

    .hero-copy h1 {
        font-size: 2.45rem;
    }
}
