:root {
    --primary-50: #e6f2ff;
    --primary-400: #1a8cff;
    --primary-500: #0073e6;
    --primary-600: #005bb3;
    --primary-700: #004380;
    --accent-50: #fff3e6;
    --accent-500: #e67300;
    --accent-700: #804000;
    --neutral-50: #f8f9fa;
    --neutral-100: #e9ecef;
    --neutral-200: #dee2e6;
    --neutral-300: #ced4da;
    --neutral-500: #6c757d;
    --neutral-600: #495057;
    --neutral-700: #343a40;
    --neutral-900: #0d0f12;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 30px rgba(0, 0, 0, 0.14);
    --radius: 0.5rem;
    --radius-lg: 1rem;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--neutral-50);
    color: var(--neutral-900);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Microsoft YaHei", sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

button,
input,
select {
    font: inherit;
}

button {
    border: 0;
    cursor: pointer;
}

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

img.is-missing {
    visibility: hidden;
}

.container-custom {
    width: 100%;
    max-width: 1536px;
    margin: 0 auto;
    padding: 0 1rem;
}

.site-main {
    padding-top: 4rem;
}

.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(222, 226, 230, 0.8);
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.site-header.is-scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.98);
}

.header-inner {
    height: 4rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    white-space: nowrap;
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary-500), var(--accent-500));
    color: var(--white);
    font-size: 0.85rem;
    box-shadow: var(--shadow-md);
}

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

.desktop-nav {
    display: none;
    align-items: center;
    gap: 1.25rem;
    margin-left: auto;
}

.nav-link {
    font-weight: 600;
    color: var(--neutral-700);
}

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

.header-search {
    display: none;
    align-items: center;
    gap: 0.5rem;
    margin-left: 0.5rem;
}

.header-search input,
.mobile-search input,
.hero-search input,
.search-page-panel input,
.filter-panel input,
.search-page-panel select,
.filter-panel select {
    width: 100%;
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--neutral-900);
    padding: 0.72rem 0.9rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input {
    width: 12rem;
    padding: 0.55rem 0.75rem;
}

.header-search input:focus,
.mobile-search input:focus,
.hero-search input:focus,
.search-page-panel input:focus,
.filter-panel input:focus,
.search-page-panel select:focus,
.filter-panel select:focus {
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(0, 115, 230, 0.12);
}

.header-search button,
.mobile-search button,
.hero-search button {
    border-radius: var(--radius);
    background: var(--primary-500);
    color: var(--white);
    padding: 0.58rem 0.9rem;
    font-weight: 700;
}

.header-search button:hover,
.mobile-search button:hover,
.hero-search button:hover,
.btn-primary:hover {
    background: var(--primary-600);
}

.mobile-toggle {
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.28rem;
    margin-left: auto;
    border-radius: var(--radius);
    background: var(--neutral-100);
}

.mobile-toggle span {
    width: 1.2rem;
    height: 2px;
    background: var(--neutral-700);
    border-radius: 2px;
}

.mobile-panel {
    display: none;
    border-top: 1px solid var(--neutral-200);
    background: var(--white);
}

.mobile-panel.is-open {
    display: block;
}

.mobile-nav {
    padding-top: 0.75rem;
    padding-bottom: 1rem;
    display: grid;
    gap: 0.5rem;
}

.mobile-link {
    display: block;
    padding: 0.8rem 1rem;
    border-radius: var(--radius);
    color: var(--neutral-700);
    font-weight: 700;
}

.mobile-link:hover,
.mobile-link.is-active {
    color: var(--primary-500);
    background: var(--primary-50);
}

.mobile-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.hero {
    position: relative;
    min-height: calc(70vh - 4rem);
    overflow: hidden;
    background: var(--neutral-900);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s ease;
}

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

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.18));
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 5rem;
    padding-bottom: 8rem;
}

.hero-copy {
    max-width: 52rem;
    color: var(--white);
}

.hero-site-name,
.eyebrow {
    margin: 0 0 0.8rem;
    color: var(--primary-400);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-tags,
.detail-meta,
.card-meta,
.tag-row,
.hero-actions,
.hero-category-links,
.breadcrumb,
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
}

.hero-tags span,
.pill,
.detail-meta span,
.tag-row span,
.detail-tags a {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.32rem 0.72rem;
    font-size: 0.82rem;
    font-weight: 700;
}

.hero-tags span,
.detail-meta span {
    background: rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.9);
}

.hero-tags span:first-child,
.pill.accent {
    background: var(--accent-500);
    color: var(--white);
}

.hero h1,
.hero h2 {
    margin: 0;
    font-size: clamp(2.1rem, 5vw, 4.8rem);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.hero-movie-title {
    margin-top: 0.4rem !important;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1.5rem, 3vw, 2.6rem) !important;
}

.hero p {
    max-width: 44rem;
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
}

.hero-actions {
    margin-top: 1.5rem;
}

.btn-primary,
.btn-ghost,
.section-more,
.category-enter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    font-weight: 800;
}

.btn-primary {
    background: var(--primary-500);
    color: var(--white);
    padding: 0.85rem 1.5rem;
    box-shadow: var(--shadow-md);
}

.btn-ghost {
    color: var(--white);
    background: rgba(255, 255, 255, 0.14);
    padding: 0.85rem 1.25rem;
    backdrop-filter: blur(4px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.24);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 2.5rem;
    height: 2.5rem;
    transform: translateY(-50%);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.5);
    color: var(--white);
    font-size: 2rem;
    line-height: 1;
}

.hero-arrow:hover {
    background: rgba(0, 0, 0, 0.72);
}

.hero-prev {
    left: 1rem;
}

.hero-next {
    right: 1rem;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 5.9rem;
    z-index: 3;
    display: flex;
    gap: 0.5rem;
    transform: translateX(-50%);
}

.hero-dots button {
    width: 0.58rem;
    height: 0.58rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    padding: 0;
    transition: width 0.2s ease, background-color 0.2s ease;
}

.hero-dots button.is-active {
    width: 2rem;
    background: var(--white);
}

.hero-search-panel {
    position: absolute;
    right: 0;
    bottom: 1.1rem;
    left: 0;
    z-index: 4;
}

.hero-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.6rem;
    max-width: 43rem;
    padding: 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
}

.hero-category-links {
    margin-top: 0.7rem;
}

.hero-category-links a {
    color: rgba(255, 255, 255, 0.86);
    border-radius: 999px;
    padding: 0.3rem 0.75rem;
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.86rem;
}

.hero-category-links a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.24);
}

.content-section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

.light-band {
    background: var(--white);
}

.gradient-band {
    background: linear-gradient(135deg, var(--primary-50), var(--accent-50));
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.section-heading h2 {
    margin: 0;
    color: var(--neutral-900);
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.2;
}

.section-heading p {
    margin: 0.35rem 0 0;
    color: var(--neutral-600);
}

.section-more,
.category-enter {
    color: var(--primary-600);
    background: var(--primary-50);
    padding: 0.55rem 0.9rem;
    white-space: nowrap;
}

.section-more:hover,
.category-enter:hover {
    color: var(--white);
    background: var(--primary-500);
}

.featured-grid,
.movie-grid,
.category-grid {
    display: grid;
    gap: 1rem;
}

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

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

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

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

.movie-card:hover,
.movie-list-card:hover,
.category-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.poster-frame,
.wide-poster,
.list-thumb {
    position: relative;
    overflow: hidden;
    background: var(--neutral-100);
}

.poster-frame {
    aspect-ratio: 3 / 4;
}

.wide-poster {
    aspect-ratio: 16 / 9;
}

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

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

.poster-year {
    position: absolute;
    top: 0.55rem;
    right: 0.55rem;
    border-radius: var(--radius);
    background: rgba(0, 0, 0, 0.72);
    color: var(--white);
    padding: 0.2rem 0.55rem;
    font-size: 0.75rem;
    font-weight: 800;
}

.poster-play {
    position: absolute;
    right: 0.65rem;
    bottom: 0.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 999px;
    color: var(--white);
    background: var(--primary-500);
    opacity: 0;
    transform: translateY(0.4rem);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card:hover .poster-play {
    opacity: 1;
    transform: translateY(0);
}

.movie-card-body {
    padding: 0.85rem;
}

.movie-card h3,
.movie-list-card h3,
.wide-copy h3 {
    margin: 0;
    color: var(--neutral-900);
    font-weight: 800;
}

.movie-card h3 {
    min-height: 2.6rem;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 1rem;
}

.movie-card p,
.movie-list-card p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: var(--neutral-600);
    margin: 0.55rem 0;
    font-size: 0.9rem;
}

.tag-row {
    margin: 0.4rem 0;
}

.tag-row span {
    background: var(--primary-50);
    color: var(--primary-700);
    padding: 0.2rem 0.5rem;
    font-size: 0.72rem;
}

.card-meta {
    color: var(--neutral-500);
    font-size: 0.8rem;
}

.card-meta.light {
    color: rgba(255, 255, 255, 0.9);
}

.wide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent 70%);
}

.wide-copy {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    color: var(--white);
}

.wide-copy h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-top: 0.55rem;
}

.wide-copy p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin: 0.45rem 0;
    color: rgba(255, 255, 255, 0.9);
}

.movie-list-card {
    display: grid;
    grid-template-columns: 7.5rem 1fr;
    color: inherit;
}

.list-thumb {
    min-height: 8.8rem;
}

.list-body {
    padding: 0.9rem;
}

.list-title-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.rank-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: var(--radius);
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-500), var(--accent-500));
    font-weight: 900;
    flex: 0 0 auto;
}

.list-title-row h3 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    font-size: 1rem;
}

.list-stack {
    display: grid;
    gap: 1rem;
}

.compact .movie-list-card {
    grid-template-columns: 6rem 1fr;
}

.compact .list-thumb {
    min-height: 7rem;
}

.two-column-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.tab-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 1.25rem;
}

.tab-button {
    border-radius: 999px;
    background: var(--neutral-100);
    color: var(--neutral-700);
    padding: 0.65rem 1rem;
    font-weight: 800;
}

.tab-button:hover,
.tab-button.is-active {
    background: var(--primary-500);
    color: var(--white);
}

.tab-panel {
    display: none;
}

.tab-panel.is-active {
    display: block;
}

.horizontal-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(11rem, 14rem);
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.65rem;
    scrollbar-width: none;
}

.horizontal-row::-webkit-scrollbar {
    display: none;
}

.inner-hero,
.detail-top {
    background: var(--neutral-900);
    color: var(--white);
}

.inner-hero {
    padding: 4rem 0 3.5rem;
    background-image: radial-gradient(circle at top left, rgba(0, 115, 230, 0.45), transparent 36%), linear-gradient(135deg, #0d0f12, #17212d 55%, #1c1208);
}

.inner-hero h1 {
    max-width: 58rem;
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.12;
}

.inner-hero p:not(.eyebrow) {
    max-width: 48rem;
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.05rem;
}

.breadcrumb {
    margin-top: 1.25rem;
    color: rgba(255, 255, 255, 0.76);
}

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

.category-card {
    padding: 0;
}

.category-card-main {
    display: block;
    padding: 1.25rem;
    background: linear-gradient(135deg, var(--white), var(--primary-50));
}

.category-kicker {
    color: var(--accent-500);
    font-weight: 900;
    font-size: 0.85rem;
}

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

.category-card p {
    color: var(--neutral-600);
    margin: 0 0 1rem;
}

.category-samples {
    margin: 0;
    padding: 1rem 1.25rem 1.25rem;
    list-style: none;
    display: grid;
    gap: 0.45rem;
    color: var(--neutral-600);
    font-size: 0.92rem;
}

.category-samples a:hover {
    color: var(--primary-500);
}

.filter-panel,
.search-page-panel {
    display: grid;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
}

.empty-state {
    display: none;
    text-align: center;
    padding: 3rem 1rem;
    color: var(--neutral-500);
    font-size: 1.1rem;
}

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

.detail-top {
    padding: 1.25rem 0;
}

.detail-top .breadcrumb {
    margin: 0;
}

.detail-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 2rem;
}

.cinema-player {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--neutral-900);
    box-shadow: var(--shadow-lg);
}

.cinema-player video {
    width: 100%;
    height: 100%;
    background: var(--neutral-900);
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    color: var(--white);
    background-size: cover;
    background-position: center;
    z-index: 2;
}

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

.player-overlay-shade {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.62);
}

.big-play,
.play-text {
    position: relative;
    z-index: 1;
}

.big-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    border-radius: 999px;
    background: var(--primary-500);
    box-shadow: var(--shadow-lg);
    font-size: 2rem;
}

.play-text {
    font-size: 1.1rem;
    font-weight: 900;
}

.player-controls {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.cinema-player:hover .player-controls,
.cinema-player.is-active .player-controls {
    opacity: 1;
    pointer-events: auto;
}

.player-controls button {
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.16);
    color: var(--white);
    padding: 0.5rem 0.8rem;
    font-weight: 800;
}

.player-controls button:hover {
    background: var(--primary-500);
}

.player-error {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 4;
    display: none;
    max-width: calc(100% - 2rem);
    border-radius: var(--radius);
    background: rgba(0, 0, 0, 0.72);
    color: var(--white);
    padding: 0.7rem 1rem;
}

.player-error.is-visible {
    display: block;
}

.detail-copy h1 {
    margin: 1.5rem 0 1rem;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    line-height: 1.2;
}

.detail-copy .detail-meta span {
    background: var(--primary-50);
    color: var(--primary-700);
}

.copy-block,
.info-card,
.article-card {
    margin-top: 1.25rem;
    padding: 1.25rem;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.copy-block h2,
.info-card h2,
.article-card h2 {
    margin: 0 0 0.75rem;
    font-size: 1.25rem;
}

.copy-block p,
.article-card p {
    margin: 0;
    color: var(--neutral-700);
    line-height: 1.8;
    white-space: pre-line;
}

.article-card + .article-card {
    margin-top: 1rem;
}

.detail-sidebar {
    align-self: start;
}

.info-card {
    position: sticky;
    top: 5.5rem;
    margin-top: 0;
}

.info-card dl {
    display: grid;
    gap: 0.75rem;
    margin: 0;
}

.info-card dl div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid var(--neutral-100);
    padding-bottom: 0.65rem;
}

.info-card dt {
    color: var(--neutral-500);
}

.info-card dd {
    margin: 0;
    color: var(--neutral-900);
    font-weight: 800;
    text-align: right;
}

.info-card a,
.detail-tags a {
    color: var(--primary-600);
}

.detail-tags {
    margin-top: 1rem;
}

.detail-tags a {
    background: var(--accent-50);
    color: var(--accent-700);
}

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

.prose-section {
    max-width: 960px;
}

@media (min-width: 640px) {
    .container-custom {
        padding-right: 1.5rem;
        padding-left: 1.5rem;
    }

    .site-main {
        padding-top: 5rem;
    }

    .header-inner {
        height: 5rem;
    }

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

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

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

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }

    .mobile-toggle {
        display: none;
    }

    .header-search {
        display: flex;
    }

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

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

    .search-page-panel {
        grid-template-columns: 1.3fr 0.8fr 0.8fr 0.8fr;
    }
}

@media (min-width: 1024px) {
    .container-custom {
        padding-right: 2rem;
        padding-left: 2rem;
    }

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

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

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

    .detail-layout {
        grid-template-columns: minmax(0, 2fr) minmax(18rem, 0.8fr);
    }
}

@media (min-width: 1280px) {
    .movie-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .hero {
        min-height: 72vh;
    }

    .hero-content {
        padding-bottom: 9rem;
    }

    .hero-arrow {
        display: none;
    }

    .hero-dots {
        bottom: 6.3rem;
    }

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

    .movie-list-card {
        grid-template-columns: 6.5rem 1fr;
    }

    .list-thumb {
        min-height: 8rem;
    }
}

@media (max-width: 480px) {
    .movie-grid {
        gap: 0.8rem;
    }

    .movie-card-body {
        padding: 0.72rem;
    }

    .movie-card h3 {
        font-size: 0.92rem;
    }

    .movie-card p {
        display: none;
    }

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