:root {
    color-scheme: light;
    --color-slate-950: #020617;
    --color-slate-900: #0f172a;
    --color-slate-800: #1e293b;
    --color-slate-700: #334155;
    --color-slate-100: #f1f5f9;
    --color-slate-50: #f8fafc;
    --color-white: #ffffff;
    --color-teal: #14b8a6;
    --color-teal-dark: #0f766e;
    --color-amber: #f59e0b;
    --color-rose: #f43f5e;
    --shadow-soft: 0 18px 50px rgba(15, 23, 42, 0.14);
    --shadow-card: 0 12px 32px rgba(15, 23, 42, 0.10);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    background: var(--color-slate-50);
    color: #172033;
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(90deg, #0f172a 0%, #1e293b 52%, #0f172a 100%);
    color: var(--color-white);
    box-shadow: 0 12px 30px rgba(2, 6, 23, 0.24);
}

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

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

.brand-mark {
    width: 40px;
    height: 40px;
    display: inline-grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--color-teal), #67e8f9);
    color: #022c22;
    box-shadow: 0 12px 26px rgba(20, 184, 166, 0.25);
}

.brand-copy {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 20px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.brand-subtitle {
    margin-top: 2px;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 500;
}

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

.nav-link,
.mobile-nav-link {
    padding: 9px 13px;
    border-radius: 999px;
    color: #e2e8f0;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-nav-link:hover,
.mobile-nav-link.is-active {
    color: #ffffff;
    background: rgba(20, 184, 166, 0.18);
}

.header-search {
    display: flex;
    align-items: center;
    padding: 4px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.58);
    border: 1px solid rgba(148, 163, 184, 0.22);
}

.header-search input,
.mobile-search input,
.big-search input,
.search-page-form input,
.filter-panel input,
.filter-panel select {
    border: 0;
    outline: 0;
}

.header-search input {
    width: 210px;
    padding: 8px 12px;
    color: #ffffff;
    background: transparent;
}

.header-search input::placeholder,
.mobile-search input::placeholder {
    color: #94a3b8;
}

.header-search button,
.mobile-search button,
.big-search button,
.search-page-form button {
    border: 0;
    cursor: pointer;
    border-radius: 999px;
    background: var(--color-teal);
    color: #042f2e;
    font-weight: 800;
    transition: transform 0.2s ease, background 0.2s ease;
}

.header-search button {
    padding: 8px 14px;
}

.header-search button:hover,
.mobile-search button:hover,
.big-search button:hover,
.search-page-form button:hover {
    transform: translateY(-1px);
    background: #2dd4bf;
}

.mobile-menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
}

.mobile-menu-button span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: #ffffff;
    border-radius: 2px;
}

.mobile-nav {
    display: none;
    padding: 0 16px 16px;
    background: #0f172a;
}

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

.mobile-search {
    display: flex;
    gap: 8px;
    padding-top: 8px;
}

.mobile-search input {
    min-width: 0;
    flex: 1;
    padding: 11px 13px;
    border-radius: 999px;
    color: #ffffff;
    background: #1e293b;
}

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

.hero {
    position: relative;
    overflow: hidden;
    min-height: 650px;
    background: #020617;
}

.hero-slider {
    position: relative;
    min-height: 650px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    align-items: center;
    gap: 56px;
    width: 100%;
    padding: 82px max(32px, calc((100vw - var(--container)) / 2)) 96px;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.02);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at 18% 20%, rgba(20, 184, 166, 0.38), transparent 28%),
        radial-gradient(circle at 75% 35%, rgba(244, 63, 94, 0.26), transparent 27%),
        linear-gradient(90deg, rgba(2, 6, 23, 0.94), rgba(15, 23, 42, 0.82) 50%, rgba(15, 23, 42, 0.58));
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.18;
    filter: blur(16px) saturate(1.2);
    transform: scale(1.08);
}

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

.hero-copy,
.hero-poster {
    position: relative;
    z-index: 1;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-teal);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.hero h1,
.page-hero h1,
.detail-copy h1 {
    margin: 14px 0 18px;
    font-size: clamp(38px, 6vw, 78px);
    line-height: 0.98;
    letter-spacing: -0.055em;
    color: #ffffff;
}

.hero-one-line,
.page-hero p,
.detail-one-line {
    max-width: 720px;
    margin: 0;
    color: #cbd5e1;
    font-size: clamp(17px, 2vw, 22px);
}

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

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

.hero-tags span,
.detail-tags a,
.movie-tags span,
.detail-meta-pills span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.hero-tags span,
.detail-tags a,
.detail-meta-pills span {
    padding: 7px 11px;
    color: #d1fae5;
    background: rgba(20, 184, 166, 0.18);
    border: 1px solid rgba(94, 234, 212, 0.22);
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 20px;
    border-radius: 999px;
    font-weight: 900;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button.primary {
    color: #042f2e;
    background: linear-gradient(135deg, #2dd4bf, #99f6e4);
    box-shadow: 0 18px 34px rgba(20, 184, 166, 0.28);
}

.button.ghost {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
}

.button.ghost-dark {
    color: #0f172a;
    border-color: rgba(15, 23, 42, 0.12);
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
    color: #94a3b8;
    font-size: 14px;
}

.hero-stats span {
    padding-right: 10px;
    border-right: 1px solid rgba(148, 163, 184, 0.28);
}

.hero-stats span:last-child {
    border-right: 0;
}

.hero-poster {
    overflow: hidden;
    aspect-ratio: 3 / 4.15;
    border-radius: 34px;
    background: linear-gradient(135deg, #164e63, #0f172a 72%);
    box-shadow: 0 34px 80px rgba(0, 0, 0, 0.45);
    transform: rotate(2deg);
}

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

.hero-poster span {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 2;
    padding: 9px 16px;
    border-radius: 999px;
    color: #042f2e;
    background: #99f6e4;
    font-weight: 900;
}

.image-missing {
    background:
        radial-gradient(circle at 30% 24%, rgba(45, 212, 191, 0.55), transparent 34%),
        linear-gradient(135deg, #0f172a, #134e4a 55%, #1e293b);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.52);
    backdrop-filter: blur(12px);
    cursor: pointer;
    font-size: 32px;
    line-height: 1;
    transition: transform 0.2s ease, background 0.2s ease;
}

.hero-arrow:hover {
    transform: translateY(-50%) scale(1.08);
    background: rgba(20, 184, 166, 0.44);
}

.hero-arrow-left {
    left: 20px;
    transform: translateY(-50%);
}

.hero-arrow-right {
    right: 20px;
    transform: translateY(-50%);
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 28px;
    z-index: 5;
    display: flex;
    gap: 9px;
    transform: translateX(-50%);
}

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

.hero-dot.is-active {
    width: 28px;
    background: #5eead4;
}

.quick-search-panel {
    margin-top: -38px;
    position: relative;
    z-index: 10;
}

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

.quick-search-inner h2 {
    margin: 8px 0 0;
    font-size: clamp(22px, 3vw, 34px);
    letter-spacing: -0.03em;
}

.big-search,
.search-page-form {
    display: flex;
    gap: 10px;
    padding: 8px;
    border-radius: 999px;
    background: #f1f5f9;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.big-search input,
.search-page-form input {
    min-width: 0;
    flex: 1;
    padding: 12px 14px;
    background: transparent;
}

.big-search button,
.search-page-form button {
    padding: 11px 22px;
}

.section {
    padding: 76px 0;
}

.section-muted {
    background: #eaf2f3;
}

.section-dark {
    color: #ffffff;
    background:
        radial-gradient(circle at 20% 20%, rgba(20, 184, 166, 0.32), transparent 25%),
        linear-gradient(135deg, #020617, #0f172a 48%, #134e4a);
}

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

.section-heading h2,
.split-layout h2,
.content-card h2,
.category-overview-card h2 {
    margin: 8px 0 0;
    color: #0f172a;
    font-size: clamp(26px, 3vw, 42px);
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.section-dark .section-heading h2,
.section-dark .split-layout h2 {
    color: #ffffff;
}

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

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

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

.movie-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.16);
}

.poster-frame {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, #0f172a, #155e75);
}

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

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

.poster-glow {
    position: absolute;
    inset: auto 0 0;
    height: 46%;
    background: linear-gradient(transparent, rgba(2, 6, 23, 0.72));
}

.poster-year,
.poster-play {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    font-weight: 900;
}

.poster-year {
    top: 12px;
    left: 12px;
    padding: 6px 10px;
    color: #0f172a;
    background: rgba(255, 255, 255, 0.86);
}

.poster-play {
    right: 12px;
    bottom: 12px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    color: #042f2e;
    background: #5eead4;
}

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

.movie-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.movie-meta-line span {
    display: inline-flex;
    align-items: center;
}

.movie-meta-line span:not(:last-child)::after {
    content: "·";
    margin-left: 8px;
    color: #cbd5e1;
}

.movie-card h3 {
    margin: 9px 0 8px;
    color: #0f172a;
    font-size: 18px;
    line-height: 1.25;
}

.movie-card h3 a:hover,
.ranking-info h2 a:hover,
.category-overview-card h2 a:hover {
    color: var(--color-teal-dark);
}

.movie-card p {
    display: -webkit-box;
    min-height: 48px;
    margin: 0 0 14px;
    overflow: hidden;
    color: #64748b;
    font-size: 14px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-tags span {
    padding: 5px 8px;
    color: #0f766e;
    background: #ccfbf1;
}

.movie-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
}

.score {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    padding: 5px 9px;
    border-radius: 999px;
    color: #78350f;
    background: #fef3c7;
    font-weight: 900;
}

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

.category-tile {
    overflow: hidden;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease;
}

.category-tile:hover {
    transform: translateY(-4px);
}

.category-mosaic {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 146px;
    background: linear-gradient(135deg, #0f172a, #134e4a);
}

.category-mosaic img {
    width: 100%;
    height: 100%;
    min-height: 73px;
    object-fit: cover;
}

.category-copy {
    display: block;
    padding: 16px;
}

.category-copy strong {
    display: block;
    color: #0f172a;
    font-size: 18px;
}

.category-copy em {
    display: block;
    margin-top: 6px;
    color: #64748b;
    font-size: 13px;
    font-style: normal;
}

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

.split-layout p {
    max-width: 560px;
    color: #cbd5e1;
    font-size: 18px;
}

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

.ranking-mini-list a {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) 54px;
    gap: 14px;
    align-items: center;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.ranking-mini-list span {
    color: #5eead4;
    font-weight: 900;
}

.ranking-mini-list strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-mini-list em {
    color: #fde68a;
    font-style: normal;
    font-weight: 900;
    text-align: right;
}

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(circle at 12% 20%, rgba(20, 184, 166, 0.32), transparent 26%),
        radial-gradient(circle at 82% 10%, rgba(244, 63, 94, 0.18), transparent 22%),
        linear-gradient(135deg, #020617, #0f172a 65%, #134e4a);
}

.page-hero {
    padding: 86px 0 76px;
}

.page-hero.slim {
    padding: 70px 0 58px;
}

.page-hero h1 {
    max-width: 850px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
    margin-bottom: 28px;
    color: #cbd5e1;
    font-size: 14px;
}

.breadcrumb a:hover {
    color: #5eead4;
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 22px;
    padding: 18px;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.category-cover {
    overflow: hidden;
    border-radius: 22px;
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, #0f172a, #155e75);
}

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

.category-overview-card p {
    margin: 10px 0 12px;
    color: #64748b;
}

.category-preview-list {
    display: grid;
    gap: 8px;
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}

.category-preview-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #475569;
}

.category-preview-list span {
    color: #94a3b8;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(150px, 0.8fr));
    gap: 14px;
    margin-bottom: 26px;
    padding: 18px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.filter-panel label {
    display: grid;
    gap: 8px;
    color: #475569;
    font-size: 13px;
    font-weight: 900;
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 14px;
    background: #f8fafc;
    color: #0f172a;
    border: 1px solid #e2e8f0;
}

.filter-empty {
    margin-bottom: 18px;
    padding: 16px;
    border-radius: 18px;
    color: #7c2d12;
    background: #ffedd5;
    font-weight: 800;
}

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

.ranking-row {
    display: grid;
    grid-template-columns: 70px 92px minmax(0, 1fr) 120px;
    gap: 18px;
    align-items: center;
    padding: 16px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.ranking-number {
    color: #0f766e;
    font-size: 24px;
    font-weight: 950;
}

.ranking-thumb {
    overflow: hidden;
    border-radius: 16px;
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, #0f172a, #164e63);
}

.ranking-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ranking-info h2 {
    margin: 0 0 8px;
    color: #0f172a;
    font-size: 22px;
}

.ranking-info p {
    margin: 0 0 10px;
    color: #64748b;
}

.ranking-score {
    display: grid;
    justify-items: end;
    gap: 4px;
}

.ranking-score strong {
    color: #f59e0b;
    font-size: 32px;
    line-height: 1;
}

.ranking-score span {
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.search-page-form {
    max-width: 760px;
    margin-top: 28px;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.18);
}

.search-page-form input {
    color: #ffffff;
}

.search-page-form input::placeholder {
    color: #cbd5e1;
}

.detail-hero {
    padding: 48px 0 72px;
}

.detail-backdrop {
    position: absolute;
    inset: 0;
    opacity: 0.13;
    filter: blur(16px) saturate(1.2);
    transform: scale(1.08);
}

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

.detail-hero-inner {
    position: relative;
    z-index: 1;
}

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

.detail-poster {
    overflow: hidden;
    aspect-ratio: 3 / 4.2;
    border-radius: 30px;
    background: linear-gradient(135deg, #0f172a, #155e75);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
}

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

.detail-meta-pills,
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.detail-tags {
    margin-bottom: 28px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: #020617;
    box-shadow: var(--shadow-soft);
}

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

.play-toggle {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 12px;
    border: 0;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.16), rgba(2, 6, 23, 0.72));
    cursor: pointer;
    font-size: 18px;
    font-weight: 900;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.play-icon {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #042f2e;
    background: #5eead4;
    box-shadow: 0 18px 44px rgba(20, 184, 166, 0.35);
}

.video-player.is-playing .play-toggle,
.video-player.is-loaded .play-toggle {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.player-tip {
    margin: 0;
    padding: 12px 18px;
    color: #94a3b8;
    background: #0f172a;
    font-size: 13px;
}

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

.content-card {
    padding: 28px;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.content-card p {
    margin: 14px 0 0;
    color: #475569;
    font-size: 16px;
}

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

.detail-info-card dl {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 12px 18px;
    margin: 16px 0 0;
}

.detail-info-card dt {
    color: #64748b;
    font-weight: 900;
}

.detail-info-card dd {
    margin: 0;
    color: #0f172a;
}

.related-grid .movie-card.compact p {
    min-height: auto;
}

.site-footer {
    padding: 56px 0;
    color: #cbd5e1;
    background: #020617;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr) minmax(220px, 0.8fr);
    gap: 34px;
}

.footer-brand {
    color: #ffffff;
    font-size: 20px;
}

.site-footer p {
    max-width: 470px;
    color: #94a3b8;
}

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

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

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

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

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

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

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

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

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

    .mobile-menu-button {
        display: block;
        margin-left: auto;
    }

    .header-inner {
        min-height: 64px;
    }

    .hero,
    .hero-slider {
        min-height: 760px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        padding: 52px 24px 88px;
    }

    .hero-poster {
        width: min(260px, 76vw);
        margin: 0 auto;
    }

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

    .category-overview-grid {
        grid-template-columns: 1fr;
    }

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

    .ranking-score {
        grid-column: 2 / -1;
        justify-items: start;
    }

    .detail-poster {
        width: min(280px, 78vw);
    }
}

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

    .brand-subtitle {
        display: none;
    }

    .brand-name {
        font-size: 17px;
    }

    .hero h1,
    .page-hero h1,
    .detail-copy h1 {
        font-size: clamp(34px, 13vw, 52px);
    }

    .hero-arrow {
        display: none;
    }

    .quick-search-panel {
        margin-top: 0;
    }

    .quick-search-inner {
        border-radius: 0;
        width: 100%;
    }

    .big-search,
    .search-page-form,
    .mobile-search {
        border-radius: 18px;
        flex-direction: column;
    }

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

    .category-overview-card {
        grid-template-columns: 110px minmax(0, 1fr);
        gap: 14px;
    }

    .category-preview-list {
        display: none;
    }

    .section {
        padding: 48px 0;
    }

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

    .detail-info-card dl {
        grid-template-columns: 1fr;
    }
}
