:root {
    --rose-50: #fff1f2;
    --rose-100: #ffe4e6;
    --rose-300: #fda4af;
    --rose-500: #f43f5e;
    --rose-600: #e11d48;
    --pink-500: #ec4899;
    --purple-500: #8b5cf6;
    --orange-500: #f97316;
    --blue-500: #3b82f6;
    --cyan-500: #06b6d4;
    --green-500: #22c55e;
    --slate-950: #020617;
    --slate-900: #0f172a;
    --gray-900: #111827;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --white: #ffffff;
    --shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
    --soft-shadow: 0 12px 30px rgba(244, 63, 94, 0.12);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--gray-900);
    background: linear-gradient(180deg, #ffffff 0%, #fff7f8 45%, #ffffff 100%);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

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

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

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
    gap: 22px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    white-space: nowrap;
}

.brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
    box-shadow: 0 10px 24px rgba(244, 63, 94, 0.35);
    transition: transform 0.3s ease;
}

.brand:hover .brand-icon {
    transform: rotate(12deg) scale(1.05);
}

.brand-text {
    font-size: 1.28rem;
    background: linear-gradient(90deg, var(--rose-600), var(--pink-500));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    color: var(--gray-700);
    font-weight: 700;
}

.desktop-nav a {
    position: relative;
    transition: color 0.25s ease;
}

.desktop-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 2px;
    transform: scaleX(0);
    transform-origin: center;
    background: linear-gradient(90deg, var(--rose-500), var(--pink-500));
    transition: transform 0.25s ease;
}

.desktop-nav a:hover {
    color: var(--rose-600);
}

.desktop-nav a:hover::after {
    transform: scaleX(1);
}

.header-search,
.mobile-search,
.big-search,
.page-search-form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-search input,
.mobile-search input,
.big-search input,
.page-search-form input,
.filter-bar input,
.filter-bar select {
    border: 1px solid rgba(244, 63, 94, 0.22);
    outline: none;
    background: var(--white);
    border-radius: 999px;
    padding: 11px 16px;
    color: var(--gray-700);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.header-search input {
    width: 220px;
}

.header-search input:focus,
.mobile-search input:focus,
.big-search input:focus,
.page-search-form input:focus,
.filter-bar input:focus,
.filter-bar select:focus {
    border-color: var(--rose-500);
    box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.12);
}

.header-search button,
.mobile-search button,
.big-search button,
.page-search-form button,
.filter-bar button {
    border: 0;
    color: var(--white);
    background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
    border-radius: 999px;
    padding: 11px 18px;
    font-weight: 800;
    box-shadow: var(--soft-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.header-search button:hover,
.mobile-search button:hover,
.big-search button:hover,
.page-search-form button:hover,
.filter-bar button:hover,
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(244, 63, 94, 0.25);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: rgba(244, 63, 94, 0.08);
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--gray-700);
}

.mobile-panel {
    display: none;
    padding: 16px;
    background: var(--white);
    border-top: 1px solid var(--rose-100);
}

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

.mobile-panel nav {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.mobile-panel nav a {
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--gray-700);
    font-weight: 700;
}

.mobile-panel nav a:hover {
    background: var(--rose-50);
    color: var(--rose-600);
}

.hero-carousel {
    position: relative;
    height: 620px;
    overflow: hidden;
    color: var(--white);
    background: linear-gradient(120deg, #fecdd3, #fbcfe8, #ddd6fe);
}

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

.hero-slide {
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.75s ease, transform 1.2s ease;
    pointer-events: none;
}

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

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.08) contrast(1.02);
}

.hero-shade {
    background:
        radial-gradient(circle at 78% 18%, rgba(244, 63, 94, 0.2), transparent 28%),
        linear-gradient(90deg, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.55) 48%, rgba(15, 23, 42, 0.15));
}

.hero-grid {
    position: relative;
    height: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.75fr);
    align-items: center;
    gap: 42px;
    z-index: 2;
}

.hero-copy {
    max-width: 700px;
}

.hero-kicker,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: #ffe4e6;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eyebrow {
    color: var(--rose-500);
    font-size: 0.78rem;
}

.hero-copy h1 {
    margin: 0;
    font-size: clamp(2.7rem, 7vw, 5.7rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
    text-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.hero-copy p {
    max-width: 650px;
    margin: 22px 0 0;
    color: #fff1f2;
    font-size: 1.22rem;
}

.hero-tags,
.tag-row,
.detail-tags,
.hot-tags,
.search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

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

.hero-tags span,
.tag-row span,
.detail-tags a,
.hot-tags a,
.search-tags a {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 12px;
    color: var(--rose-700, #be123c);
    background: rgba(255, 255, 255, 0.82);
    font-size: 0.86rem;
    font-weight: 800;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 13px 24px;
    font-weight: 900;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn.primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
    box-shadow: 0 18px 38px rgba(244, 63, 94, 0.35);
}

.btn.ghost {
    color: var(--white);
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(12px);
}

.hero-panel {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(18px);
}

.hero-panel img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 22px;
}

.hero-panel div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
}

.hero-panel strong {
    font-size: 1.1rem;
}

.hero-panel span {
    color: #ffe4e6;
    font-weight: 700;
}

.hero-controls {
    position: relative;
    z-index: 3;
    height: 100%;
    pointer-events: none;
}

.hero-controls > button {
    position: absolute;
    top: 50%;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    transform: translateY(-50%);
    pointer-events: auto;
    font-size: 2rem;
}

.hero-controls > button:first-child {
    left: 0;
}

.hero-controls > button:last-child {
    right: 0;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 30px;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
    pointer-events: auto;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
}

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

.quick-search-band {
    padding: 28px 0;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(244, 63, 94, 0.06);
}

.quick-search-inner {
    display: grid;
    grid-template-columns: 0.9fr 1.4fr;
    align-items: center;
    gap: 28px;
}

.quick-search-inner h2,
.section-heading h2,
.page-hero h1,
.detail-copy h1 {
    margin: 0;
    color: var(--gray-900);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.quick-search-inner h2 {
    font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.big-search input,
.page-search-form input {
    flex: 1;
    min-width: 0;
    padding: 15px 20px;
}

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

.soft-bg {
    background: linear-gradient(135deg, rgba(255, 241, 242, 0.8), rgba(255, 247, 237, 0.8));
}

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

.section-heading h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.section-heading p {
    margin: 10px 0 0;
    color: var(--gray-600);
}

.section-link {
    color: var(--rose-600);
    font-weight: 900;
}

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

.latest-grid .movie-card.wide:nth-child(-n + 4) .movie-poster {
    aspect-ratio: 16 / 10;
}

.movie-card {
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.movie-poster {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: linear-gradient(135deg, var(--rose-100), #ede9fe);
}

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

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

.poster-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.72));
}

.play-badge,
.duration {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    color: var(--white);
    background: rgba(0, 0, 0, 0.58);
    padding: 5px 9px;
    font-size: 0.78rem;
    font-weight: 900;
    backdrop-filter: blur(8px);
}

.play-badge {
    left: 12px;
    top: 12px;
    background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
}

.duration {
    right: 12px;
    bottom: 12px;
}

.movie-body {
    padding: 16px;
}

.movie-meta-line,
.card-foot,
.detail-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--gray-500);
    font-size: 0.86rem;
    font-weight: 700;
}

.movie-meta-line a {
    color: var(--rose-600);
}

.movie-body h3 {
    margin: 10px 0 8px;
    color: var(--gray-900);
    font-size: 1.08rem;
    line-height: 1.3;
}

.movie-body h3 a:hover {
    color: var(--rose-600);
}

.movie-body p {
    display: -webkit-box;
    min-height: 44px;
    margin: 0 0 12px;
    overflow: hidden;
    color: var(--gray-600);
    font-size: 0.92rem;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.tag-row {
    gap: 6px;
    margin-bottom: 12px;
}

.tag-row span {
    color: #1d4ed8;
    background: #dbeafe;
    padding: 4px 8px;
    font-size: 0.76rem;
}

.two-column {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) 360px;
    gap: 32px;
}

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

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

.rank-item {
    display: grid;
    grid-template-columns: auto 58px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    min-height: 72px;
    padding: 10px;
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rank-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow);
}

.rank-item img {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    object-fit: cover;
}

.rank-no {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--rose-500), var(--orange-500));
    border-radius: 999px;
    font-weight: 900;
}

.rank-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 900;
}

.rank-score {
    color: var(--rose-600);
    font-weight: 900;
}

.tag-panel,
.content-card,
.category-overview-card,
.ranking-board,
.player-shell {
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.tag-panel {
    padding: 28px;
    align-self: start;
}

.tag-panel h3 {
    margin: 0 0 18px;
    font-size: 1.5rem;
}

.hot-tags a,
.search-tags a,
.detail-tags a {
    color: var(--gray-700);
    background: var(--gray-100);
    transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.hot-tags a:hover,
.search-tags a:hover,
.detail-tags a:hover {
    color: var(--white);
    background: linear-gradient(135deg, var(--purple-500), var(--pink-500));
    transform: scale(1.05);
}

.stats-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    margin-top: 28px;
    padding: 20px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--rose-50), #fff7ed);
}

.stats-card strong {
    color: var(--rose-600);
    font-size: 1.5rem;
}

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

.category-tile {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 26px;
    overflow: hidden;
    border-radius: 28px;
    color: var(--white);
    background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
    box-shadow: var(--soft-shadow);
    transition: transform 0.3s ease;
}

.category-tile:hover {
    transform: translateY(-8px) scale(1.01);
}

.category-tile.orange,
.gradient-orange {
    background: linear-gradient(135deg, #f97316, #f43f5e);
}

.category-tile.blue,
.gradient-blue {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.category-tile.purple,
.gradient-purple {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
}

.category-tile.rose,
.gradient-rose {
    background: linear-gradient(135deg, #f43f5e, #ec4899);
}

.gradient-rihan,
.gradient-guochan,
.gradient-oumei,
.gradient-qita {
    background: linear-gradient(135deg, #f43f5e, #ec4899);
}

.category-tile span {
    font-size: 1.45rem;
    font-weight: 900;
}

.category-tile strong {
    font-size: 3.4rem;
    line-height: 1;
}

.category-tile em {
    font-style: normal;
    opacity: 0.9;
}

.page-hero {
    padding: 72px 0;
    color: var(--white);
}

.page-hero .eyebrow,
.page-hero p,
.page-hero a,
.page-hero strong,
.page-hero h1 {
    color: var(--white);
}

.page-hero h1 {
    max-width: 900px;
    font-size: clamp(2.4rem, 6vw, 4.5rem);
}

.page-hero p {
    max-width: 760px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.08rem;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-weight: 800;
}

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

.category-overview-card {
    padding: 28px;
}

.category-overview-card.rose {
    border-top: 5px solid var(--rose-500);
}

.category-overview-card.orange {
    border-top: 5px solid var(--orange-500);
}

.category-overview-card.blue {
    border-top: 5px solid var(--blue-500);
}

.category-overview-card.purple {
    border-top: 5px solid var(--purple-500);
}

.category-overview-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

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

.category-overview-head p {
    margin: 8px 0 0;
    color: var(--gray-600);
}

.category-overview-head strong {
    color: var(--rose-600);
    font-size: 2rem;
    white-space: nowrap;
}

.mini-rank-list {
    display: grid;
    gap: 10px;
    margin-bottom: 22px;
}

.filter-bar {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 150px 150px auto auto;
    gap: 12px;
    align-items: center;
    margin-bottom: 28px;
    padding: 14px;
    border-radius: 22px;
    background: var(--white);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

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

.search-status {
    margin-bottom: 24px;
}

.search-status h2 {
    margin: 0 0 6px;
    font-size: 2rem;
}

.search-status p {
    margin: 0;
    color: var(--gray-600);
}

.search-tags {
    margin-top: 24px;
}

.page-search-form {
    max-width: 760px;
    margin-top: 26px;
}

.detail-hero {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    color: var(--white);
    background: var(--slate-950);
    padding: 38px 0 72px;
}

.detail-bg,
.detail-overlay {
    position: absolute;
    inset: 0;
}

.detail-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(8px) saturate(1.15);
    transform: scale(1.05);
    opacity: 0.45;
}

.detail-overlay {
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.35));
}

.detail-hero .container {
    position: relative;
    z-index: 2;
}

.detail-grid {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    align-items: center;
    gap: 42px;
}

.detail-poster {
    overflow: hidden;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    padding: 12px;
}

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

.detail-copy h1 {
    color: var(--white);
    font-size: clamp(2.4rem, 5vw, 4.8rem);
}

.detail-copy p {
    max-width: 840px;
    color: #e5e7eb;
    font-size: 1.16rem;
}

.detail-stats {
    justify-content: flex-start;
    margin: 22px 0;
}

.detail-stats span {
    border-radius: 999px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
}

.player-section {
    padding-top: 0;
    margin-top: -70px;
    position: relative;
    z-index: 3;
}

.player-shell {
    overflow: hidden;
}

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

.player-frame video {
    width: 100%;
    height: 100%;
    background: #000;
}

.player-start {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--white);
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.15), rgba(2, 6, 23, 0.68));
    border: 0;
    font-size: 1.2rem;
}

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

.player-start span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 82px;
    height: 82px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
    box-shadow: 0 20px 40px rgba(244, 63, 94, 0.35);
    font-size: 2rem;
}

.player-info {
    padding: 22px 26px;
}

.player-info h2 {
    margin: 0;
}

.player-info p {
    margin: 6px 0 0;
    color: var(--gray-600);
}

.detail-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
}

.content-card {
    padding: 30px;
}

.article-card h2,
.info-card h2,
.ranking-board h2 {
    margin: 0 0 18px;
    font-size: 1.8rem;
}

.article-card p {
    margin: 0 0 26px;
    color: var(--gray-700);
    font-size: 1.05rem;
}

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

.info-card dt {
    color: var(--gray-500);
    font-weight: 900;
}

.info-card dd {
    margin: 0;
    color: var(--gray-800, #1f2937);
}

.ranking-board {
    margin-top: 36px;
    padding: 28px;
}

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

.site-footer {
    border-top: 1px solid var(--gray-200);
    background: linear-gradient(180deg, #f9fafb, #ffffff);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 28px;
    padding: 48px 0;
}

.footer-grid p {
    color: var(--gray-600);
}

.footer-grid h3 {
    margin: 0 0 14px;
}

.footer-grid a:not(.brand) {
    display: block;
    margin: 8px 0;
    color: var(--gray-600);
}

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

.footer-bottom {
    padding: 18px 0;
    text-align: center;
    color: var(--gray-500);
    border-top: 1px solid var(--gray-200);
}

.hidden-by-filter {
    display: none !important;
}

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

    .menu-toggle {
        display: block;
    }

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

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

    .two-column,
    .detail-content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .hero-carousel {
        height: 760px;
    }

    .hero-grid,
    .quick-search-inner,
    .detail-grid,
    .footer-grid,
    .category-overview-grid {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        max-width: 320px;
    }

    .filter-bar {
        grid-template-columns: 1fr 1fr;
    }

    .rank-list.expanded {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .container {
        width: min(100% - 24px, var(--container));
    }

    .hero-carousel {
        height: 720px;
    }

    .hero-copy h1 {
        font-size: 2.7rem;
    }

    .hero-copy p {
        font-size: 1rem;
    }

    .hero-controls > button {
        display: none;
    }

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

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

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

    .movie-body {
        padding: 12px;
    }

    .movie-body p,
    .tag-row {
        display: none;
    }

    .detail-grid {
        gap: 24px;
    }

    .detail-poster {
        max-width: 240px;
    }

    .filter-bar {
        grid-template-columns: 1fr;
    }

    .page-search-form,
    .big-search {
        flex-direction: column;
        align-items: stretch;
    }

    .rank-item {
        grid-template-columns: auto 50px minmax(0, 1fr);
    }

    .rank-score {
        display: none;
    }
}
