:root {
    --rose-50: #fff1f2;
    --rose-100: #ffe4e6;
    --rose-500: #f43f5e;
    --rose-600: #e11d48;
    --pink-500: #ec4899;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --green-500: #10b981;
    --blue-500: #3b82f6;
    --cyan-500: #06b6d4;
    --violet-500: #8b5cf6;
    --orange-500: #f97316;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-900: #111827;
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
    --shadow-card: 0 10px 28px rgba(15, 23, 42, 0.10);
    --max-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(244, 63, 94, 0.12);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
    box-shadow: 0 10px 24px rgba(225, 29, 72, 0.28);
}

.brand-text {
    display: grid;
    gap: 2px;
}

.brand-text strong {
    font-size: 20px;
    line-height: 1.1;
    background: linear-gradient(90deg, var(--rose-600), var(--pink-500));
    -webkit-background-clip: text;
    color: transparent;
}

.brand-text small {
    color: var(--gray-500);
    font-size: 12px;
}

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

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

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

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

.mobile-menu-button span {
    width: 20px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 999px;
}

.mobile-nav {
    display: none;
    padding: 8px 16px 18px;
    border-top: 1px solid var(--gray-200);
    background: #ffffff;
}

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

.mobile-link {
    padding: 12px 14px;
    border-radius: 14px;
    color: var(--gray-700);
    font-weight: 700;
}

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

main {
    padding-top: 72px;
}

.hero {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.95), rgba(236, 72, 153, 0.88), rgba(245, 158, 11, 0.86));
}

.hero::before,
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center;
    opacity: 0.22;
    transform: scale(1.02);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.32), transparent 28%),
        radial-gradient(circle at 70% 30%, rgba(251, 191, 36, 0.26), transparent 30%),
        linear-gradient(135deg, rgba(225, 29, 72, 0.74), rgba(236, 72, 153, 0.66));
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(var(--max-width), calc(100% - 32px));
    min-height: 620px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.65fr);
    align-items: center;
    gap: 40px;
    padding: 56px 0 80px;
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.90);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
    margin: 0;
    font-size: clamp(44px, 7vw, 84px);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: -0.06em;
}

.hero h1 span {
    color: #fde68a;
}

.hero-lead {
    max-width: 680px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.75;
}

.hero-feature {
    margin: 28px 0 0;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
}

.hero-feature span {
    color: #fde68a;
    font-size: 13px;
    font-weight: 800;
}

.hero-feature strong {
    display: block;
    margin: 6px 0;
    font-size: 24px;
}

.hero-feature p {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.7;
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 22px;
    border-radius: 999px;
    border: 0;
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
    transform: translateY(-2px) scale(1.01);
}

.button-light {
    color: var(--rose-600);
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
}

.button-ghost {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.32);
    backdrop-filter: blur(10px);
}

.button-primary {
    color: #ffffff;
    background: linear-gradient(90deg, var(--rose-600), var(--pink-500));
    box-shadow: 0 14px 30px rgba(225, 29, 72, 0.22);
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.hero-stats span {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    padding: 9px 14px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-stats strong {
    color: #ffffff;
    font-size: 20px;
}

.hero-panel {
    display: grid;
    gap: 14px;
    padding: 18px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(16px);
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.18);
}

.hero-panel h2 {
    margin: 0 0 2px;
    color: #ffffff;
    font-size: 22px;
}

.hero-panel .movie-card-horizontal {
    background: rgba(255, 255, 255, 0.94);
}

.hero-fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    background: linear-gradient(to top, var(--rose-50), transparent);
}

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

.soft-section {
    width: 100%;
    max-width: none;
    padding-left: max(16px, calc((100% - var(--max-width)) / 2));
    padding-right: max(16px, calc((100% - var(--max-width)) / 2));
    background: linear-gradient(135deg, rgba(255, 241, 242, 0.78), rgba(255, 255, 255, 0.94), rgba(240, 253, 250, 0.58));
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

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

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

.section-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    color: #ffffff;
    font-weight: 900;
    background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
    box-shadow: 0 14px 28px rgba(225, 29, 72, 0.22);
}

.small-heading {
    margin-bottom: 20px;
}

.small-heading h2 {
    font-size: 28px;
}

.movie-grid {
    display: grid;
    gap: 22px;
}

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

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

.movie-card {
    display: block;
    min-width: 0;
    overflow: hidden;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

.poster-frame {
    position: relative;
    height: 230px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--rose-100), #fff7ed);
}

.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: auto 0 0 0;
    height: 50%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.58), transparent);
    pointer-events: none;
}

.poster-fallback::before {
    content: attr(data-title);
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 22px;
    color: #ffffff;
    text-align: center;
    font-weight: 900;
    line-height: 1.45;
    background: linear-gradient(135deg, var(--rose-500), var(--pink-500), var(--amber-500));
}

.poster-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.28), transparent 62%);
    transform: translateX(-120%);
    transition: transform 0.7s ease;
}

.movie-card:hover .poster-shine {
    transform: translateX(120%);
}

.poster-small {
    height: 120px;
}

.poster-thumb {
    width: 76px;
    height: 58px;
    flex: 0 0 auto;
    border-radius: 12px;
}

.poster-wide {
    width: 155px;
    min-height: 132px;
    height: auto;
    flex: 0 0 auto;
}

.poster-large {
    height: 430px;
}

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

.movie-card h3 {
    margin: 0 0 8px;
    font-size: 19px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

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

.movie-card p {
    margin: 0 0 12px;
    color: var(--gray-600);
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-topline,
.meta-line,
.tag-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.card-topline {
    justify-content: space-between;
    margin-bottom: 10px;
}

.badge,
.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 4px 10px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
}

.pill {
    color: var(--gray-700);
    background: var(--gray-100);
}

.score {
    color: var(--amber-500);
    font-weight: 900;
}

.meta-line {
    color: var(--gray-500);
    font-size: 13px;
}

.meta-line span:not(:last-child)::after {
    content: "·";
    margin-left: 8px;
    color: var(--gray-300, #d1d5db);
}

.meta-line.inverse {
    color: rgba(255, 255, 255, 0.86);
}

.meta-line.compact span::after {
    display: none;
}

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

.tag-row span {
    padding: 3px 8px;
    border-radius: 999px;
    color: var(--gray-600);
    background: var(--gray-100);
    font-size: 12px;
}

.movie-card-horizontal {
    display: flex;
}

.movie-card-horizontal .movie-card-body {
    flex: 1;
    min-width: 0;
}

.large-poster-wrap {
    position: relative;
    overflow: hidden;
}

.large-card-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 24px;
    color: #ffffff;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.86), rgba(15, 23, 42, 0.2), transparent);
}

.large-card-overlay h3 {
    color: #ffffff;
    font-size: 26px;
}

.large-card-overlay p {
    color: rgba(255, 255, 255, 0.88);
}

.play-mark {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 62px;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--rose-600);
    background: rgba(255, 255, 255, 0.92);
    transform: translate(-50%, -50%) scale(0.88);
    opacity: 0;
    transition: opacity 0.24s ease, transform 0.24s ease;
}

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

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

.rank-row {
    display: grid;
    grid-template-columns: 58px 76px minmax(0, 1fr) 90px 130px;
    gap: 14px;
    align-items: center;
    padding: 12px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-row:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.rank-index {
    font-size: 22px;
    font-weight: 900;
    color: var(--gray-500);
    text-align: center;
}

.rank-gold .rank-index {
    color: var(--amber-500);
}

.rank-silver .rank-index {
    color: #94a3b8;
}

.rank-bronze .rank-index {
    color: #b45309;
}

.rank-title {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.rank-title strong {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rank-title em {
    color: var(--gray-500);
    font-style: normal;
    font-size: 13px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rank-score {
    color: var(--amber-500);
    font-weight: 900;
}

.rank-views {
    color: var(--gray-500);
    font-size: 13px;
    text-align: right;
}

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

.category-card,
.category-overview-card,
.info-card,
.side-card,
.detail-card,
.review-card,
.player-card {
    border-radius: 26px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.category-card,
.category-overview-card {
    padding: 24px;
    min-height: 230px;
    overflow: hidden;
    position: relative;
}

.category-card::after,
.category-overview-card::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    right: -35px;
    top: -35px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.38);
}

.category-mark {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    color: #ffffff;
    font-weight: 900;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.28);
}

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

.category-card p,
.category-overview-card p {
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.65;
}

.category-card strong,
.category-card em {
    display: block;
    color: #ffffff;
}

.category-card em {
    margin-top: 10px;
    font-style: normal;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
}

.category-overview-card ul {
    padding-left: 18px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.9;
}

.category-overview-card .button {
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.32);
}

.category-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ffffff;
    font-weight: 900;
}

.theme-rose,
.theme-panel-rose {
    background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
}

.theme-amber,
.theme-panel-amber {
    background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
}

.theme-pink,
.theme-panel-pink {
    background: linear-gradient(135deg, var(--pink-500), var(--rose-500));
}

.theme-blue,
.theme-panel-blue {
    background: linear-gradient(135deg, var(--blue-500), var(--cyan-500));
}

.theme-green,
.theme-panel-green {
    background: linear-gradient(135deg, var(--green-500), #22c55e);
}

.theme-orange,
.theme-panel-orange {
    background: linear-gradient(135deg, var(--orange-500), var(--amber-500));
}

.theme-violet,
.theme-panel-violet {
    background: linear-gradient(135deg, var(--violet-500), var(--pink-500));
}

.theme-cyan,
.theme-panel-cyan {
    background: linear-gradient(135deg, var(--cyan-500), var(--blue-500));
}

.page-hero {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--rose-600), var(--pink-500), var(--amber-500));
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(225, 29, 72, 0.76), rgba(236, 72, 153, 0.62));
}

.page-hero-inner {
    position: relative;
    z-index: 2;
    width: min(var(--max-width), calc(100% - 32px));
    margin: 0 auto;
    padding: 68px 0;
}

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

.compact-hero {
    min-height: 300px;
}

.green-hero {
    background: linear-gradient(135deg, #059669, #22c55e);
}

.blue-hero {
    background: linear-gradient(135deg, #2563eb, #06b6d4);
}

.inline-stats span {
    color: #ffffff;
}

.filter-bar {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) auto;
    gap: 14px;
    align-items: end;
    margin: 0 0 26px;
    padding: 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-card);
}

.search-input {
    display: grid;
    gap: 6px;
}

.search-input span {
    color: var(--gray-600);
    font-weight: 800;
    font-size: 13px;
}

.search-input input,
.filter-selects select {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    padding: 0 14px;
    outline: none;
    background: #ffffff;
}

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

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

.filter-selects select {
    width: 150px;
}

.filter-selects button {
    min-height: 46px;
    border: 0;
    border-radius: 14px;
    padding: 0 14px;
    color: #ffffff;
    font-weight: 900;
    background: var(--gray-700);
    cursor: pointer;
}

.filter-count {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--gray-500);
    font-size: 14px;
}

.section-action {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.cta-section {
    padding: 86px 16px;
    color: #ffffff;
    text-align: center;
    background: linear-gradient(135deg, rgba(225, 29, 72, 0.90), rgba(236, 72, 153, 0.86), rgba(245, 158, 11, 0.82));
}

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

.cta-section p {
    margin: 0 auto 26px;
    max-width: 680px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.75;
}

.breadcrumb {
    width: min(var(--max-width), calc(100% - 32px));
    margin: 0 auto;
    padding: 22px 0 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    color: var(--gray-500);
    font-size: 14px;
}

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

.detail-layout {
    width: min(var(--max-width), calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0 58px;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 0.82fr);
    gap: 28px;
}

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

.player-card,
.detail-card,
.review-card,
.side-card,
.info-card {
    padding: 24px;
}

.player-card {
    overflow: hidden;
    padding: 0;
}

.video-shell {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0f172a;
}

.movie-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #0f172a;
}

.player-start {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    color: var(--rose-600);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
    font-weight: 900;
    cursor: pointer;
}

.video-shell.is-playing .player-start {
    display: none;
}

.player-start span {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
}

.player-status {
    position: absolute;
    left: 16px;
    bottom: 12px;
    margin: 0;
    padding: 7px 10px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.86);
    background: rgba(15, 23, 42, 0.58);
    font-size: 13px;
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.detail-card h1 {
    margin: 0 0 12px;
    font-size: clamp(30px, 5vw, 48px);
    line-height: 1.12;
}

.detail-subtitle {
    color: var(--gray-600);
    font-size: 18px;
    line-height: 1.75;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 22px 0;
    padding: 18px 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.detail-meta span,
.genre-tags span {
    padding: 8px 11px;
    border-radius: 999px;
    color: var(--gray-700);
    background: var(--gray-100);
    font-size: 14px;
}

.genre-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.detail-card h2,
.review-card h2,
.side-card h2,
.info-card h2 {
    margin-top: 0;
}

.detail-card p,
.review-card p,
.side-card p,
.info-card p {
    color: var(--gray-700);
    line-height: 1.85;
}

.review-box {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 247, 237, 0.82);
    border: 1px solid #fed7aa;
}

.review-box + .review-box {
    margin-top: 14px;
}

.review-box h3 {
    margin: 0 0 8px;
}

.detail-side {
    display: grid;
    align-content: start;
    gap: 20px;
    position: sticky;
    top: 94px;
}

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

.gradient-card {
    color: #ffffff;
    background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
}

.gradient-card p {
    color: rgba(255, 255, 255, 0.88);
}

.prose-section {
    display: grid;
    gap: 22px;
    max-width: 920px;
}

.link-map-section {
    display: grid;
    gap: 18px;
}

.index-block {
    padding: 20px;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.index-block h2 {
    margin: 0 0 12px;
    color: var(--rose-600);
}

.index-block ul {
    margin: 0;
    padding-left: 20px;
    columns: 4;
    line-height: 1.9;
}

.index-block a:hover {
    color: var(--rose-600);
}

.site-footer {
    background: linear-gradient(135deg, var(--rose-50), #fff7ed);
    border-top: 1px solid rgba(244, 63, 94, 0.14);
}

.footer-inner {
    width: min(var(--max-width), calc(100% - 32px));
    margin: 0 auto;
    padding: 48px 0;
    display: grid;
    grid-template-columns: minmax(260px, 1.3fr) repeat(3, minmax(150px, 0.7fr));
    gap: 28px;
}

.footer-brand p,
.footer-column p,
.footer-column a {
    color: var(--gray-600);
    line-height: 1.75;
}

.footer-column {
    display: grid;
    align-content: start;
    gap: 8px;
}

.footer-column h3 {
    margin: 0 0 8px;
}

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

.footer-bottom {
    padding: 18px 16px;
    text-align: center;
    color: var(--gray-500);
    border-top: 1px solid rgba(244, 63, 94, 0.14);
}

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

@media (max-width: 1024px) {
    .hero-content,
    .detail-layout,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .hero-panel,
    .detail-side {
        position: static;
    }

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

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

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

    .mobile-menu-button {
        display: inline-flex;
    }

    .brand-text small {
        display: none;
    }

    .hero,
    .hero-content {
        min-height: auto;
    }

    .hero-content {
        padding: 48px 0 72px;
    }

    .hero-panel {
        display: none;
    }

    .four-cols,
    .large-card-grid,
    .category-grid,
    .category-overview-grid {
        grid-template-columns: 1fr;
    }

    .movie-card-horizontal {
        display: grid;
    }

    .poster-wide {
        width: 100%;
        height: 200px;
    }

    .rank-row {
        grid-template-columns: 44px 64px minmax(0, 1fr);
    }

    .rank-score,
    .rank-views {
        display: none;
    }

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

    .detail-layout,
    .content-section {
        width: min(100% - 24px, var(--max-width));
    }

    .soft-section {
        padding-left: 12px;
        padding-right: 12px;
    }

    .index-block ul {
        columns: 1;
    }
}
