:root {
    --rose-50: #fff1f2;
    --rose-100: #ffe4e6;
    --rose-500: #f43f5e;
    --rose-600: #e11d48;
    --pink-500: #ec4899;
    --pink-600: #db2777;
    --purple-500: #a855f7;
    --blue-500: #3b82f6;
    --cyan-100: #cffafe;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-500: #64748b;
    --slate-700: #334155;
    --slate-900: #0f172a;
    --white: #ffffff;
    --shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 14px 36px rgba(15, 23, 42, 0.12);
    --shadow-lg: 0 25px 60px rgba(15, 23, 42, 0.18);
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --container: 1280px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--slate-900);
    background: linear-gradient(180deg, #ffffff 0%, #fff1f2 52%, #f8fafc 100%);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(244, 63, 94, 0.14);
    background: linear-gradient(90deg, rgba(255, 241, 242, 0.94), rgba(253, 242, 248, 0.94));
    backdrop-filter: blur(18px);
}

.header-inner {
    width: min(100% - 32px, var(--container));
    height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 26px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.logo-mark {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: var(--white);
    background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
    box-shadow: 0 12px 24px rgba(244, 63, 94, 0.24);
    transition: transform 0.3s ease;
}

.logo:hover .logo-mark {
    transform: rotate(12deg) scale(1.05);
}

.logo-text {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, var(--rose-600), var(--pink-600));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
}

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

.nav-link {
    color: var(--slate-700);
    font-weight: 700;
    transition: color 0.2s ease;
}

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

.header-search,
.mobile-search {
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid rgba(244, 63, 94, 0.2);
    border-radius: 999px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.header-search input,
.mobile-search input {
    width: 220px;
    border: 0;
    outline: 0;
    padding: 11px 14px 11px 18px;
    color: var(--slate-900);
    background: transparent;
}

.header-search button,
.mobile-search button,
.primary-button {
    border: 0;
    color: var(--white);
    font-weight: 800;
    padding: 11px 20px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--rose-500), var(--pink-500));
    box-shadow: 0 10px 22px rgba(244, 63, 94, 0.22);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.header-search button:hover,
.mobile-search button:hover,
.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(244, 63, 94, 0.28);
}

.mobile-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.7);
}

.mobile-menu-button span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    border-radius: 99px;
    background: var(--slate-700);
}

.mobile-menu {
    display: none;
    border-top: 1px solid rgba(244, 63, 94, 0.12);
    background: rgba(255, 255, 255, 0.96);
}

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

.mobile-menu > form,
.mobile-menu > nav {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
}

.mobile-menu > form {
    margin-top: 16px;
}

.mobile-menu nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 16px 0 20px;
}

.mobile-nav-link {
    padding: 12px 14px;
    border-radius: 14px;
    color: var(--slate-700);
    background: var(--rose-50);
    font-weight: 700;
}

.hero {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    background: linear-gradient(120deg, #ffe4e6 0%, #fce7f3 46%, #ede9fe 100%);
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(244, 63, 94, 0.36), transparent 32%),
        radial-gradient(circle at 80% 10%, rgba(168, 85, 247, 0.34), transparent 30%),
        linear-gradient(90deg, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.34));
}

.hero-inner {
    position: relative;
    width: min(100% - 32px, var(--container));
    min-height: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 56px 0 42px;
}

.hero-stage {
    position: relative;
    min-height: 420px;
}

.hero-slide {
    display: none;
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
    gap: 52px;
    align-items: center;
    min-height: 420px;
    animation: heroFade 0.55s ease;
}

.hero-slide.is-active {
    display: grid;
}

.hero-copy {
    color: var(--white);
}

.hero-eyebrow,
.detail-kicker {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    color: #ffe4e6;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(14px);
    font-weight: 800;
}

.hero-copy h1 {
    max-width: 760px;
    margin: 22px 0 14px;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.hero-copy h2 {
    margin: 0 0 12px;
    font-size: clamp(26px, 3vw, 42px);
    color: #fecdd3;
}

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

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

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

.hero-tags span,
.detail-tags span,
.card-tags span {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.hero-tags span {
    color: var(--white);
    background: rgba(255, 255, 255, 0.16);
}

.detail-tags span,
.card-tags span {
    color: var(--rose-600);
    background: var(--rose-50);
}

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

.primary-button,
.ghost-button,
.text-button,
.section-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.ghost-button {
    padding: 11px 22px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 999px;
    color: var(--white);
    font-weight: 800;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    transition: background 0.25s ease, transform 0.25s ease;
}

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

.hero-poster {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 34px;
    background: rgba(15, 23, 42, 0.28);
    box-shadow: var(--shadow-lg);
}

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

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

.hero-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(15, 23, 42, 0.72));
}

.hero-play,
.poster-play {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
    box-shadow: var(--shadow-md);
}

.hero-play {
    right: 28px;
    bottom: 28px;
    width: 78px;
    height: 78px;
    font-size: 28px;
}

.hero-controls {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}

.hero-dot {
    width: 36px;
    height: 8px;
    border: 0;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.36);
    transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
    width: 64px;
    background: var(--white);
}

.hero-search-panel {
    margin-top: 24px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(16px);
}

.hero-search-panel form {
    display: flex;
    gap: 12px;
}

.hero-search-panel input {
    flex: 1;
    min-width: 0;
    border: 0;
    border-radius: 999px;
    padding: 15px 18px;
    outline: 0;
    color: var(--slate-900);
    background: var(--white);
}

.hero-search-panel button {
    border: 0;
    border-radius: 999px;
    padding: 0 26px;
    color: var(--white);
    font-weight: 800;
    background: linear-gradient(90deg, var(--rose-500), var(--pink-500));
}

.hero-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.hero-chip-row a {
    padding: 7px 12px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.16);
    font-weight: 700;
}

.content-section {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
    padding: 54px 0;
}

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

.section-heading h2 {
    margin: 0;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.section-heading p {
    max-width: 720px;
    margin: 8px 0 0;
    color: var(--slate-500);
}

.section-link,
.text-button {
    color: var(--rose-600);
    font-weight: 800;
}

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

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

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

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

.movie-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.poster-frame {
    position: relative;
    margin: 0;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: linear-gradient(135deg, var(--slate-900), var(--rose-600));
}

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

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

.poster-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    background: rgba(15, 23, 42, 0.42);
    transition: opacity 0.3s ease;
}

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

.poster-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    padding: 5px 9px;
    border-radius: 999px;
    color: var(--white);
    font-size: 12px;
    font-weight: 800;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(8px);
}

.poster-play {
    left: 50%;
    top: 50%;
    width: 56px;
    height: 56px;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.92);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

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

.card-kicker {
    margin-bottom: 6px;
    color: var(--rose-600);
    font-size: 13px;
    font-weight: 800;
}

.movie-card h3 {
    margin: 0;
    color: var(--slate-900);
    font-size: 18px;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.card-tags {
    gap: 6px;
}

.card-tags span {
    padding: 4px 8px;
    font-size: 12px;
}

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

.category-tile {
    position: relative;
    min-height: 220px;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    background: var(--slate-900);
}

.category-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.72;
    transition: transform 0.5s ease;
}

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

.category-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.05), rgba(15, 23, 42, 0.86));
}

.category-tile div {
    position: absolute;
    z-index: 2;
    left: 18px;
    right: 18px;
    bottom: 18px;
    color: var(--white);
}

.category-tile span {
    display: inline-flex;
    margin-bottom: 8px;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(244, 63, 94, 0.85);
    font-size: 12px;
    font-weight: 800;
}

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

.category-tile p {
    margin: 6px 0 0;
    color: #ffe4e6;
    font-size: 13px;
}

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

.top-rank-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

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

.rank-card {
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.rank-card a {
    display: grid;
    grid-template-columns: auto 84px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    min-height: 120px;
    padding: 14px;
}

.rank-number {
    color: var(--rose-600);
    font-size: 24px;
    font-weight: 900;
}

.rank-card img {
    width: 84px;
    height: 96px;
    border-radius: 12px;
    object-fit: cover;
    background: var(--slate-900);
}

.rank-card strong {
    display: block;
    color: var(--slate-900);
    font-size: 18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rank-card p {
    margin: 6px 0;
    color: var(--slate-500);
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rank-card span:last-child {
    color: var(--rose-600);
    font-size: 13px;
    font-weight: 800;
}

.page-hero {
    color: var(--white);
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.18), transparent 32%),
        linear-gradient(120deg, var(--rose-500), var(--pink-500), var(--purple-500));
}

.soft-hero {
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.22), transparent 36%),
        linear-gradient(120deg, var(--rose-500), var(--pink-500));
}

.library-hero {
    background:
        radial-gradient(circle at 80% 20%, rgba(207, 250, 254, 0.36), transparent 32%),
        linear-gradient(120deg, var(--blue-500), var(--purple-500));
}

.ranking-hero {
    background:
        radial-gradient(circle at 18% 26%, rgba(255, 255, 255, 0.22), transparent 34%),
        linear-gradient(120deg, #0f172a, var(--rose-600));
}

.page-hero-inner {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
    padding: 72px 0;
}

.page-hero-inner span {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    font-weight: 800;
}

.page-hero h1 {
    max-width: 820px;
    margin: 0;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.page-hero p {
    max-width: 760px;
    margin: 16px 0 0;
    color: #fff1f2;
    font-size: 18px;
}

.filter-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
    padding: 16px;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow-sm);
}

.filter-search {
    display: flex;
    flex: 1;
    min-width: 260px;
    overflow: hidden;
    border: 1px solid var(--slate-200);
    border-radius: 999px;
    background: var(--white);
}

.filter-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 13px 18px;
    background: transparent;
}

.filter-search button {
    border: 0;
    padding: 0 18px;
    color: var(--rose-600);
    background: var(--rose-50);
    font-weight: 800;
}

.filter-selects {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-selects select {
    min-height: 46px;
    border: 1px solid var(--slate-200);
    border-radius: 14px;
    padding: 0 14px;
    color: var(--slate-700);
    background: var(--white);
    outline: 0;
}

.empty-state {
    margin-top: 24px;
    padding: 34px;
    border-radius: var(--radius-md);
    text-align: center;
    color: var(--slate-500);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 18px;
    padding: 18px;
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.category-overview-cover {
    overflow: hidden;
    border-radius: 16px;
    background: var(--slate-900);
}

.category-overview-cover img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
}

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

.category-overview-card p {
    margin: 0 0 14px;
    color: var(--slate-500);
}

.category-sample-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.category-sample-links a {
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--rose-600);
    background: var(--rose-50);
    font-weight: 700;
    font-size: 13px;
}

.detail-layout {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
    padding: 28px 0 0;
}

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

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

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

.player-card,
.detail-info-card,
.article-card,
.article-side-card {
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.video-box {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #020617;
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    color: var(--white);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.12), rgba(15, 23, 42, 0.62));
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-overlay span {
    width: 82px;
    height: 82px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 30px;
    background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
    box-shadow: var(--shadow-lg);
}

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

.player-caption {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px 16px;
}

.player-caption span {
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--rose-600);
    background: var(--rose-50);
    font-weight: 800;
    font-size: 13px;
}

.detail-info-card {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 16px;
    padding: 18px;
}

.detail-info-card > img {
    width: 150px;
    height: 220px;
    border-radius: 18px;
    object-fit: cover;
    background: var(--slate-900);
}

.detail-info-card h1 {
    margin: 12px 0 10px;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.1;
}

.detail-info-card p {
    color: var(--slate-500);
    margin: 0 0 16px;
}

.detail-kicker {
    color: var(--rose-600);
    background: var(--rose-50);
}

.full-button {
    width: 100%;
    margin-top: 18px;
}

.detail-text-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
}

.article-card,
.article-side-card {
    padding: 28px;
}

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

.article-card p {
    margin: 0 0 28px;
    color: var(--slate-700);
    font-size: 17px;
}

.article-card p:last-child {
    margin-bottom: 0;
}

.article-side-card dl {
    margin: 0 0 20px;
}

.article-side-card dl div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--slate-200);
}

.article-side-card dt {
    color: var(--slate-500);
}

.article-side-card dd {
    margin: 0;
    color: var(--slate-900);
    font-weight: 800;
    text-align: right;
}

.site-footer {
    margin-top: 48px;
    border-top: 1px solid var(--slate-200);
    background: linear-gradient(180deg, var(--slate-50), var(--slate-100));
}

.footer-inner {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
    padding: 48px 0;
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
    gap: 36px;
}

.footer-brand p,
.footer-column p,
.footer-column a {
    color: var(--slate-500);
}

.footer-brand p {
    max-width: 420px;
    margin: 16px 0 0;
}

.footer-column h3 {
    margin: 0 0 14px;
    font-size: 17px;
}

.footer-column ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-column li + li {
    margin-top: 8px;
}

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

.footer-bottom {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
    padding: 18px 0;
    border-top: 1px solid var(--slate-200);
    color: var(--slate-500);
    font-size: 14px;
}

@keyframes heroFade {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

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

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

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

    .logo-text {
        font-size: 20px;
    }

    .hero-inner {
        min-height: auto;
        padding: 38px 0;
    }

    .hero-stage {
        min-height: auto;
    }

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

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

    .hero-search-panel form,
    .filter-panel {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-search {
        min-width: 0;
    }

    .filter-selects,
    .filter-selects select {
        width: 100%;
    }

    .movie-grid,
    .large-grid,
    .compact-grid,
    .spotlight-grid,
    .category-grid,
    .top-rank-list,
    .two-column-rank,
    .full-rank-list,
    .category-overview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .detail-info-card > img {
        width: 100%;
        height: auto;
        aspect-ratio: 3 / 4;
    }

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

@media (max-width: 560px) {
    .movie-grid,
    .large-grid,
    .compact-grid,
    .spotlight-grid,
    .category-grid,
    .top-rank-list,
    .two-column-rank,
    .full-rank-list,
    .category-overview-grid {
        grid-template-columns: 1fr;
    }

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

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .rank-card a {
        grid-template-columns: auto 72px minmax(0, 1fr);
    }

    .rank-card img {
        width: 72px;
        height: 88px;
    }

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