:root {
    --pink: #ec4899;
    --pink-dark: #db2777;
    --sky: #38bdf8;
    --emerald: #34d399;
    --amber: #f59e0b;
    --ink: #1f2937;
    --muted: #6b7280;
    --soft: #fdf2f8;
    --line: #e5e7eb;
    --shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    background: linear-gradient(135deg, rgba(253, 242, 248, 0.42), #ffffff 42%, rgba(240, 249, 255, 0.55));
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

body::selection {
    color: #ffffff;
    background: var(--pink);
}

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.84);
    border-bottom: 1px solid rgba(229, 231, 235, 0.72);
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 68px;
}

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

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--pink), var(--sky));
    border-radius: 999px;
    box-shadow: 0 10px 25px rgba(236, 72, 153, 0.28);
}

.brand-text,
.footer-brand span:last-child {
    font-size: 21px;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, var(--pink), var(--sky), var(--emerald));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.nav-link,
.mobile-link {
    color: #4b5563;
    font-weight: 650;
    border-radius: 999px;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link {
    padding: 9px 14px;
}

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

.header-search {
    position: relative;
    display: flex;
    align-items: center;
    width: 250px;
}

.header-search input,
.mobile-search input,
.search-page-form input,
.filter-panel input,
.filter-panel select {
    width: 100%;
    border: 1px solid transparent;
    outline: 0;
    background: #f3f4f6;
    border-radius: 999px;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.header-search input {
    padding: 10px 44px 10px 16px;
}

.header-search button {
    position: absolute;
    right: 6px;
    width: 34px;
    height: 34px;
    border: 0;
    color: #ffffff;
    background: linear-gradient(135deg, var(--pink), var(--sky));
    border-radius: 50%;
    cursor: pointer;
}

.header-search input:focus,
.mobile-search input:focus,
.search-page-form input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
    background: #ffffff;
    border-color: rgba(236, 72, 153, 0.45);
    box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.12);
}

.mobile-toggle {
    display: none;
    margin-left: auto;
    border: 0;
    color: var(--ink);
    background: #f3f4f6;
    border-radius: 12px;
    padding: 9px 12px;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    padding: 0 16px 16px;
}

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

.mobile-search {
    display: flex;
    gap: 10px;
    margin: 12px auto;
    width: min(640px, 100%);
}

.mobile-search input {
    padding: 12px 16px;
}

.mobile-search button,
.search-page-form button,
.filter-panel button {
    border: 0;
    color: #ffffff;
    background: linear-gradient(90deg, var(--pink), var(--sky));
    border-radius: 999px;
    padding: 0 18px;
    cursor: pointer;
}

.mobile-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: min(640px, 100%);
    margin: 0 auto;
}

.mobile-link {
    padding: 12px 14px;
    background: #ffffff;
}

.hero {
    position: relative;
    min-height: 680px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(252, 231, 243, 0.76), rgba(255, 255, 255, 0.88) 48%, rgba(224, 242, 254, 0.8));
}

.hero-ornaments {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-ornaments span {
    position: absolute;
    font-size: clamp(32px, 6vw, 84px);
    opacity: 0.18;
    animation: float 15s ease-in-out infinite;
}

.hero-ornaments span:nth-child(1) {
    left: 8%;
    top: 16%;
}

.hero-ornaments span:nth-child(2) {
    left: 72%;
    top: 12%;
    animation-delay: 1.2s;
}

.hero-ornaments span:nth-child(3) {
    left: 13%;
    top: 72%;
    animation-delay: 2.5s;
}

.hero-ornaments span:nth-child(4) {
    left: 82%;
    top: 72%;
    animation-delay: 3.5s;
}

.hero-slides {
    position: relative;
    min-height: 600px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
    align-items: center;
    gap: 46px;
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    left: 0;
    right: 0;
    padding: 70px 0 118px;
    opacity: 0;
    transform: translateY(18px);
    pointer-events: none;
    transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.hero-bg {
    position: absolute;
    inset: 36px -40px 78px;
    z-index: -1;
    background-size: cover;
    background-position: center;
    border-radius: 36px;
    opacity: 0.55;
    filter: saturate(1.06);
    box-shadow: var(--shadow);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    color: var(--pink-dark);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-content h1,
.sub-hero h1,
.detail-title-block h1 {
    margin: 0;
    color: transparent;
    background: linear-gradient(90deg, var(--pink), var(--sky), var(--emerald));
    -webkit-background-clip: text;
    background-clip: text;
    font-weight: 900;
    letter-spacing: -0.055em;
}

.hero-content h1 {
    max-width: 760px;
    font-size: clamp(42px, 7vw, 88px);
    line-height: 0.96;
}

.hero-summary {
    max-width: 680px;
    margin: 24px 0 0;
    color: #4b5563;
    font-size: clamp(17px, 2vw, 22px);
    line-height: 1.8;
}

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

.hero-tags {
    margin-top: 24px;
}

.hero-tags span,
.detail-tags span,
.movie-card__tags span {
    color: var(--pink-dark);
    background: rgba(236, 72, 153, 0.1);
    border: 1px solid rgba(236, 72, 153, 0.12);
    border-radius: 999px;
}

.hero-tags span,
.detail-tags span {
    padding: 7px 12px;
    font-weight: 700;
}

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

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

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
}

.btn-primary {
    color: #ffffff;
    background: linear-gradient(90deg, var(--pink), var(--sky));
}

.btn-ghost {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(229, 231, 235, 0.9);
}

.btn-soft {
    color: var(--pink-dark);
    background: rgba(252, 231, 243, 0.86);
}

.btn-block {
    width: 100%;
}

.hero-poster {
    position: relative;
    overflow: hidden;
    border: 10px solid rgba(255, 255, 255, 0.74);
    border-radius: 32px;
    box-shadow: 0 24px 70px rgba(236, 72, 153, 0.24);
    aspect-ratio: 3 / 4;
    background: #f3f4f6;
}

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

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

.hero-poster span,
.movie-card__play {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

.hero-poster span {
    left: 50%;
    top: 50%;
    width: 76px;
    height: 76px;
    font-size: 28px;
    transform: translate(-50%, -50%);
}

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

.hero-controls button {
    border: 0;
    cursor: pointer;
}

.hero-controls > button {
    width: 42px;
    height: 42px;
    color: var(--pink-dark);
    background: rgba(255, 255, 255, 0.88);
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
    font-size: 28px;
    line-height: 1;
}

.hero-dots {
    display: flex;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.72);
    border-radius: 999px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    background: #d1d5db;
    border-radius: 50%;
}

.hero-dot.is-active {
    width: 28px;
    background: linear-gradient(90deg, var(--pink), var(--sky));
    border-radius: 999px;
}

.hero-strip {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(16px);
}

.hero-strip strong {
    display: block;
    font-size: 18px;
}

.hero-strip span {
    color: var(--muted);
    font-size: 14px;
}

.hero-strip__cards {
    display: flex;
    gap: 12px;
    overflow: auto;
    max-width: 75%;
}

.compact-card {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 190px;
    padding: 8px;
    background: #ffffff;
    border-radius: 18px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.compact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.1);
}

.compact-card img {
    width: 54px;
    height: 64px;
    object-fit: cover;
    border-radius: 12px;
}

.compact-card span {
    display: -webkit-box;
    overflow: hidden;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.page-section {
    padding: 70px 0;
}

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

.section-heading p {
    margin: 0 0 8px;
    color: var(--pink-dark);
    font-weight: 800;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -0.035em;
}

.section-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--pink-dark);
    font-weight: 800;
}

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

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

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

.movie-card {
    min-width: 0;
}

.movie-card__link {
    display: block;
    height: 100%;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(229, 231, 235, 0.7);
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card__link:hover {
    transform: translateY(-6px);
    border-color: rgba(236, 72, 153, 0.28);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.13);
}

.movie-card__cover {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: #f3f4f6;
}

.movie-card__cover img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

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

.movie-card__cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.46));
    opacity: 0.7;
}

.movie-card__badge,
.movie-card__duration {
    position: absolute;
    z-index: 2;
    color: #ffffff;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.movie-card__badge {
    top: 12px;
    left: 12px;
    padding: 6px 10px;
    background: linear-gradient(90deg, var(--pink), var(--sky));
}

.movie-card__duration {
    right: 12px;
    bottom: 12px;
    padding: 5px 9px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
}

.movie-card__play {
    left: 50%;
    top: 50%;
    z-index: 3;
    width: 54px;
    height: 54px;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.7);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.movie-card__body {
    padding: 16px;
}

.movie-card__body h3 {
    display: -webkit-box;
    min-height: 46px;
    margin: 0 0 8px;
    overflow: hidden;
    font-size: 17px;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-card__body p {
    display: -webkit-box;
    min-height: 44px;
    margin: 0 0 12px;
    overflow: hidden;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    color: #6b7280;
    font-size: 12px;
}

.movie-card__meta span {
    padding: 4px 8px;
    background: #f9fafb;
    border-radius: 999px;
}

.movie-card__tags span {
    padding: 4px 8px;
    font-size: 12px;
}

.movie-card--horizontal .movie-card__link {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
}

.movie-card--horizontal .movie-card__cover {
    aspect-ratio: auto;
    min-height: 178px;
}

.movie-card--horizontal .movie-card__body h3 {
    min-height: auto;
}

.movie-card--wide .movie-card__cover {
    aspect-ratio: 16 / 9;
}

.soft-band,
.rank-band {
    background: linear-gradient(90deg, rgba(252, 231, 243, 0.65), rgba(240, 249, 255, 0.7), rgba(236, 253, 245, 0.62));
}

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

.category-card,
.category-overview-card,
.content-card,
.detail-side-card,
.filter-panel {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(229, 231, 235, 0.75);
    border-radius: 24px;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.07);
}

.category-card {
    position: relative;
    overflow: hidden;
    padding: 24px;
    min-height: 220px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card::after,
.category-overview-card::after {
    content: "";
    position: absolute;
    inset: auto -20% -55% 35%;
    height: 160px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.24), transparent 68%);
}

.category-card:hover,
.category-overview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.11);
}

.category-icon {
    display: block;
    margin-bottom: 14px;
    font-size: 38px;
}

.category-card strong {
    display: block;
    margin-bottom: 10px;
    font-size: 20px;
}

.category-card p,
.category-card a,
.category-overview-card p {
    color: var(--muted);
    line-height: 1.65;
}

.category-samples {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 4px;
    margin-top: 12px;
}

.category-samples a {
    display: -webkit-box;
    overflow: hidden;
    color: var(--pink-dark);
    font-size: 13px;
    font-weight: 700;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.feature-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.25fr);
    gap: 24px;
}

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

.ranking-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

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

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

.ranking-item a {
    display: grid;
    grid-template-columns: 58px 70px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
    background: #ffffff;
    border: 1px solid rgba(229, 231, 235, 0.72);
    border-radius: 18px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.ranking-item a:hover {
    transform: translateX(3px);
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.1);
}

.ranking-number {
    color: transparent;
    background: linear-gradient(90deg, var(--pink), var(--sky));
    -webkit-background-clip: text;
    background-clip: text;
    font-size: 26px;
    font-weight: 900;
}

.ranking-item img {
    width: 70px;
    height: 84px;
    object-fit: cover;
    border-radius: 12px;
}

.ranking-title {
    min-width: 0;
    font-weight: 800;
}

.ranking-meta {
    color: var(--muted);
    font-size: 14px;
}

.sub-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(252, 231, 243, 0.78), rgba(255, 255, 255, 0.9), rgba(224, 242, 254, 0.78));
}

.sub-hero .container {
    padding: 74px 0;
}

.sub-hero h1 {
    margin-bottom: 18px;
    font-size: clamp(38px, 5vw, 64px);
}

.sub-hero p:not(.eyebrow) {
    max-width: 780px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.75;
}

.sub-hero-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.sub-hero-links a {
    padding: 9px 13px;
    color: var(--pink-dark);
    background: rgba(255, 255, 255, 0.86);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 26px;
    color: #6b7280;
    font-size: 14px;
}

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

.filter-panel {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 170px 170px 110px;
    gap: 12px;
    margin-bottom: 24px;
    padding: 16px;
}

.filter-panel input,
.filter-panel select {
    height: 44px;
    padding: 0 14px;
}

.filter-panel button {
    min-height: 44px;
}

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

.category-overview-card {
    position: relative;
    overflow: hidden;
    padding: 22px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-overview-head {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 18px;
    margin-bottom: 18px;
}

.category-overview-head > span {
    font-size: 42px;
}

.category-overview-head h2 {
    margin: 0 0 8px;
    font-size: 24px;
}

.compact-row {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

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

.search-page-form {
    display: flex;
    gap: 12px;
    max-width: 680px;
    margin-top: 28px;
}

.search-page-form input {
    height: 54px;
    padding: 0 18px;
    background: #ffffff;
}

.search-page-form button {
    min-width: 110px;
}

.search-status {
    margin-bottom: 20px;
    color: var(--muted);
    font-weight: 700;
}

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

.detail-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.72;
}

.detail-hero-inner {
    position: relative;
    z-index: 1;
    padding: 70px 0 110px;
}

.detail-title-block {
    max-width: 880px;
}

.detail-title-block h1 {
    font-size: clamp(38px, 5.6vw, 76px);
    line-height: 1.05;
}

.detail-title-block p:not(.eyebrow) {
    color: #4b5563;
    font-size: 19px;
    line-height: 1.8;
}

.detail-tags {
    margin-top: 22px;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 26px;
    margin-top: -68px;
    position: relative;
    z-index: 2;
}

.player-area,
.detail-side-card,
.content-card {
    min-width: 0;
}

.player-shell {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #020617;
    border: 10px solid rgba(255, 255, 255, 0.82);
    border-radius: 30px;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.22);
}

.movie-player {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #020617;
    cursor: pointer;
}

.player-start {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 92px;
    height: 92px;
    border: 0;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.94), rgba(56, 189, 248, 0.94));
    border-radius: 50%;
    box-shadow: 0 18px 50px rgba(236, 72, 153, 0.32);
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.player-start span {
    margin-left: 6px;
    font-size: 34px;
}

.player-start:hover {
    transform: translate(-50%, -50%) scale(1.06);
}

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

.player-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 16px;
    padding: 18px 22px;
    background: rgba(255, 255, 255, 0.86);
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.player-caption h2 {
    margin: 0;
    font-size: 20px;
}

.player-caption p {
    max-width: 520px;
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.detail-side-card {
    padding: 18px;
    align-self: start;
}

.detail-side-card img {
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 20px;
}

.detail-side-card ul {
    display: grid;
    gap: 10px;
    margin: 18px 0;
    padding: 0;
    list-style: none;
}

.detail-side-card li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    background: #f9fafb;
    border-radius: 14px;
}

.detail-side-card span {
    color: var(--muted);
}

.detail-side-card strong {
    text-align: right;
}

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

.content-card {
    padding: 28px;
}

.content-card--soft {
    background: linear-gradient(135deg, rgba(252, 231, 243, 0.78), rgba(240, 249, 255, 0.88));
}

.content-card h2 {
    margin: 0 0 14px;
    font-size: 24px;
}

.content-card p {
    margin: 0;
    color: #4b5563;
    font-size: 17px;
    line-height: 1.9;
}

.site-footer {
    margin-top: 70px;
    padding: 54px 0 24px;
    background: linear-gradient(135deg, #fdf2f8, #f0f9ff, #ecfdf5);
    border-top: 1px solid rgba(229, 231, 235, 0.7);
}

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

.footer-grid h2 {
    margin: 0 0 14px;
    font-size: 17px;
}

.footer-grid p,
.footer-grid a,
.footer-bottom {
    color: var(--muted);
    line-height: 1.7;
}

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

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: 34px;
    padding-top: 20px;
    border-top: 1px solid rgba(209, 213, 219, 0.75);
    font-size: 14px;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-22px) rotate(5deg);
    }
    50% {
        transform: translateY(-10px) rotate(-5deg);
    }
    75% {
        transform: translateY(-18px) rotate(3deg);
    }
}

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

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

    .hero-slide {
        grid-template-columns: minmax(0, 1fr) 320px;
    }

    .detail-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .detail-side-card {
        display: grid;
        grid-template-columns: 180px minmax(0, 1fr);
        gap: 18px;
    }

    .detail-side-card .btn {
        grid-column: 1 / -1;
    }

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

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

    .mobile-toggle {
        display: inline-flex;
    }

    .hero {
        min-height: 760px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        padding-top: 44px;
        padding-bottom: 170px;
    }

    .hero-poster {
        max-width: 290px;
        margin: 0 auto;
    }

    .hero-strip {
        display: block;
    }

    .hero-strip__cards {
        max-width: none;
        margin-top: 12px;
    }

    .hero-controls {
        bottom: 132px;
    }

    .feature-layout,
    .category-overview-grid,
    .top-three,
    .ranking-list--home {
        grid-template-columns: 1fr;
    }

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

    .ranking-item a {
        grid-template-columns: 44px 58px minmax(0, 1fr);
    }

    .ranking-meta {
        grid-column: 3;
    }

    .detail-side-card {
        display: block;
    }

    .detail-side-card img {
        max-width: 240px;
        margin: 0 auto;
    }

    .player-caption {
        display: block;
    }

    .player-caption p {
        margin-top: 8px;
    }
}

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

    .brand-text {
        font-size: 18px;
    }

    .hero-content h1,
    .sub-hero h1,
    .detail-title-block h1 {
        letter-spacing: -0.035em;
    }

    .hero-content h1 {
        font-size: 44px;
    }

    .hero-summary,
    .detail-title-block p:not(.eyebrow) {
        font-size: 16px;
    }

    .hero-actions .btn {
        width: 100%;
    }

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

    .movie-card__body {
        padding: 12px;
    }

    .movie-card__body h3 {
        font-size: 15px;
    }

    .movie-card__body p,
    .movie-card__tags {
        display: none;
    }

    .movie-card--horizontal .movie-card__link {
        grid-template-columns: 104px minmax(0, 1fr);
    }

    .movie-card--horizontal .movie-card__cover {
        min-height: 138px;
    }

    .section-heading {
        display: block;
    }

    .section-more {
        margin-top: 12px;
    }

    .player-shell {
        border-width: 5px;
        border-radius: 20px;
    }

    .player-start {
        width: 68px;
        height: 68px;
    }

    .player-start span {
        font-size: 24px;
    }

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