/*
Static movie site styles.
This file extends the uploaded Tailwind-style CSS with readable custom layout rules.
*/

:root {
    --site-bg: #fff7ed;
    --site-card: #ffffff;
    --site-ink: #111827;
    --site-muted: #6b7280;
    --site-orange: #f97316;
    --site-deep-orange: #ea580c;
    --site-red: #ef4444;
    --site-border: #fed7aa;
    --site-shadow: 0 18px 40px rgba(124, 45, 18, 0.14);
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(circle at top left, rgba(251, 146, 60, 0.22), transparent 28rem),
        linear-gradient(180deg, #fff7ed 0%, #fffaf0 42%, #fff7ed 100%);
    color: var(--site-ink);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 4.5rem;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    color: var(--site-ink);
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--site-orange), var(--site-red));
    box-shadow: 0 12px 26px rgba(249, 115, 22, 0.35);
}

.logo-text {
    font-size: 1.35rem;
    letter-spacing: -0.02em;
}

.desktop-nav {
    display: none;
    align-items: center;
    gap: 0.35rem;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 2.4rem;
    padding: 0 0.95rem;
    border-radius: 999px;
    color: #374151;
    font-weight: 650;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link-active {
    color: var(--site-deep-orange);
    background: #fff7ed;
    transform: translateY(-1px);
}

.mobile-menu-button {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.28rem;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 0.9rem;
    background: #fff7ed;
}

.mobile-menu-button span {
    display: block;
    width: 1.25rem;
    height: 2px;
    margin: 0 auto;
    background: #9a3412;
    border-radius: 999px;
}

.mobile-nav {
    display: none;
    padding: 0 0 1rem;
}

.mobile-nav.is-open {
    display: grid;
    gap: 0.45rem;
}

.mobile-category-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.mobile-category-links a {
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: #ffedd5;
    color: #9a3412;
    font-size: 0.92rem;
}

.hero-slider {
    position: relative;
    min-height: 39rem;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(135deg, #fb923c, #ef4444);
}

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

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

.hero-image-layer {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-image-layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.08) contrast(1.05);
    transform: scale(1.04);
}

.hero-image-layer img.is-missing,
.movie-cover.is-missing,
.detail-poster img.is-missing,
.detail-backdrop img.is-missing,
.hero-poster img.is-missing,
.category-preview-images img.is-missing {
    opacity: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(124, 45, 18, 0.88) 0%, rgba(124, 45, 18, 0.62) 40%, rgba(15, 23, 42, 0.36) 100%),
        linear-gradient(0deg, rgba(17, 24, 39, 0.46), transparent 42%);
}

.hero-content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    min-height: 39rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.hero-copy {
    max-width: 45rem;
}

.eyebrow,
.eyebrow-dark {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.eyebrow {
    color: #ffedd5;
}

.eyebrow-dark {
    color: var(--site-deep-orange);
}

.hero-copy h1,
.page-hero h1,
.detail-copy h1 {
    font-size: clamp(2.35rem, 7vw, 5.25rem);
    line-height: 0.98;
    font-weight: 900;
    letter-spacing: -0.055em;
    text-wrap: balance;
}

.hero-summary {
    max-width: 42rem;
    margin-top: 1.3rem;
    color: #fff7ed;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    line-height: 1.7;
}

.hero-tags,
.detail-tags,
.tag-row,
.genre-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.hero-tags {
    margin-top: 1.35rem;
}

.hero-tags span,
.detail-tags span {
    display: inline-flex;
    padding: 0.45rem 0.78rem;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
}

.hero-actions,
.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.8rem;
}

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

.primary-button {
    color: #ffffff;
    background: linear-gradient(135deg, var(--site-orange), var(--site-red));
    box-shadow: 0 14px 28px rgba(249, 115, 22, 0.38);
}

.ghost-button {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(12px);
}

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

.hero-poster {
    display: none;
    position: relative;
    max-width: 22rem;
    margin-left: auto;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(17, 24, 39, 0.35);
    background: linear-gradient(135deg, #fed7aa, #fb923c);
}

.hero-poster img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.hero-poster span {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.7);
    color: #ffffff;
    font-weight: 800;
}

.hero-controls {
    position: absolute;
    left: 50%;
    bottom: 1.8rem;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    transform: translateX(-50%);
    padding: 0.45rem;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.32);
    backdrop-filter: blur(16px);
}

.hero-controls button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.hero-controls > button {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 999px;
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.16);
}

.hero-dots {
    display: flex;
    gap: 0.45rem;
}

.hero-dot {
    width: 0.62rem;
    height: 0.62rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.48);
}

.hero-dot.is-active {
    width: 1.8rem;
    background: #ffffff;
}

.stats-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: -2rem;
    position: relative;
    z-index: 4;
}

.stats-strip div {
    display: grid;
    gap: 0.18rem;
    padding: 1.25rem;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--site-shadow);
}

.stats-strip strong {
    color: var(--site-deep-orange);
    font-size: 1.6rem;
    line-height: 1;
}

.stats-strip span {
    color: var(--site-muted);
    font-weight: 650;
}

.section-block {
    margin-top: 3.5rem;
}

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

.section-heading h2,
.search-panel h2 {
    color: var(--site-ink);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: -0.035em;
}

.section-heading a {
    flex: none;
    color: var(--site-deep-orange);
    font-weight: 800;
}

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

.movie-card {
    overflow: hidden;
    border-radius: 1.15rem;
    background: var(--site-card);
    box-shadow: 0 12px 30px rgba(124, 45, 18, 0.09);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 24px 55px rgba(124, 45, 18, 0.16);
}

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

.movie-cover-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.5), transparent 42%),
        linear-gradient(135deg, #fed7aa, #fb923c 50%, #ef4444);
}

.movie-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease, opacity 0.25s ease;
}

.movie-card:hover .movie-cover {
    transform: scale(1.055);
}

.movie-cover-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(17, 24, 39, 0.74));
}

.play-float {
    position: absolute;
    left: 50%;
    top: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(249, 115, 22, 0.9);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.88);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.movie-card:hover .play-float {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.movie-score,
.rank-badge {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.8rem;
    padding: 0 0.65rem;
    border-radius: 999px;
    color: #ffffff;
    font-weight: 900;
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(10px);
}

.movie-score {
    right: 0.75rem;
    top: 0.75rem;
}

.rank-badge {
    left: 0.75rem;
    top: 0.75rem;
    background: linear-gradient(135deg, #f97316, #ef4444);
}

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

.movie-card-body h3 {
    display: -webkit-box;
    overflow: hidden;
    min-height: 2.6rem;
    color: var(--site-ink);
    font-size: 1.05rem;
    font-weight: 850;
    line-height: 1.25;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-meta {
    margin-top: 0.45rem;
    color: var(--site-muted);
    font-size: 0.88rem;
}

.movie-desc {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 0.65rem;
    color: #4b5563;
    font-size: 0.93rem;
    line-height: 1.55;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.tag-row {
    margin-top: 0.8rem;
}

.tag-row span,
.genre-list span {
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    color: #9a3412;
    background: #ffedd5;
    font-size: 0.78rem;
    font-weight: 700;
}

.movie-card-compact .movie-cover-wrap {
    aspect-ratio: 16 / 10;
}

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

.category-chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 6rem;
    padding: 1.2rem;
    border-radius: 1.2rem;
    background: linear-gradient(135deg, #ffffff, #fff7ed);
    border: 1px solid rgba(251, 146, 60, 0.22);
    box-shadow: 0 14px 32px rgba(124, 45, 18, 0.09);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-chip:hover {
    transform: translateY(-0.2rem);
    box-shadow: var(--site-shadow);
}

.category-chip span {
    font-size: 1.15rem;
    font-weight: 900;
}

.category-chip strong {
    color: var(--site-deep-orange);
    font-size: 1.55rem;
}

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

.ranking-panel,
.search-panel,
.player-card,
.detail-article,
.detail-info-card,
.table-wrap {
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--site-shadow);
}

.ranking-panel {
    padding: 1.25rem;
    align-self: start;
}

.compact-heading {
    margin-bottom: 0.8rem;
}

.ranking-list {
    display: grid;
    gap: 0.5rem;
}

.ranking-line {
    display: grid;
    grid-template-columns: 2.25rem 1fr;
    gap: 0.7rem;
    align-items: center;
    padding: 0.75rem;
    border-radius: 0.9rem;
    background: #fff7ed;
}

.ranking-line span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    color: #ffffff;
    background: var(--site-orange);
    font-weight: 900;
}

.ranking-line strong {
    display: block;
    overflow: hidden;
    color: var(--site-ink);
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ranking-line em {
    display: block;
    color: var(--site-muted);
    font-size: 0.85rem;
    font-style: normal;
}

.search-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.25rem;
    margin-top: 2.5rem;
}

.filter-controls {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.filter-input,
.filter-select {
    width: 100%;
    min-height: 3rem;
    padding: 0 1rem;
    border: 1px solid var(--site-border);
    border-radius: 999px;
    background: #ffffff;
    color: var(--site-ink);
    outline: none;
}

.filter-input:focus,
.filter-select:focus {
    border-color: var(--site-orange);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.13);
}

.page-main {
    min-height: 70vh;
}

.page-hero {
    padding: 5rem 0;
    color: #ffffff;
    background:
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.2), transparent 20rem),
        linear-gradient(135deg, #fb923c, #ef4444);
}

.page-hero p:not(.eyebrow) {
    max-width: 47rem;
    margin-top: 1rem;
    color: #fff7ed;
    font-size: 1.12rem;
    line-height: 1.7;
}

.page-actions .ghost-button {
    color: #ffffff;
}

.category-overview-card {
    overflow: hidden;
    border-radius: 1.35rem;
    background: #ffffff;
    box-shadow: var(--site-shadow);
}

.category-preview-images {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.25rem;
    min-height: 9rem;
    background: linear-gradient(135deg, #fed7aa, #fb923c);
}

.category-preview-images img {
    width: 100%;
    height: 100%;
    min-height: 9rem;
    object-fit: cover;
}

.category-overview-body {
    padding: 1.2rem;
}

.category-overview-body h2 {
    color: var(--site-ink);
    font-size: 1.45rem;
    font-weight: 900;
}

.category-overview-body p:not(.eyebrow-dark) {
    margin-top: 0.55rem;
    color: var(--site-muted);
    line-height: 1.65;
}

.table-wrap {
    overflow-x: auto;
    padding: 0.75rem;
}

.ranking-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 48rem;
}

.ranking-table th,
.ranking-table td {
    padding: 0.9rem 0.8rem;
    border-bottom: 1px solid #ffedd5;
    text-align: left;
}

.ranking-table th {
    color: #9a3412;
    background: #fff7ed;
    font-size: 0.88rem;
}

.ranking-table a {
    color: var(--site-deep-orange);
    font-weight: 800;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: #111827;
}

.detail-backdrop {
    position: absolute;
    inset: 0;
}

.detail-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(8px) saturate(1.08);
    transform: scale(1.05);
}

.detail-backdrop-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(17, 24, 39, 0.88), rgba(124, 45, 18, 0.68)),
        linear-gradient(0deg, rgba(17, 24, 39, 0.72), transparent 45%);
}

.detail-hero-content {
    position: relative;
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 2rem;
    color: #fed7aa;
    font-size: 0.94rem;
}

.breadcrumb a:hover {
    color: #ffffff;
}

.detail-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: end;
}

.detail-poster {
    width: min(16rem, 70vw);
    overflow: hidden;
    border-radius: 1.4rem;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.32);
    background: linear-gradient(135deg, #fed7aa, #fb923c);
}

.detail-poster img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.detail-copy {
    max-width: 52rem;
}

.detail-one-line {
    margin-top: 1.1rem;
    color: #fff7ed;
    font-size: 1.12rem;
    line-height: 1.75;
}

.player-card {
    overflow: hidden;
    padding: 1rem;
}

.player-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.5rem 0.35rem 1rem;
}

.player-header h2 {
    color: var(--site-ink);
    font-size: clamp(1.35rem, 3vw, 2rem);
    font-weight: 900;
}

.player-header span {
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    color: #ffffff;
    background: #111827;
    font-weight: 900;
}

.video-shell {
    position: relative;
    overflow: hidden;
    border-radius: 1.1rem;
    aspect-ratio: 16 / 9;
    background: #111827;
}

.video-player {
    width: 100%;
    height: 100%;
    background: #111827;
}

.video-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    color: #ffffff;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.25), rgba(17, 24, 39, 0.62));
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.video-play-overlay span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--site-orange), var(--site-red));
    box-shadow: 0 16px 34px rgba(239, 68, 68, 0.4);
}

.video-shell.is-playing .video-play-overlay {
    opacity: 0;
    visibility: hidden;
}

.player-note {
    padding: 0.8rem 0.35rem 0.2rem;
    color: var(--site-muted);
}

.detail-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.detail-article,
.detail-info-card {
    padding: 1.35rem;
}

.detail-article h2,
.detail-info-card h2 {
    margin-bottom: 0.9rem;
    color: var(--site-ink);
    font-size: 1.45rem;
    font-weight: 900;
}

.detail-article h2:not(:first-child) {
    margin-top: 1.8rem;
}

.detail-article p {
    color: #374151;
    line-height: 1.88;
    white-space: pre-line;
}

.detail-info-card dl {
    display: grid;
    gap: 0.8rem;
}

.detail-info-card dl div {
    display: grid;
    grid-template-columns: 5rem 1fr;
    gap: 0.75rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #ffedd5;
}

.detail-info-card dt {
    color: var(--site-muted);
}

.detail-info-card dd {
    color: var(--site-ink);
    font-weight: 750;
}

.genre-list {
    margin-top: 1rem;
}

.related-grid {
    margin-bottom: 3rem;
}

.site-footer {
    margin-top: 4rem;
    padding: 3rem 0 1.4rem;
    color: #d1d5db;
    background: #111827;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.site-footer h3 {
    margin-bottom: 0.8rem;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 850;
}

.site-footer p,
.site-footer li {
    color: #d1d5db;
    line-height: 1.75;
}

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

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-top: 2rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #9ca3af;
}

.no-results {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 1rem;
    color: #9a3412;
    background: #ffedd5;
    font-weight: 800;
}

[hidden] {
    display: none !important;
}

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

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

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

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

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

    .hero-content {
        grid-template-columns: minmax(0, 1fr) 22rem;
    }

    .hero-poster {
        display: block;
    }

    .filter-controls {
        grid-template-columns: minmax(0, 1fr) 12rem 12rem;
    }

    .search-panel {
        grid-template-columns: 0.9fr 1.4fr;
        align-items: center;
        padding: 1.5rem;
    }

    .detail-layout {
        grid-template-columns: 17rem minmax(0, 1fr);
        gap: 2rem;
    }

    .detail-content-grid {
        grid-template-columns: minmax(0, 1fr) 22rem;
    }

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

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

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

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

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

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

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

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

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

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