:root {
    --bg: #fff7fb;
    --bg-soft: #fff0f6;
    --surface: #ffffff;
    --surface-strong: #fffafd;
    --text: #1f2937;
    --muted: #6b7280;
    --border: #f9cfe1;
    --pink: #ec4899;
    --rose: #f43f5e;
    --rose-dark: #be123c;
    --shadow: 0 24px 60px rgba(236, 72, 153, 0.16);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(244, 63, 94, 0.14), transparent 30rem),
        linear-gradient(180deg, #fff7fb 0%, #ffffff 34%, #fff7fb 100%);
    min-height: 100vh;
}

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.86);
    border-bottom: 1px solid rgba(249, 207, 225, 0.7);
}

.header-shell {
    width: min(1180px, calc(100% - 32px));
    min-height: 74px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 22px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    color: var(--rose-dark);
}

.brand-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--pink), var(--rose));
    box-shadow: 0 12px 24px rgba(244, 63, 94, 0.26);
}

.brand-text {
    font-size: 26px;
    background: linear-gradient(135deg, var(--pink), var(--rose));
    -webkit-background-clip: text;
    color: transparent;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}

.nav-link,
.mobile-nav-link {
    color: #4b5563;
    font-weight: 700;
    border-radius: 999px;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link {
    padding: 10px 14px;
}

.nav-link:hover,
.nav-link.active,
.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--rose-dark);
    background: #fff0f6;
}

.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #ffffff;
}

.header-search input,
.mobile-search input,
.wide-search input,
.search-page-form input {
    border: 0;
    outline: 0;
    color: var(--text);
    background: transparent;
}

.header-search input {
    width: 160px;
    padding: 8px 4px 8px 12px;
}

.header-search button,
.mobile-search button,
.wide-search button,
.search-page-form button {
    border: 0;
    color: #ffffff;
    cursor: pointer;
    font-weight: 800;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--pink), var(--rose));
    box-shadow: 0 14px 28px rgba(244, 63, 94, 0.22);
}

.header-search button {
    padding: 8px 14px;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    background: #fff0f6;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    border-radius: 999px;
    background: var(--rose-dark);
}

.mobile-menu {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 18px;
}

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

.mobile-menu nav {
    display: grid;
    gap: 8px;
}

.mobile-nav-link {
    display: block;
    padding: 12px 14px;
}

.mobile-search {
    display: flex;
    gap: 8px;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #ffffff;
}

.mobile-search input {
    min-width: 0;
    flex: 1;
    padding: 10px;
}

.mobile-search button {
    padding: 10px 16px;
}

.hero {
    position: relative;
    width: min(1180px, calc(100% - 32px));
    min-height: 620px;
    margin: 34px auto 40px;
    overflow: hidden;
    border-radius: 36px;
    background: #190713;
    box-shadow: var(--shadow);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
    align-items: center;
    gap: 38px;
    padding: 64px;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.02);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.hero-backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.hero-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 30%, rgba(244, 63, 94, 0.38), transparent 22rem),
        linear-gradient(90deg, rgba(18, 5, 13, 0.95), rgba(63, 9, 39, 0.78) 52%, rgba(18, 5, 13, 0.68));
}

.hero-content,
.hero-poster {
    position: relative;
    z-index: 1;
}

.hero-kicker,
.section-kicker {
    margin: 0 0 12px;
    color: var(--pink);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-content h1 {
    margin: 0 0 22px;
    color: #ffffff;
    font-size: clamp(42px, 6vw, 82px);
    line-height: 0.95;
    letter-spacing: -0.05em;
}

.hero-content p:not(.hero-kicker) {
    width: min(620px, 100%);
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
    line-height: 1.8;
}

.hero-tags,
.detail-tags,
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-tags span,
.detail-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 12px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

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

.primary-button {
    color: #ffffff;
    background: linear-gradient(135deg, var(--pink), var(--rose));
    box-shadow: 0 20px 34px rgba(244, 63, 94, 0.34);
}

.ghost-button {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.ghost-button.dark {
    color: var(--rose-dark);
    background: #fff0f6;
    border-color: var(--border);
}

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

.hero-poster {
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border-radius: 30px;
    background: #371329;
    box-shadow: 0 36px 80px rgba(0, 0, 0, 0.38);
}

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

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

.hero-poster span,
.card-play {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--pink), var(--rose));
    box-shadow: 0 16px 30px rgba(244, 63, 94, 0.35);
}

.hero-poster span {
    left: 24px;
    bottom: 24px;
    width: 62px;
    height: 62px;
    font-size: 24px;
}

.hero-dots {
    position: absolute;
    left: 64px;
    bottom: 38px;
    z-index: 2;
    display: flex;
    gap: 9px;
}

.hero-dot {
    width: 34px;
    height: 8px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.32);
}

.hero-dot.active {
    background: #ffffff;
}

.section-shell,
.detail-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 58px;
}

.quick-search-section {
    margin-top: -12px;
}

.search-panel,
.search-page-panel {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
    gap: 24px;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 20px 50px rgba(236, 72, 153, 0.12);
}

.search-panel h2,
.section-heading h2,
.ranking-panel h2,
.footer-column h2,
.detail-content h2,
.section-block h2,
.ranking-list-section h2,
.catalog-group h2 {
    margin: 0;
    color: #111827;
}

.wide-search,
.search-page-form {
    display: flex;
    gap: 10px;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #ffffff;
}

.wide-search input,
.search-page-form input {
    min-width: 0;
    flex: 1;
    padding: 12px 16px;
}

.wide-search button,
.search-page-form button {
    padding: 12px 24px;
}

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

.section-heading h2,
.ranking-panel h2,
.ranking-list-section h2 {
    font-size: clamp(26px, 3vw, 36px);
}

.section-heading a,
.ranking-panel a,
.section-block a {
    color: var(--rose-dark);
    font-weight: 900;
}

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(249, 207, 225, 0.86);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 40px rgba(236, 72, 153, 0.09);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(236, 72, 153, 0.35);
    box-shadow: 0 24px 54px rgba(236, 72, 153, 0.18);
}

.card-poster {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: linear-gradient(145deg, #ffe4ef, #fff7fb);
}

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

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

.card-play {
    right: 12px;
    bottom: 12px;
    width: 38px;
    height: 38px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.card-body {
    padding: 16px;
}

.card-title {
    display: -webkit-box;
    min-height: 44px;
    overflow: hidden;
    color: #111827;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-title:hover {
    color: var(--rose-dark);
}

.card-meta,
.card-desc {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.card-meta {
    margin: 8px 0 6px;
}

.card-desc {
    display: -webkit-box;
    min-height: 42px;
    margin: 0 0 12px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-tags a,
.pill-link,
.category-nav-panel a,
.catalog-shortcuts a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 6px 12px;
    border-radius: 999px;
    color: var(--rose-dark);
    font-weight: 800;
    background: #fff0f6;
    border: 1px solid var(--border);
}

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

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

.category-card {
    overflow: hidden;
    min-height: 224px;
    border-radius: 28px;
    border: 1px solid var(--border);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 240, 246, 0.96));
    box-shadow: 0 18px 44px rgba(236, 72, 153, 0.12);
}

.category-card-main {
    display: block;
    padding: 22px 22px 12px;
}

.category-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 18px;
    color: #ffffff;
    font-weight: 900;
    background: linear-gradient(135deg, var(--pink), var(--rose));
    box-shadow: 0 12px 28px rgba(244, 63, 94, 0.24);
}

.category-card h2 {
    margin: 16px 0 10px;
    color: #111827;
    font-size: 22px;
}

.category-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.category-samples {
    display: grid;
    gap: 8px;
    padding: 0 22px 22px;
}

.category-samples a {
    color: #4b5563;
    font-size: 14px;
}

.category-samples a:hover {
    color: var(--rose-dark);
}

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

.ranking-panel {
    position: sticky;
    top: 96px;
    padding: 24px;
    border-radius: 28px;
    border: 1px solid var(--border);
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(236, 72, 153, 0.12);
}

.ranking-panel ol,
.ranking-list,
.catalog-group ul {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
}

.compact-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px 12px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #fce1ec;
}

.compact-item:last-child {
    border-bottom: 0;
}

.compact-item a {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #111827;
    font-weight: 800;
}

.compact-item a:hover {
    color: var(--rose-dark);
}

.compact-item span:last-child {
    grid-column: 2;
    color: var(--muted);
    font-size: 13px;
}

.rank-number,
.rank-dot {
    grid-row: span 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 900;
    background: linear-gradient(135deg, var(--pink), var(--rose));
}

.rank-number {
    width: 34px;
    height: 34px;
    border-radius: 12px;
}

.rank-dot {
    width: 22px;
    height: 22px;
    border-radius: 999px;
}

.page-hero {
    width: min(1180px, calc(100% - 32px));
    margin: 34px auto 36px;
    padding: 64px;
    border-radius: 34px;
    color: #ffffff;
    background:
        radial-gradient(circle at 80% 22%, rgba(255, 255, 255, 0.2), transparent 18rem),
        linear-gradient(135deg, #3b0a25, #be123c 55%, #ec4899);
    box-shadow: var(--shadow);
}

.page-hero h1 {
    margin: 0 0 16px;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.page-hero p:not(.section-kicker) {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 18px;
    line-height: 1.8;
}

.category-nav-panel,
.related-categories,
.catalog-shortcuts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pill-link.current {
    color: #ffffff;
    background: linear-gradient(135deg, var(--pink), var(--rose));
    border-color: transparent;
}

.ranking-list-section,
.catalog-section {
    padding: 28px;
    border-radius: 28px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.86);
}

.ranking-list {
    columns: 2;
    column-gap: 34px;
}

.ranking-list .compact-item {
    break-inside: avoid;
}

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

.search-status {
    color: var(--muted);
    font-weight: 700;
}

.detail-shell {
    margin-top: 28px;
}

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

.breadcrumb a {
    color: var(--rose-dark);
    font-weight: 800;
}

.player-card {
    overflow: hidden;
    border-radius: 32px;
    border: 1px solid rgba(249, 207, 225, 0.86);
    background: #ffffff;
    box-shadow: var(--shadow);
}

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

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

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    justify-content: center;
    border: 0;
    cursor: pointer;
    color: #ffffff;
    background: radial-gradient(circle at center, rgba(236, 72, 153, 0.16), rgba(0, 0, 0, 0.62));
}

.player-overlay.is-hidden {
    display: none;
}

.player-overlay span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 78px;
    height: 78px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--pink), var(--rose));
    box-shadow: 0 18px 38px rgba(244, 63, 94, 0.35);
    font-size: 30px;
}

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

.player-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 24px 28px;
}

.player-info h1 {
    margin: 0;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.detail-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 28px;
    margin-top: 32px;
}

.detail-poster {
    align-self: start;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid var(--border);
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(236, 72, 153, 0.12);
}

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

.detail-tags {
    padding: 16px;
}

.detail-tags span {
    color: var(--rose-dark);
    background: #fff0f6;
    border-color: var(--border);
}

.detail-content {
    padding: 30px;
    border-radius: 28px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.9);
}

.detail-content h2 {
    margin-top: 0;
    margin-bottom: 14px;
    font-size: 26px;
}

.detail-content p {
    margin: 0 0 22px;
    color: #374151;
    font-size: 16px;
    line-height: 1.95;
    text-align: justify;
}

.lead-text {
    color: #111827 !important;
    font-size: 18px !important;
    font-weight: 800;
}

.meta-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 0;
    margin: 8px 0 0;
    list-style: none;
}

.meta-list li {
    padding: 14px;
    border-radius: 18px;
    background: #fff7fb;
    border: 1px solid #fce1ec;
}

.meta-list span {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 13px;
}

.meta-list strong {
    color: #111827;
}

.section-block {
    margin-top: 42px;
}

.catalog-section {
    display: grid;
    gap: 28px;
}

.catalog-group {
    padding-bottom: 28px;
    border-bottom: 1px solid #fce1ec;
}

.catalog-group:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.site-footer {
    margin-top: 70px;
    border-top: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.82);
}

.footer-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) 0.7fr 0.7fr;
    gap: 36px;
    padding: 48px 0 34px;
}

.footer-about p,
.footer-column a,
.footer-bottom p {
    color: var(--muted);
}

.footer-about p {
    max-width: 520px;
    line-height: 1.8;
}

.footer-brand {
    font-size: 24px;
}

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

.footer-column a:hover {
    color: var(--rose-dark);
}

.footer-bottom {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 22px 0;
    border-top: 1px solid #fce1ec;
}

.footer-bottom p {
    margin: 0;
}

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

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        padding: 42px;
    }

    .hero-poster {
        display: none;
    }

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

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

    .split-section,
    .search-panel,
    .detail-layout,
    .footer-shell {
        grid-template-columns: 1fr;
    }

    .ranking-panel {
        position: static;
    }
}

@media (max-width: 720px) {
    .header-shell,
    .section-shell,
    .detail-shell,
    .footer-shell,
    .footer-bottom,
    .page-hero,
    .hero,
    .mobile-menu {
        width: min(100% - 20px, 1180px);
    }

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

    .hero {
        min-height: 600px;
        border-radius: 24px;
    }

    .hero-slide {
        padding: 30px 22px 64px;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .hero-content p:not(.hero-kicker),
    .page-hero p:not(.section-kicker) {
        font-size: 16px;
    }

    .hero-dots {
        left: 22px;
        bottom: 24px;
    }

    .page-hero {
        padding: 42px 24px;
        border-radius: 24px;
    }

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

    .card-body {
        padding: 13px;
    }

    .card-title {
        min-height: 40px;
        font-size: 15px;
    }

    .card-desc {
        display: none;
    }

    .wide-search,
    .search-page-form {
        border-radius: 20px;
        flex-direction: column;
    }

    .wide-search button,
    .search-page-form button {
        width: 100%;
    }

    .player-info {
        align-items: flex-start;
        flex-direction: column;
    }

    .detail-content,
    .ranking-list-section,
    .catalog-section {
        padding: 20px;
    }

    .ranking-list {
        columns: 1;
    }
}

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

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

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