:root {
    --pink-50: #fdf2f8;
    --pink-100: #fce7f3;
    --pink-500: #ec4899;
    --pink-600: #db2777;
    --rose-500: #f43f5e;
    --rose-600: #e11d48;
    --orange-500: #f97316;
    --amber-500: #f59e0b;
    --blue-500: #3b82f6;
    --cyan-500: #06b6d4;
    --purple-500: #a855f7;
    --green-500: #22c55e;
    --red-500: #ef4444;
    --slate-700: #334155;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --gray-900: #111827;
    --shadow-sm: 0 8px 20px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 18px 45px rgba(15, 23, 42, 0.14);
    --shadow-xl: 0 30px 80px rgba(15, 23, 42, 0.22);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--gray-900);
    background: linear-gradient(135deg, var(--pink-50), #ffffff 46%, #fff1f2);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

img {
    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);
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
}

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

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

.brand-mark {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--pink-500), var(--rose-500));
    box-shadow: 0 10px 26px rgba(236, 72, 153, 0.35);
    transition: transform 0.3s ease;
}

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

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

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

.nav-link,
.mobile-link {
    color: var(--gray-700);
    font-weight: 650;
    transition: color 0.25s ease, background 0.25s ease;
}

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

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: var(--pink-50);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--pink-600);
    border-radius: 999px;
}

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

.mobile-nav.is-open {
    display: grid;
    gap: 8px;
    animation: slideDown 0.25s ease both;
}

.mobile-link {
    padding: 10px 12px;
    border-radius: 12px;
}

.mobile-link:hover,
.mobile-link.active {
    background: var(--pink-50);
}

.hero-section {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(120deg, #db2777 0%, #f43f5e 48%, #ec4899 100%);
    min-height: 640px;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.10);
}

.hero-blob {
    position: absolute;
    width: 288px;
    height: 288px;
    border-radius: 999px;
    mix-blend-mode: screen;
    filter: blur(36px);
    opacity: 0.28;
    animation: blob 7s infinite;
    background: rgba(255, 255, 255, 0.72);
}

.blob-a {
    top: 80px;
    left: 7%;
}

.blob-b {
    top: 170px;
    right: 9%;
    background: rgba(253, 164, 175, 0.75);
    animation-delay: 2s;
}

.blob-c {
    bottom: 90px;
    left: 44%;
    background: rgba(244, 114, 182, 0.7);
    animation-delay: 4s;
}

.hero-shell {
    position: relative;
    z-index: 1;
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
    padding: 82px 0 92px;
}

.hero-heading {
    text-align: center;
    max-width: 880px;
    margin: 0 auto 40px;
    animation: fadeIn 0.75s ease both;
}

.overline {
    margin: 0 0 10px;
    color: var(--pink-600);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-section .overline,
.detail-hero .overline,
.page-hero .overline {
    color: #ffe4ee;
}

.hero-heading h1 {
    margin: 0;
    font-size: clamp(2.3rem, 5vw, 4.3rem);
    line-height: 1.08;
    font-weight: 900;
    text-wrap: balance;
}

.hero-heading p {
    margin: 20px auto 0;
    max-width: 720px;
    color: #ffe4ee;
    font-size: clamp(1rem, 2vw, 1.35rem);
}

.hero-carousel {
    position: relative;
    min-height: 360px;
}

.hero-slide {
    display: none;
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.6fr);
    gap: 34px;
    align-items: center;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(20px);
}

.hero-slide.is-active {
    display: grid;
    animation: fadeIn 0.6s ease both;
}

.hero-copy h2 {
    margin: 10px 0 14px;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.08;
    font-weight: 900;
}

.hero-copy p {
    margin: 0 0 22px;
    max-width: 640px;
    color: #ffe4ee;
    font-size: 1.05rem;
}

.hero-kicker {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-weight: 750;
}

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

.hero-tags span,
.detail-meta span {
    padding: 6px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 0.88rem;
}

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

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

.btn:hover {
    transform: translateY(-2px) scale(1.02);
}

.btn-light {
    color: var(--pink-600);
    background: #ffffff;
    box-shadow: 0 15px 34px rgba(17, 24, 39, 0.15);
}

.btn-outline {
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.82);
}

.btn-outline:hover {
    color: var(--pink-600);
    background: #ffffff;
}

.hero-poster {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 28px 70px rgba(17, 24, 39, 0.35);
    transform: rotate(1.4deg);
}

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

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

.hero-poster-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent 50%);
}

.hero-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
}

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

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

.stats-strip {
    width: min(var(--max), calc(100% - 32px));
    margin: -46px auto 0;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.stat-card {
    text-align: center;
    padding: 26px;
    border-radius: var(--radius-xl);
    background: #ffffff;
    box-shadow: var(--shadow-md);
    transition: transform 0.25s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card strong {
    display: block;
    font-size: 2.3rem;
    color: var(--pink-600);
}

.stat-card span {
    color: var(--gray-500);
}

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

.soft-blue,
.soft-rose {
    width: 100%;
    max-width: none;
    padding-left: max(16px, calc((100% - var(--max)) / 2));
    padding-right: max(16px, calc((100% - var(--max)) / 2));
}

.soft-blue {
    background: linear-gradient(90deg, #eff6ff, #ecfeff);
}

.soft-rose {
    background: linear-gradient(90deg, #fff1f2, #fdf2f8);
}

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

.section-heading h2 {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.35rem);
    line-height: 1.15;
}

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

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

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

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

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

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

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

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: var(--gray-100);
}

.compact-card .poster-link {
    aspect-ratio: 1 / 1;
}

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

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

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.64), transparent 58%);
}

.poster-chip,
.rank-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    color: #ffffff;
    background: var(--pink-500);
    font-size: 0.78rem;
    font-weight: 800;
}

.rank-badge {
    left: 12px;
    right: auto;
    min-width: 34px;
    text-align: center;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
}

.card-body {
    padding: 16px;
}

.card-body h2 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    line-height: 1.28;
}

.card-body h2 a:hover,
.row-content h2 a:hover {
    color: var(--pink-600);
}

.card-desc {
    min-height: 45px;
    margin: 0 0 12px;
    color: var(--gray-500);
    font-size: 0.92rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    margin: 8px 0 0;
    color: var(--gray-500);
    font-size: 0.85rem;
}

.tag-line,
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.tag-line span,
.detail-tags span {
    padding: 4px 8px;
    border-radius: 999px;
    background: var(--pink-50);
    color: var(--pink-600);
    font-size: 0.75rem;
    font-weight: 750;
}

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

.category-tile {
    position: relative;
    min-height: 210px;
    overflow: hidden;
    border-radius: var(--radius-xl);
    padding: 22px;
    color: #ffffff;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-tile:hover,
.category-overview:hover {
    transform: translateY(-7px) scale(1.015);
    box-shadow: var(--shadow-xl);
}

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

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

.category-cover {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(219, 39, 119, 0.88), rgba(244, 63, 94, 0.58));
}

.category-tile strong,
.category-tile small {
    position: relative;
    z-index: 1;
    display: block;
}

.category-tile strong {
    margin-bottom: 10px;
    font-size: 1.45rem;
}

.category-tile small {
    color: rgba(255, 255, 255, 0.86);
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.55fr);
    gap: 30px;
    align-items: start;
}

.row-list {
    display: grid;
    gap: 18px;
}

.movie-row {
    position: relative;
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 18px;
    padding: 14px;
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.row-poster {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 14px;
    background: var(--gray-100);
}

.row-content h2 {
    margin: 5px 0 8px;
    font-size: 1.15rem;
}

.row-content p {
    margin: 0 0 10px;
    color: var(--gray-500);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.eyebrow {
    display: inline-flex;
    padding: 4px 9px;
    border-radius: 999px;
    color: var(--pink-600);
    background: var(--pink-50);
    font-size: 0.75rem;
    font-weight: 800;
}

.row-meta span {
    color: var(--gray-500);
    font-size: 0.86rem;
}

.ranking-box {
    position: sticky;
    top: 92px;
    padding: 22px;
    border-radius: var(--radius-xl);
    background: #ffffff;
    box-shadow: var(--shadow-md);
}

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

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

.rank-row {
    display: grid;
    grid-template-columns: 34px 48px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 9px;
    border-radius: 14px;
    transition: background 0.25s ease, transform 0.25s ease;
}

.rank-row:hover {
    background: var(--pink-50);
    transform: translateX(3px);
}

.rank-no {
    color: var(--pink-600);
    font-weight: 900;
    text-align: center;
}

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

.rank-title,
.rank-meta {
    display: block;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rank-title {
    font-weight: 780;
}

.rank-meta {
    grid-column: 3;
    color: var(--gray-500);
    font-size: 0.82rem;
}

.page-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(120deg, var(--pink-600), var(--rose-500));
}

.page-hero > div {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
    padding: 78px 0;
}

.page-hero h1 {
    margin: 0;
    max-width: 780px;
    font-size: clamp(2.1rem, 4vw, 3.4rem);
    line-height: 1.1;
}

.page-hero p:not(.overline) {
    max-width: 690px;
    margin: 16px 0 0;
    color: #ffe4ee;
    font-size: 1.05rem;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) repeat(3, minmax(140px, 0.32fr));
    gap: 14px;
    padding: 18px;
    margin-bottom: 26px;
    border-radius: var(--radius-xl);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.filter-panel label {
    display: grid;
    gap: 7px;
    color: var(--gray-500);
    font-weight: 750;
    font-size: 0.86rem;
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    padding: 0 13px;
    color: var(--gray-900);
    background: var(--gray-50);
    outline: none;
    transition: border 0.25s ease, box-shadow 0.25s ease;
}

.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--pink-500);
    box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.12);
}

.empty-state {
    padding: 24px;
    text-align: center;
    border-radius: var(--radius-lg);
    background: #ffffff;
    color: var(--gray-500);
}

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

.category-overview {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 22px;
    padding: 18px;
    border-radius: var(--radius-xl);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-preview {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    overflow: hidden;
    border-radius: 18px;
    min-height: 190px;
}

.category-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-preview span {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.45), rgba(17, 24, 39, 0.38));
}

.category-overview h2 {
    margin: 0 0 10px;
    font-size: 1.6rem;
}

.category-overview p:not(.overline) {
    color: var(--gray-500);
}

.detail-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: #111827;
}

.detail-backdrop {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    filter: blur(10px);
    transform: scale(1.05);
}

.detail-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(17, 24, 39, 0.96), rgba(17, 24, 39, 0.64), rgba(219, 39, 119, 0.46));
}

.detail-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-layout {
    position: relative;
    z-index: 1;
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
    padding: 70px 0;
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 36px;
    align-items: center;
}

.detail-poster {
    overflow: hidden;
    border-radius: 28px;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 2 / 3;
}

.detail-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.92rem;
}

.breadcrumb a:hover {
    color: #ffffff;
}

.detail-intro h1 {
    margin: 0 0 18px;
    font-size: clamp(2.1rem, 4.5vw, 4.4rem);
    line-height: 1.06;
}

.detail-one-line {
    max-width: 760px;
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.1rem;
}

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

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #000000;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 16 / 9;
}

.player-video {
    width: 100%;
    height: 100%;
    display: block;
    background: #000000;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    border: 0;
    color: #ffffff;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.18));
    cursor: pointer;
    text-align: center;
}

.player-shell.is-playing .player-overlay {
    opacity: 0;
    pointer-events: none;
}

.play-icon {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border-radius: 999px;
    color: var(--pink-600);
    background: #ffffff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    font-size: 1.8rem;
}

.player-overlay strong {
    font-size: clamp(1.3rem, 3vw, 2rem);
}

.player-overlay small {
    color: rgba(255, 255, 255, 0.78);
}

.detail-content {
    width: min(var(--max), calc(100% - 32px));
    margin: 38px auto 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 28px;
}

.detail-main,
.detail-side {
    display: grid;
    gap: 20px;
    align-content: start;
}

.detail-panel {
    padding: 24px;
    border-radius: var(--radius-xl);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.detail-panel h2 {
    margin: 0 0 14px;
    font-size: 1.35rem;
}

.detail-panel p {
    margin: 0;
    color: var(--gray-700);
}

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

.info-list div {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 12px;
}

.info-list dt {
    color: var(--gray-500);
}

.info-list dd {
    margin: 0;
    font-weight: 750;
}

.info-list a {
    color: var(--pink-600);
}

.related-section {
    padding-top: 54px;
}

.site-footer {
    margin-top: 56px;
    color: #d1d5db;
    background: linear-gradient(135deg, #111827, #1f2937 54%, #111827);
}

.footer-inner {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
    padding: 48px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 30px;
}

.footer-grid h2 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 1.05rem;
}

.footer-grid p,
.footer-grid ul {
    margin: 0;
    padding: 0;
}

.footer-grid li {
    list-style: none;
    margin: 7px 0;
}

.footer-grid a:hover {
    color: #f9a8d4;
}

.footer-bottom {
    margin-top: 34px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
    color: #9ca3af;
    font-size: 0.92rem;
}

.footer-bottom p {
    margin: 4px 0;
}

[data-card][hidden] {
    display: none !important;
}

.tone-pink .category-cover,
.tone-pink.category-hero,
.tone-pink .category-preview span {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.88), rgba(244, 63, 94, 0.58));
}

.tone-rose .category-cover,
.tone-rose.category-hero,
.tone-rose .category-preview span {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.88), rgba(225, 29, 72, 0.58));
}

.tone-orange .category-cover,
.tone-orange.category-hero,
.tone-orange .category-preview span {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.88), rgba(245, 158, 11, 0.58));
}

.tone-blue .category-cover,
.tone-blue.category-hero,
.tone-blue .category-preview span {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.88), rgba(6, 182, 212, 0.58));
}

.tone-cyan .category-cover,
.tone-cyan.category-hero,
.tone-cyan .category-preview span {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.88), rgba(14, 165, 233, 0.58));
}

.tone-purple .category-cover,
.tone-purple.category-hero,
.tone-purple .category-preview span {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.88), rgba(236, 72, 153, 0.58));
}

.tone-amber .category-cover,
.tone-amber.category-hero,
.tone-amber .category-preview span {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.88), rgba(249, 115, 22, 0.58));
}

.tone-green .category-cover,
.tone-green.category-hero,
.tone-green .category-preview span {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.88), rgba(16, 185, 129, 0.58));
}

.tone-red .category-cover,
.tone-red.category-hero,
.tone-red .category-preview span {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.88), rgba(244, 63, 94, 0.58));
}

.tone-slate .category-cover,
.tone-slate.category-hero,
.tone-slate .category-preview span {
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.88), rgba(71, 85, 105, 0.58));
}

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

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes blob {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(20px, -20px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.92);
    }
    75% {
        transform: translate(20px, 20px) scale(1.05);
    }
}

@media (max-width: 1100px) {
    .feature-grid,
    .catalog-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

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

    .split-layout,
    .detail-content,
    .category-overview-grid {
        grid-template-columns: 1fr;
    }

    .ranking-box {
        position: static;
    }
}

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

    .menu-toggle {
        display: block;
    }

    .hero-slide,
    .detail-layout,
    .category-overview {
        grid-template-columns: 1fr;
    }

    .hero-poster,
    .detail-poster {
        max-width: 310px;
        margin: 0 auto;
    }

    .stats-strip {
        grid-template-columns: 1fr;
        margin-top: 18px;
    }

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

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

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

    .detail-layout {
        padding: 42px 0;
    }
}

@media (max-width: 560px) {
    .header-inner,
    .hero-shell,
    .content-section,
    .footer-inner,
    .detail-layout,
    .detail-content,
    .player-section,
    .page-hero > div,
    .stats-strip {
        width: min(100% - 22px, var(--max));
    }

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

    .hero-shell {
        padding: 52px 0 64px;
    }

    .hero-slide {
        padding: 18px;
        border-radius: 24px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .movie-row {
        grid-template-columns: 110px minmax(0, 1fr);
    }

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

    .play-icon {
        width: 62px;
        height: 62px;
    }
}
