:root {
    color-scheme: dark;
    --slate-950: #020617;
    --slate-925: #06101f;
    --slate-900: #0f172a;
    --slate-850: #142033;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --white: #ffffff;
    --orange-600: #ea580c;
    --orange-500: #f97316;
    --orange-400: #fb923c;
    --amber-500: #f59e0b;
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 18px 38px rgba(0, 0, 0, 0.28);
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --container: 1280px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--slate-200);
    background: radial-gradient(circle at top left, rgba(249, 115, 22, 0.16), transparent 34%), linear-gradient(180deg, var(--slate-950), var(--slate-900) 45%, var(--slate-950));
    min-height: 100vh;
}

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

button,
input,
select {
    font: inherit;
}

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(2, 6, 23, 0.82);
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    backdrop-filter: blur(16px);
}

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

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand-icon {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 14px;
    color: var(--white);
    background: linear-gradient(135deg, var(--orange-500), var(--amber-500));
    box-shadow: 0 16px 34px rgba(249, 115, 22, 0.32);
}

.brand-text {
    display: grid;
    line-height: 1.1;
}

.brand-text strong,
.footer-brand span:last-child {
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(90deg, var(--orange-400), var(--amber-500));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 0.02em;
}

.brand-text em {
    margin-top: 4px;
    color: var(--slate-400);
    font-size: 12px;
    font-style: normal;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: auto;
    color: var(--slate-300);
    font-weight: 650;
}

.desktop-nav > a,
.nav-dropdown > a {
    padding: 26px 0;
    transition: color 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active,
.nav-dropdown:hover > a {
    color: var(--orange-400);
}

.nav-dropdown {
    position: relative;
}

.dropdown-panel {
    position: absolute;
    top: calc(100% - 8px);
    left: 0;
    display: grid;
    gap: 4px;
    width: 210px;
    padding: 12px;
    color: var(--slate-300);
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: 0.2s ease;
}

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

.dropdown-panel a {
    padding: 10px 12px;
    border-radius: 10px;
}

.dropdown-panel a:hover {
    background: rgba(249, 115, 22, 0.14);
}

.header-search {
    display: flex;
    width: 270px;
    padding: 4px;
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 999px;
}

.header-search input {
    width: 100%;
    min-width: 0;
    padding: 9px 12px;
    color: var(--slate-200);
    background: transparent;
    border: 0;
    outline: 0;
}

.header-search button,
.primary-btn,
.filter-reset {
    border: 0;
    color: var(--white);
    background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
    box-shadow: 0 14px 26px rgba(249, 115, 22, 0.26);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search button {
    padding: 8px 15px;
    border-radius: 999px;
}

.header-search button:hover,
.primary-btn:hover,
.filter-reset:hover {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 18px 36px rgba(249, 115, 22, 0.34);
}

.mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    margin-left: auto;
    padding: 9px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.9);
}

.mobile-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--slate-200);
    border-radius: 2px;
}

.mobile-menu {
    display: none;
    gap: 10px;
    padding: 0 16px 18px;
    background: rgba(2, 6, 23, 0.96);
}

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

.mobile-menu a,
.mobile-menu form {
    padding: 12px;
    background: rgba(30, 41, 59, 0.6);
    border-radius: 12px;
}

.mobile-menu form {
    display: flex;
    gap: 8px;
}

.mobile-menu input {
    flex: 1;
    min-width: 0;
    color: var(--slate-200);
    background: transparent;
    border: 0;
    outline: 0;
}

.mobile-menu button {
    color: var(--orange-400);
    background: transparent;
    border: 0;
}

.page-main {
    padding: 32px 0 72px;
}

.main-stack {
    display: grid;
    gap: 48px;
}

.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: var(--radius-lg);
    background: var(--slate-900);
    box-shadow: var(--shadow-lg);
}

.hero-track {
    display: flex;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0, 0, 0.2, 1);
}

.hero-slide {
    position: relative;
    min-width: 100%;
    height: 100%;
}

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

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.08)), linear-gradient(0deg, rgba(0, 0, 0, 0.82), transparent 52%);
}

.hero-copy {
    position: absolute;
    left: clamp(24px, 6vw, 72px);
    right: clamp(24px, 8vw, 120px);
    bottom: clamp(34px, 7vw, 76px);
    max-width: 760px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--orange-400);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-copy h1,
.hero-copy h2,
.page-hero h1,
.detail-copy h1 {
    margin: 0;
    color: var(--white);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.hero-copy h1 {
    font-size: clamp(40px, 6vw, 72px);
}

.hero-copy h2 {
    margin-top: 12px;
    font-size: clamp(28px, 4vw, 46px);
}

.hero-copy p:not(.eyebrow),
.page-hero p,
.detail-one-line {
    margin: 18px 0 0;
    color: var(--slate-200);
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.75;
}

.hero-tags,
.detail-tags,
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.hero-tags,
.detail-tags {
    margin-top: 20px;
}

.hero-tags span,
.detail-tags span,
.tag-list span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    color: var(--slate-300);
    background: rgba(30, 41, 59, 0.76);
    border: 1px solid rgba(148, 163, 184, 0.14);
    font-size: 12px;
}

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

.primary-btn,
.ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
    border-radius: 999px;
    font-weight: 800;
}

.ghost-btn {
    color: var(--slate-200);
    background: rgba(15, 23, 42, 0.62);
    border: 1px solid rgba(226, 232, 240, 0.22);
    backdrop-filter: blur(8px);
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.ghost-btn:hover {
    color: var(--orange-400);
    border-color: rgba(249, 115, 22, 0.58);
    transform: translateY(-1px);
}

.hero-control {
    position: absolute;
    top: 50%;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    color: var(--white);
    font-size: 34px;
    line-height: 1;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    transform: translateY(-50%);
    backdrop-filter: blur(8px);
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-control:hover {
    background: rgba(0, 0, 0, 0.72);
    transform: translateY(-50%) scale(1.06);
}

.hero-prev {
    left: 18px;
}

.hero-next {
    right: 18px;
}

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

.hero-dot {
    width: 12px;
    height: 12px;
    padding: 0;
    background: rgba(255, 255, 255, 0.5);
    border: 0;
    border-radius: 999px;
    transition: 0.3s ease;
}

.hero-dot.is-active {
    width: 34px;
    background: var(--orange-500);
}

.content-section,
.filter-panel,
.page-hero,
.category-grid-section,
.detail-article,
.detail-aside,
.player-section {
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: var(--radius-lg);
    background: rgba(15, 23, 42, 0.54);
    box-shadow: var(--shadow-md);
}

.content-section {
    padding: clamp(20px, 3vw, 34px);
}

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

.section-heading h2,
.detail-article h2,
.detail-aside h2 {
    margin: 0;
    color: var(--white);
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 850;
    letter-spacing: -0.03em;
}

.section-more {
    color: var(--orange-400);
    font-weight: 750;
}

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

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

.movie-card-link {
    display: block;
    height: 100%;
    overflow: hidden;
    background: rgba(30, 41, 59, 0.56);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: var(--radius-md);
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card-link:hover {
    transform: translateY(-5px) scale(1.015);
    background: rgba(30, 41, 59, 0.88);
    border-color: rgba(249, 115, 22, 0.24);
    box-shadow: 0 24px 46px rgba(0, 0, 0, 0.28);
}

.poster-frame {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: rgba(2, 6, 23, 0.8);
}

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

.movie-card-link:hover .poster-frame img,
.mini-card:hover img,
.rank-row a:hover img {
    transform: scale(1.08);
}

.poster-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.84), transparent 48%);
    opacity: 0.2;
    transition: opacity 0.3s ease;
}

.movie-card-link:hover .poster-gradient {
    opacity: 0.95;
}

.play-mark {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    color: var(--white);
    background: rgba(249, 115, 22, 0.9);
    border-radius: 50%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.82);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.card-badge,
.card-year {
    position: absolute;
    z-index: 2;
    padding: 5px 9px;
    color: var(--white);
    font-size: 12px;
    font-weight: 800;
    border-radius: 8px;
}

.card-badge {
    top: 10px;
    left: 10px;
    background: var(--orange-500);
}

.card-year {
    right: 10px;
    bottom: 10px;
    background: rgba(0, 0, 0, 0.72);
}

.movie-card-body {
    display: grid;
    gap: 12px;
    padding: 16px;
}

.movie-card-body h3 {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--white);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    transition: color 0.2s ease;
}

.movie-card-link:hover h3 {
    color: var(--orange-400);
}

.movie-card-body p {
    display: -webkit-box;
    min-height: 44px;
    margin: 0;
    overflow: hidden;
    color: var(--slate-400);
    font-size: 14px;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.tag-list {
    gap: 7px;
}

.tag-list span {
    min-height: 24px;
    padding: 4px 8px;
    color: var(--slate-400);
    background: rgba(51, 65, 85, 0.56);
}

.horizontal-scroll {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.horizontal-scroll::-webkit-scrollbar {
    display: none;
}

.scroll-item {
    width: 296px;
    flex: 0 0 296px;
}

.scroll-buttons {
    display: flex;
    gap: 10px;
}

.scroll-buttons button {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: var(--white);
    font-size: 28px;
    line-height: 1;
    background: rgba(30, 41, 59, 0.86);
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 50%;
    transition: background 0.2s ease, color 0.2s ease;
}

.scroll-buttons button:hover {
    color: var(--orange-400);
    background: rgba(51, 65, 85, 0.96);
}

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

.rank-row a {
    display: grid;
    grid-template-columns: 56px 72px minmax(0, 1fr) auto 76px;
    align-items: center;
    gap: 16px;
    padding: 12px;
    background: rgba(30, 41, 59, 0.52);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 16px;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.rank-row a:hover {
    transform: translateX(4px);
    background: rgba(30, 41, 59, 0.88);
    border-color: rgba(249, 115, 22, 0.22);
}

.rank-index {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: var(--white);
    font-weight: 900;
    background: linear-gradient(135deg, var(--orange-500), var(--amber-500));
    border-radius: 14px;
}

.rank-row img {
    width: 72px;
    height: 96px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.35s ease;
}

.rank-main {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.rank-main strong {
    color: var(--white);
    overflow: hidden;
    font-size: 18px;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-main em,
.rank-meta {
    color: var(--slate-400);
    font-size: 14px;
    font-style: normal;
}

.rank-main em {
    display: -webkit-box;
    overflow: hidden;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.rank-heat {
    color: var(--orange-400);
    font-weight: 900;
    text-align: right;
}

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

.category-explore-card,
.category-card a {
    display: grid;
    gap: 14px;
    min-height: 100%;
    padding: 22px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.72), rgba(15, 23, 42, 0.88));
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: var(--radius-md);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.category-explore-card:hover,
.category-card a:hover {
    transform: translateY(-4px);
    border-color: rgba(249, 115, 22, 0.26);
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.94), rgba(15, 23, 42, 0.96));
}

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

.category-head span,
.category-card h2 {
    margin: 0;
    color: var(--white);
    font-size: 22px;
    font-weight: 850;
}

.category-head em,
.category-card em {
    color: var(--orange-400);
    font-size: 13px;
    font-style: normal;
    font-weight: 800;
}

.category-explore-card p,
.category-card p {
    margin: 0;
    color: var(--slate-400);
    line-height: 1.65;
}

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

.mini-card {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 8px;
    background: rgba(2, 6, 23, 0.36);
    border-radius: 12px;
}

.mini-card img {
    width: 54px;
    height: 72px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.35s ease;
}

.mini-card span {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.mini-card strong {
    overflow: hidden;
    color: var(--white);
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mini-card em {
    color: var(--slate-400);
    font-size: 12px;
    font-style: normal;
}

.page-hero {
    padding: clamp(28px, 6vw, 62px);
    background: radial-gradient(circle at 15% 20%, rgba(249, 115, 22, 0.18), transparent 32%), linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 0.9));
}

.page-hero h1 {
    font-size: clamp(34px, 5vw, 58px);
}

.page-hero .hero-actions {
    margin-top: 24px;
}

.category-grid-section {
    padding: clamp(20px, 3vw, 34px);
}

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

.category-card li a {
    display: block;
    overflow: hidden;
    color: var(--slate-300);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.category-orb {
    width: 48px;
    height: 48px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--orange-500), var(--amber-500));
    box-shadow: 0 18px 38px rgba(249, 115, 22, 0.22);
}

.filter-panel {
    display: grid;
    gap: 18px;
    padding: 20px;
}

.filter-search input,
.filter-selects select {
    width: 100%;
    color: var(--slate-200);
    background: rgba(2, 6, 23, 0.42);
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 14px;
    outline: 0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.filter-search input {
    min-height: 52px;
    padding: 0 18px;
}

.filter-search input:focus,
.filter-selects select:focus {
    border-color: rgba(249, 115, 22, 0.72);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.filter-selects {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    align-items: end;
}

.filter-selects label {
    display: grid;
    gap: 8px;
    color: var(--slate-400);
    font-size: 13px;
    font-weight: 700;
}

.filter-selects select {
    min-height: 46px;
    padding: 0 14px;
}

.filter-reset {
    min-height: 46px;
    padding: 0 18px;
    border-radius: 14px;
    font-weight: 800;
}

.empty-state {
    display: none;
    margin: 26px 0 0;
    padding: 22px;
    color: var(--slate-400);
    text-align: center;
    background: rgba(2, 6, 23, 0.42);
    border-radius: 16px;
}

.empty-state.is-visible {
    display: block;
}

.detail-main {
    padding-top: 0;
}

.detail-hero {
    min-height: 560px;
    padding: 70px 0;
    background-position: center;
    background-size: cover;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.detail-hero-grid {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: clamp(28px, 5vw, 70px);
    align-items: center;
}

.detail-poster {
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.detail-poster img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 22px;
    color: var(--slate-400);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--slate-300);
}

.breadcrumb a:hover {
    color: var(--orange-400);
}

.detail-copy h1 {
    font-size: clamp(36px, 6vw, 74px);
}

.detail-copy .primary-btn {
    margin-top: 28px;
}

.detail-stack {
    margin-top: -54px;
    position: relative;
    z-index: 3;
}

.player-section {
    padding: clamp(14px, 2vw, 22px);
    background: rgba(2, 6, 23, 0.86);
}

.player-shell {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: var(--radius-md);
}

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

.movie-player {
    z-index: 1;
    background: #000;
}

.player-poster {
    z-index: 2;
    display: grid;
    place-items: center;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: #000;
    cursor: pointer;
}

.player-poster.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.player-poster::after {
    position: absolute;
    inset: 0;
    content: "";
    background: radial-gradient(circle, rgba(249, 115, 22, 0.18), transparent 34%), linear-gradient(0deg, rgba(0, 0, 0, 0.65), transparent);
}

.player-play {
    position: absolute;
    z-index: 3;
    display: grid;
    width: 86px;
    height: 86px;
    place-items: center;
    padding-left: 5px;
    color: var(--white);
    font-size: 34px;
    background: linear-gradient(135deg, var(--orange-500), var(--amber-500));
    border-radius: 50%;
    box-shadow: 0 24px 52px rgba(249, 115, 22, 0.4);
    transition: transform 0.2s ease;
}

.player-poster:hover .player-play {
    transform: scale(1.08);
}

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

.detail-article,
.detail-aside {
    padding: clamp(22px, 3vw, 34px);
}

.detail-article p {
    margin: 16px 0 28px;
    color: var(--slate-300);
    font-size: 16px;
    line-height: 1.9;
}

.detail-aside dl {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px 18px;
    margin: 22px 0 0;
}

.detail-aside dt {
    color: var(--slate-500);
    font-weight: 800;
}

.detail-aside dd {
    margin: 0;
    color: var(--slate-200);
}

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

.site-footer {
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    background: rgba(2, 6, 23, 0.86);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.8fr;
    gap: 34px;
    padding: 42px 0;
}

.site-footer p {
    max-width: 560px;
    color: var(--slate-400);
    line-height: 1.7;
}

.site-footer h2 {
    margin: 0 0 16px;
    color: var(--white);
    font-size: 18px;
}

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

.footer-links a {
    padding: 8px 10px;
    color: var(--slate-400);
    background: rgba(30, 41, 59, 0.5);
    border-radius: 10px;
}

.footer-links a:hover {
    color: var(--orange-400);
}

.footer-bottom {
    padding: 18px 0 26px;
    color: var(--slate-500);
    text-align: center;
}

[hidden] {
    display: none !important;
}

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

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

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

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

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

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

    .mobile-toggle {
        display: block;
    }

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

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

    .brand-text em {
        display: none;
    }

    .hero-slider {
        height: 520px;
        border-radius: 20px;
    }

    .hero-copy {
        left: 22px;
        right: 22px;
        bottom: 56px;
    }

    .hero-copy h1 {
        font-size: 38px;
    }

    .hero-copy h2 {
        font-size: 27px;
    }

    .hero-control {
        width: 38px;
        height: 38px;
        font-size: 28px;
    }

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

    .rank-row a {
        grid-template-columns: 42px 58px minmax(0, 1fr);
    }

    .rank-meta,
    .rank-heat {
        display: none;
    }

    .rank-row img {
        width: 58px;
        height: 78px;
    }

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

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

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

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

    .page-main {
        padding-top: 18px;
    }

    .main-stack {
        gap: 28px;
    }

    .hero-slider {
        height: 500px;
    }

    .hero-tags span:nth-child(n + 4) {
        display: none;
    }

    .hero-actions {
        gap: 10px;
    }

    .primary-btn,
    .ghost-btn {
        min-height: 42px;
        padding: 0 18px;
        font-size: 14px;
    }

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

    .movie-grid,
    .related-grid,
    .category-explore-grid,
    .category-grid,
    .filter-selects {
        grid-template-columns: 1fr;
    }

    .movie-card-body h3 {
        font-size: 16px;
    }

    .scroll-item {
        width: 240px;
        flex-basis: 240px;
    }

    .page-hero,
    .content-section,
    .filter-panel,
    .category-grid-section,
    .detail-article,
    .detail-aside {
        border-radius: 18px;
    }

    .detail-hero {
        padding: 42px 0 76px;
    }

    .detail-copy h1 {
        font-size: 34px;
    }

    .detail-stack {
        margin-top: -42px;
    }

    .player-play {
        width: 68px;
        height: 68px;
        font-size: 28px;
    }
}
