:root {
    --rose: #f43f5e;
    --rose-dark: #be123c;
    --pink: #ec4899;
    --orange: #fb923c;
    --yellow: #fde68a;
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    --white: #ffffff;
    --shadow-soft: 0 16px 40px rgba(15, 23, 42, 0.14);
    --shadow-card: 0 12px 30px rgba(244, 63, 94, 0.16);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --container: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--slate-900);
    background:
        radial-gradient(circle at 8% 0%, rgba(251, 146, 60, 0.16), transparent 28rem),
        radial-gradient(circle at 92% 12%, rgba(236, 72, 153, 0.12), transparent 26rem),
        #fffafa;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    color: var(--white);
    background: linear-gradient(90deg, var(--rose), var(--pink), var(--orange));
    box-shadow: 0 10px 30px rgba(244, 63, 94, 0.28);
}

.header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    min-height: 72px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: var(--rose);
    background: var(--white);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.22);
}

.brand-text {
    font-size: 1.35rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 700;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--yellow);
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-1px);
}

.nav-link-soft {
    font-weight: 600;
    opacity: 0.92;
}

.header-search {
    position: relative;
    display: flex;
    align-items: center;
    width: 300px;
    max-width: 100%;
}

.header-search input {
    width: 100%;
    height: 42px;
    padding: 0 78px 0 16px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    outline: none;
    backdrop-filter: blur(8px);
}

.header-search input::placeholder {
    color: rgba(255, 255, 255, 0.72);
}

.header-search button {
    position: absolute;
    right: 4px;
    top: 4px;
    height: 34px;
    padding: 0 14px;
    color: var(--rose-dark);
    background: var(--white);
    border: 0;
    border-radius: 999px;
    font-weight: 800;
}

.mobile-nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 9px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.16);
}

.mobile-nav-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--white);
    border-radius: 999px;
}

.hero-carousel {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    color: var(--white);
    background: var(--slate-950);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    align-items: center;
    min-height: 620px;
    opacity: 0;
    pointer-events: none;
    background-image: linear-gradient(90deg, rgba(2, 6, 23, 0.94), rgba(2, 6, 23, 0.72), rgba(244, 63, 94, 0.35)), var(--hero-image);
    background-position: center;
    background-size: cover;
    transition: opacity 0.6s ease;
}

.hero-slide.is-active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 25%, rgba(244, 63, 94, 0.34), transparent 24rem),
        linear-gradient(0deg, rgba(2, 6, 23, 0.76), rgba(2, 6, 23, 0.1));
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: center;
    gap: 56px;
    padding: 92px 0 110px;
}

.hero-text {
    max-width: 760px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 6px 12px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

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

.hero-text h1,
.page-hero h1,
.detail-intro h1 {
    margin: 0 0 16px;
    font-size: clamp(2.35rem, 7vw, 5.8rem);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.hero-text p,
.page-hero p,
.detail-intro p {
    max-width: 720px;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1rem, 2vw, 1.25rem);
}

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

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

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

.button-primary {
    color: var(--white);
    background: linear-gradient(90deg, var(--rose), var(--orange));
    box-shadow: 0 16px 28px rgba(244, 63, 94, 0.26);
}

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

.button-small {
    min-height: 38px;
    padding: 0 16px;
    font-size: 0.92rem;
}

.hero-poster {
    overflow: hidden;
    border: 8px solid rgba(255, 255, 255, 0.16);
    border-radius: 28px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.36);
    transform: rotate(2deg);
}

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

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

.hero-controls button {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    backdrop-filter: blur(8px);
}

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

.hero-dot {
    width: 12px !important;
    height: 12px !important;
    border-radius: 999px !important;
}

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

.section {
    padding: 72px 0;
}

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

.section-search-panel {
    padding: 46px 0 26px;
}

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

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

.section-heading-row h2,
.search-panel h2,
.rank-panel h2,
.detail-article h2,
.detail-side h2,
.overview-body h2,
.page-hero h1 {
    margin: 0;
    color: var(--slate-900);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.section-heading-row p,
.search-panel p,
.overview-body p {
    max-width: 690px;
    margin: 8px 0 0;
    color: var(--slate-600);
}

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

.search-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
    align-items: center;
    gap: 28px;
    padding: 28px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(244, 63, 94, 0.1);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(12px);
}

.big-search {
    display: flex;
    gap: 10px;
    padding: 8px;
    background: #fff1f2;
    border: 1px solid #ffe4e6;
    border-radius: 999px;
}

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

.big-search button {
    padding: 0 22px;
    color: var(--white);
    background: linear-gradient(90deg, var(--rose), var(--orange));
    border: 0;
    border-radius: 999px;
    font-weight: 900;
}

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

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

.movie-card {
    overflow: hidden;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(244, 63, 94, 0.09);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-8px);
    border-color: rgba(244, 63, 94, 0.24);
    box-shadow: var(--shadow-card);
}

.movie-poster {
    position: relative;
    display: block;
    overflow: hidden;
    background: linear-gradient(135deg, #ffe4e6, #ffedd5);
}

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

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

.movie-rating,
.movie-year {
    position: absolute;
    z-index: 2;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 900;
}

.movie-rating {
    right: 10px;
    top: 10px;
    color: var(--rose-dark);
    background: rgba(255, 255, 255, 0.9);
}

.movie-year {
    left: 10px;
    bottom: 10px;
    color: var(--white);
    background: rgba(2, 6, 23, 0.7);
}

.movie-info {
    padding: 16px;
}

.movie-title {
    display: -webkit-box;
    overflow: hidden;
    min-height: 48px;
    color: var(--slate-900);
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

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

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

.movie-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 28px;
}

.movie-tags span,
.tag-cloud a {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    color: var(--rose-dark);
    background: #fff1f2;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}

.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    color: var(--slate-500);
    font-size: 0.82rem;
}

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

.category-card,
.overview-card {
    position: relative;
    overflow: hidden;
    min-height: 330px;
    border-radius: var(--radius-xl);
    background: var(--slate-900);
    box-shadow: var(--shadow-soft);
}

.category-card-bg,
.overview-cover {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(135deg, rgba(2, 6, 23, 0.78), rgba(244, 63, 94, 0.52)), var(--category-cover);
    background-position: center;
    background-size: cover;
    transition: transform 0.35s ease;
}

.category-card:hover .category-card-bg,
.overview-card:hover .overview-cover {
    transform: scale(1.06);
}

.category-card-body,
.overview-body {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 330px;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: var(--white);
}

.category-card-body span {
    width: fit-content;
    margin-bottom: 10px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
}

.category-card h3,
.overview-body h2 {
    margin: 0 0 8px;
    font-size: 1.55rem;
    font-weight: 900;
}

.category-card p,
.overview-body p {
    margin: 0 0 14px;
    color: rgba(255, 255, 255, 0.84);
}

.category-card .text-link,
.category-card .compact-movie span,
.overview-card .compact-movie span {
    color: var(--white);
}

.compact-row,
.compact-list,
.side-related {
    display: grid;
    gap: 10px;
}

.compact-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 14px;
}

.compact-movie {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.compact-movie img {
    width: 48px;
    height: 64px;
    object-fit: cover;
    border-radius: 10px;
}

.compact-movie span {
    display: -webkit-box;
    overflow: hidden;
    color: var(--slate-900);
    font-weight: 800;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.two-column-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 370px;
    gap: 32px;
    align-items: start;
}

.rank-panel {
    position: sticky;
    top: 96px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(244, 63, 94, 0.1);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
}

.rank-panel ol,
.site-footer ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.rank-item + .rank-item {
    border-top: 1px solid #ffe4e6;
}

.rank-item a {
    display: grid;
    grid-template-columns: 36px 54px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 12px 0;
}

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

.rank-item img {
    width: 54px;
    height: 72px;
    object-fit: cover;
    border-radius: 10px;
}

.rank-content strong,
.rank-content em {
    display: block;
}

.rank-content strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.95rem;
}

.rank-content em {
    color: var(--slate-500);
    font-size: 0.78rem;
    font-style: normal;
}

.page-hero {
    padding: 86px 0 72px;
    color: var(--white);
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.18), transparent 22rem),
        linear-gradient(120deg, var(--rose), var(--pink), var(--orange));
}

.page-hero p {
    margin-bottom: 0;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.84);
    font-weight: 700;
}

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

.filter-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px auto;
    align-items: end;
    gap: 16px;
    margin-bottom: 28px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ffe4e6;
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.filter-bar.wide {
    grid-template-columns: minmax(0, 1fr) 220px 180px auto;
}

.filter-bar label {
    display: block;
    margin-bottom: 6px;
    color: var(--slate-600);
    font-size: 0.84rem;
    font-weight: 900;
}

.filter-bar input,
.filter-bar select {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    background: var(--white);
    border: 1px solid #fecdd3;
    border-radius: 12px;
    outline: none;
}

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

.filter-count {
    margin: 0;
    color: var(--rose-dark);
    font-weight: 900;
}

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

.overview-card {
    min-height: 420px;
}

.overview-body {
    min-height: 420px;
}

.overview-body .eyebrow.dark {
    color: var(--white);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.22);
}

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

.ranking-card {
    display: grid;
    grid-template-columns: 122px minmax(0, 1fr);
    gap: 18px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(244, 63, 94, 0.09);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.07);
}

.ranking-poster {
    position: relative;
    display: block;
}

.ranking-poster img {
    width: 122px;
    height: 160px;
    object-fit: cover;
    border-radius: 14px;
}

.ranking-badge {
    position: absolute;
    left: -8px;
    top: -8px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    color: var(--white);
    background: linear-gradient(135deg, var(--rose), var(--orange));
    border-radius: 50%;
    font-weight: 900;
    box-shadow: 0 10px 18px rgba(244, 63, 94, 0.26);
}

.ranking-card h2 {
    margin: 0 0 10px;
    font-size: 1.3rem;
}

.ranking-card p {
    margin: 0 0 14px;
    color: var(--slate-600);
}

.ranking-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ranking-meta span,
.detail-meta-list span,
.detail-meta-list a {
    padding: 5px 10px;
    color: var(--rose-dark);
    background: #fff1f2;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 900;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background-image: linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.72), rgba(244, 63, 94, 0.3)), var(--detail-cover);
    background-position: center;
    background-size: cover;
}

.detail-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 12%, rgba(244, 63, 94, 0.26), transparent 20rem),
        linear-gradient(0deg, rgba(2, 6, 23, 0.72), rgba(2, 6, 23, 0.08));
}

.detail-hero-inner {
    position: relative;
    z-index: 2;
    padding: 72px 0;
}

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

.detail-cover {
    width: 230px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border: 7px solid rgba(255, 255, 255, 0.16);
    border-radius: 22px;
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.34);
}

.detail-meta-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.player-section {
    padding-bottom: 40px;
    background: #09090b;
}

.player-card {
    overflow: hidden;
    color: var(--white);
    background: #020617;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.26);
}

.player-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 22px;
    background: linear-gradient(90deg, rgba(244, 63, 94, 0.2), rgba(251, 146, 60, 0.12));
}

.player-toolbar h2,
.player-toolbar span {
    margin: 0;
}

.player-toolbar span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
    font-weight: 700;
}

.video-frame {
    position: relative;
    background: #000;
}

.video-frame video {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    gap: 10px;
    color: var(--white);
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.72), rgba(2, 6, 23, 0.18));
    border: 0;
    text-align: center;
}

.player-overlay[hidden] {
    display: none;
}

.play-icon {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    margin: 0 auto;
    color: var(--rose);
    background: rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    font-size: 1.8rem;
    box-shadow: 0 18px 34px rgba(244, 63, 94, 0.26);
}

.player-status {
    margin: 0;
    padding: 14px 22px 18px;
    color: rgba(255, 255, 255, 0.72);
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 34px;
    align-items: start;
}

.detail-article,
.detail-side {
    padding: 26px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(244, 63, 94, 0.09);
    border-radius: var(--radius-xl);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.detail-article h2,
.detail-side h2 {
    margin: 0 0 14px;
    font-size: 1.55rem;
}

.detail-article p {
    margin: 0 0 24px;
    color: var(--slate-700);
    white-space: pre-line;
}

.info-list {
    display: grid;
    gap: 12px;
    margin: 0 0 22px;
}

.info-list div {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #ffe4e6;
}

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

.info-list dd {
    margin: 0;
    color: var(--slate-900);
    font-weight: 700;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.site-footer {
    color: rgba(255, 255, 255, 0.82);
    background: linear-gradient(135deg, #020617, #111827, #1e293b);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 34px;
    padding: 54px 0;
}

.footer-brand {
    color: var(--white);
    font-size: 1.2rem;
}

.site-footer h3 {
    margin: 0 0 14px;
    color: #fda4af;
}

.site-footer p {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.64);
}

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

.site-footer a:hover {
    color: var(--white);
}

.footer-bottom {
    padding: 18px;
    color: rgba(255, 255, 255, 0.58);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 80;
    display: none;
    width: 44px;
    height: 44px;
    color: var(--white);
    background: linear-gradient(135deg, var(--rose), var(--orange));
    border: 0;
    border-radius: 50%;
    box-shadow: 0 14px 28px rgba(244, 63, 94, 0.28);
}

.back-to-top.is-visible {
    display: grid;
    place-items: center;
}

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

.sitemap-group {
    padding: 22px;
    background: var(--white);
    border: 1px solid #ffe4e6;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.sitemap-group h2 {
    margin: 0 0 14px;
    color: var(--rose-dark);
}

.sitemap-group ul {
    columns: 2;
    margin: 0;
    padding-left: 18px;
}

.sitemap-group li {
    break-inside: avoid;
    margin-bottom: 6px;
}

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

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

@media (max-width: 1180px) {
    .header-inner {
        grid-template-columns: auto auto;
    }

    .header-search {
        display: none;
    }

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

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

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

    .rank-panel {
        position: static;
    }
}

@media (max-width: 860px) {
    .header-inner {
        grid-template-columns: auto auto;
        min-height: 64px;
    }

    .mobile-nav-toggle {
        display: block;
        justify-self: end;
    }

    .nav-links {
        position: absolute;
        left: 16px;
        right: 16px;
        top: 72px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        background: rgba(190, 18, 60, 0.96);
        border-radius: 18px;
        box-shadow: var(--shadow-soft);
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-link {
        justify-content: center;
    }

    .hero-content,
    .detail-intro,
    .search-panel,
    .filter-bar,
    .filter-bar.wide {
        grid-template-columns: 1fr;
    }

    .hero-carousel,
    .hero-slide {
        min-height: auto;
    }

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

    .hero-poster {
        max-width: 280px;
        transform: none;
    }

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

    .detail-cover {
        width: 190px;
    }

    .player-toolbar {
        align-items: start;
        flex-direction: column;
    }
}

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

    .brand-text {
        font-size: 1.1rem;
    }

    .section {
        padding: 46px 0;
    }

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

    .hero-text h1,
    .page-hero h1,
    .detail-intro h1 {
        font-size: 2.2rem;
    }

    .hero-actions,
    .big-search {
        flex-direction: column;
    }

    .button,
    .big-search button {
        width: 100%;
    }

    .movie-grid,
    .movie-grid-small,
    .category-grid,
    .overview-grid,
    .footer-grid,
    .sitemap-grid {
        grid-template-columns: 1fr;
    }

    .ranking-card {
        grid-template-columns: 92px minmax(0, 1fr);
    }

    .ranking-poster img {
        width: 92px;
        height: 124px;
    }

    .info-list div {
        grid-template-columns: 1fr;
    }

    .sitemap-group ul {
        columns: 1;
    }
}
