:root {
    --pink: #ec4899;
    --pink-dark: #db2777;
    --orange: #f97316;
    --purple: #8b5cf6;
    --blue: #38bdf8;
    --green: #22c55e;
    --amber: #f59e0b;
    --cyan: #06b6d4;
    --indigo: #6366f1;
    --rose: #fb7185;
    --text: #1f2937;
    --muted: #6b7280;
    --line: rgba(236, 72, 153, 0.16);
    --soft: #fff7fb;
    --white: #ffffff;
    --shadow: 0 22px 60px rgba(236, 72, 153, 0.13);
    --radius: 28px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(236, 72, 153, 0.15), transparent 32rem),
        radial-gradient(circle at top right, rgba(249, 115, 22, 0.14), transparent 34rem),
        linear-gradient(135deg, #fff5fb 0%, #ffffff 45%, #fff7ed 100%);
    font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    min-height: 100vh;
}

img {
    display: block;
    width: 100%;
}

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

button,
input {
    font: inherit;
}

[hidden] {
    display: none !important;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: rgba(255, 247, 251, 0.88);
    border-bottom: 1px solid rgba(236, 72, 153, 0.14);
    box-shadow: 0 12px 30px rgba(236, 72, 153, 0.08);
    backdrop-filter: blur(18px);
}

.header-inner {
    width: min(1180px, calc(100% - 32px));
    height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 22px;
}

.logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 900;
    background: linear-gradient(90deg, var(--pink), var(--orange));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--pink), var(--orange));
    box-shadow: 0 12px 28px rgba(236, 72, 153, 0.28);
    font-size: 14px;
}

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

.nav-link,
.mobile-link {
    padding: 10px 13px;
    border-radius: 999px;
    color: #4b5563;
    font-weight: 700;
    transition: all 0.22s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
    color: var(--pink-dark);
    background: rgba(236, 72, 153, 0.1);
}

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

.header-search input,
.mobile-search input,
.filter-search input {
    width: 230px;
    height: 42px;
    padding: 0 16px;
    border: 1px solid rgba(236, 72, 153, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    outline: none;
    transition: all 0.22s ease;
}

.header-search input:focus,
.mobile-search input:focus,
.filter-search input:focus {
    border-color: rgba(236, 72, 153, 0.55);
    box-shadow: 0 0 0 5px rgba(236, 72, 153, 0.12);
}

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

.menu-toggle {
    display: none;
    border: 0;
    background: rgba(236, 72, 153, 0.1);
    color: var(--pink-dark);
    border-radius: 14px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    font-size: 22px;
}

.mobile-nav {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 18px;
}

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

.mobile-search input {
    width: 100%;
}

.hero-shell {
    position: relative;
    min-height: 640px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 241, 248, 0.92), rgba(255, 247, 237, 0.92));
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
}

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

.hero-backdrop,
.detail-backdrop {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(28px) saturate(1.15);
    transform: scale(1.08);
    opacity: 0.28;
}

.hero-backdrop::after,
.detail-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 245, 251, 0.95) 0%, rgba(255, 245, 251, 0.72) 54%, rgba(255, 247, 237, 0.88) 100%),
        radial-gradient(circle at 18% 32%, rgba(236, 72, 153, 0.22), transparent 28rem);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    min-height: 640px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 54px;
    align-items: center;
    padding: 64px 0 92px;
}

.hero-copy h1 {
    margin: 12px 0 20px;
    font-size: clamp(42px, 7vw, 76px);
    line-height: 1.02;
    letter-spacing: -0.05em;
    background: linear-gradient(90deg, var(--pink-dark), var(--orange));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-copy p {
    max-width: 680px;
    margin: 0 0 22px;
    color: #4b5563;
    font-size: clamp(18px, 2.4vw, 25px);
    line-height: 1.72;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--pink-dark);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(236, 72, 153, 0.18);
    font-weight: 900;
    box-shadow: 0 10px 26px rgba(236, 72, 153, 0.08);
}

.hero-actions,
.detail-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 26px;
}

.primary-button,
.secondary-button,
.section-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 900;
    transition: all 0.22s ease;
}

.primary-button {
    color: #ffffff;
    background: linear-gradient(135deg, var(--pink), var(--orange));
    box-shadow: 0 16px 34px rgba(236, 72, 153, 0.25);
}

.primary-button:hover,
.secondary-button:hover,
.section-link:hover {
    transform: translateY(-2px);
}

.secondary-button,
.section-link {
    color: var(--pink-dark);
    background: #ffffff;
    border: 1px solid rgba(236, 72, 153, 0.18);
    box-shadow: 0 12px 28px rgba(236, 72, 153, 0.1);
}

.hero-poster {
    position: relative;
    width: min(390px, 100%);
    justify-self: center;
    border-radius: 36px;
    overflow: hidden;
    box-shadow: 0 34px 90px rgba(236, 72, 153, 0.24);
    transform: rotate(2deg);
}

.hero-poster::before {
    content: "";
    display: block;
    padding-top: 138%;
}

.hero-poster img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-controls {
    position: absolute;
    left: 50%;
    bottom: 34px;
    z-index: 5;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(236, 72, 153, 0.16);
    backdrop-filter: blur(12px);
}

.hero-arrow,
.hero-dot {
    border: 0;
    cursor: pointer;
}

.hero-arrow {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--pink), var(--orange));
    font-size: 28px;
    line-height: 1;
}

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

.hero-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 999px;
    background: rgba(236, 72, 153, 0.25);
}

.hero-dot.is-active {
    width: 30px;
    background: linear-gradient(135deg, var(--pink), var(--orange));
}

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

.color-panel {
    width: min(1180px, calc(100% - 32px));
    margin-top: 34px;
    margin-bottom: 34px;
    padding: 44px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.panel-blue {
    background: linear-gradient(135deg, rgba(239, 246, 255, 0.92), rgba(236, 254, 255, 0.92));
}

.panel-purple {
    background: linear-gradient(135deg, rgba(250, 245, 255, 0.92), rgba(253, 242, 248, 0.92));
}

.panel-orange {
    background: linear-gradient(135deg, rgba(255, 247, 237, 0.95), rgba(255, 241, 242, 0.95));
}

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

.section-heading span {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--pink-dark);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

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

.section-heading p {
    max-width: 720px;
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.75;
}

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

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

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

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

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

.movie-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(236, 72, 153, 0.14);
    box-shadow: 0 16px 34px rgba(236, 72, 153, 0.09);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 24px 60px rgba(236, 72, 153, 0.18);
    border-color: rgba(236, 72, 153, 0.3);
}

.movie-cover {
    position: relative;
    display: block;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.12), rgba(249, 115, 22, 0.12));
}

.movie-cover::before {
    content: "";
    display: block;
    padding-top: 135%;
}

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

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

.cover-glow {
    position: absolute;
    inset: auto 0 0;
    height: 45%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.55), transparent);
}

.rank-badge,
.rank-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, #facc15, var(--orange));
    font-weight: 900;
    box-shadow: 0 12px 24px rgba(249, 115, 22, 0.28);
}

.rank-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border-radius: 999px;
}

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

.movie-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.movie-meta-line span {
    display: inline-flex;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(236, 72, 153, 0.08);
}

.movie-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.35;
}

.movie-card h3 a:hover {
    color: var(--pink-dark);
}

.movie-card p {
    display: -webkit-box;
    min-height: 4.5em;
    margin: 0 0 14px;
    overflow: hidden;
    color: #5b6472;
    font-size: 14px;
    line-height: 1.5;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.movie-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.pill {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    color: var(--pink-dark);
    background: rgba(236, 72, 153, 0.1);
    font-size: 12px;
    font-weight: 800;
}

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

.category-tile,
.category-overview-card {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    background: #ffffff;
    border: 1px solid rgba(236, 72, 153, 0.14);
    box-shadow: 0 16px 34px rgba(236, 72, 153, 0.1);
}

.category-tile {
    min-height: 220px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 70px rgba(236, 72, 153, 0.18);
}

.category-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

.category-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.94));
}

.category-tile > *:not(img) {
    position: relative;
    z-index: 2;
}

.category-icon {
    display: inline-flex;
    width: 54px;
    height: 54px;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    margin-bottom: 14px;
    font-size: 28px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 14px 28px rgba(31, 41, 55, 0.08);
}

.category-tile strong {
    font-size: 22px;
    margin-bottom: 8px;
}

.category-tile small {
    color: #596273;
    line-height: 1.55;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
    gap: 24px;
    align-items: stretch;
}

.spotlight-card,
.compact-list,
.article-card {
    border-radius: var(--radius);
    padding: 34px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow);
    border: 1px solid rgba(236, 72, 153, 0.14);
}

.spotlight-card h2,
.compact-list h2,
.article-card h2 {
    margin: 12px 0 16px;
    font-size: clamp(26px, 4vw, 40px);
    line-height: 1.18;
}

.spotlight-card p,
.article-card p {
    color: #4b5563;
    line-height: 1.9;
    font-size: 17px;
}

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

.compact-link {
    display: grid;
    grid-template-columns: 36px 58px minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 3px 12px;
    align-items: center;
    padding: 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(236, 72, 153, 0.1);
    transition: all 0.2s ease;
}

.compact-link:hover {
    transform: translateX(4px);
    border-color: rgba(236, 72, 153, 0.28);
}

.compact-link img {
    grid-row: span 2;
    width: 58px;
    height: 76px;
    object-fit: cover;
    border-radius: 12px;
}

.rank-number,
.rank-dot {
    grid-row: span 2;
    width: 32px;
    height: 32px;
    border-radius: 999px;
}

.rank-dot {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.18), rgba(249, 115, 22, 0.18));
}

.compact-title {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 900;
}

.compact-meta {
    color: var(--muted);
    font-size: 13px;
}

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    min-height: 360px;
    background: linear-gradient(135deg, rgba(255, 241, 248, 0.96), rgba(255, 247, 237, 0.94));
}

.page-hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: min(1180px, calc(100% - 32px));
    margin: 34px auto 0;
    padding: 58px;
    border-radius: 34px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(236, 72, 153, 0.14);
}

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

.page-hero h1 {
    margin: 16px 0;
    font-size: clamp(34px, 6vw, 64px);
    line-height: 1.05;
}

.page-hero p {
    max-width: 820px;
    margin: 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.8;
}

.filter-panel {
    display: grid;
    gap: 14px;
    margin-bottom: 26px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(236, 72, 153, 0.14);
    box-shadow: 0 14px 34px rgba(236, 72, 153, 0.08);
}

.filter-search input {
    width: 100%;
}

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

.filter-chip {
    min-height: 34px;
    border: 0;
    border-radius: 999px;
    padding: 0 14px;
    background: rgba(236, 72, 153, 0.09);
    color: var(--pink-dark);
    cursor: pointer;
    font-weight: 800;
}

.filter-chip.is-active {
    color: #ffffff;
    background: linear-gradient(135deg, var(--pink), var(--orange));
}

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

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

.category-overview-top {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
}

.category-overview-top img {
    height: 230px;
    object-fit: cover;
    border-radius: 22px;
}

.category-overview-top h2 {
    margin: 4px 0 10px;
    font-size: 30px;
}

.category-overview-top p {
    color: var(--muted);
    line-height: 1.75;
}

.category-preview-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

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

.detail-hero {
    min-height: 600px;
}

.detail-wrap {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 34px 0 70px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #6b7280;
    font-weight: 700;
    margin-bottom: 28px;
}

.breadcrumbs a:hover {
    color: var(--pink-dark);
}

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

.detail-poster {
    border-radius: 34px;
    overflow: hidden;
    box-shadow: 0 34px 90px rgba(236, 72, 153, 0.24);
}

.detail-poster img {
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.detail-info h1 {
    margin: 18px 0;
    font-size: clamp(36px, 6vw, 66px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.detail-one-line {
    max-width: 820px;
    color: #4b5563;
    font-size: 20px;
    line-height: 1.8;
}

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

.player-card {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: #0f172a;
    box-shadow: 0 32px 80px rgba(15, 23, 42, 0.28);
    aspect-ratio: 16 / 9;
}

.video-player,
.player-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.video-player {
    background: #020617;
    object-fit: contain;
}

.player-cover {
    z-index: 2;
    border: 0;
    padding: 0;
    cursor: pointer;
    background: #0f172a;
}

.player-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.74;
    filter: saturate(1.08);
}

.player-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.38), rgba(236, 72, 153, 0.3));
}

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

.play-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    width: 94px;
    height: 94px;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.42);
    backdrop-filter: blur(16px);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

.play-ring span {
    width: 66px;
    height: 66px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--pink), var(--orange));
    font-size: 28px;
    padding-left: 4px;
}

.review-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 247, 251, 0.94));
}

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

.detail-meta-list span {
    padding: 9px 13px;
    border-radius: 999px;
    background: rgba(236, 72, 153, 0.09);
    color: #4b5563;
    font-weight: 800;
}

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

.footer-grid {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    gap: 38px;
    padding: 54px 0;
}

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

.site-footer p {
    color: #9ca3af;
    line-height: 1.8;
}

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

.footer-links {
    display: grid;
    gap: 10px;
}

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

.footer-bottom {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 0 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #9ca3af;
}

.tone-pink {
    --tone: var(--pink);
}

.tone-blue {
    --tone: var(--blue);
}

.tone-orange {
    --tone: var(--orange);
}

.tone-purple {
    --tone: var(--purple);
}

.tone-green {
    --tone: var(--green);
}

.tone-rose {
    --tone: var(--rose);
}

.tone-indigo {
    --tone: var(--indigo);
}

.tone-amber {
    --tone: var(--amber);
}

.tone-cyan {
    --tone: var(--cyan);
}

.category-hero,
.ranking-hero,
.search-hero {
    background:
        radial-gradient(circle at 18% 18%, color-mix(in srgb, var(--tone, var(--pink)) 26%, transparent), transparent 26rem),
        linear-gradient(135deg, #fff7fb, #fff7ed);
}

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

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

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

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

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
    }

    .hero-content,
    .detail-grid,
    .split-section,
    .footer-grid,
    .category-overview-grid,
    .category-overview-top {
        grid-template-columns: 1fr;
    }

    .hero-content {
        gap: 32px;
        padding-top: 42px;
    }

    .hero-poster {
        width: min(280px, 82vw);
        transform: rotate(0deg);
    }

    .featured-grid,
    .movie-grid,
    .category-list,
    .movie-grid.four-col,
    .category-grid,
    .ranking-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-hero,
    .color-panel,
    .spotlight-card,
    .compact-list,
    .article-card {
        padding: 26px;
    }

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

    .detail-poster {
        width: min(320px, 82vw);
        margin: 0 auto;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .header-inner {
        width: min(100% - 22px, 1180px);
    }

    .logo {
        font-size: 20px;
    }

    .hero-shell,
    .hero-content {
        min-height: 720px;
    }

    .hero-controls {
        bottom: 18px;
    }

    .content-section {
        width: min(100% - 22px, 1180px);
        padding: 42px 0;
    }

    .movie-grid,
    .category-list,
    .movie-grid.four-col,
    .featured-grid,
    .category-grid {
        grid-template-columns: 1fr;
    }

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

    .page-hero {
        width: min(100% - 22px, 1180px);
        padding: 26px;
        border-radius: 26px;
    }

    .compact-link {
        grid-template-columns: 30px 54px minmax(0, 1fr);
    }

    .player-card {
        border-radius: 20px;
    }

    .play-ring {
        width: 78px;
        height: 78px;
    }

    .play-ring span {
        width: 54px;
        height: 54px;
    }
}
