:root {
    --cherry-pink: #ffb7c5;
    --rose: #ec4899;
    --rose-deep: #db2777;
    --soft-pink: #ffe4e9;
    --light-yellow: #fff4e6;
    --tender-green: #a8d5ba;
    --ink: #1f2937;
    --muted: #6b7280;
    --line: rgba(255, 183, 197, 0.35);
    --glass: rgba(255, 255, 255, 0.72);
    --shadow: 0 20px 50px rgba(255, 113, 167, 0.22);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--ink);
    background: linear-gradient(135deg, #fff4e6 0%, #ffe4e9 45%, #ffd4e0 100%);
}

body.menu-open {
    overflow: hidden;
}

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

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

button,
input {
    font: inherit;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--soft-pink);
}

::-webkit-scrollbar-thumb {
    background: var(--cherry-pink);
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff9bad;
}

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

.container.narrow {
    width: min(860px, calc(100% - 32px));
}

.glass-effect {
    background: var(--glass);
    border: 1px solid rgba(255, 255, 255, 0.42);
    box-shadow: 0 10px 30px rgba(255, 128, 170, 0.14);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.card-hover {
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

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

.cherry-blossom {
    position: fixed;
    top: -20px;
    width: 10px;
    height: 10px;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(circle, #ffb7c5, #ff8fb1);
    border-radius: 50% 0;
    opacity: 0.72;
    animation: fall linear infinite;
}

.cherry-blossom::before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    top: -5px;
    left: 5px;
    background: radial-gradient(circle, #ffd1dc, #ff9bad);
    border-radius: 0 50%;
}

@keyframes fall {
    0% {
        transform: translateY(-10vh) rotate(0deg);
        opacity: 0;
    }

    12% {
        opacity: 0.7;
    }

    100% {
        transform: translateY(110vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(22px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-left: 0;
    border-right: 0;
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.brand-mark {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: white;
    border-radius: 999px;
    background: linear-gradient(135deg, #ec4899, #fb7185);
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.28);
}

.brand-text {
    font-size: 20px;
    background: linear-gradient(90deg, #ec4899, #fb7185);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.nav-link {
    color: #4b5563;
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--rose);
}

.top-search,
.mobile-search,
.search-large {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-search input,
.mobile-search input,
.search-large input,
.page-filter {
    border: 2px solid rgba(255, 183, 197, 0.7);
    outline: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--ink);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.top-search input {
    width: 230px;
    padding: 10px 16px;
}

.top-search button,
.mobile-search button,
.search-large button {
    border: 0;
    border-radius: 999px;
    padding: 10px 15px;
    color: white;
    background: linear-gradient(135deg, #ec4899, #fb7185);
}

.top-search input:focus,
.mobile-search input:focus,
.search-large input:focus,
.page-filter:focus {
    border-color: var(--rose);
    box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.12);
}

.menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    color: var(--rose);
    background: rgba(255, 255, 255, 0.55);
}

.mobile-panel {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 14px;
    padding: 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 18px 45px rgba(236, 72, 153, 0.16);
}

.mobile-panel.open {
    display: block;
    animation: fadeIn 0.22s ease both;
}

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

.mobile-nav,
.mobile-category-grid {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

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

.mobile-nav .nav-link,
.mobile-category-link {
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 228, 233, 0.65);
}

.hero-carousel {
    position: relative;
    min-height: 610px;
    overflow: hidden;
    isolation: isolate;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 44px;
    align-items: center;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.hero-backdrop {
    position: absolute;
    inset: 0 calc(50% - 50vw);
    z-index: -2;
    overflow: hidden;
    background: linear-gradient(90deg, #fff4e6, #ffe4e9);
}

.hero-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.16;
    filter: blur(6px) saturate(1.15);
    transform: scale(1.04);
}

.hero-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 244, 230, 0.94), rgba(255, 228, 233, 0.82), rgba(255, 212, 224, 0.74));
}

.hero-content {
    max-width: 720px;
    animation: fadeIn 0.7s ease both;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--rose);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero-content h1 {
    margin: 0;
    font-size: clamp(44px, 7vw, 78px);
    line-height: 0.95;
    font-weight: 900;
    color: #111827;
}

.hero-content h2 {
    margin: 12px 0 0;
    font-size: clamp(28px, 4vw, 54px);
    line-height: 1.08;
    font-weight: 900;
    background: linear-gradient(90deg, #ec4899, #fb7185, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-content p {
    max-width: 650px;
    margin: 20px 0 0;
    color: #4b5563;
    font-size: 18px;
    line-height: 1.8;
}

.hero-tags {
    margin-top: 22px;
}

.hero-actions,
.detail-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
}

.primary-button,
.ghost-button,
.section-more,
.text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
    padding: 13px 24px;
    color: white;
    background: linear-gradient(135deg, #ec4899, #fb7185);
    box-shadow: 0 12px 28px rgba(236, 72, 153, 0.28);
}

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

.ghost-button {
    padding: 12px 20px;
    color: var(--rose-deep);
    background: rgba(255, 255, 255, 0.64);
    border: 1px solid rgba(236, 72, 153, 0.18);
}

.hero-poster {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 34px;
    background: white;
    box-shadow: 0 26px 60px rgba(236, 72, 153, 0.26);
}

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

.hero-poster span {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 12px 16px;
    border-radius: 18px;
    color: white;
    font-weight: 800;
    background: rgba(17, 24, 39, 0.58);
    backdrop-filter: blur(12px);
}

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

.hero-dot {
    width: 12px;
    height: 12px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(236, 72, 153, 0.32);
    transition: width 0.2s ease, background 0.2s ease;
}

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

.content-section {
    position: relative;
    z-index: 2;
    padding: 72px 0;
}

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

.section-heading h2 {
    margin: 0;
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.1;
}

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

.section-more,
.text-link {
    color: var(--rose);
}

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

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

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

.movie-card {
    overflow: hidden;
    border-radius: 28px;
}

.movie-card-feature .movie-poster {
    aspect-ratio: 4 / 3;
}

.movie-poster {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.5);
}

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

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

.movie-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    color: white;
    font-size: 12px;
    font-weight: 800;
    background: linear-gradient(135deg, #ec4899, #fb7185);
}

.play-float {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin: auto;
    color: var(--rose);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card:hover .play-float {
    opacity: 1;
    transform: scale(1);
}

.movie-info {
    padding: 17px;
}

.movie-title {
    display: block;
    color: #111827;
    font-weight: 850;
    font-size: 18px;
    line-height: 1.35;
}

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

.movie-meta,
.movie-desc {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.65;
}

.movie-meta {
    font-size: 13px;
}

.movie-desc {
    display: -webkit-box;
    min-height: 52px;
    overflow: hidden;
    font-size: 14px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

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

.movie-info .tag-row {
    margin-top: 14px;
}

.tag {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 10px;
    color: var(--rose-deep);
    font-size: 12px;
    font-weight: 700;
    border-radius: 999px;
    background: rgba(255, 228, 233, 0.74);
}

.ranking-section,
.alt-panel {
    background: linear-gradient(90deg, rgba(255, 244, 230, 0.5), rgba(255, 228, 233, 0.7));
}

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

.ranking-item {
    display: grid;
    grid-template-columns: 50px 120px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 14px;
    border-radius: 24px;
}

.ranking-item strong,
.ranking-row strong {
    display: grid;
    place-items: center;
    color: white;
    border-radius: 999px;
    background: linear-gradient(135deg, #ec4899, #fb7185);
}

.ranking-item strong {
    width: 44px;
    height: 44px;
}

.ranking-item img {
    width: 120px;
    height: 72px;
    object-fit: cover;
    border-radius: 16px;
}

.ranking-item b,
.ranking-title b {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ranking-item em,
.ranking-title em {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 13px;
    font-style: normal;
}

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

.category-tile {
    position: relative;
    min-height: 190px;
    overflow: hidden;
    padding: 20px;
    border-radius: 28px;
}

.category-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.28;
    filter: saturate(1.1);
    transition: transform 0.35s ease;
}

.category-tile:hover img {
    transform: scale(1.08);
}

.category-tile span,
.category-tile small {
    position: relative;
    z-index: 1;
    display: block;
}

.category-tile span {
    font-size: 24px;
    font-weight: 900;
}

.category-tile small {
    max-width: 260px;
    margin-top: 12px;
    color: #4b5563;
    line-height: 1.65;
}

.cta-panel {
    padding: 48px 24px;
    border-radius: 34px;
    text-align: center;
}

.cta-panel h2 {
    margin: 0;
    font-size: clamp(30px, 5vw, 48px);
}

.cta-panel p {
    max-width: 700px;
    margin: 16px auto 24px;
    color: var(--muted);
    line-height: 1.8;
}

.page-hero {
    padding: 90px 0 70px;
    text-align: center;
    background: linear-gradient(90deg, rgba(255, 244, 230, 0.72), rgba(255, 228, 233, 0.72));
}

.page-hero h1 {
    margin: 0;
    font-size: clamp(36px, 6vw, 64px);
    line-height: 1.08;
}

.page-hero p:last-child {
    max-width: 760px;
    margin: 18px auto 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.8;
}

.search-large {
    max-width: 660px;
    margin: 26px auto 0;
}

.search-large input {
    flex: 1;
    min-width: 0;
    padding: 15px 20px;
}

.search-large button {
    padding: 15px 24px;
}

.filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
    padding: 16px;
    border-radius: 24px;
}

.page-filter {
    flex: 1;
    min-width: 0;
    padding: 13px 18px;
}

.empty-state {
    padding: 36px;
    color: var(--muted);
    text-align: center;
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    padding: 18px;
    border-radius: 28px;
}

.category-cover-set {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    overflow: hidden;
    border-radius: 20px;
}

.category-cover-set img {
    width: 100%;
    height: 86px;
    object-fit: cover;
}

.category-overview-card h2 {
    margin: 0;
    font-size: 24px;
}

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

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

.ranking-row {
    display: grid;
    grid-template-columns: 70px 92px minmax(0, 1fr) 70px;
    gap: 18px;
    align-items: center;
    padding: 14px 18px;
    border-radius: 24px;
}

.ranking-row strong {
    width: 52px;
    height: 52px;
}

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

.ranking-score {
    color: var(--rose);
    font-size: 24px;
    font-weight: 900;
    text-align: right;
}

.detail-hero {
    position: relative;
    min-height: 560px;
    padding: 48px 0 64px;
    overflow: hidden;
    isolation: isolate;
}

.detail-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.detail-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.18;
    filter: blur(7px) saturate(1.12);
    transform: scale(1.04);
}

.detail-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 244, 230, 0.95), rgba(255, 228, 233, 0.86));
}

.breadcrumb,
.breadcrumb-sep,
.detail-hero-inner > span {
    color: #6b7280;
    font-size: 14px;
}

.breadcrumb:hover {
    color: var(--rose);
}

.breadcrumb-sep {
    margin: 0 8px;
}

.detail-layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 44px;
    align-items: center;
    margin-top: 34px;
}

.detail-poster {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 34px;
    box-shadow: var(--shadow);
}

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

.detail-poster span {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    margin: auto;
    color: var(--rose);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.84);
}

.detail-copy h1 {
    max-width: 860px;
    margin: 0;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.05;
}

.detail-copy .lead {
    max-width: 780px;
    margin: 20px 0 0;
    color: #4b5563;
    font-size: 18px;
    line-height: 1.85;
}

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

.detail-primary,
.detail-side {
    display: grid;
    gap: 22px;
}

.movie-player {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: #111827;
}

.movie-player video {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #111827;
}

.player-start {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    width: 86px;
    height: 86px;
    margin: auto;
    border: 0;
    border-radius: 999px;
    color: var(--rose);
    font-size: 34px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.26);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.player-start:hover {
    transform: scale(1.06);
}

.movie-player.is-playing .player-start {
    opacity: 0;
    pointer-events: none;
}

.prose-card,
.side-card,
.prev-next {
    padding: 24px;
    border-radius: 26px;
}

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

.prose-card p {
    margin: 0;
    color: #374151;
    font-size: 16px;
    line-height: 1.95;
}

.side-card dl {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 12px 14px;
    margin: 0;
}

.side-card dt {
    color: var(--muted);
}

.side-card dd {
    margin: 0;
    color: #111827;
    font-weight: 700;
}

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

.compact-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    overflow: hidden;
    padding: 8px;
    border-radius: 18px;
}

.compact-card img {
    width: 72px;
    height: 50px;
    object-fit: cover;
    border-radius: 12px;
}

.compact-card span {
    overflow: hidden;
    font-weight: 800;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.prev-next {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.prev-next a {
    color: var(--rose);
    font-weight: 800;
}

.site-footer {
    position: relative;
    z-index: 2;
    margin-top: 40px;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
}

.footer-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 34px;
    padding: 42px 0;
}

.footer-inner h2 {
    margin: 0 0 14px;
    font-size: 18px;
}

.footer-inner p {
    margin: 12px 0 0;
    color: var(--muted);
    line-height: 1.75;
}

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

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

.footer-bottom {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 28px;
    color: var(--muted);
    text-align: center;
    border-top: 1px solid var(--line);
}

[hidden] {
    display: none !important;
}

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

    .menu-button {
        display: grid;
        place-items: center;
    }

    .hero-slide {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 24px;
    }

    .hero-poster img {
        height: 440px;
    }

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

    .detail-main {
        grid-template-columns: 1fr;
    }

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

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

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

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

    .hero-carousel {
        min-height: 760px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        align-content: center;
        padding: 34px 0 70px;
    }

    .hero-poster {
        width: min(280px, 80vw);
        margin: 0 auto;
    }

    .hero-poster img {
        height: 360px;
    }

    .hero-content {
        text-align: left;
    }

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

    .section-heading,
    .filter-bar,
    .prev-next {
        align-items: flex-start;
        flex-direction: column;
    }

    .feature-grid,
    .movie-grid,
    .compact-grid,
    .category-grid,
    .ranking-grid,
    .category-overview-grid,
    .detail-side {
        grid-template-columns: 1fr;
    }

    .movie-grid {
        gap: 18px;
    }

    .ranking-item {
        grid-template-columns: 44px 86px minmax(0, 1fr);
    }

    .ranking-item img {
        width: 86px;
        height: 58px;
    }

    .category-overview-card {
        grid-template-columns: 1fr;
    }

    .detail-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .detail-poster {
        width: min(300px, 82vw);
    }

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

    .ranking-score {
        grid-column: 3;
        text-align: left;
        font-size: 18px;
    }

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

@media (max-width: 480px) {
    .container,
    .container.narrow,
    .header-inner,
    .mobile-panel,
    .footer-inner,
    .footer-bottom {
        width: min(100% - 22px, 1180px);
    }

    .movie-card {
        border-radius: 22px;
    }

    .movie-info {
        padding: 14px;
    }

    .search-large,
    .mobile-search {
        flex-direction: column;
        align-items: stretch;
    }
}
