:root {
    color-scheme: light;
    --rose: #f43f5e;
    --rose-dark: #e11d48;
    --pink: #ec4899;
    --orange: #fb923c;
    --yellow: #fde68a;
    --cyan: #06b6d4;
    --blue-soft: #eff6ff;
    --text: #1f2937;
    --muted: #6b7280;
    --line: #e5e7eb;
    --panel: #ffffff;
    --soft: #fff1f2;
    --bg: #f8fafc;
    --dark: #111827;
    --shadow-sm: 0 10px 24px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 20px 42px rgba(15, 23, 42, 0.12);
    --shadow-lg: 0 30px 70px rgba(15, 23, 42, 0.22);
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
}

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

img,
video {
    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);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.8);
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04);
}

.header-inner {
    max-width: 1280px;
    height: 68px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 28px;
}

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

.logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--rose), var(--pink), var(--orange));
    box-shadow: 0 12px 28px rgba(244, 63, 94, 0.35);
    font-size: 15px;
    transition: transform 0.25s ease;
}

.site-logo:hover .logo-mark {
    transform: scale(1.08) rotate(-3deg);
}

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

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

.desktop-nav a,
.mobile-panel nav a {
    color: #374151;
    font-weight: 600;
    transition: color 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active,
.mobile-panel nav a:hover,
.mobile-panel nav a.is-active {
    color: var(--rose);
}

.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 280px;
}

.header-search input,
.mobile-search input,
.filter-panel input,
.filter-panel select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
    color: var(--text);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input,
.mobile-search input {
    padding: 11px 16px;
}

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

.header-search button,
.mobile-search button {
    border: 0;
    border-radius: 999px;
    padding: 10px 18px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--rose), var(--pink));
    cursor: pointer;
    font-weight: 700;
}

.menu-toggle {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    background: var(--soft);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 19px;
    height: 2px;
    border-radius: 999px;
    background: var(--rose);
}

.mobile-panel {
    display: none;
    padding: 0 24px 18px;
    background: #ffffff;
}

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

.mobile-panel nav,
.quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding: 14px 0;
}

.quick-links a {
    color: var(--muted);
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #f3f4f6;
}

main {
    overflow: hidden;
}

.hero-carousel {
    position: relative;
    min-height: 660px;
    background: linear-gradient(135deg, #f43f5e 0%, #ec4899 52%, #fb923c 100%);
    color: #ffffff;
    overflow: hidden;
}

.hero-light {
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 999px;
    opacity: 0.25;
    filter: blur(12px);
    background: #ffffff;
    pointer-events: none;
}

.hero-light-one {
    top: 64px;
    left: 8%;
}

.hero-light-two {
    right: 6%;
    bottom: 50px;
    background: var(--yellow);
}

.hero-slider {
    position: relative;
    max-width: 1280px;
    min-height: 660px;
    margin: 0 auto;
}

.hero-slide {
    position: absolute;
    inset: 0;
    padding: 92px 24px 86px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.72fr);
    gap: 54px;
    align-items: center;
    opacity: 0;
    transform: translateX(36px);
    pointer-events: none;
    transition: opacity 0.55s ease, transform 0.55s ease;
}

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

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

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

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

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-content .eyebrow {
    color: var(--yellow);
    margin-bottom: 18px;
}

.hero-content h1 {
    margin: 0 0 20px;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.04;
    letter-spacing: -0.05em;
    text-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.hero-content p {
    max-width: 690px;
    margin: 0 0 26px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 20px;
    line-height: 1.75;
}

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

.hero-tags span,
.detail-tags span,
.movie-card-tags span {
    border-radius: 999px;
    padding: 6px 11px;
    font-size: 13px;
    font-weight: 700;
}

.hero-tags span {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    backdrop-filter: blur(10px);
}

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

.btn-primary,
.btn-ghost,
.btn-small {
    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;
}

.btn-primary {
    min-width: 140px;
    padding: 14px 26px;
    color: var(--rose);
    background: #ffffff;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.16);
}

.btn-ghost {
    min-width: 140px;
    padding: 14px 26px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.48);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
}

.btn-small {
    padding: 10px 18px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--rose), var(--pink));
    box-shadow: 0 14px 24px rgba(244, 63, 94, 0.22);
}

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

.hero-poster {
    display: block;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-lg);
    transform: rotate(2deg);
    transition: transform 0.32s ease;
}

.hero-poster:hover {
    transform: rotate(0deg) scale(1.03);
}

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

.hero-poster span {
    position: absolute;
    left: 22px;
    bottom: 22px;
    border-radius: 999px;
    padding: 8px 14px;
    color: #ffffff;
    background: rgba(244, 63, 94, 0.9);
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

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

.hero-controls > button {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    cursor: pointer;
    font-size: 30px;
    line-height: 1;
}

.hero-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.44);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
    width: 34px;
    background: #ffffff;
}

.section-block {
    max-width: 1280px;
    margin: 0 auto;
    padding: 72px 24px;
}

.section-block.no-top-space {
    padding-top: 28px;
}

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

.section-heading h2 {
    margin: 6px 0 0;
    color: var(--text);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

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

.section-kicker {
    color: var(--rose);
}

.compact-heading {
    margin-bottom: 22px;
}

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

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

.movie-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--panel);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.movie-card-cover {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, #fdf2f8, #fff7ed);
}

.movie-card-compact .movie-card-cover {
    aspect-ratio: 16 / 10;
}

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

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

.movie-card-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.58), transparent 56%);
    opacity: 0.82;
}

.movie-card-badge {
    position: absolute;
    z-index: 2;
    top: 12px;
    right: 12px;
    border-radius: 999px;
    padding: 6px 10px;
    color: #ffffff;
    background: rgba(244, 63, 94, 0.92);
    font-size: 12px;
    font-weight: 800;
}

.movie-card-play {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 50%;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--rose);
    background: rgba(255, 255, 255, 0.92);
    transform: translate(-50%, -50%) scale(0.86);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
}

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

.movie-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px;
}

.movie-card-body h3 {
    margin: 0 0 10px;
    color: var(--text);
    font-size: 18px;
    line-height: 1.35;
}

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

.movie-card-body p {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

.movie-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-top: auto;
    color: #6b7280;
    font-size: 13px;
}

.movie-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.movie-card-tags {
    margin-top: 12px;
}

.movie-card-tags span,
.detail-tags span {
    color: #9f1239;
    background: #ffe4e6;
}

.category-section {
    max-width: none;
    padding-left: calc((100% - 1280px) / 2 + 24px);
    padding-right: calc((100% - 1280px) / 2 + 24px);
    background: linear-gradient(135deg, #eff6ff 0%, #ecfeff 100%);
}

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

.category-tile,
.category-overview-card,
.side-panel,
.wide-panel,
.rank-panel,
.detail-content,
.player-card,
.filter-panel,
.ranking-row {
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.category-tile {
    padding: 22px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

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

.category-tile h3,
.category-overview-head h2 {
    margin: 16px 0 8px;
    color: var(--text);
}

.category-tile p,
.category-overview-head p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.category-samples {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.category-samples a {
    max-width: 100%;
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--rose);
    background: #fff1f2;
    font-size: 13px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

.wide-panel,
.rank-panel {
    padding: 28px;
}

.rank-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.rank-item {
    display: grid;
    grid-template-columns: 34px 74px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    border-radius: 16px;
    padding: 10px;
    background: #f9fafb;
    transition: background 0.2s ease, transform 0.2s ease;
}

.rank-item:hover {
    background: #fff1f2;
    transform: translateX(3px);
}

.rank-number {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--rose), var(--pink));
    font-weight: 900;
}

.rank-item img {
    width: 74px;
    height: 52px;
    border-radius: 12px;
    object-fit: cover;
}

.rank-text {
    min-width: 0;
}

.rank-text strong,
.rank-text em {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-text strong {
    color: var(--text);
}

.rank-text em {
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
}

.page-hero {
    max-width: 1280px;
    margin: 34px auto 0;
    padding: 72px 24px;
    border-radius: var(--radius-xl);
    color: #ffffff;
    background: linear-gradient(135deg, var(--rose), var(--pink), var(--orange));
    box-shadow: var(--shadow-md);
}

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

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

.soft-hero {
    background: linear-gradient(135deg, #f43f5e, #ec4899);
}

.category-hero {
    background: linear-gradient(135deg, #fb7185, #f97316);
}

.ranking-hero {
    background: linear-gradient(135deg, #111827, #be123c 55%, #f97316);
}

.search-hero {
    background: linear-gradient(135deg, #0f172a, #7c3aed, #ec4899);
}

.overview-stack {
    max-width: 1280px;
    margin: 0 auto;
    padding: 34px 24px 72px;
    display: grid;
    gap: 24px;
}

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

.category-overview-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.breadcrumb {
    max-width: 1280px;
    margin: 28px auto 0;
    padding: 0 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    color: var(--muted);
    font-size: 14px;
}

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

.filter-panel {
    max-width: 1280px;
    margin: 24px auto 0;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 220px 220px;
    gap: 16px;
}

.filter-panel label {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.filter-panel input,
.filter-panel select {
    padding: 13px 16px;
}

.empty-state {
    display: none;
    margin: 30px 0 0;
    padding: 24px;
    border-radius: var(--radius-md);
    text-align: center;
    color: var(--muted);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

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

.ranking-list-page {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 24px 72px;
}

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

.ranking-row {
    display: grid;
    grid-template-columns: 58px 150px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    padding: 16px;
}

.ranking-number {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--rose), var(--pink));
    font-weight: 900;
    font-size: 20px;
}

.ranking-thumb img {
    width: 150px;
    height: 94px;
    border-radius: 16px;
    object-fit: cover;
}

.ranking-info h2 {
    margin: 0 0 8px;
    font-size: 20px;
}

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

.ranking-info p {
    margin: 0 0 10px;
    color: var(--muted);
    line-height: 1.6;
}

.detail-layout {
    max-width: 1280px;
    margin: 24px auto 72px;
    padding: 0 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: start;
}

.detail-main {
    display: grid;
    gap: 24px;
}

.player-card {
    overflow: hidden;
}

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

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

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    cursor: pointer;
    color: #ffffff;
    background: radial-gradient(circle, rgba(244, 63, 94, 0.24), rgba(0, 0, 0, 0.48));
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-overlay span {
    width: 86px;
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--rose);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
    font-size: 34px;
    padding-left: 5px;
    transition: transform 0.2s ease;
}

.player-overlay:hover span {
    transform: scale(1.08);
}

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

.player-overlay.is-loading span {
    animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
}

.detail-content {
    padding: 28px;
}

.detail-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.detail-title-row h1 {
    margin: 8px 0 0;
    color: var(--text);
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.detail-one-line {
    margin: 20px 0;
    color: #374151;
    font-size: 19px;
    line-height: 1.8;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.detail-meta span {
    border-radius: 999px;
    padding: 8px 12px;
    color: #374151;
    background: #f3f4f6;
    font-weight: 700;
}

.text-panel {
    margin-top: 26px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.text-panel h2,
.side-panel h2 {
    margin: 0 0 14px;
    color: var(--text);
    font-size: 24px;
}

.text-panel p {
    margin: 0;
    color: #374151;
    line-height: 1.9;
    font-size: 16px;
}

.review-panel {
    padding: 24px;
    border: 0;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #fff1f2, #fdf2f8);
}

.detail-side {
    position: sticky;
    top: 92px;
}

.side-panel {
    padding: 22px;
}

.side-card-grid {
    display: grid;
    gap: 16px;
}

.small-rank-list {
    margin-top: 18px;
}

.site-footer {
    color: #d1d5db;
    background: linear-gradient(135deg, #111827, #1f2937 48%, #111827);
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 48px 24px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 42px;
}

.footer-logo .logo-text {
    color: #ffffff;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
}

.footer-brand p {
    max-width: 460px;
    margin: 16px 0 0;
    color: #cbd5e1;
    line-height: 1.8;
}

.footer-block h2 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 18px;
}

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

.footer-block a:hover {
    color: #fb7185;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 24px;
    text-align: center;
    color: #9ca3af;
    font-size: 14px;
}

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

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

    .hero-slide {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .hero-poster {
        max-width: 560px;
    }

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

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

    .detail-side {
        position: static;
    }

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

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

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

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

    .hero-slide {
        padding: 54px 18px 88px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

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

    .section-block,
    .overview-stack,
    .ranking-list-page,
    .detail-layout {
        padding-left: 16px;
        padding-right: 16px;
    }

    .page-hero {
        margin: 18px 16px 0;
        padding: 48px 20px;
        border-radius: 24px;
    }

    .section-heading,
    .category-overview-head,
    .detail-title-row {
        align-items: flex-start;
        flex-direction: column;
    }

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

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

    .movie-card-body h3 {
        font-size: 16px;
    }

    .filter-panel {
        margin-left: 16px;
        margin-right: 16px;
        grid-template-columns: 1fr;
    }

    .ranking-row {
        grid-template-columns: 44px 96px minmax(0, 1fr);
        gap: 12px;
        padding: 12px;
    }

    .ranking-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .ranking-thumb img {
        width: 96px;
        height: 68px;
    }

    .ranking-info p {
        display: none;
    }

    .detail-content,
    .wide-panel,
    .rank-panel,
    .category-overview-card,
    .side-panel {
        padding: 18px;
    }

    .player-overlay span {
        width: 68px;
        height: 68px;
        font-size: 26px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 38px 16px;
    }
}

@media (max-width: 480px) {
    .movie-grid,
    .dense-grid,
    .category-grid {
        grid-template-columns: 1fr;
    }

    .hero-carousel,
    .hero-slider {
        min-height: 700px;
    }

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

    .rank-item img {
        width: 62px;
        height: 48px;
    }
}
