:root {
    --pink-50: #fff1f7;
    --pink-100: #ffe4ef;
    --pink-500: #ec4899;
    --pink-600: #db2777;
    --red-500: #ef4444;
    --orange-400: #fb923c;
    --orange-500: #f97316;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-950: #030712;
    --white: #ffffff;
    --shadow-soft: 0 18px 45px rgba(236, 72, 153, 0.12);
    --shadow-card: 0 12px 32px rgba(15, 23, 42, 0.08);
    --radius-xl: 24px;
    --radius-lg: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--gray-800);
    background: linear-gradient(180deg, #ffffff 0%, rgba(255, 241, 247, 0.72) 42%, #ffffff 100%);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    border: 0;
}

.container {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(244, 114, 182, 0.18);
    background: rgba(255, 247, 251, 0.9);
    backdrop-filter: blur(18px);
    box-shadow: 0 8px 30px rgba(236, 72, 153, 0.08);
}

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

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
}

.brand-mark {
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--pink-500), var(--red-500), var(--orange-500));
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(236, 72, 153, 0.28);
}

.brand-text {
    font-size: 22px;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, var(--pink-500), var(--red-500), var(--orange-500));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.nav-link {
    padding: 9px 15px;
    color: var(--gray-700);
    border-radius: 999px;
    transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--pink-600);
    background: rgba(244, 114, 182, 0.13);
}

.mobile-menu-button {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
}

.mobile-menu-button span {
    width: 21px;
    height: 2px;
    background: var(--pink-600);
    border-radius: 999px;
}

.mobile-nav {
    display: none;
    border-top: 1px solid rgba(244, 114, 182, 0.15);
}

.mobile-nav-inner {
    display: grid;
    gap: 10px;
    padding: 14px 0 18px;
}

.mobile-category-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--gray-500);
    font-size: 14px;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 56px 0 44px;
    background: radial-gradient(circle at top left, rgba(244, 114, 182, 0.42), transparent 34%),
                radial-gradient(circle at 85% 20%, rgba(251, 146, 60, 0.34), transparent 28%),
                linear-gradient(135deg, #fff1f7 0%, #fff7ed 54%, #ffffff 100%);
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: rgba(244, 114, 182, 0.18);
    animation: pulse 4s ease-in-out infinite;
}

.hero::before {
    width: 160px;
    height: 160px;
    left: 5%;
    top: 12%;
}

.hero::after {
    width: 230px;
    height: 230px;
    right: 8%;
    bottom: -80px;
    background: rgba(251, 146, 60, 0.18);
    animation-delay: 1.2s;
}

.hero-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 36px;
    align-items: center;
}

.hero-copy h1 {
    margin: 0 0 18px;
    font-size: clamp(42px, 7vw, 82px);
    line-height: 0.98;
    letter-spacing: -0.05em;
    background: linear-gradient(90deg, var(--pink-500), var(--red-500), var(--orange-500));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-copy p {
    max-width: 680px;
    margin: 0 0 24px;
    color: var(--gray-700);
    font-size: 19px;
}

.hero-tags,
.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-tags a,
.category-pills a,
.category-pills button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 16px;
    color: var(--gray-700);
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(244, 114, 182, 0.22);
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(236, 72, 153, 0.08);
    transition: all 0.2s ease;
}

.hero-tags a:hover,
.category-pills a:hover,
.category-pills button:hover,
.category-pills button.active {
    color: #ffffff;
    background: linear-gradient(90deg, var(--pink-500), var(--red-500));
    transform: translateY(-2px);
}

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

.btn-primary,
.btn-secondary,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    font-weight: 800;
    transition: all 0.2s ease;
}

.btn-primary {
    color: #ffffff;
    background: linear-gradient(90deg, var(--pink-500), var(--red-500), var(--orange-500));
    box-shadow: 0 18px 32px rgba(236, 72, 153, 0.24);
}

.btn-secondary {
    color: var(--pink-600);
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(236, 72, 153, 0.22);
}

.btn-ghost {
    color: var(--gray-700);
    background: var(--gray-100);
}

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

.hero-slider {
    position: relative;
    min-height: 470px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(135deg, #111827, #831843);
    border-radius: 34px;
    box-shadow: var(--shadow-soft);
    opacity: 0;
    transform: translateX(18px) scale(0.98);
    pointer-events: none;
    transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.hero-slide-media {
    position: relative;
    min-height: 300px;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.42), rgba(249, 115, 22, 0.3));
}

.hero-slide-media img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
}

.hero-slide-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(3, 7, 18, 0.05), rgba(3, 7, 18, 0.82));
}

.hero-slide-content {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 2;
    padding: 26px;
}

.hero-slide-content h2 {
    margin: 0 0 10px;
    font-size: 28px;
}

.hero-slide-content p {
    margin: 0 0 16px;
    color: rgba(255, 255, 255, 0.82);
}

.hero-slide-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 14px;
}

.hero-slide-meta span {
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    font-size: 13px;
}

.hero-dots {
    position: absolute;
    right: 22px;
    bottom: 22px;
    z-index: 4;
    display: flex;
    gap: 8px;
}

.hero-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.56);
}

.hero-dots button.active {
    width: 28px;
    background: #ffffff;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.stat-card {
    padding: 18px;
    border: 1px solid rgba(244, 114, 182, 0.2);
    background: rgba(255, 255, 255, 0.78);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 24px rgba(236, 72, 153, 0.07);
}

.stat-card strong {
    display: block;
    font-size: 28px;
    color: var(--pink-600);
}

.stat-card span {
    color: var(--gray-500);
    font-size: 14px;
}

.page-hero,
.category-hero {
    padding: 54px 0;
    background: linear-gradient(120deg, rgba(255, 228, 239, 0.92), rgba(255, 247, 237, 0.92));
}

.page-hero h1,
.category-hero h1 {
    margin: 0 0 12px;
    color: var(--gray-800);
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.05;
}

.page-hero p,
.category-hero p {
    max-width: 760px;
    color: var(--gray-600);
    font-size: 18px;
}

main section,
.section-block {
    padding: 48px 0;
}

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

.section-heading h2 {
    margin: 0;
    color: var(--gray-800);
    font-size: clamp(24px, 3.2vw, 36px);
}

.section-kicker {
    display: inline-flex;
    margin-bottom: 6px;
    color: var(--pink-600);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-more {
    flex-shrink: 0;
    color: var(--pink-600);
    font-weight: 800;
}

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

.movie-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(229, 231, 235, 0.9);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 45px rgba(236, 72, 153, 0.18);
}

.movie-cover {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.78), rgba(239, 68, 68, 0.62), rgba(249, 115, 22, 0.68));
}

.movie-cover::before {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
}

.cover-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

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

.cover-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(3, 7, 18, 0.82));
}

.play-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    color: var(--pink-500);
    background: rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
    transition: all 0.25s ease;
}

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

.rank-badge,
.duration-badge,
.type-badge {
    position: absolute;
    z-index: 3;
    padding: 5px 10px;
    color: #ffffff;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.rank-badge {
    top: 12px;
    left: 12px;
    background: linear-gradient(90deg, var(--pink-500), var(--red-500));
}

.duration-badge {
    right: 12px;
    bottom: 12px;
    background: rgba(3, 7, 18, 0.68);
}

.type-badge {
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.18);
}

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

.movie-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--gray-500);
    font-size: 13px;
}

.movie-meta-line a {
    color: var(--pink-600);
    font-weight: 800;
}

.movie-card h3 {
    display: -webkit-box;
    min-height: 52px;
    margin: 0 0 8px;
    overflow: hidden;
    color: var(--gray-800);
    font-size: 18px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

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

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

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag-list span {
    padding: 4px 8px;
    color: var(--gray-600);
    background: var(--gray-100);
    border-radius: 999px;
    font-size: 12px;
}

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

.category-card {
    position: relative;
    overflow: hidden;
    min-height: 190px;
    padding: 24px;
    border: 1px solid rgba(244, 114, 182, 0.18);
    background: linear-gradient(135deg, #ffffff, rgba(255, 241, 247, 0.92));
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease;
}

.category-card:hover {
    transform: translateY(-6px);
}

.category-card .emoji {
    display: block;
    margin-bottom: 18px;
    font-size: 38px;
}

.category-card h2,
.category-card h3 {
    margin: 0 0 8px;
}

.category-card p {
    margin: 0 0 16px;
    color: var(--gray-500);
}

.category-count {
    display: inline-flex;
    padding: 6px 12px;
    color: var(--pink-600);
    background: var(--pink-100);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 190px;
    gap: 14px;
    margin-bottom: 24px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(244, 114, 182, 0.18);
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 24px rgba(236, 72, 153, 0.06);
}

.search-field {
    position: relative;
}

.search-field span {
    position: absolute;
    top: 50%;
    left: 16px;
    color: var(--gray-500);
    transform: translateY(-50%);
}

.search-field input,
.filter-panel select {
    width: 100%;
    min-height: 48px;
    border: 1px solid rgba(244, 114, 182, 0.24);
    background: #ffffff;
    border-radius: 999px;
    outline: none;
}

.search-field input {
    padding: 0 18px 0 44px;
}

.filter-panel select {
    padding: 0 14px;
    color: var(--gray-700);
}

.empty-state {
    display: none;
    padding: 32px;
    color: var(--gray-500);
    text-align: center;
    background: #ffffff;
    border-radius: var(--radius-xl);
}

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

.ranking-row {
    display: grid;
    grid-template-columns: 70px 84px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 12px;
    background: #ffffff;
    border: 1px solid rgba(229, 231, 235, 0.82);
    border-radius: 20px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.ranking-number {
    color: var(--pink-600);
    font-size: 24px;
    font-weight: 900;
    text-align: center;
}

.ranking-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, var(--pink-500), var(--orange-400));
    border-radius: 14px;
}

.ranking-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ranking-row h3 {
    margin: 0 0 4px;
    font-size: 18px;
}

.ranking-row p {
    margin: 0;
    color: var(--gray-500);
}

.ranking-views {
    min-width: 110px;
    color: var(--gray-500);
    text-align: right;
    font-weight: 800;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 18px;
    color: var(--gray-500);
    font-size: 14px;
}

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

.detail-shell {
    padding: 34px 0 52px;
}

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

.player-card,
.detail-card,
.side-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(229, 231, 235, 0.82);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
}

.video-box {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #030712;
}

.video-box video {
    width: 100%;
    height: 100%;
    background: #030712;
}

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    place-items: center;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.12), rgba(3, 7, 18, 0.74));
    transition: opacity 0.25s ease;
}

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

.player-start {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    color: #ffffff;
    background: linear-gradient(90deg, var(--pink-500), var(--red-500));
    border-radius: 999px;
    box-shadow: 0 20px 42px rgba(236, 72, 153, 0.35);
    font-weight: 900;
}

.player-status {
    padding: 12px 16px;
    color: var(--gray-500);
    background: var(--gray-50);
    border-top: 1px solid rgba(229, 231, 235, 0.82);
    font-size: 14px;
}

.detail-card {
    padding: 24px;
    margin-top: 18px;
}

.detail-title {
    margin: 0 0 12px;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.08;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.detail-meta span,
.detail-meta a {
    padding: 6px 12px;
    color: var(--gray-600);
    background: var(--gray-100);
    border-radius: 999px;
    font-size: 14px;
}

.detail-meta a {
    color: var(--pink-600);
    background: var(--pink-100);
    font-weight: 800;
}

.detail-section {
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid var(--gray-100);
}

.detail-section h2 {
    margin: 0 0 10px;
    font-size: 22px;
}

.detail-section p {
    margin: 0;
    color: var(--gray-700);
    white-space: pre-line;
}

.side-card {
    padding: 18px;
    margin-bottom: 18px;
}

.side-card h2,
.side-card h3 {
    margin: 0 0 14px;
    font-size: 20px;
}

.poster-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--pink-500), var(--orange-400));
    border-radius: 22px;
}

.poster-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info-list {
    display: grid;
    gap: 10px;
    color: var(--gray-600);
    font-size: 14px;
}

.info-list strong {
    color: var(--gray-800);
}

.related-list {
    display: grid;
    gap: 12px;
}

.related-item {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.related-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, var(--pink-500), var(--orange-400));
    border-radius: 12px;
}

.related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-item h3 {
    display: -webkit-box;
    margin: 0 0 4px;
    overflow: hidden;
    font-size: 15px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.related-item p {
    margin: 0;
    color: var(--gray-500);
    font-size: 13px;
}

.site-footer {
    margin-top: 34px;
    padding: 46px 0 24px;
    border-top: 1px solid rgba(244, 114, 182, 0.18);
    background: linear-gradient(180deg, rgba(255, 241, 247, 0.92), #ffffff);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 28px;
}

.site-footer h3 {
    margin: 0 0 14px;
}

.site-footer p,
.site-footer li,
.site-footer a {
    color: var(--gray-500);
}

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

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

.footer-bottom {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(244, 114, 182, 0.18);
    text-align: center;
}

.back-to-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 49;
    display: none;
    width: 44px;
    height: 44px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--pink-500), var(--red-500));
    border-radius: 999px;
    box-shadow: 0 12px 28px rgba(236, 72, 153, 0.28);
}

.back-to-top.visible {
    display: block;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.62;
    }

    50% {
        transform: scale(1.08);
        opacity: 0.34;
    }
}

@media (max-width: 1040px) {
    .hero-layout,
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .hero-slider {
        min-height: 420px;
    }

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

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

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

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

    .hero {
        padding: 36px 0 28px;
    }

    .hero-slider {
        min-height: 390px;
    }

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

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

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

    .ranking-row {
        grid-template-columns: 50px 64px minmax(0, 1fr);
    }

    .ranking-views {
        grid-column: 3;
        text-align: left;
    }

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

@media (max-width: 480px) {
    .container {
        width: min(100% - 22px, 1200px);
    }

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

    .stats-row {
        grid-template-columns: 1fr;
    }

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