:root {
    --bg: #fff7fb;
    --bg-soft: #f5fbff;
    --surface: rgba(255, 255, 255, 0.86);
    --surface-strong: #ffffff;
    --text: #1f2937;
    --muted: #64748b;
    --line: rgba(148, 163, 184, 0.28);
    --pink: #ec4899;
    --pink-dark: #db2777;
    --sky: #38bdf8;
    --emerald: #34d399;
    --yellow: #f59e0b;
    --shadow: 0 24px 70px rgba(236, 72, 153, 0.13);
    --shadow-soft: 0 14px 40px rgba(15, 23, 42, 0.08);
    --radius: 24px;
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 8% 0%, rgba(236, 72, 153, 0.12), transparent 30rem),
        radial-gradient(circle at 88% 8%, rgba(56, 189, 248, 0.13), transparent 26rem),
        linear-gradient(135deg, #fff7fb 0%, #f6fbff 48%, #f6fff9 100%);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

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

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

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

.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 14px;
    background:
        radial-gradient(circle at 70% 24%, rgba(255, 255, 255, 0.95), transparent 18%),
        linear-gradient(135deg, var(--pink), var(--sky), var(--emerald));
    box-shadow: 0 12px 26px rgba(236, 72, 153, 0.28);
}

.brand-text {
    font-size: 1.22rem;
    background: linear-gradient(120deg, var(--pink), var(--sky), var(--emerald));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.desktop-nav {
    display: flex;
    gap: 8px;
    margin-left: auto;
}

.nav-link {
    padding: 10px 12px;
    border-radius: 999px;
    color: #475569;
    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(--pink-dark);
    background: rgba(236, 72, 153, 0.09);
    transform: translateY(-1px);
}

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

.header-search input,
.mobile-search input,
.big-search input,
.filter-input input,
.filter-input select {
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.9);
    color: var(--text);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search input {
    width: 210px;
    padding: 10px 14px;
}

.header-search button,
.mobile-search button,
.big-search button,
.btn {
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 800;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search button,
.mobile-search button,
.big-search button,
.btn-primary {
    color: white;
    background: linear-gradient(135deg, var(--pink), var(--sky));
    box-shadow: 0 12px 28px rgba(236, 72, 153, 0.24);
}

.header-search button,
.mobile-search button {
    padding: 10px 16px;
}

.header-search input:focus,
.mobile-search input:focus,
.big-search input:focus,
.filter-input input:focus,
.filter-input select:focus {
    border-color: rgba(236, 72, 153, 0.65);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.12);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    background: rgba(236, 72, 153, 0.09);
}

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

.mobile-panel {
    display: none;
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto 16px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.92);
}

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

.mobile-search input {
    flex: 1;
    min-width: 0;
    padding: 11px 14px;
}

.mobile-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.hero {
    position: relative;
    width: min(var(--max), calc(100% - 32px));
    min-height: 620px;
    margin: 34px auto 0;
    overflow: hidden;
    border-radius: 34px;
    background: #111827;
    box-shadow: var(--shadow);
}

.hero-stage,
.hero-slide,
.hero-bg,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-slide {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 34px;
    align-items: center;
    padding: 70px 54px;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.02);
    transition: opacity 0.6s ease, transform 0.8s ease;
}

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

.hero-bg {
    background-size: cover;
    background-position: center;
    filter: blur(1px) saturate(1.15);
    transform: scale(1.06);
}

.hero-overlay {
    background:
        radial-gradient(circle at 76% 44%, rgba(56, 189, 248, 0.25), transparent 23rem),
        linear-gradient(90deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.34));
}

.hero-content,
.hero-poster {
    position: relative;
    z-index: 2;
}

.hero-kicker,
.eyebrow,
.category-accent {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--pink-dark);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-kicker {
    color: #fce7f3;
}

.hero-content h1 {
    max-width: 700px;
    margin: 18px 0 16px;
    color: #fff;
    font-size: clamp(2.6rem, 7vw, 5.8rem);
    line-height: 0.96;
    letter-spacing: -0.08em;
}

.hero-content p {
    max-width: 660px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.08rem;
}

.hero-tags,
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 22px 0;
}

.hero-tags span,
.detail-tags span {
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(12px);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 22px;
}

.btn:hover,
.header-search button:hover,
.mobile-search button:hover,
.big-search button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(236, 72, 153, 0.3);
}

.btn-ghost {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(14px);
}

.btn-small {
    min-height: 38px;
    padding: 8px 14px;
    font-size: 0.92rem;
}

.hero-poster {
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 4.15;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 28px;
    background: linear-gradient(135deg, var(--pink), var(--sky));
    box-shadow: 0 34px 80px rgba(0, 0, 0, 0.36);
}

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

.hero-controls {
    position: absolute;
    left: 54px;
    bottom: 36px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-controls button {
    border: 0;
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
}

.hero-controls > button {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
}

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

.hero-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border-radius: 999px;
    cursor: pointer;
    opacity: 0.55;
}

.hero-dot.is-active {
    width: 28px;
    opacity: 1;
    background: linear-gradient(135deg, var(--pink), var(--sky));
}

.hero-side {
    position: absolute;
    right: 28px;
    bottom: 28px;
    z-index: 5;
    width: 290px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    color: #fff;
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(18px);
}

.hero-side-title {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.hero-side-item {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 4px 10px;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-side-item span {
    grid-row: 1 / 3;
    width: 30px;
    height: 30px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.14);
    font-weight: 900;
}

.hero-side-item strong,
.hero-side-item small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hero-side-item small {
    color: rgba(255, 255, 255, 0.65);
}

.quick-search-band,
.content-section,
.split-section,
.filter-panel,
.breadcrumb,
.detail-content,
.player-section {
    width: min(var(--max), calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
}

.quick-search-band {
    margin-top: 28px;
}

.quick-search-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 540px);
    gap: 28px;
    align-items: center;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.quick-search-inner h2,
.section-heading h2,
.ranking-panel h2,
.page-hero h1,
.detail-info h1,
.text-article h2 {
    margin: 8px 0 10px;
    line-height: 1.12;
    letter-spacing: -0.05em;
}

.quick-search-inner h2,
.section-heading h2,
.ranking-panel h2 {
    font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.quick-search-inner p,
.section-heading p,
.page-hero p,
.category-card p,
.category-overview-card p,
.text-article p {
    color: var(--muted);
}

.big-search input {
    flex: 1;
    min-width: 0;
    padding: 14px 18px;
}

.big-search button {
    padding: 14px 22px;
}

.content-section {
    padding: 62px 0;
}

.content-section.no-top-pad {
    padding-top: 26px;
}

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

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

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    background: var(--surface);
    box-shadow: var(--shadow-soft);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(236, 72, 153, 0.24);
    box-shadow: 0 24px 54px rgba(236, 72, 153, 0.16);
}

.poster,
.ranking-cover,
.detail-poster,
.category-cover {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.38), transparent 28%),
        linear-gradient(135deg, var(--pink), var(--sky), var(--emerald));
}

.poster {
    display: block;
    aspect-ratio: 3 / 4.12;
    border-radius: 22px 22px 16px 16px;
}

.poster img,
.ranking-cover img,
.detail-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

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

.poster.cover-missing::after,
.ranking-cover.cover-missing::after,
.detail-poster.cover-missing::after {
    content: attr(data-title);
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
    color: #fff;
    text-align: center;
    font-weight: 900;
}

.poster-shade {
    position: absolute;
    inset: auto 0 0;
    height: 50%;
    background: linear-gradient(transparent, rgba(15, 23, 42, 0.72));
}

.poster-badge,
.poster-play {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 900;
}

.poster-badge {
    top: 12px;
    left: 12px;
    padding: 6px 10px;
    background: rgba(236, 72, 153, 0.88);
}

.poster-play {
    right: 12px;
    bottom: 12px;
    padding: 8px 12px;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(10px);
}

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

.card-body h3 {
    margin: 0 0 8px;
    font-size: 1.04rem;
    line-height: 1.35;
}

.card-body p {
    min-height: 50px;
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 0.92rem;
}

.movie-card-compact .card-body p {
    min-height: 44px;
}

.card-meta,
.category-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #64748b;
    font-size: 0.82rem;
}

.card-meta span,
.category-stats span {
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.12);
}

.category-section {
    padding-top: 36px;
}

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

.category-card {
    min-height: 190px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    background:
        radial-gradient(circle at 85% 10%, rgba(56, 189, 248, 0.2), transparent 36%),
        rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 46px rgba(56, 189, 248, 0.15);
}

.category-card strong {
    display: block;
    margin: 12px 0 8px;
    font-size: 1.28rem;
}

.category-card small {
    color: var(--pink-dark);
    font-weight: 800;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    align-items: start;
    padding-bottom: 70px;
}

.content-panel,
.ranking-panel {
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.68);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(16px);
}

.content-panel {
    padding: 28px;
}

.content-panel .content-section,
.content-panel .section-heading {
    width: auto;
    padding: 0;
}

.ranking-panel {
    position: sticky;
    top: 96px;
    padding: 28px;
}

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

.rank-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 16px;
    background: rgba(248, 250, 252, 0.78);
}

.rank-num {
    color: var(--pink-dark);
    font-weight: 950;
}

.rank-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 800;
}

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

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.86);
    background: rgba(255, 255, 255, 0.7);
}

.footer-inner {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 28px;
    padding: 32px 0;
}

.footer-inner p {
    max-width: 560px;
    color: var(--muted);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-content: center;
}

.footer-links a {
    color: var(--pink-dark);
    font-weight: 800;
}

.page-hero,
.detail-hero {
    position: relative;
    width: min(var(--max), calc(100% - 32px));
    margin: 34px auto 0;
    overflow: hidden;
    border-radius: 32px;
    background:
        radial-gradient(circle at 84% 10%, rgba(52, 211, 153, 0.22), transparent 28%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(240, 249, 255, 0.78));
    box-shadow: var(--shadow-soft);
}

.small-hero {
    padding: 56px;
}

.small-hero h1 {
    max-width: 820px;
    font-size: clamp(2.2rem, 5vw, 4.3rem);
}

.small-hero p {
    max-width: 760px;
    font-size: 1.05rem;
}

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

.category-overview-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-soft);
}

.category-cover {
    display: block;
    min-height: 150px;
    background-size: cover;
    background-position: center;
}

.category-cover span {
    display: inline-flex;
    margin: 16px;
    padding: 8px 12px;
    border-radius: 999px;
    color: #fff;
    background: rgba(15, 23, 42, 0.66);
    backdrop-filter: blur(12px);
    font-weight: 900;
}

.category-overview-body {
    padding: 22px;
}

.category-overview-body h2 {
    margin: 0 0 8px;
}

.category-preview-links {
    display: grid;
    gap: 6px;
    margin: 14px 0 18px;
}

.category-preview-links a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--pink-dark);
    font-weight: 750;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 24px;
    color: var(--muted);
    font-size: 0.92rem;
}

.breadcrumb a {
    color: var(--pink-dark);
    font-weight: 800;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) 190px 190px auto;
    gap: 14px;
    align-items: end;
    margin-top: 24px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: var(--shadow-soft);
}

.search-filter {
    grid-template-columns: minmax(260px, 1fr) 170px 150px 170px auto;
}

.filter-input label {
    display: block;
    margin: 0 0 7px;
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 850;
}

.filter-input input,
.filter-input select {
    width: 100%;
    padding: 12px 14px;
}

.filter-count {
    padding: 12px 16px;
    border-radius: 999px;
    color: var(--pink-dark);
    background: rgba(236, 72, 153, 0.1);
    font-weight: 900;
}

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

.ranking-row {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-soft);
}

.ranking-row.top-three {
    background:
        radial-gradient(circle at 94% 0%, rgba(245, 158, 11, 0.14), transparent 30%),
        rgba(255, 255, 255, 0.84);
}

.ranking-cover {
    display: block;
    width: 92px;
    aspect-ratio: 3 / 4;
    border-radius: 18px;
}

.ranking-info h2 {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 0 0 6px;
    font-size: 1.18rem;
}

.ranking-info p {
    margin: 0 0 10px;
    color: var(--muted);
}

.detail-hero {
    min-height: 560px;
    background: #0f172a;
}

.detail-backdrop,
.detail-overlay {
    position: absolute;
    inset: 0;
}

.detail-backdrop {
    background-size: cover;
    background-position: center;
    filter: blur(4px) saturate(1.15);
    transform: scale(1.08);
}

.detail-overlay {
    background:
        radial-gradient(circle at 82% 30%, rgba(56, 189, 248, 0.22), transparent 26rem),
        linear-gradient(90deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.74), rgba(15, 23, 42, 0.46));
}

.detail-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 38px;
    align-items: center;
    min-height: 560px;
    padding: 58px;
}

.detail-poster {
    aspect-ratio: 3 / 4.15;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 28px;
    box-shadow: 0 34px 80px rgba(0, 0, 0, 0.32);
}

.detail-info {
    color: #fff;
}

.detail-info h1 {
    max-width: 800px;
    font-size: clamp(2.3rem, 5.8vw, 5rem);
}

.detail-intro {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.08rem;
}

.detail-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 760px;
    margin: 24px 0 28px;
}

.detail-meta div {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
}

.detail-meta dt {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.78rem;
}

.detail-meta dd {
    margin: 4px 0 0;
    font-weight: 900;
}

.player-section {
    padding-top: 30px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.86);
    border-radius: 30px;
    background: #050816;
    box-shadow: var(--shadow);
}

.video-player {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #050816;
}

.player-start {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    border: 0;
    color: #fff;
    background: radial-gradient(circle at center, rgba(236, 72, 153, 0.28), rgba(15, 23, 42, 0.42));
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-icon {
    display: grid;
    width: 74px;
    height: 74px;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pink), var(--sky));
    box-shadow: 0 22px 42px rgba(236, 72, 153, 0.34);
}

.player-start strong {
    font-size: 1.3rem;
}

.player-start small,
.player-message {
    color: rgba(255, 255, 255, 0.76);
}

.player-message {
    position: absolute;
    left: 18px;
    bottom: 12px;
    z-index: 3;
    margin: 0;
    font-size: 0.88rem;
}

.detail-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 28px;
    padding: 50px 0 20px;
}

.text-article,
.info-card {
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-soft);
}

.text-article {
    padding: 32px;
}

.text-article h2 {
    font-size: 1.65rem;
}

.text-article p {
    font-size: 1.02rem;
}

.info-card {
    position: sticky;
    top: 96px;
    padding: 24px;
}

.info-card h2 {
    margin-top: 0;
}

.info-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.info-card li {
    padding: 11px 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.info-card a {
    color: var(--pink-dark);
    font-weight: 850;
}

.article-section {
    max-width: 880px;
}

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

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

    .menu-toggle {
        display: inline-block;
        margin-left: auto;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        padding: 54px 34px 110px;
    }

    .hero-poster,
    .hero-side {
        display: none;
    }

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

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

    .quick-search-inner,
    .split-section,
    .detail-content {
        grid-template-columns: 1fr;
    }

    .ranking-panel,
    .info-card {
        position: static;
    }

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

    .detail-inner {
        grid-template-columns: 230px minmax(0, 1fr);
        padding: 42px;
    }
}

@media (max-width: 760px) {
    .header-inner {
        min-height: 64px;
    }

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

    .hero {
        min-height: 560px;
        border-radius: 26px;
    }

    .hero-slide {
        padding: 42px 24px 102px;
    }

    .hero-content h1 {
        font-size: clamp(2.2rem, 14vw, 4rem);
    }

    .hero-controls {
        left: 24px;
        bottom: 24px;
    }

    .quick-search-inner,
    .small-hero,
    .content-panel,
    .text-article {
        padding: 22px;
    }

    .big-search,
    .footer-inner,
    .section-heading {
        align-items: stretch;
        flex-direction: column;
    }

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

    .card-body {
        padding: 13px;
    }

    .card-body p {
        min-height: auto;
        font-size: 0.86rem;
    }

    .split-section,
    .content-section {
        padding-top: 38px;
        padding-bottom: 38px;
    }

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

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

    .ranking-row .btn {
        grid-column: 1 / -1;
    }

    .ranking-cover {
        width: 74px;
    }

    .detail-inner {
        grid-template-columns: 1fr;
        padding: 28px;
    }

    .detail-poster {
        max-width: 220px;
    }

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

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

@media (max-width: 520px) {
    .movie-grid,
    .compact-grid,
    .category-grid,
    .category-overview-grid {
        grid-template-columns: 1fr;
    }

    .mobile-nav {
        grid-template-columns: 1fr;
    }

    .hero,
    .page-hero,
    .detail-hero,
    .player-shell,
    .text-article,
    .info-card {
        border-radius: 22px;
    }

    .detail-meta {
        grid-template-columns: 1fr;
    }
}
