* {
    box-sizing: border-box;
}

:root {
    --pink: #ec4899;
    --pink-dark: #db2777;
    --orange: #f97316;
    --yellow: #facc15;
    --text: #1f2937;
    --muted: #6b7280;
    --soft: #fff7ed;
    --line: #e5e7eb;
    --shadow: 0 20px 45px rgba(219, 39, 119, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    background: #ffffff;
    color: var(--text);
    line-height: 1.7;
}

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(14px);
}

.top-strip {
    padding: 8px 16px;
    text-align: center;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    background: linear-gradient(90deg, var(--orange), var(--pink), #ef4444);
}

.nav-shell {
    width: min(1240px, calc(100% - 32px));
    height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 900;
    background: linear-gradient(90deg, var(--pink), var(--orange));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
}

.logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 14px;
    background: linear-gradient(135deg, var(--pink), var(--orange));
    box-shadow: 0 14px 30px rgba(236, 72, 153, 0.32);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1;
}

.main-nav a,
.mobile-panel a {
    font-weight: 700;
    color: #374151;
    transition: color 0.2s ease, background 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active,
.mobile-panel a:hover,
.mobile-panel a.active {
    color: var(--pink-dark);
}

.nav-search {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-search input,
.mobile-search input,
.filter-bar input {
    border: 1px solid #d1d5db;
    border-radius: 999px;
    padding: 10px 16px;
    outline: none;
    min-width: 180px;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.nav-search input:focus,
.mobile-search input:focus,
.filter-bar input:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.12);
}

.nav-search button,
.mobile-search button,
.primary-btn,
.outline-btn,
.ghost-btn {
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-search button,
.mobile-search button,
.primary-btn {
    color: #ffffff;
    padding: 11px 20px;
    background: linear-gradient(90deg, var(--pink), var(--orange));
    box-shadow: 0 14px 28px rgba(236, 72, 153, 0.24);
}

.primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 26px;
}

.outline-btn,
.ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 22px;
    border: 1px solid rgba(236, 72, 153, 0.22);
    color: var(--pink-dark);
    background: #ffffff;
}

.ghost-btn {
    background: rgba(255, 255, 255, 0.82);
    color: #374151;
}

.primary-btn:hover,
.outline-btn:hover,
.ghost-btn:hover,
.nav-search button:hover,
.mobile-search button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(236, 72, 153, 0.28);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: #fff1f2;
    color: var(--pink-dark);
    font-size: 22px;
}

.mobile-panel {
    display: none;
    padding: 18px;
    border-top: 1px solid var(--line);
    background: #ffffff;
}

.mobile-search {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.mobile-panel a {
    display: block;
    padding: 12px 10px;
    border-radius: 12px;
}

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

.hero-section {
    position: relative;
    min-height: 640px;
    overflow: hidden;
    background: linear-gradient(135deg, #fff1f2 0%, #fff7ed 50%, #fefce8 100%);
}

.glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(48px);
    opacity: 0.35;
    animation: pulseGlow 6s ease-in-out infinite;
}

.glow-a {
    width: 180px;
    height: 180px;
    left: 8%;
    top: 12%;
    background: var(--pink);
}

.glow-b {
    width: 240px;
    height: 240px;
    right: 9%;
    bottom: 13%;
    background: var(--orange);
    animation-delay: 1.2s;
}

.glow-c {
    width: 150px;
    height: 150px;
    left: 44%;
    top: 48%;
    background: var(--yellow);
    animation-delay: 2.1s;
}

@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.28;
    }
    50% {
        transform: scale(1.16);
        opacity: 0.44;
    }
}

.hero-stage {
    position: relative;
    width: min(1240px, calc(100% - 32px));
    min-height: 640px;
    margin: 0 auto;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) 420px;
    align-items: center;
    gap: 60px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.hero-pill,
.section-head span,
.page-hero span,
.detail-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 8px 16px;
    border-radius: 999px;
    color: #9a3412;
    font-size: 14px;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 12px 28px rgba(251, 146, 60, 0.16);
    backdrop-filter: blur(12px);
}

.hero-copy h1 {
    max-width: 760px;
    margin: 22px 0 14px;
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1.08;
    letter-spacing: -0.04em;
    background: linear-gradient(90deg, var(--pink-dark), var(--orange), #ca8a04);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-copy h2 {
    margin: 0 0 12px;
    font-size: clamp(28px, 3vw, 46px);
    line-height: 1.15;
}

.hero-copy p {
    max-width: 720px;
    margin: 0;
    color: #4b5563;
    font-size: 20px;
}

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

.hero-poster {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    border-radius: 34px;
    overflow: hidden;
    box-shadow: 0 32px 75px rgba(236, 72, 153, 0.25);
    transform: rotate(2deg);
}

.hero-poster::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.28));
}

.hero-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hero-poster span {
    position: absolute;
    z-index: 2;
    left: 24px;
    bottom: 24px;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, var(--pink), var(--orange));
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.hero-poster:hover img {
    transform: scale(1.08);
}

.hero-dots {
    position: absolute;
    left: 0;
    bottom: 58px;
    display: flex;
    gap: 10px;
}

.hero-dots button {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(236, 72, 153, 0.24);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-dots button.active {
    width: 34px;
    background: linear-gradient(90deg, var(--pink), var(--orange));
}

.quick-strip {
    background: #ffffff;
}

.quick-inner {
    width: min(1180px, calc(100% - 32px));
    margin: -46px auto 0;
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.quick-inner div {
    padding: 24px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow);
    text-align: center;
}

.quick-inner strong {
    display: block;
    color: #111827;
    font-size: 24px;
}

.quick-inner span {
    color: var(--muted);
    font-size: 14px;
}

.section-block {
    padding: 76px 0;
}

.section-block.white {
    background: #ffffff;
}

.section-block.soft {
    background: linear-gradient(135deg, #fff7ed, #fdf2f8);
}

.section-head {
    width: min(900px, calc(100% - 32px));
    margin: 0 auto 34px;
    text-align: center;
}

.section-head.align-left {
    text-align: left;
    margin: 0;
}

.section-head h2,
.page-hero h1 {
    margin: 14px 0 10px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.2;
}

.section-head p,
.page-hero p {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
}

.movie-grid {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.movie-card {
    overflow: hidden;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 52px rgba(236, 72, 153, 0.17);
}

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: linear-gradient(135deg, #f3f4f6, #ffffff);
}

.poster-link img,
.detail-poster img,
.compact-card img,
.rank-row img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.poster-link img {
    transition: transform 0.5s ease;
}

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

.region-badge,
.year-badge {
    position: absolute;
    top: 12px;
    z-index: 2;
    padding: 5px 9px;
    border-radius: 10px;
    font-size: 12px;
    color: #ffffff;
    font-weight: 800;
}

.region-badge {
    left: 12px;
    background: var(--pink);
}

.year-badge {
    right: 12px;
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(8px);
}

.hover-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 36px;
    background: rgba(0, 0, 0, 0.0);
    opacity: 0;
    transition: opacity 0.25s ease, background 0.25s ease;
}

.movie-card:hover .hover-play {
    opacity: 1;
    background: rgba(0, 0, 0, 0.24);
}

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

.movie-card-body h3 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.35;
}

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

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

.card-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: #9ca3af;
    font-size: 12px;
}

.center-actions {
    margin-top: 34px;
    text-align: center;
}

.compact-grid {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
}

.compact-grid.small {
    width: 100%;
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.compact-card {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

.compact-card span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 36px 12px 12px;
    color: #ffffff;
    font-weight: 800;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.76));
}

.category-grid {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.category-tile {
    min-height: 210px;
    padding: 24px;
    border-radius: 26px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #ffffff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 28px 60px rgba(236, 72, 153, 0.18);
}

.tile-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--pink), var(--orange));
}

.category-tile strong {
    font-size: 20px;
}

.category-tile p,
.category-tile em {
    margin: 0;
    color: var(--muted);
    font-style: normal;
    font-size: 14px;
}

.category-tile em {
    margin-top: auto;
    color: #9ca3af;
}

.split {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(260px, 0.45fr) minmax(0, 0.75fr);
    gap: 40px;
    padding-left: max(16px, calc((100% - 1240px) / 2));
    padding-right: max(16px, calc((100% - 1240px) / 2));
}

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

.rank-list.wide {
    width: min(980px, calc(100% - 32px));
    margin: 0 auto;
}

.rank-row {
    display: grid;
    grid-template-columns: 54px 64px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 16px;
    padding: 12px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-row:hover {
    transform: translateX(4px);
    box-shadow: 0 20px 40px rgba(236, 72, 153, 0.14);
}

.rank-number {
    color: var(--pink-dark);
    font-size: 22px;
    font-weight: 900;
    text-align: center;
}

.rank-row img {
    width: 64px;
    height: 86px;
    border-radius: 14px;
}

.rank-text strong,
.rank-text em {
    display: block;
}

.rank-text strong {
    color: #111827;
}

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

.rank-arrow {
    color: var(--pink);
    font-size: 26px;
}

.page-hero {
    position: relative;
    padding: 86px 16px;
    text-align: center;
    background: linear-gradient(135deg, #fdf2f8, #fff7ed 60%, #fefce8);
    overflow: hidden;
}

.page-hero > div {
    position: relative;
    z-index: 1;
    width: min(860px, 100%);
    margin: 0 auto;
}

.filter-bar {
    width: min(920px, calc(100% - 32px));
    margin: -34px auto 36px;
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 14px;
    align-items: center;
    padding: 18px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.filter-bar.large {
    width: min(1080px, calc(100% - 32px));
}

.filter-bar label {
    color: #111827;
    font-weight: 900;
}

.filter-bar input {
    width: 100%;
    border-radius: 16px;
    padding: 14px 16px;
}

.empty-state {
    width: min(700px, calc(100% - 32px));
    margin: 28px auto 0;
    padding: 48px;
    border-radius: 24px;
    text-align: center;
    color: var(--muted);
    background: #f9fafb;
}

.category-previews {
    display: grid;
    gap: 26px;
}

.category-preview {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    padding: 24px;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
}

.category-preview-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.category-preview-head span {
    color: var(--pink-dark);
    font-weight: 900;
}

.category-preview-head h2 {
    margin: 6px 0 0;
    font-size: 22px;
}

.breadcrumb {
    width: min(1240px, calc(100% - 32px));
    margin: 28px auto 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--pink-dark);
    font-weight: 700;
}

.detail-hero {
    width: min(1240px, calc(100% - 32px));
    margin: 28px auto 42px;
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 42px;
    align-items: center;
    padding: 34px;
    border-radius: 36px;
    background: linear-gradient(135deg, #fff7ed, #fdf2f8);
    box-shadow: var(--shadow);
}

.detail-poster {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 26px 60px rgba(15, 23, 42, 0.18);
}

.detail-copy h1 {
    margin: 18px 0 16px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.12;
}

.detail-copy p {
    max-width: 860px;
    margin: 0;
    color: #4b5563;
    font-size: 18px;
}

.detail-meta,
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.detail-meta span,
.tag-cloud span {
    padding: 8px 13px;
    border-radius: 999px;
    color: #9a3412;
    background: #ffffff;
    font-size: 14px;
    font-weight: 800;
}

.player-section {
    width: min(1100px, calc(100% - 32px));
    margin: 0 auto 50px;
}

.player-frame {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: #0f172a;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.3);
    aspect-ratio: 16 / 9;
}

.player-frame video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: #0f172a;
}

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border: 0;
    color: #ffffff;
    cursor: pointer;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.22), rgba(15, 23, 42, 0.68));
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-circle {
    width: 82px;
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 32px;
    background: linear-gradient(135deg, var(--pink), var(--orange));
    box-shadow: 0 20px 40px rgba(236, 72, 153, 0.34);
}

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

.detail-content {
    width: min(1100px, calc(100% - 32px));
    margin: 0 auto 60px;
    display: grid;
    gap: 22px;
}

.detail-content article {
    padding: 30px;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.detail-content h2 {
    margin: 0 0 12px;
    font-size: 28px;
}

.detail-content p {
    margin: 0;
    color: #4b5563;
    font-size: 17px;
}

.related-block {
    margin-top: 20px;
}

.site-footer {
    padding: 58px 16px;
    background: #111827;
    color: rgba(255, 255, 255, 0.78);
}

.footer-inner {
    width: min(1180px, 100%);
    margin: 0 auto;
    text-align: center;
}

.footer-inner p {
    max-width: 720px;
    margin: 16px auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    margin: 22px 0;
}

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

.copyright {
    color: rgba(255, 255, 255, 0.48);
    font-size: 13px;
}

[hidden] {
    display: none !important;
}

@media (max-width: 1100px) {
    .main-nav,
    .nav-search {
        display: none;
    }

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

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

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

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

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

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

@media (max-width: 760px) {
    .top-strip {
        font-size: 12px;
    }

    .nav-shell {
        height: 64px;
        width: min(100% - 24px, 1240px);
    }

    .site-logo,
    .footer-logo {
        font-size: 20px;
    }

    .hero-section,
    .hero-stage {
        min-height: 760px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        align-content: center;
        gap: 24px;
        padding: 30px 0 80px;
    }

    .hero-poster {
        width: min(300px, 88vw);
        margin: 0 auto;
        transform: rotate(0deg);
    }

    .hero-dots {
        left: 50%;
        transform: translateX(-50%);
        bottom: 28px;
    }

    .hero-copy p {
        font-size: 17px;
    }

    .quick-inner {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 18px;
    }

    .quick-inner div {
        padding: 18px;
    }

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

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

    .movie-card-body h3 {
        font-size: 16px;
    }

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

    .category-tile {
        min-height: 190px;
        padding: 18px;
    }

    .filter-bar {
        grid-template-columns: 1fr;
        margin-top: 18px;
    }

    .category-preview-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .detail-hero {
        grid-template-columns: 1fr;
        padding: 22px;
    }

    .detail-poster {
        width: min(320px, 100%);
        margin: 0 auto;
    }

    .player-frame {
        border-radius: 18px;
    }

    .rank-row {
        grid-template-columns: 42px 54px minmax(0, 1fr) 16px;
        gap: 10px;
    }

    .rank-row img {
        width: 54px;
        height: 72px;
    }
}

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

    .section-block {
        padding: 54px 0;
    }

    .hero-actions {
        flex-direction: column;
    }

    .primary-btn,
    .outline-btn,
    .ghost-btn {
        width: 100%;
    }
}
