:root {
    --color-orange: #f97316;
    --color-orange-dark: #ea580c;
    --color-pink: #ec4899;
    --color-slate: #0f172a;
    --color-text: #1f2937;
    --color-muted: #6b7280;
    --color-soft: #fff7ed;
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
    --shadow-card: 0 14px 30px rgba(15, 23, 42, 0.10);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 12px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--color-text);
    background: linear-gradient(180deg, #fff7ed 0%, #ffffff 28%, #fff 100%);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(249, 115, 22, 0.14);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(16px);
}

.site-header__inner {
    width: min(1180px, calc(100% - 32px));
    height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

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

.brand__mark {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-orange), var(--color-pink));
    border-radius: 50%;
    box-shadow: 0 12px 24px rgba(249, 115, 22, 0.35);
    font-size: 15px;
}

.brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.12;
}

.brand__text strong {
    font-size: 24px;
    background: linear-gradient(90deg, var(--color-orange), var(--color-pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand__text small {
    margin-top: 3px;
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
}

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

.nav-link {
    border: 0;
    background: transparent;
    color: #374151;
    cursor: pointer;
    font-weight: 700;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--color-orange);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown__menu {
    position: absolute;
    top: calc(100% + 18px);
    right: 0;
    width: 220px;
    padding: 12px;
    display: grid;
    gap: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    background: #ffffff;
    border: 1px solid #fed7aa;
    border-radius: 18px;
    box-shadow: var(--shadow-card);
    transition: 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown__menu a {
    padding: 10px 12px;
    color: #475569;
    border-radius: 12px;
}

.nav-dropdown__menu a:hover {
    color: #ffffff;
    background: linear-gradient(90deg, var(--color-orange), var(--color-pink));
}

.site-search {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 280px;
}

.site-search input,
.filter-panel input,
.filter-panel select {
    width: 100%;
    border: 1px solid #fed7aa;
    outline: none;
    background: #ffffff;
    border-radius: 999px;
    color: #334155;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-search input {
    padding: 11px 16px;
}

.site-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--color-orange);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.14);
}

.site-search button,
.btn,
.hero-arrow,
.filter-panel button {
    border: 0;
    cursor: pointer;
}

.site-search button {
    padding: 10px 16px;
    color: #ffffff;
    font-weight: 700;
    background: linear-gradient(90deg, var(--color-orange), var(--color-pink));
    border-radius: 999px;
}

.mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px auto;
    background: #334155;
    border-radius: 999px;
}

.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-nav .nav-link,
.mobile-nav a {
    padding: 10px 12px;
    border-bottom: 1px solid #ffedd5;
}

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

.hero {
    position: relative;
    height: 560px;
    overflow: hidden;
    background: #111827;
}

.hero-slides,
.hero-slide,
.hero-slide > img,
.hero-slide__shade {
    position: absolute;
    inset: 0;
}

.hero-slide {
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hero-slide.is-active {
    opacity: 1;
}

.hero-slide > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}

.hero-slide__shade {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.48) 52%, rgba(0, 0, 0, 0.08) 100%), linear-gradient(0deg, rgba(0, 0, 0, 0.78) 0%, transparent 45%);
}

.hero-slide__content {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 32px));
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 760px;
    color: #ffffff;
}

.hero-eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: var(--color-orange);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 14px 0 18px;
    max-width: 760px;
    font-size: clamp(40px, 6vw, 76px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.04em;
}

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

.hero-meta,
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.hero-meta span,
.detail-meta span {
    padding: 7px 13px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 999px;
    backdrop-filter: blur(8px);
}

.hero-actions,
.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

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

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

.btn-primary {
    color: #ffffff;
    background: linear-gradient(90deg, var(--color-orange), var(--color-pink));
    box-shadow: 0 18px 35px rgba(236, 72, 153, 0.28);
}

.btn-ghost {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.30);
    backdrop-filter: blur(10px);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 52px;
    height: 52px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    transform: translateY(-50%);
    backdrop-filter: blur(8px);
    font-size: 34px;
    line-height: 1;
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.28);
}

.hero-arrow--left {
    left: 24px;
}

.hero-arrow--right {
    right: 24px;
}

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

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

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

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

.content-section--wide + .content-section--wide,
.content-section--card + .content-section--wide {
    padding-top: 24px;
}

.content-section--gradient,
.content-section--card {
    margin-top: 32px;
    margin-bottom: 32px;
    padding: 34px;
    border-radius: 32px;
}

.content-section--gradient {
    background: linear-gradient(135deg, #fff7ed, #fdf2f8);
}

.content-section--card {
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

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

.section-heading h2,
.page-hero h1,
.detail-intro h1 {
    margin: 0;
    color: #1f2937;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.section-heading a {
    color: var(--color-orange);
    font-weight: 800;
}

.section-heading--stack {
    display: block;
}

.section-heading--stack p {
    margin: 8px 0 0;
    color: var(--color-muted);
    font-size: 18px;
}

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

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

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

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

.movie-grid--compact {
    margin-top: 24px;
}

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

.movie-card {
    min-width: 0;
    overflow: hidden;
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.movie-card a {
    display: block;
    height: 100%;
}

.movie-card__poster {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #111827;
}

.movie-card__poster--wide {
    width: 190px;
    min-height: 130px;
    aspect-ratio: 16 / 10;
    flex-shrink: 0;
}

.movie-card__poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.movie-card__poster::after {
    position: absolute;
    inset: 0;
    content: "";
    opacity: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.70), transparent 62%);
    transition: opacity 0.25s ease;
}

.movie-card:hover .movie-card__poster::after {
    opacity: 1;
}

.movie-card__play {
    position: absolute;
    inset: 50% auto auto 50%;
    z-index: 2;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    color: var(--color-orange);
    background: rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.72);
    transition: 0.25s ease;
}

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

.movie-card__badge,
.movie-card__category {
    display: inline-flex;
    width: fit-content;
    color: #ffffff;
    background: var(--color-orange);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.movie-card__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    padding: 6px 10px;
}

.movie-card__year {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 2;
    padding: 5px 8px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.58);
    border-radius: 9px;
    font-size: 12px;
    font-weight: 700;
}

.movie-card__category {
    margin-bottom: 10px;
    padding: 5px 9px;
    color: var(--color-orange);
    background: #ffedd5;
}

.movie-card__body {
    padding: 18px;
}

.movie-card__body h3 {
    margin: 0 0 10px;
    color: #1f2937;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 900;
    display: -webkit-box;
    min-height: 48px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.2s ease;
}

.movie-card:hover h3,
.ranking-row:hover h2 {
    color: var(--color-orange);
}

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

.movie-card__meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: #64748b;
    font-size: 13px;
}

.movie-card--horizontal {
    border-radius: 18px;
}

.movie-card--horizontal a {
    display: flex;
}

.movie-card--horizontal .movie-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
}

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

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

.category-pill {
    padding: 16px 18px;
    color: #374151;
    background: #ffffff;
    border: 1px solid #ffedd5;
    border-radius: 18px;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.07);
    font-weight: 800;
    text-align: center;
    transition: 0.2s ease;
}

.category-pill:hover {
    color: #ffffff;
    background: linear-gradient(90deg, var(--color-orange), var(--color-pink));
    transform: translateY(-3px);
}

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

.rank-card a {
    display: grid;
    grid-template-columns: 94px 1fr auto;
    gap: 16px;
    align-items: center;
    min-height: 126px;
    padding: 14px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-card a:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.rank-card img {
    width: 94px;
    height: 98px;
    object-fit: cover;
    border-radius: 14px;
}

.rank-card h3,
.rank-card p {
    margin: 0;
}

.rank-card h3 {
    margin-bottom: 7px;
    font-size: 17px;
}

.rank-card p {
    margin-bottom: 8px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
}

.rank-card span {
    color: #94a3b8;
    font-size: 12px;
}

.rank-card strong {
    color: var(--color-orange);
    font-size: 22px;
}

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: radial-gradient(circle at 20% 10%, rgba(236, 72, 153, 0.45), transparent 34%), linear-gradient(135deg, #111827, #0f172a 48%, #3b0a2b);
}

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

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

.page-hero h1 {
    margin: 12px 0;
    color: #ffffff;
}

.page-hero p {
    max-width: 760px;
    margin: 0;
    color: #e5e7eb;
    font-size: 19px;
    line-height: 1.8;
}

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

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

.category-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.category-panel__head span {
    color: #1f2937;
    font-size: 24px;
    font-weight: 900;
}

.category-panel__head em {
    color: var(--color-orange);
    font-style: normal;
    font-weight: 800;
}

.category-panel p {
    margin: 0 0 18px;
    color: #64748b;
    line-height: 1.7;
}

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

.mini-card {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: #111827;
}

.mini-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    opacity: 0.86;
    transition: transform 0.35s ease;
}

.mini-card span {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 8px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.55);
}

.filter-panel {
    margin-bottom: 26px;
    padding: 18px;
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto;
    gap: 14px;
    background: #ffffff;
    border: 1px solid #ffedd5;
    border-radius: 24px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.filter-panel input,
.filter-panel select {
    min-height: 46px;
    padding: 0 16px;
}

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

.filter-panel select {
    min-width: 140px;
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #f97316 50%), linear-gradient(135deg, #f97316 50%, transparent 50%);
    background-position: calc(100% - 18px) 20px, calc(100% - 12px) 20px;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.empty-state {
    padding: 44px;
    color: #64748b;
    background: #ffffff;
    border-radius: 24px;
    text-align: center;
    font-weight: 800;
}

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

.ranking-row a {
    display: grid;
    grid-template-columns: 66px 94px 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 16px;
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    transition: 0.2s ease;
}

.ranking-row a:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
}

.ranking-row__number {
    color: var(--color-orange);
    font-size: 32px;
    font-weight: 900;
    text-align: center;
}

.ranking-row img {
    width: 94px;
    height: 124px;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.35s ease;
}

.ranking-row h2 {
    margin: 0 0 8px;
    font-size: 22px;
    transition: color 0.2s ease;
}

.ranking-row p {
    margin: 0 0 8px;
    color: #64748b;
    line-height: 1.6;
}

.ranking-row span {
    color: #94a3b8;
    font-size: 14px;
}

.ranking-row em {
    color: var(--color-orange);
    font-size: 28px;
    font-style: normal;
    font-weight: 900;
}

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

.detail-hero__backdrop {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    filter: blur(2px);
}

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

.detail-hero::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.72)), linear-gradient(0deg, #0f172a 0%, transparent 35%);
}

.detail-hero__inner {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 32px));
    min-height: 540px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 42px;
    align-items: center;
    padding: 54px 0;
}

.detail-poster img {
    width: 300px;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border: 6px solid rgba(255, 255, 255, 0.16);
    border-radius: 26px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
}

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

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

.detail-category {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 8px 14px;
    color: #ffffff;
    background: linear-gradient(90deg, var(--color-orange), var(--color-pink));
    border-radius: 999px;
    font-weight: 900;
}

.detail-intro h1 {
    color: #ffffff;
    font-size: clamp(40px, 5vw, 64px);
}

.detail-intro p {
    max-width: 760px;
    color: #e5e7eb;
    font-size: 20px;
    line-height: 1.8;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
    gap: 26px;
    align-items: start;
}

.player-panel,
.detail-card,
.related-panel {
    background: #ffffff;
    border-radius: 26px;
    box-shadow: var(--shadow-card);
}

.player-panel {
    padding: 22px;
}

.player-panel h2,
.detail-card h2,
.related-panel h2 {
    margin: 0 0 16px;
    color: #1f2937;
    font-size: 24px;
    font-weight: 900;
}

.player-shell {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #000000;
    border-radius: 22px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.26);
}

.movie-video {
    width: 100%;
    height: 100%;
    display: block;
    background: #000000;
    object-fit: contain;
}

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: #ffffff;
    border: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.18));
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-overlay__icon {
    width: 82px;
    height: 82px;
    display: grid;
    place-items: center;
    color: var(--color-orange);
    background: rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    font-size: 34px;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.player-overlay span:last-child {
    font-size: 20px;
    font-weight: 900;
}

.player-controls {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: none;
}

.player-controls button {
    width: 44px;
    height: 44px;
    color: #ffffff;
    border: 0;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    backdrop-filter: blur(10px);
}

.player-controls button:last-child {
    margin-left: auto;
}

.player-message {
    position: absolute;
    top: 18px;
    left: 18px;
    right: 18px;
    z-index: 5;
    padding: 12px 14px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.70);
    border-radius: 12px;
    text-align: center;
}

.detail-card {
    margin-top: 24px;
    padding: 28px;
}

.detail-card p {
    margin: 0;
    color: #475569;
    font-size: 17px;
    line-height: 1.95;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-cloud span {
    padding: 8px 12px;
    color: var(--color-orange);
    background: #ffedd5;
    border-radius: 999px;
    font-weight: 800;
}

.related-panel {
    position: sticky;
    top: 100px;
    padding: 22px;
}

.related-list {
    display: grid;
    gap: 14px;
    max-height: calc(100vh - 170px);
    overflow: auto;
    padding-right: 4px;
}

.related-list .movie-card--horizontal .movie-card__poster--wide {
    width: 128px;
    min-height: 92px;
}

.related-list .movie-card__body {
    padding: 12px;
}

.related-list .movie-card__body h3 {
    min-height: auto;
    font-size: 15px;
}

.related-list .movie-card__body p {
    display: none;
}

.site-footer {
    margin-top: 60px;
    color: #cbd5e1;
    background: linear-gradient(135deg, #0f172a, #111827 55%, #3b0a2b);
}

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

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

.site-footer p {
    max-width: 460px;
    color: #94a3b8;
    line-height: 1.8;
}

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

.site-footer a {
    display: block;
    margin: 8px 0;
    color: #cbd5e1;
}

.site-footer a:hover {
    color: #ffffff;
}

.footer-categories {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 16px;
}

.footer-bottom {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 20px 0 26px;
    color: #94a3b8;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 14px;
}

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

    .site-header__inner {
        height: 68px;
    }

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

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

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

    .related-panel {
        position: static;
    }
}

@media (max-width: 820px) {
    .hero {
        height: 620px;
    }

    .hero-slide__content {
        justify-content: end;
        padding-bottom: 86px;
    }

    .hero-arrow {
        display: none;
    }

    .content-section,
    .page-hero > div,
    .detail-hero__inner,
    .footer-grid,
    .footer-bottom {
        width: min(100% - 24px, 1180px);
    }

    .content-section--gradient,
    .content-section--card {
        padding: 22px;
        border-radius: 24px;
    }

    .section-heading,
    .filter-panel {
        display: grid;
        grid-template-columns: 1fr;
    }

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

    .movie-grid--six,
    .movie-grid--four,
    .movie-grid--three,
    .category-pills,
    .feature-grid,
    .rank-grid,
    .category-panel-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .detail-hero__inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .detail-poster img {
        width: min(260px, 72vw);
    }

    .ranking-row a {
        grid-template-columns: 46px 80px 1fr;
    }

    .ranking-row em {
        display: none;
    }

    .ranking-row img {
        width: 80px;
        height: 106px;
    }
}

@media (max-width: 560px) {
    .brand__text strong {
        font-size: 20px;
    }

    .brand__text small {
        display: none;
    }

    .hero-meta,
    .detail-meta {
        gap: 8px;
    }

    .hero-meta span,
    .detail-meta span {
        padding: 6px 10px;
        font-size: 13px;
    }

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

    .movie-card__body {
        padding: 13px;
    }

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

    .movie-card__body p,
    .movie-card__meta {
        font-size: 12px;
    }

    .movie-card--horizontal a {
        display: grid;
        grid-template-columns: 110px 1fr;
    }

    .movie-card__poster--wide {
        width: 110px;
        min-height: 100%;
    }

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

    .player-panel,
    .detail-card,
    .related-panel {
        border-radius: 20px;
    }

    .player-panel,
    .detail-card {
        padding: 18px;
    }

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