:root {
    --color-rose: #e11d48;
    --color-rose-dark: #be123c;
    --color-pink: #db2777;
    --color-amber: #f59e0b;
    --color-ink: #18181b;
    --color-muted: #71717a;
    --color-line: #ffe4e6;
    --color-soft: #fff1f2;
    --shadow-card: 0 24px 70px rgba(225, 29, 72, 0.12);
    --shadow-float: 0 28px 80px rgba(15, 23, 42, 0.22);
    font-family: "Inter", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--color-ink);
    background: linear-gradient(135deg, #fff1f2 0%, #ffffff 42%, #fff7ed 100%);
    min-height: 100vh;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(244, 63, 94, 0.12);
    backdrop-filter: blur(20px);
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.8rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-width: max-content;
}

.brand-mark {
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-weight: 900;
    font-size: 1.35rem;
    background: linear-gradient(135deg, var(--color-rose), var(--color-pink));
    box-shadow: 0 14px 30px rgba(225, 29, 72, 0.28);
}

.brand-copy {
    display: grid;
    gap: 0.12rem;
}

.brand-copy strong {
    font-size: 1.1rem;
    line-height: 1.1;
    background: linear-gradient(90deg, var(--color-rose), var(--color-pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
}

.brand-copy small {
    color: var(--color-muted);
    font-size: 0.75rem;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.nav-link {
    padding: 0.65rem 1rem;
}

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

.menu-toggle {
    display: none;
    width: 2.7rem;
    height: 2.7rem;
    border: 0;
    border-radius: 0.85rem;
    background: #fff1f2;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 1.25rem;
    height: 2px;
    margin: 4px auto;
    background: var(--color-rose);
    border-radius: 99px;
}

.mobile-nav {
    display: none;
    padding: 0 1.5rem 1rem;
    max-width: 1280px;
    margin: 0 auto;
}

.mobile-link {
    display: block;
    padding: 0.85rem 1rem;
}

.hero-slider {
    position: relative;
    min-height: 720px;
    overflow: hidden;
    background: #0f172a;
}

.hero-stage,
.hero-slide,
.hero-shade {
    position: absolute;
    inset: 0;
}

.hero-slide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
    transform: scale(1.02);
    background-image: var(--hero-bg);
    background-size: cover;
    background-position: center;
}

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

.hero-shade {
    background:
        radial-gradient(circle at 72% 30%, rgba(251, 191, 36, 0.24), transparent 34%),
        linear-gradient(90deg, rgba(15, 23, 42, 0.92) 0%, rgba(136, 19, 55, 0.76) 48%, rgba(15, 23, 42, 0.36) 100%),
        linear-gradient(0deg, rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0.18));
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 720px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 6rem 1.5rem 5rem;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 420px);
    gap: 3rem;
    align-items: center;
}

.hero-copy {
    max-width: 780px;
    color: #ffffff;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1rem;
    color: var(--color-rose);
    background: #fff1f2;
    border: 1px solid #ffe4e6;
    border-radius: 999px;
    padding: 0.35rem 0.8rem;
    font-size: 0.85rem;
    font-weight: 800;
}

.hero-copy .eyebrow,
.rank-hero .eyebrow,
.category-hero .eyebrow {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(14px);
}

.hero-copy h1 {
    margin: 0 0 1.2rem;
    font-size: clamp(3rem, 6vw, 5.8rem);
    line-height: 0.98;
    letter-spacing: -0.08em;
}

.hero-summary {
    margin: 0 0 1.5rem;
    max-width: 680px;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    line-height: 1.85;
}

.hero-feature {
    margin: 1.25rem 0;
    padding: 1rem 1.15rem;
    display: grid;
    gap: 0.35rem;
    max-width: 650px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(18px);
}

.hero-feature strong {
    font-size: 1.35rem;
}

.hero-feature span {
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
}

.hero-tags,
.tag-row,
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hero-tags span,
.tag-row span,
.detail-tags span {
    border-radius: 999px;
    padding: 0.28rem 0.65rem;
    color: var(--color-rose);
    background: #fff1f2;
    border: 1px solid #ffe4e6;
    font-size: 0.78rem;
    font-weight: 700;
}

.hero-tags span {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.22);
}

.hero-actions,
.feature-actions,
.detail-actions,
.slim-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.85rem;
    padding: 0.78rem 1.15rem;
    border-radius: 999px;
    font-weight: 900;
    line-height: 1;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-rose), var(--color-pink));
    box-shadow: 0 15px 30px rgba(225, 29, 72, 0.28);
}

.hero-actions .btn-primary {
    color: var(--color-rose);
    background: #ffffff;
}

.btn-ghost,
.btn-glass {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.11);
    backdrop-filter: blur(14px);
}

.btn-soft {
    color: var(--color-rose);
    background: #fff1f2;
    border-color: #ffe4e6;
}

.hero-poster {
    position: relative;
    display: block;
    width: min(100%, 420px);
    justify-self: end;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: var(--shadow-float);
    transform: rotate(2deg);
}

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

.hero-poster span,
.poster-play {
    position: absolute;
    display: grid;
    place-items: center;
    width: 4rem;
    height: 4rem;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-rose), var(--color-pink));
    box-shadow: 0 12px 25px rgba(225, 29, 72, 0.35);
}

.hero-poster span {
    right: 1.2rem;
    bottom: 1.2rem;
    font-size: 1.3rem;
}

.hero-controls {
    position: absolute;
    left: 50%;
    bottom: 2rem;
    z-index: 4;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hero-arrow,
.hero-dot {
    border: 0;
    cursor: pointer;
}

.hero-arrow {
    width: 2.7rem;
    height: 2.7rem;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    font-size: 1.8rem;
    line-height: 1;
    backdrop-filter: blur(12px);
}

.hero-dots {
    display: flex;
    gap: 0.45rem;
}

.hero-dot {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.42);
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
    width: 2rem;
    background: #ffffff;
}

.section,
.page-main {
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.section {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
}

.page-main {
    padding-top: 2rem;
    padding-bottom: 5rem;
}

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

.section-heading.centered {
    display: grid;
    justify-items: center;
    text-align: center;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.section-heading span,
.compact-heading span {
    color: var(--color-rose);
    font-weight: 900;
}

.section-heading h2,
.compact-heading h2 {
    margin: 0.25rem 0 0;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    letter-spacing: -0.04em;
}

.section-heading p {
    margin: 0.4rem 0 0;
    color: var(--color-muted);
    line-height: 1.8;
}

.section-heading a,
.text-link {
    color: var(--color-rose);
    font-weight: 900;
}

.search-strip {
    margin-top: -3.5rem;
    position: relative;
    z-index: 5;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(244, 63, 94, 0.12);
    border-radius: 2rem;
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(20px);
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(260px, 1.8fr) repeat(3, minmax(150px, 0.7fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.filter-panel label {
    display: grid;
    gap: 0.35rem;
    color: #52525b;
    font-size: 0.85rem;
    font-weight: 800;
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    min-height: 3.2rem;
    border: 1px solid #ffe4e6;
    border-radius: 1rem;
    outline: 0;
    padding: 0 1rem;
    color: #18181b;
    background: #ffffff;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--color-rose);
    box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.12);
}

.empty-state {
    display: none;
    padding: 1rem;
    color: var(--color-muted);
    text-align: center;
    background: #ffffff;
    border: 1px solid #ffe4e6;
    border-radius: 1rem;
}

.empty-state.is-visible {
    display: block;
}

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

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

.movie-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(244, 63, 94, 0.12);
    border-radius: 1.35rem;
    overflow: hidden;
    box-shadow: 0 18px 44px rgba(136, 19, 55, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(225, 29, 72, 0.28);
    box-shadow: var(--shadow-card);
}

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

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

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

.poster-play {
    left: 50%;
    top: 50%;
    width: 3.25rem;
    height: 3.25rem;
    transform: translate(-50%, -50%) scale(0.86);
    opacity: 0;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

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

.poster-year,
.rank-badge {
    position: absolute;
    top: 0.8rem;
    z-index: 2;
    border-radius: 999px;
    padding: 0.3rem 0.65rem;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 900;
    background: rgba(15, 23, 42, 0.74);
    backdrop-filter: blur(10px);
}

.poster-year {
    right: 0.8rem;
}

.rank-badge {
    left: 0.8rem;
    background: linear-gradient(135deg, var(--color-rose), var(--color-pink));
}

.movie-card-body {
    padding: 1rem;
}

.movie-card-title {
    display: block;
    color: #18181b;
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1.35;
    margin-bottom: 0.5rem;
}

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

.movie-card-body p {
    min-height: 3.2rem;
    margin: 0 0 0.8rem;
    color: #71717a;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    color: #52525b;
    font-size: 0.82rem;
    margin-bottom: 0.7rem;
}

.movie-meta-row span {
    display: inline-flex;
    align-items: center;
    min-height: 1.7rem;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background: #fafafa;
    border: 1px solid #f4f4f5;
}

.category-section {
    max-width: none;
    background: linear-gradient(135deg, rgba(255, 241, 242, 0.82), rgba(255, 247, 237, 0.86));
}

.category-section > * {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

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

.category-card,
.category-overview-card,
.rank-panel,
.feature-panel,
.detail-player-card,
.detail-side-card,
.detail-content {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(244, 63, 94, 0.12);
    border-radius: 1.6rem;
    box-shadow: 0 18px 44px rgba(136, 19, 55, 0.08);
}

.category-card {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.category-cover-stack {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.35rem;
}

.category-cover-stack img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 0.8rem;
}

.category-card h3 {
    margin: 0;
    font-size: 1.15rem;
}

.category-card p,
.category-overview-copy p,
.feature-panel p,
.footer-brand p,
.page-hero p {
    color: var(--color-muted);
    line-height: 1.8;
}

.category-card span {
    display: inline-flex;
    margin-top: 0.5rem;
    color: var(--color-rose);
    font-weight: 900;
}

.split-section {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 1.5rem;
}

.rank-panel,
.feature-panel {
    padding: 1.35rem;
}

.compact-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.mini-list {
    display: grid;
    gap: 0.75rem;
}

.mini-list.two-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mini-movie {
    display: grid;
    grid-template-columns: auto 3.8rem 1fr;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem;
    border-radius: 1rem;
    background: #fff7f8;
    border: 1px solid #ffe4e6;
}

.mini-movie img {
    width: 3.8rem;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 0.75rem;
}

.mini-movie strong {
    display: block;
    line-height: 1.35;
}

.mini-movie small {
    display: block;
    margin-top: 0.2rem;
    color: var(--color-muted);
}

.mini-rank {
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    color: #ffffff;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--color-rose), var(--color-pink));
    font-weight: 900;
}

.feature-panel {
    display: grid;
    align-content: center;
    padding: 2rem;
    background:
        radial-gradient(circle at 88% 20%, rgba(245, 158, 11, 0.22), transparent 30%),
        linear-gradient(135deg, #ffffff, #fff1f2);
}

.feature-panel h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
    letter-spacing: -0.05em;
}

.page-hero {
    margin: 1rem 0 2rem;
    padding: clamp(2rem, 5vw, 4.5rem);
    border-radius: 2rem;
}

.soft-hero {
    background:
        radial-gradient(circle at 80% 20%, rgba(251, 191, 36, 0.24), transparent 32%),
        linear-gradient(135deg, #ffffff, #fff1f2 55%, #fff7ed);
    border: 1px solid rgba(244, 63, 94, 0.12);
    box-shadow: var(--shadow-card);
}

.category-hero,
.rank-hero {
    color: #ffffff;
    background:
        radial-gradient(circle at 82% 24%, rgba(251, 191, 36, 0.32), transparent 34%),
        linear-gradient(135deg, #881337, #e11d48 58%, #db2777);
    box-shadow: var(--shadow-float);
}

.page-hero h1 {
    margin: 0;
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    letter-spacing: -0.07em;
}

.category-hero p,
.rank-hero p {
    color: rgba(255, 255, 255, 0.86);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    color: var(--color-muted);
    margin: 0 0 1rem;
    font-size: 0.92rem;
}

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

.in-page-section {
    padding-left: 0;
    padding-right: 0;
}

.category-overview-list {
    display: grid;
    gap: 1.25rem;
}

.category-overview-card {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
    gap: 1.5rem;
    align-items: center;
    padding: 1.35rem;
}

.category-overview-copy span {
    color: var(--color-rose);
    font-weight: 900;
}

.category-overview-copy h2 {
    margin: 0.35rem 0;
    font-size: 2rem;
}

.rank-list {
    display: grid;
    gap: 0.85rem;
}

.rank-row {
    display: grid;
    grid-template-columns: 3.5rem 5rem minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: 0.85rem;
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(244, 63, 94, 0.12);
    box-shadow: 0 14px 32px rgba(136, 19, 55, 0.07);
}

.rank-number {
    display: grid;
    place-items: center;
    width: 2.7rem;
    height: 2.7rem;
    color: #ffffff;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--color-rose), var(--color-pink));
    font-weight: 900;
}

.rank-poster img {
    width: 5rem;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 0.8rem;
}

.rank-info h2 {
    margin: 0 0 0.35rem;
    font-size: 1.1rem;
}

.rank-info h2 a:hover {
    color: var(--color-rose);
}

.rank-info p {
    margin: 0 0 0.5rem;
    color: var(--color-muted);
    line-height: 1.6;
}

.detail-main {
    max-width: 1180px;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 1.5rem;
    align-items: stretch;
}

.detail-player-card {
    padding: 1rem;
}

.video-shell {
    position: relative;
    overflow: hidden;
    border-radius: 1.4rem;
    background: #020617;
    aspect-ratio: 16 / 9;
}

.movie-video {
    width: 100%;
    height: 100%;
    background: #020617;
    object-fit: contain;
}

.player-cover {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 1rem;
    width: 100%;
    height: 100%;
    color: #ffffff;
    border: 0;
    background:
        linear-gradient(0deg, rgba(2, 6, 23, 0.72), rgba(2, 6, 23, 0.28)),
        var(--player-cover) center / cover;
    cursor: pointer;
}

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

.play-button {
    display: grid;
    place-items: center;
    width: 5rem;
    height: 5rem;
    border-radius: 999px;
    font-size: 1.75rem;
    background: linear-gradient(135deg, var(--color-rose), var(--color-pink));
    box-shadow: 0 18px 40px rgba(225, 29, 72, 0.36);
}

.player-cover strong {
    max-width: min(80%, 620px);
    font-size: clamp(1.4rem, 3vw, 2.6rem);
    text-align: center;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.6);
}

.detail-side-card {
    overflow: hidden;
}

.detail-side-card img {
    width: 100%;
    height: calc(100% - 3.6rem);
    min-height: 320px;
    object-fit: cover;
}

.detail-side-info {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0.8rem;
}

.detail-side-info span {
    border-radius: 999px;
    padding: 0.25rem 0.55rem;
    color: var(--color-rose);
    background: #fff1f2;
    font-weight: 800;
    font-size: 0.78rem;
}

.detail-content {
    margin-top: 1.5rem;
    padding: clamp(1.2rem, 3vw, 2rem);
}

.detail-content h1 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 4.2rem);
    letter-spacing: -0.06em;
    line-height: 1.08;
}

.detail-one-line {
    color: #52525b;
    font-size: 1.18rem;
    line-height: 1.8;
}

.detail-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
    margin: 1.4rem 0;
}

.detail-meta-grid div {
    display: grid;
    gap: 0.25rem;
    padding: 1rem;
    border-radius: 1.1rem;
    background: #fff7f8;
    border: 1px solid #ffe4e6;
}

.detail-meta-grid strong {
    color: var(--color-muted);
    font-size: 0.85rem;
}

.detail-meta-grid span {
    font-weight: 900;
}

.article-block {
    margin-top: 1.8rem;
}

.article-block h2 {
    margin: 0 0 0.65rem;
    font-size: 1.6rem;
}

.article-block p {
    margin: 0;
    color: #3f3f46;
    line-height: 2;
    font-size: 1.05rem;
}

.related-section {
    padding-bottom: 0;
}

.page-neighbor {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
}

.page-neighbor a {
    padding: 0.9rem 1rem;
    border-radius: 999px;
    color: var(--color-rose);
    background: #ffffff;
    border: 1px solid #ffe4e6;
    font-weight: 900;
}

.site-footer {
    margin-top: 3rem;
    border-top: 1px solid rgba(244, 63, 94, 0.12);
    background: rgba(255, 255, 255, 0.82);
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr;
    gap: 2rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-group h2 {
    margin: 0 0 1rem;
    font-size: 1.05rem;
}

.footer-links {
    display: grid;
    gap: 0.6rem;
}

.footer-links a {
    color: #52525b;
    font-weight: 700;
}

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

.footer-bottom {
    padding: 1rem 1.5rem 1.5rem;
    color: var(--color-muted);
    text-align: center;
}

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

@media (max-width: 1120px) {
    .movie-grid,
    .movie-grid.large-grid,
    .category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

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

    .menu-toggle {
        display: block;
    }

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

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

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-top: 5rem;
    }

    .hero-poster {
        justify-self: start;
        width: min(72vw, 320px);
    }

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

    .detail-side-card {
        display: none;
    }

    .rank-row {
        grid-template-columns: 2.8rem 4.2rem minmax(0, 1fr);
    }

    .rank-watch {
        grid-column: 3;
        justify-self: start;
    }

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

@media (max-width: 620px) {
    .header-inner,
    .section,
    .page-main {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .brand-copy small {
        display: none;
    }

    .hero-copy h1,
    .page-hero h1,
    .detail-content h1 {
        letter-spacing: -0.04em;
    }

    .hero-actions,
    .feature-actions,
    .detail-actions,
    .page-neighbor {
        flex-direction: column;
    }

    .btn,
    .page-neighbor a {
        width: 100%;
    }

    .filter-panel,
    .movie-grid,
    .movie-grid.large-grid,
    .category-grid,
    .mini-list.two-column,
    .detail-meta-grid {
        grid-template-columns: 1fr;
    }

    .search-strip {
        margin-top: -2rem;
        border-radius: 1.5rem;
    }

    .section-heading {
        display: grid;
        gap: 0.6rem;
    }

    .rank-row {
        grid-template-columns: 2.5rem 4rem minmax(0, 1fr);
        gap: 0.65rem;
    }

    .rank-info p {
        display: none;
    }
}
