:root {
    --amber-950: #431407;
    --amber-900: #78350f;
    --amber-800: #92400e;
    --amber-700: #b45309;
    --amber-600: #d97706;
    --amber-500: #f59e0b;
    --orange-600: #ea580c;
    --cream-50: #fffbeb;
    --cream-100: #fef3c7;
    --text: #1f2937;
    --muted: #6b7280;
    --line: #f3d6a0;
    --white: #ffffff;
    --shadow: 0 20px 45px rgba(120, 53, 15, .16);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: linear-gradient(135deg, #fffbeb 0%, #fff7ed 52%, #fef3c7 100%);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.65;
}

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    color: #fff;
    background: linear-gradient(90deg, var(--amber-900), #854d0e, var(--amber-900));
    box-shadow: 0 12px 30px rgba(67, 20, 7, .28);
}

.nav-inner {
    width: min(1180px, calc(100% - 32px));
    height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
}

.brand-mark {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, #fbbf24, var(--orange-600));
    color: #fff;
    font-size: 24px;
    box-shadow: inset 0 0 16px rgba(255, 255, 255, .25), 0 10px 20px rgba(0, 0, 0, .18);
    transition: transform .3s ease;
}

.brand:hover .brand-mark {
    transform: scale(1.08) rotate(-5deg);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    font-size: 22px;
    background: linear-gradient(90deg, #fde68a, #fff7ed);
    background-clip: text;
    color: transparent;
}

.brand-text small {
    margin-top: 4px;
    color: #fde68a;
    font-size: 12px;
    font-weight: 500;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-weight: 600;
}

.desktop-nav a,
.mobile-nav a {
    transition: color .25s ease, background .25s ease, transform .25s ease;
}

.desktop-nav a:hover {
    color: #fde68a;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    border: 0;
    color: #fff;
    background: rgba(255, 255, 255, .12);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 24px;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 18px;
    border-top: 1px solid rgba(253, 230, 138, .25);
}

.mobile-nav a {
    display: block;
    padding: 11px 14px;
    border-radius: 12px;
}

.mobile-nav a:hover {
    background: rgba(255, 255, 255, .12);
}

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

.hero-slider::after,
.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .14;
    background-image:
        linear-gradient(rgba(255, 255, 255, .35) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .35) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: center;
    gap: 56px;
    padding: 72px max(28px, calc((100vw - 1180px) / 2)) 90px;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity .65s ease, transform .65s ease;
    pointer-events: none;
}

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

.hero-text {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.hero-kicker,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--amber-600);
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hero-kicker {
    color: #fde68a;
}

.hero-text h1,
.page-hero h1 {
    margin: 18px 0 10px;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1.05;
    letter-spacing: -.04em;
    background: linear-gradient(90deg, #fde68a, #fff7ed);
    background-clip: text;
    color: transparent;
}

.hero-text h2 {
    margin: 0 0 20px;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.15;
}

.hero-text p,
.page-hero p {
    margin: 0 0 28px;
    max-width: 680px;
    color: #ffedd5;
    font-size: 18px;
}

.hero-tags,
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-tags span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #fef3c7;
    color: var(--amber-800);
    font-size: 13px;
    font-weight: 700;
}

.hero-tags span {
    background: rgba(255, 255, 255, .18);
    color: #fff7ed;
    backdrop-filter: blur(10px);
}

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

.primary-btn,
.ghost-btn,
.filter-panel button,
.home-search button,
.cta-band a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    min-height: 44px;
    padding: 0 22px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.primary-btn,
.home-search button,
.filter-panel button {
    color: #fff;
    background: linear-gradient(90deg, var(--amber-500), var(--orange-600));
    box-shadow: 0 14px 28px rgba(217, 119, 6, .26);
}

.primary-btn:hover,
.home-search button:hover,
.filter-panel button:hover,
.cta-band a:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 18px 32px rgba(217, 119, 6, .32);
}

.ghost-btn {
    color: #fff;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .28);
    backdrop-filter: blur(14px);
}

.ghost-btn:hover {
    background: rgba(255, 255, 255, .24);
    transform: translateY(-2px);
}

.hero-poster {
    position: relative;
    z-index: 2;
    display: block;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .35);
    transform: rotate(2deg);
    transition: transform .35s ease;
}

.hero-poster:hover {
    transform: rotate(0deg) scale(1.03);
}

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

.hero-control {
    position: absolute;
    left: 50%;
    bottom: 28px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 18px;
    transform: translateX(-50%);
}

.hero-control button,
.hero-dots button {
    border: 0;
    color: #fff;
    background: rgba(255, 255, 255, .18);
    cursor: pointer;
}

.hero-control > button {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    font-size: 30px;
}

.hero-dots {
    display: flex;
    gap: 8px;
}

.hero-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 999px;
    opacity: .65;
}

.hero-dots button.is-active {
    width: 28px;
    background: #fde68a;
    opacity: 1;
}

.search-strip,
.content-section,
.footer-grid,
.footer-bottom,
.breadcrumb,
.detail-layout {
    width: min(1180px, calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
}

.search-strip {
    display: grid;
    grid-template-columns: 1fr minmax(320px, 520px);
    gap: 28px;
    align-items: center;
    margin-top: -46px;
    position: relative;
    z-index: 5;
    padding: 26px;
    border-radius: 26px;
    background: #fff;
    box-shadow: var(--shadow);
}

.search-strip h2,
.section-heading h2,
.category-overview-head h2,
.detail-card h1,
.detail-card h2,
.detail-side h2,
.rank-info h2,
.cta-band h2 {
    margin: 0;
    line-height: 1.2;
}

.home-search {
    display: flex;
    gap: 12px;
}

.home-search input,
.filter-panel input,
.filter-panel select {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid #f0d7ae;
    border-radius: 14px;
    background: #fffaf0;
    color: var(--text);
    outline: none;
    transition: border .2s ease, box-shadow .2s ease;
}

.home-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--amber-500);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, .16);
}

.content-section {
    padding: 72px 0;
}

.warm-section {
    width: 100%;
    padding-left: max(16px, calc((100vw - 1180px) / 2));
    padding-right: max(16px, calc((100vw - 1180px) / 2));
    background: linear-gradient(135deg, #fef3c7, #ffedd5);
}

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

.section-heading h2 {
    margin-top: 8px;
    font-size: clamp(28px, 3vw, 40px);
}

.section-heading p {
    max-width: 720px;
    margin: 10px 0 0;
    color: var(--muted);
}

.section-link {
    color: var(--amber-700);
    font-weight: 800;
    white-space: nowrap;
}

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

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

.movie-card {
    overflow: hidden;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 14px 34px rgba(120, 53, 15, .12);
    transition: transform .25s ease, box-shadow .25s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 46px rgba(120, 53, 15, .18);
}

.poster-link {
    position: relative;
    display: block;
    overflow: hidden;
    background: #451a03;
}

.poster-link img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    transition: transform .45s ease;
}

.movie-card:hover .poster-link img,
.rank-card:hover .rank-cover img,
.side-related:hover img {
    transform: scale(1.08);
}

.poster-shade {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 18px;
    color: #fff;
    background: linear-gradient(180deg, transparent 25%, rgba(0, 0, 0, .72));
    opacity: 0;
    transition: opacity .25s ease;
}

.poster-shade span {
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(245, 158, 11, .92);
    font-weight: 800;
}

.movie-card:hover .poster-shade {
    opacity: 1;
}

.rank-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
    box-shadow: 0 8px 18px rgba(0, 0, 0, .22);
}

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

.movie-title {
    display: -webkit-box;
    min-height: 48px;
    overflow: hidden;
    color: #111827;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-title:hover,
.rank-info a:hover,
.category-tile a:hover,
.side-related:hover strong {
    color: var(--amber-700);
}

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

.movie-meta,
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--muted);
    font-size: 13px;
}

.movie-meta span,
.detail-meta span {
    display: inline-flex;
    align-items: center;
}

.movie-meta span + span::before {
    content: "•";
    margin-right: 10px;
    color: #d6a54c;
}

.tag-row {
    margin-top: 12px;
}

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

.category-tile,
.category-overview-card {
    border-radius: 22px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 18px 38px rgba(120, 53, 15, .12);
    overflow: hidden;
}

.category-tile > a {
    display: block;
    padding: 24px 24px 10px;
}

.category-tile span {
    display: block;
    color: var(--amber-700);
    font-size: 24px;
    font-weight: 900;
}

.category-tile strong {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    font-weight: 500;
}

.category-tile div {
    display: grid;
    gap: 8px;
    padding: 0 24px 24px;
    font-size: 14px;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 42px;
}

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

.ranking-row {
    display: grid;
    grid-template-columns: 42px 74px 1fr;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(120, 53, 15, .10);
}

.ranking-row b {
    color: var(--amber-700);
    font-size: 26px;
}

.ranking-row img {
    width: 74px;
    height: 92px;
    border-radius: 12px;
    object-fit: cover;
}

.ranking-row span {
    display: grid;
    gap: 4px;
}

.ranking-row em {
    color: var(--muted);
    font-size: 13px;
    font-style: normal;
}

.cta-band {
    margin: 0 auto 72px;
    width: min(1180px, calc(100% - 32px));
    padding: 52px 28px;
    color: #fff;
    text-align: center;
    border-radius: 30px;
    background: linear-gradient(90deg, var(--amber-900), #9a3412, var(--amber-800));
    box-shadow: 0 24px 50px rgba(120, 53, 15, .22);
}

.cta-band h2 {
    font-size: clamp(28px, 4vw, 44px);
}

.cta-band p {
    max-width: 760px;
    margin: 16px auto 26px;
    color: #ffedd5;
}

.cta-band a {
    color: var(--amber-950);
    background: #fff7ed;
}

.page-hero {
    position: relative;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 62px max(18px, calc((100vw - 1180px) / 2));
    color: #fff;
    background: linear-gradient(90deg, var(--amber-900), #9a3412);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.page-hero > * {
    position: relative;
    z-index: 2;
}

.small-hero {
    min-height: 280px;
}

.category-overview {
    display: grid;
    gap: 28px;
}

.category-overview-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 24px;
    padding: 24px;
}

.category-overview-head p {
    color: var(--muted);
}

.filter-panel {
    display: grid;
    grid-template-columns: 2fr repeat(3, minmax(150px, 1fr)) auto;
    gap: 14px;
    align-items: end;
    margin-bottom: 28px;
    padding: 18px;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow);
}

.filter-panel label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.filter-panel button {
    border-radius: 14px;
}

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

.rank-card {
    display: grid;
    grid-template-columns: 58px 108px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 16px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(120, 53, 15, .11);
    transition: transform .25s ease, box-shadow .25s ease;
}

.rank-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 44px rgba(120, 53, 15, .16);
}

.rank-number {
    color: var(--amber-700);
    font-size: 32px;
    font-weight: 900;
    text-align: center;
}

.rank-cover {
    overflow: hidden;
    border-radius: 14px;
}

.rank-cover img {
    width: 108px;
    height: 138px;
    object-fit: cover;
    transition: transform .35s ease;
}

.rank-info p {
    margin: 8px 0 12px;
    color: var(--muted);
}

.small-btn {
    min-height: 38px;
    padding: 0 18px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 22px 0;
    color: var(--muted);
    font-size: 14px;
}

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

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

.player-card,
.detail-card,
.detail-side section {
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow);
}

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

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

.player-shell video {
    width: 100%;
    height: 100%;
    display: block;
    background: #000;
}

.player-cover {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border: 0;
    color: #fff;
    background: rgba(0, 0, 0, .48);
    cursor: pointer;
    overflow: hidden;
    transition: opacity .28s ease, visibility .28s ease;
}

.player-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.62) blur(1px);
    transform: scale(1.04);
}

.player-cover strong,
.play-ring {
    position: relative;
    z-index: 2;
}

.play-ring {
    width: 88px;
    height: 88px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
    box-shadow: 0 0 0 14px rgba(255, 255, 255, .16), 0 20px 38px rgba(0, 0, 0, .28);
}

.play-ring span {
    margin-left: 5px;
    font-size: 36px;
}

.player-cover strong {
    font-size: 22px;
}

.player-cover.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

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

.pill {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(90deg, var(--amber-500), var(--orange-600));
    font-size: 13px;
    font-weight: 800;
}

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

.lead {
    color: #4b5563;
    font-size: 18px;
}

.detail-meta {
    margin: 18px 0;
}

.detail-tags {
    margin-bottom: 24px;
}

.detail-card h2 {
    margin-top: 28px;
    color: #111827;
    font-size: 24px;
}

.detail-card p {
    color: #374151;
}

.detail-side {
    position: sticky;
    top: 100px;
}

.detail-side section {
    padding: 22px;
}

.side-list {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.side-related {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 12px;
    align-items: center;
}

.side-related img {
    width: 96px;
    height: 68px;
    border-radius: 12px;
    object-fit: cover;
    transition: transform .3s ease;
}

.side-related span {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.side-related strong {
    display: -webkit-box;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.side-related em {
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
}

.related-section {
    padding-top: 42px;
}

.site-footer {
    color: #ffedd5;
    background: linear-gradient(135deg, #1c0a02, var(--amber-950));
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 44px;
    padding: 56px 0 34px;
}

.footer-grid h2 {
    margin: 0 0 14px;
    color: #fde68a;
}

.footer-grid p {
    color: #fed7aa;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.footer-badges span {
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
}

.footer-links {
    display: grid;
    gap: 10px;
}

.footer-links a:hover {
    color: #fde68a;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 0;
    border-top: 1px solid rgba(253, 230, 138, .18);
    color: #fcd34d;
    font-size: 14px;
}

[data-card].is-hidden {
    display: none;
}

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

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

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

    .hero-slide {
        grid-template-columns: 1fr 260px;
        gap: 28px;
    }

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

    .split-section,
    .detail-layout,
    .category-overview-card {
        grid-template-columns: 1fr;
    }

    .detail-side {
        position: static;
    }

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

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

    .brand-mark {
        width: 42px;
        height: 42px;
    }

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

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

    .hero-slide {
        grid-template-columns: 1fr;
        align-content: center;
        padding-top: 46px;
        padding-bottom: 92px;
    }

    .hero-poster {
        max-width: 220px;
        margin: 0 auto;
        transform: none;
    }

    .search-strip {
        grid-template-columns: 1fr;
        margin-top: 0;
        border-radius: 0;
        width: 100%;
    }

    .home-search {
        flex-direction: column;
    }

    .section-heading {
        display: block;
    }

    .section-link {
        display: inline-block;
        margin-top: 12px;
    }

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

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

    .movie-title {
        min-height: 42px;
        font-size: 15px;
    }

    .movie-card-body p {
        display: none;
    }

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

    .rank-card {
        grid-template-columns: 44px 82px 1fr;
    }

    .rank-card .primary-btn {
        grid-column: 2 / -1;
        justify-self: start;
    }

    .rank-cover img {
        width: 82px;
        height: 106px;
    }

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

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

    .hero-actions {
        display: grid;
    }

    .page-hero {
        min-height: 260px;
    }
}
