:root {
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-850: #111827;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-500: #64748b;
    --gray-700: #334155;
    --gray-900: #0f172a;
    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --orange-500: #f97316;
    --orange-600: #ea580c;
    --shadow-card: 0 20px 45px rgba(15, 23, 42, 0.14);
    --shadow-glow: 0 18px 42px rgba(245, 158, 11, 0.34);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 12px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 48%, #f8fafc 100%);
    color: var(--gray-900);
}

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    color: #ffffff;
    background: linear-gradient(90deg, var(--slate-900), var(--slate-800), var(--slate-900));
    box-shadow: 0 18px 35px rgba(2, 6, 23, 0.28);
}

.header-inner {
    width: min(100% - 32px, var(--container));
    min-height: 78px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 18px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}

.brand-icon,
.footer-logo span {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
    box-shadow: var(--shadow-glow);
    color: #ffffff;
    font-weight: 900;
}

.brand:hover .brand-icon {
    transform: scale(1.08) rotate(-2deg);
}

.brand-icon {
    transition: transform 0.25s ease;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text strong {
    font-size: 22px;
    background: linear-gradient(90deg, var(--amber-400), var(--orange-500));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-text em {
    margin-top: 3px;
    color: var(--gray-300);
    font-size: 12px;
    font-style: normal;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    overflow: hidden;
}

.nav-link {
    padding: 10px 14px;
    border-radius: 12px;
    color: var(--gray-300);
    font-size: 14px;
    transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
    background: var(--amber-500);
    box-shadow: 0 12px 25px rgba(245, 158, 11, 0.26);
}

.header-search,
.mobile-search {
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 14px;
    background: rgba(51, 65, 85, 0.72);
    padding: 8px;
    border: 1px solid rgba(148, 163, 184, 0.16);
}

.header-search input,
.mobile-search input,
.filter-input,
.filter-select {
    border: 0;
    outline: 0;
    color: #ffffff;
    background: transparent;
    min-width: 150px;
}

.header-search input::placeholder,
.mobile-search input::placeholder,
.filter-input::placeholder {
    color: #94a3b8;
}

.header-search button,
.mobile-search button,
.primary-button,
.secondary-button {
    border: 0;
    cursor: pointer;
    border-radius: 12px;
    padding: 10px 16px;
    color: #ffffff;
    font-weight: 700;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
    box-shadow: 0 12px 24px rgba(245, 158, 11, 0.24);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-search button:hover,
.mobile-search button:hover,
.primary-button:hover,
.secondary-button:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow);
}

.secondary-button {
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    color: #ffffff;
    background: rgba(51, 65, 85, 0.82);
    font-size: 22px;
}

.mobile-panel {
    display: none;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    background: var(--slate-850);
    padding: 12px 16px 18px;
}

.mobile-panel nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 12px;
}

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

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

.hero {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    color: #ffffff;
    background: var(--slate-950);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(245, 158, 11, 0.34), transparent 28%),
        radial-gradient(circle at 85% 35%, rgba(249, 115, 22, 0.24), transparent 28%),
        linear-gradient(120deg, rgba(2, 6, 23, 0.94), rgba(15, 23, 42, 0.62));
    z-index: 2;
}

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

.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-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    filter: saturate(1.1);
}

.hero-slide.is-active .hero-backdrop {
    animation: heroZoom 9s ease forwards;
}

@keyframes heroZoom {
    from {
        transform: scale(1.03);
    }
    to {
        transform: scale(1.11);
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
    min-height: 620px;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.62fr);
    gap: 44px;
    align-items: center;
    padding: 74px 0;
}

.hero-copy {
    max-width: 730px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    color: #fde68a;
    background: rgba(245, 158, 11, 0.14);
    border: 1px solid rgba(245, 158, 11, 0.36);
    border-radius: 999px;
    backdrop-filter: blur(10px);
    font-weight: 700;
}

.hero h1 {
    margin: 22px 0 18px;
    font-size: clamp(38px, 6vw, 76px);
    line-height: 1.03;
    letter-spacing: -2px;
}

.hero p {
    margin: 0;
    color: #dbeafe;
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.8;
}

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

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.hero-meta span,
.tag-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 7px 11px;
    color: #92400e;
    background: linear-gradient(90deg, #fef3c7, #ffedd5);
    font-size: 12px;
    font-weight: 700;
}

.hero-poster-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    min-height: 460px;
    box-shadow: 0 40px 80px rgba(2, 6, 23, 0.48);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-poster-card img {
    width: 100%;
    height: 460px;
    object-fit: cover;
}

.hero-poster-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(2, 6, 23, 0.88));
}

.poster-caption {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    z-index: 2;
}

.poster-caption strong {
    display: block;
    font-size: 22px;
    margin-top: 8px;
}

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

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

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

.content-space {
    padding: 54px 0;
}

.section-block {
    margin-bottom: 58px;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.section-heading > span {
    width: 5px;
    height: 36px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--amber-500), var(--orange-500));
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(24px, 3vw, 36px);
}

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

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

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

.movie-list {
    display: grid;
    gap: 18px;
}

.movie-card {
    display: block;
    overflow: hidden;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.96);
    box-shadow: 0 5px 18px rgba(15, 23, 42, 0.06);
    transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 158, 11, 0.42);
    box-shadow: var(--shadow-card);
}

.movie-thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--slate-800);
}

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

.movie-card:hover .movie-thumb img {
    transform: scale(1.1);
}

.movie-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(180deg, transparent, rgba(2, 6, 23, 0.78));
    transition: opacity 0.26s ease;
}

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

.year-badge,
.genre-badge,
.rank-badge {
    position: absolute;
    z-index: 2;
    top: 12px;
    border-radius: 10px;
    padding: 5px 9px;
    color: #ffffff;
    background: rgba(2, 6, 23, 0.72);
    backdrop-filter: blur(8px);
    font-size: 12px;
    font-weight: 800;
}

.year-badge {
    left: 12px;
}

.genre-badge {
    right: 12px;
}

.rank-badge {
    left: 12px;
    top: 48px;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
    box-shadow: 0 12px 24px rgba(245, 158, 11, 0.24);
}

.play-mark {
    position: absolute;
    z-index: 3;
    left: 50%;
    top: 50%;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%) scale(0.82);
    border-radius: 50%;
    color: #ffffff;
    background: var(--amber-500);
    box-shadow: var(--shadow-glow);
    opacity: 0;
    transition: opacity 0.26s ease, transform 0.26s ease;
}

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

.thumb-intro {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 3;
    color: #ffffff;
    line-height: 1.5;
    font-size: 13px;
    opacity: 0;
    transform: translateY(10px);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: opacity 0.26s ease, transform 0.26s ease;
}

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

.movie-info {
    padding: 16px;
}

.movie-info h3 {
    margin: 10px 0 0;
    min-height: 46px;
    color: var(--gray-900);
    font-size: 17px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.meta-row,
.tag-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--gray-500);
    font-size: 12px;
}

.type-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
    padding: 5px 8px;
    color: #92400e;
    background: linear-gradient(90deg, var(--amber-100), #ffedd5);
    font-weight: 800;
}

.movie-card-horizontal {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
}

.horizontal-thumb {
    aspect-ratio: auto;
    height: 100%;
    min-height: 150px;
}

.horizontal-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.horizontal-info h3 {
    min-height: auto;
    margin-bottom: 10px;
}

.horizontal-info p {
    margin: 0 0 12px;
    color: var(--gray-600);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.highlight-panel {
    padding: 34px;
    border-radius: 28px;
    background: linear-gradient(135deg, #fffbeb, #fff7ed);
    box-shadow: inset 0 0 40px rgba(245, 158, 11, 0.08);
}

.dark-panel {
    padding: 34px;
    border-radius: 28px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--slate-900), var(--slate-800));
    box-shadow: var(--shadow-card);
}

.dark-panel .section-heading h2,
.dark-panel .section-heading p {
    color: #ffffff;
}

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

.category-card {
    position: relative;
    overflow: hidden;
    padding: 26px;
    min-height: 190px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid var(--gray-200);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card::before {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    right: -60px;
    top: -60px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.22), transparent 70%);
}

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

.category-card h2,
.category-card h3 {
    margin: 0 0 12px;
    font-size: 26px;
}

.category-card p {
    color: var(--gray-500);
    line-height: 1.7;
}

.page-hero {
    padding: 58px 0 40px;
    color: #ffffff;
    background:
        radial-gradient(circle at 20% 10%, rgba(245, 158, 11, 0.28), transparent 28%),
        linear-gradient(120deg, var(--slate-950), var(--slate-800));
}

.page-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(34px, 5vw, 58px);
}

.page-hero p {
    max-width: 760px;
    margin: 0;
    color: #cbd5e1;
    line-height: 1.8;
    font-size: 18px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: #fde68a;
    font-size: 14px;
}

.filter-bar {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 170px 170px 170px;
    gap: 12px;
    padding: 14px;
    margin-bottom: 26px;
    border-radius: 20px;
    background: var(--slate-900);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.16);
}

.filter-input,
.filter-select {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border-radius: 14px;
    background: rgba(51, 65, 85, 0.76);
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.filter-select {
    color: #ffffff;
}

.filter-select option {
    color: var(--gray-900);
}

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

.player-shell {
    overflow: hidden;
    border-radius: 24px;
    background: #000000;
    box-shadow: 0 30px 70px rgba(2, 6, 23, 0.38);
}

.player-stage {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000000;
}

.movie-video {
    width: 100%;
    height: 100%;
    display: block;
    background: #000000;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    z-index: 3;
    background: #000000;
}

.player-overlay.is-hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.24s ease;
}

.player-overlay img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.68;
}

.player-overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.16), rgba(2, 6, 23, 0.72));
}

.play-trigger {
    position: relative;
    z-index: 2;
    width: 92px;
    height: 92px;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    color: #ffffff;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
    font-size: 34px;
    box-shadow: var(--shadow-glow);
    transition: transform 0.2s ease;
}

.play-trigger:hover {
    transform: scale(1.08);
}

.detail-card,
.side-card {
    border-radius: 24px;
    padding: 26px;
    background: #ffffff;
    border: 1px solid var(--gray-200);
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.08);
}

.detail-card h1 {
    margin: 0 0 14px;
    font-size: clamp(30px, 4vw, 46px);
}

.detail-card h2,
.side-card h2 {
    margin: 0 0 16px;
    font-size: 24px;
}

.detail-card p {
    color: var(--gray-700);
    line-height: 1.9;
}

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

.detail-meta span {
    border-radius: 12px;
    padding: 8px 12px;
    color: #ffffff;
    background: var(--slate-800);
    font-size: 13px;
}

.side-poster {
    overflow: hidden;
    border-radius: 18px;
    margin-bottom: 18px;
    background: var(--slate-800);
}

.side-poster img {
    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
}

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

.rank-list {
    counter-reset: rank;
    display: grid;
    gap: 16px;
}

.rank-item {
    counter-increment: rank;
    display: grid;
    grid-template-columns: 72px 150px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 14px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid var(--gray-200);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}

.rank-number {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    color: #ffffff;
    font-weight: 900;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
}

.rank-cover {
    overflow: hidden;
    border-radius: 14px;
    background: var(--slate-800);
}

.rank-cover img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.rank-copy h2 {
    margin: 0 0 8px;
    font-size: 21px;
}

.rank-copy p {
    margin: 0 0 10px;
    color: var(--gray-500);
    line-height: 1.7;
}

.no-result {
    display: none;
    padding: 28px;
    border-radius: 20px;
    text-align: center;
    color: var(--gray-500);
    background: #ffffff;
    border: 1px solid var(--gray-200);
}

.no-result.is-visible {
    display: block;
}

.site-footer {
    margin-top: 70px;
    color: #cbd5e1;
    background: linear-gradient(180deg, var(--slate-900), var(--slate-950));
}

.footer-inner {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
    padding: 48px 0;
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
    gap: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-size: 20px;
}

.site-footer h2 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: 16px;
}

.site-footer p {
    margin: 14px 0 0;
    line-height: 1.8;
    color: #94a3b8;
}

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

.site-footer a:hover {
    color: var(--amber-400);
}

.copyright {
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    padding: 18px 0;
    text-align: center;
    color: #94a3b8;
    font-size: 13px;
}

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

    .menu-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
    }

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

    .hero-poster-card {
        display: none;
    }

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

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

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

@media (max-width: 760px) {
    .header-inner {
        min-height: 66px;
    }

    .brand-text strong {
        font-size: 18px;
    }

    .brand-text em {
        display: none;
    }

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

    .hero h1 {
        letter-spacing: -1px;
    }

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

    .movie-info {
        padding: 13px;
    }

    .movie-info h3 {
        font-size: 15px;
    }

    .movie-card-horizontal {
        grid-template-columns: 140px minmax(0, 1fr);
    }

    .horizontal-info p,
    .tag-row {
        display: none;
    }

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

    .rank-item {
        grid-template-columns: 48px 100px minmax(0, 1fr);
        gap: 12px;
    }

    .rank-number {
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }

    .rank-copy p {
        display: none;
    }

    .detail-card,
    .side-card,
    .highlight-panel,
    .dark-panel {
        padding: 20px;
    }

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

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

    .movie-card-horizontal {
        grid-template-columns: 1fr;
    }

    .horizontal-thumb {
        aspect-ratio: 16 / 10;
    }

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