:root {
    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --amber-700: #b45309;
    --amber-800: #92400e;
    --orange-600: #ea580c;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --shadow-sm: 0 6px 18px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 14px 36px rgba(15, 23, 42, 0.12);
    --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.18);
    --radius-sm: 0.75rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--gray-50);
    color: var(--gray-900);
    font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.6;
}

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 4px 22px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(12px);
}

.top-strip {
    background: var(--amber-700);
    color: var(--white);
    font-size: 0.875rem;
}

.top-strip-inner {
    padding: 0.45rem 0;
    text-align: center;
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 76px;
}

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

.brand-mark {
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    place-items: center;
    border-radius: 0.9rem;
    background: linear-gradient(135deg, var(--amber-600), var(--orange-600));
    color: var(--white);
    box-shadow: 0 10px 24px rgba(217, 119, 6, 0.28);
}

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

.brand-text strong {
    color: var(--amber-800);
    font-size: 1.45rem;
    letter-spacing: -0.03em;
}

.brand-text em {
    color: var(--gray-500);
    font-size: 0.75rem;
    font-style: normal;
    margin-top: 0.15rem;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    border: 0;
    background: transparent;
    color: var(--gray-700);
    font-weight: 700;
    transition: color 0.2s ease;
}

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

.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    display: grid;
    min-width: 190px;
    padding: 0.5rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: 0.2s ease;
}

.dropdown-menu a {
    padding: 0.72rem 0.85rem;
    border-radius: 0.65rem;
    color: var(--gray-700);
    font-weight: 600;
}

.dropdown-menu a:hover {
    background: var(--amber-50);
    color: var(--amber-700);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-search,
.mobile-search,
.footer-search,
.cta-search {
    display: flex;
    align-items: center;
}

.header-search {
    position: relative;
    width: min(260px, 24vw);
}

.header-search input {
    width: 100%;
    padding: 0.72rem 2.8rem 0.72rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 999px;
    outline: 0;
    background: var(--white);
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.header-search input:focus,
.mobile-search input:focus,
.footer-search input:focus,
.cta-search input:focus,
.filter-search-wrap input:focus,
.filter-controls select:focus {
    border-color: var(--amber-500);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.16);
}

.header-search button {
    position: absolute;
    right: 0.45rem;
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 999px;
    background: var(--amber-600);
    color: var(--white);
}

.mobile-toggle {
    display: none;
    width: 2.7rem;
    height: 2.7rem;
    border: 1px solid var(--gray-200);
    border-radius: 0.85rem;
    background: var(--white);
}

.mobile-toggle span {
    display: block;
    width: 1.2rem;
    height: 2px;
    margin: 4px auto;
    background: var(--gray-800);
    transition: transform 0.2s ease;
}

.mobile-menu {
    border-top: 1px solid var(--gray-200);
    background: var(--white);
    padding: 1rem;
}

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

.mobile-search {
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.mobile-search input,
.footer-search input,
.cta-search input {
    min-width: 0;
    flex: 1;
    padding: 0.85rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.85rem;
    outline: 0;
}

.mobile-search button,
.footer-search button,
.cta-search button {
    border: 0;
    border-radius: 0.85rem;
    background: var(--amber-600);
    color: var(--white);
    padding: 0.85rem 1rem;
    font-weight: 800;
}

.mobile-menu nav {
    display: grid;
    gap: 0.35rem;
}

.mobile-menu nav a,
.mobile-menu-title {
    padding: 0.7rem 0.5rem;
    border-radius: 0.75rem;
    color: var(--gray-700);
    font-weight: 700;
}

.mobile-menu nav a:hover {
    background: var(--amber-50);
    color: var(--amber-700);
}

.mobile-menu-title {
    color: var(--gray-900);
    background: var(--gray-100);
}

.hero {
    position: relative;
    min-height: 650px;
    overflow: hidden;
    background: linear-gradient(90deg, var(--amber-50), #fff7ed);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.24;
    filter: saturate(1.08);
}

.hero-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at 72% 28%, rgba(245, 158, 11, 0.26), transparent 30%),
        linear-gradient(90deg, rgba(255, 251, 235, 0.98) 0%, rgba(255, 247, 237, 0.92) 45%, rgba(255, 255, 255, 0.42) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 420px);
    gap: 4rem;
    align-items: center;
    padding: 4rem 0 7rem;
}

.hero-copy {
    max-width: 720px;
}

.hero-eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--amber-700);
    font-size: 0.85rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.detail-hero h1 {
    margin: 1rem 0;
    color: var(--gray-900);
    font-size: clamp(2.5rem, 5vw, 4.8rem);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.hero p,
.page-hero p,
.detail-hero p {
    max-width: 720px;
    margin: 0 0 1.5rem;
    color: var(--gray-600);
    font-size: 1.18rem;
}

.hero-meta,
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 1.4rem 0;
}

.hero-meta span,
.hero-meta strong,
.detail-meta span,
.detail-meta strong {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.35rem 0.75rem;
    border: 1px solid rgba(217, 119, 6, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    color: var(--gray-700);
    font-size: 0.9rem;
    font-weight: 700;
}

.hero-meta strong,
.detail-meta strong {
    color: var(--amber-700);
}

.hero-actions,
.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.5rem;
}

.primary-btn,
.ghost-btn,
.section-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.85rem 1.4rem;
    border-radius: 0.95rem;
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn {
    background: var(--amber-600);
    color: var(--white);
    box-shadow: 0 14px 28px rgba(217, 119, 6, 0.26);
}

.primary-btn:hover {
    background: var(--amber-700);
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(217, 119, 6, 0.32);
}

.ghost-btn {
    border: 1px solid var(--gray-200);
    background: rgba(255, 255, 255, 0.82);
    color: var(--gray-900);
}

.ghost-btn:hover {
    transform: translateY(-2px);
    background: var(--white);
}

.hero-poster {
    position: relative;
    display: block;
    border-radius: 1.7rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: rotate(1.5deg);
}

.hero-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: inherit;
}

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

.hero-controls {
    position: absolute;
    right: max(1rem, calc((100vw - var(--container)) / 2));
    bottom: 130px;
    z-index: 4;
    display: flex;
    gap: 0.65rem;
}

.hero-controls button {
    width: 2.7rem;
    height: 2.7rem;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--amber-700);
    font-size: 1.8rem;
    line-height: 1;
    box-shadow: var(--shadow-sm);
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 110px;
    z-index: 4;
    display: flex;
    gap: 0.5rem;
    transform: translateX(-50%);
}

.hero-dot {
    width: 0.7rem;
    height: 0.7rem;
    border: 0;
    border-radius: 999px;
    background: rgba(146, 64, 14, 0.28);
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
    width: 2rem;
    background: var(--amber-600);
}

.hero-thumbs {
    position: absolute;
    left: 50%;
    bottom: 24px;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(5, minmax(120px, 1fr));
    gap: 0.85rem;
    transform: translateX(-50%);
}

.hero-thumb {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem;
    border: 1px solid rgba(217, 119, 6, 0.18);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.82);
    color: var(--gray-800);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
    transition: transform 0.2s ease, border 0.2s ease;
}

.hero-thumb.is-active,
.hero-thumb:hover {
    transform: translateY(-4px);
    border-color: rgba(217, 119, 6, 0.5);
}

.hero-thumb img {
    width: 54px;
    height: 66px;
    border-radius: 0.75rem;
    object-fit: cover;
}

.hero-thumb span {
    font-size: 0.9rem;
    font-weight: 800;
}

.feature-strip {
    position: relative;
    z-index: 3;
    margin-top: -1px;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 2rem 0;
}

.feature-item {
    display: grid;
    place-items: center;
    min-height: 120px;
    border-radius: var(--radius-md);
    background: var(--gray-50);
    text-align: center;
}

.feature-item strong {
    color: var(--amber-700);
    font-size: 2rem;
    line-height: 1;
}

.feature-item span {
    color: var(--gray-600);
    font-weight: 700;
}

.section-block {
    padding: 4.5rem 0;
}

.section-soft {
    background: var(--white);
}

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

.section-heading h2 {
    margin: 0.3rem 0;
    color: var(--gray-900);
    font-size: clamp(1.9rem, 3vw, 2.7rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.section-heading p {
    margin: 0;
    color: var(--gray-600);
}

.section-link {
    min-height: 2.6rem;
    padding: 0.65rem 1rem;
    background: var(--amber-50);
    color: var(--amber-700);
}

.category-grid,
.category-overview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.category-card,
.category-overview-card {
    position: relative;
    overflow: hidden;
    min-height: 260px;
    border-radius: var(--radius-lg);
    background: var(--gray-200);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover,
.category-overview-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.category-card img,
.category-overview-card img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.category-card:hover img,
.category-overview-card:hover img {
    transform: scale(1.08);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 20%, rgba(17, 24, 39, 0.82));
}

.category-content {
    position: absolute;
    inset: auto 0 0;
    display: grid;
    gap: 0.35rem;
    padding: 1.3rem;
    color: var(--white);
}

.category-content strong {
    font-size: 1.45rem;
}

.category-content em,
.category-content b {
    font-style: normal;
    color: rgba(255, 255, 255, 0.86);
}

.movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.4rem;
}

.all-movies-grid {
    align-items: stretch;
}

.compact-grid {
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}

.movie-card {
    overflow: hidden;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.movie-card[hidden] {
    display: none;
}

.movie-poster {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--gray-200);
}

.movie-poster img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: transform 0.35s ease;
}

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

.poster-play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(17, 24, 39, 0.08);
    color: var(--white);
    font-size: 2.4rem;
    opacity: 0;
    transition: opacity 0.2s ease, background 0.2s ease;
}

.movie-card:hover .poster-play {
    opacity: 1;
    background: rgba(17, 24, 39, 0.34);
}

.poster-tag,
.rank-badge {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    z-index: 2;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    background: var(--amber-600);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 800;
}

.rank-badge {
    left: auto;
    right: 0.8rem;
    background: var(--gray-900);
}

.movie-info {
    padding: 1rem;
}

.movie-info h3 {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    line-height: 1.35;
}

.movie-info h3 a:hover,
.ranking-info h3 a:hover,
.detail-side-card a:hover {
    color: var(--amber-700);
}

.movie-info p {
    display: -webkit-box;
    min-height: 3.1em;
    margin: 0 0 0.8rem;
    overflow: hidden;
    color: var(--gray-600);
    font-size: 0.92rem;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-tags,
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.movie-tags span,
.detail-tags span {
    padding: 0.24rem 0.55rem;
    border-radius: 999px;
    background: var(--amber-50);
    color: var(--amber-800);
    font-size: 0.78rem;
    font-weight: 700;
}

.movie-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.9rem;
    color: var(--gray-500);
    font-size: 0.88rem;
}

.movie-meta strong {
    color: var(--amber-600);
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem;
}

.cta-section {
    padding: 4rem 0;
    background: var(--gray-900);
}

.cta-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--amber-600), var(--orange-600));
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.cta-card .section-kicker,
.cta-card p {
    color: rgba(255, 255, 255, 0.86);
}

.cta-card h2 {
    margin: 0.4rem 0;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
}

.cta-search {
    gap: 0.75rem;
}

.cta-search button {
    background: var(--gray-900);
}

.page-hero,
.detail-hero {
    position: relative;
    display: grid;
    min-height: 330px;
    align-items: center;
    padding: 4rem 0;
    background-position: center;
    background-size: cover;
    color: var(--white);
}

.page-hero-light {
    background: linear-gradient(90deg, var(--amber-50), #fff7ed);
    color: var(--gray-900);
}

.page-hero h1,
.detail-hero h1,
.page-hero p,
.detail-hero p {
    color: inherit;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: currentColor;
    font-size: 0.92rem;
    opacity: 0.88;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.filter-panel {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.4rem;
    padding: 1rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.filter-search-wrap {
    position: relative;
}

.filter-search-wrap span {
    position: absolute;
    left: 1rem;
    top: 50%;
    color: var(--gray-500);
    transform: translateY(-50%);
}

.filter-search-wrap input {
    width: 100%;
    padding: 0.95rem 1rem 0.95rem 2.4rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.9rem;
    outline: 0;
}

.filter-controls {
    display: grid;
    grid-template-columns: repeat(5, minmax(120px, 1fr));
    gap: 0.85rem;
    align-items: end;
}

.filter-controls label {
    display: grid;
    gap: 0.35rem;
    color: var(--gray-600);
    font-size: 0.85rem;
    font-weight: 800;
}

.filter-controls select {
    width: 100%;
    padding: 0.78rem 0.8rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.85rem;
    outline: 0;
    background: var(--white);
}

.reset-filter {
    min-height: 2.95rem;
    border: 0;
    border-radius: 0.85rem;
    background: var(--gray-900);
    color: var(--white);
    font-weight: 900;
}

.result-line {
    margin: 0 0 1.25rem;
    color: var(--gray-600);
    font-weight: 800;
}

.result-count {
    color: var(--amber-700);
}

.empty-state {
    margin-top: 1rem;
    padding: 3rem 1rem;
    border: 1px dashed var(--gray-300);
    border-radius: var(--radius-md);
    background: var(--white);
    color: var(--gray-600);
    text-align: center;
    font-weight: 800;
}

.category-overview-card {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    min-height: 220px;
    background: var(--white);
}

.category-overview-card img {
    height: 100%;
    min-height: 220px;
}

.category-overview-body {
    display: grid;
    align-content: center;
    gap: 0.5rem;
    padding: 1.3rem;
}

.category-overview-body strong {
    color: var(--gray-900);
    font-size: 1.35rem;
}

.category-overview-body em {
    color: var(--gray-600);
    font-style: normal;
}

.category-overview-body b {
    color: var(--amber-700);
}

.category-samples {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.category-samples span {
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: 0.78rem;
}

.ranking-wrap {
    max-width: 1000px;
}

.ranking-list {
    display: grid;
    gap: 0.9rem;
}

.ranking-row {
    display: grid;
    grid-template-columns: 94px 54px minmax(0, 1fr) 100px;
    gap: 1rem;
    align-items: center;
    padding: 0.75rem;
}

.ranking-cover img {
    width: 94px;
    height: 124px;
    border-radius: 0.85rem;
    object-fit: cover;
}

.ranking-number {
    color: var(--amber-700);
    font-size: 2rem;
    font-weight: 950;
    text-align: center;
}

.ranking-info h3 {
    margin: 0 0 0.35rem;
    font-size: 1.15rem;
}

.ranking-info p {
    margin: 0 0 0.7rem;
    color: var(--gray-600);
}

.ranking-meta {
    display: grid;
    gap: 0.25rem;
    justify-items: end;
}

.ranking-meta strong {
    color: var(--amber-600);
    font-size: 1.3rem;
}

.ranking-meta span {
    color: var(--gray-500);
}

.ranking-meta a {
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: var(--amber-50);
    color: var(--amber-800);
    font-weight: 900;
}

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

.detail-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
    gap: 3rem;
    align-items: center;
}

.detail-hero .hero-eyebrow,
.detail-hero .breadcrumb {
    color: rgba(255, 255, 255, 0.88);
}

.detail-poster {
    width: 100%;
    border-radius: 1.4rem;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}

.player-section {
    padding: 3rem 0;
    background: var(--gray-900);
}

.player-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    background: #070b12;
    box-shadow: var(--shadow-lg);
}

.player-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.3rem;
    color: var(--white);
}

.player-head h2 {
    margin: 0.2rem 0 0;
    font-size: 1.5rem;
}

.player-head strong {
    color: var(--amber-500);
    font-size: 1.2rem;
}

.player-wrap {
    position: relative;
    background: #000;
}

.movie-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.player-cover {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    width: 100%;
    border: 0;
    background-position: center;
    background-size: cover;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

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

.play-button {
    display: grid;
    width: 5.2rem;
    height: 5.2rem;
    place-items: center;
    border-radius: 50%;
    background: rgba(217, 119, 6, 0.95);
    color: var(--white);
    font-size: 2rem;
    box-shadow: 0 16px 42px rgba(217, 119, 6, 0.34);
    transition: transform 0.2s ease;
}

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

.detail-content-block {
    background: var(--gray-50);
}

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

.detail-main-card,
.detail-side-card {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.detail-main-card {
    padding: 2rem;
}

.detail-main-card h2,
.detail-side-card h2 {
    margin: 0 0 1rem;
    color: var(--gray-900);
    font-size: 1.45rem;
}

.detail-main-card p {
    margin: 0 0 1.5rem;
    color: var(--gray-700);
    font-size: 1.05rem;
}

.detail-main-card p:last-child {
    margin-bottom: 0;
}

.detail-side-card {
    padding: 1.4rem;
    position: sticky;
    top: 112px;
}

.detail-side-card dl {
    display: grid;
    gap: 0.75rem;
    margin: 0;
}

.detail-side-card dl div {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--gray-100);
}

.detail-side-card dt {
    color: var(--gray-500);
    font-weight: 800;
}

.detail-side-card dd {
    margin: 0;
    color: var(--gray-800);
    font-weight: 700;
}

.site-footer {
    background: var(--gray-900);
    color: var(--gray-300);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.9fr 1fr;
    gap: 2rem;
    padding: 3rem 0;
}

.footer-brand {
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 900;
}

.site-footer p {
    color: var(--gray-300);
}

.site-footer h3 {
    margin: 0 0 1rem;
    color: var(--white);
}

.site-footer ul {
    display: grid;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer a:hover {
    color: var(--amber-500);
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-badges span {
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--amber-100);
    font-size: 0.8rem;
    font-weight: 800;
}

.footer-search {
    gap: 0.5rem;
}

.footer-search input {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.12);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem 0;
    color: var(--gray-500);
    text-align: center;
}

.back-top {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 70;
    display: grid;
    width: 3rem;
    height: 3rem;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--amber-600);
    color: var(--white);
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: 0.2s ease;
}

.back-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

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

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

    .hero-content,
    .detail-hero-inner,
    .detail-layout,
    .cta-card,
    .split-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        gap: 2rem;
        padding-bottom: 8rem;
    }

    .hero-poster,
    .detail-poster {
        max-width: 320px;
    }

    .hero-thumbs {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

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

    .detail-side-card {
        position: static;
    }
}

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

    .brand-text strong {
        font-size: 1.2rem;
    }

    .hero {
        min-height: 710px;
    }

    .hero-shade {
        background: linear-gradient(180deg, rgba(255, 251, 235, 0.98), rgba(255, 247, 237, 0.86));
    }

    .hero-content {
        padding: 2.5rem 0 8rem;
    }

    .hero p,
    .page-hero p,
    .detail-hero p {
        font-size: 1rem;
    }

    .hero-poster {
        display: none;
    }

    .hero-controls {
        right: 1rem;
        bottom: 92px;
    }

    .hero-dots {
        bottom: 78px;
    }

    .hero-thumbs {
        bottom: 16px;
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-thumb:nth-child(n + 3) {
        display: none;
    }

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

    .section-block {
        padding: 3rem 0;
    }

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

    .movie-grid,
    .compact-grid {
        grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
        gap: 1rem;
    }

    .movie-info {
        padding: 0.8rem;
    }

    .movie-info p {
        min-height: auto;
        font-size: 0.86rem;
    }

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

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

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

    .ranking-cover img {
        width: 72px;
        height: 96px;
    }

    .ranking-number,
    .ranking-meta {
        display: none;
    }

    .detail-hero {
        min-height: auto;
        padding: 3rem 0;
    }

    .detail-poster {
        display: none;
    }

    .player-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .detail-main-card,
    .detail-side-card {
        padding: 1.2rem;
    }

    .footer-grid {
        gap: 1.4rem;
    }
}
