:root {
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-850: #142033;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --stone-50: #fafaf9;
    --stone-100: #f5f5f4;
    --stone-200: #e7e5e4;
    --stone-300: #d6d3d1;
    --stone-400: #a8a29e;
    --stone-600: #57534e;
    --amber-50: #fffbeb;
    --amber-200: #fde68a;
    --amber-300: #fcd34d;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --amber-700: #b45309;
    --teal-950: #042f2e;
    --radius-xl: 24px;
    --shadow-lg: 0 18px 45px rgba(15, 23, 42, 0.22);
    --shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.16);
}

* {
    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", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--slate-900);
    background: var(--stone-50);
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

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

.container.narrow {
    width: min(880px, calc(100% - 32px));
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    color: var(--stone-100);
    background: linear-gradient(90deg, var(--slate-900), var(--slate-800), var(--slate-900));
    border-bottom: 1px solid rgba(217, 119, 6, 0.28);
    box-shadow: 0 10px 32px rgba(2, 6, 23, 0.28);
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}

.brand-mark {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    color: white;
    background: linear-gradient(135deg, var(--amber-500), var(--amber-700));
    box-shadow: 0 8px 24px rgba(217, 119, 6, 0.35);
}

.brand-text strong,
.brand-text small {
    display: block;
}

.brand-text strong {
    font-size: 22px;
    line-height: 1.15;
    letter-spacing: 0.04em;
}

.brand-text small {
    color: var(--stone-300);
    font-size: 12px;
    margin-top: 2px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-link {
    position: relative;
    font-size: 15px;
    font-weight: 700;
    color: var(--stone-200);
    transition: color 0.25s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    border-radius: 99px;
    background: var(--amber-500);
    transition: width 0.25s ease;
}

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

.nav-link:hover::after,
.nav-link.is-active::after {
    width: 100%;
}

.header-search,
.mobile-search,
.hero-search {
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.58);
    border: 1px solid rgba(251, 191, 36, 0.24);
    backdrop-filter: blur(10px);
}

.header-search input,
.mobile-search input,
.hero-search input {
    width: 230px;
    border: 0;
    outline: 0;
    color: white;
    background: transparent;
    padding: 11px 16px;
}

.header-search input::placeholder,
.mobile-search input::placeholder,
.hero-search input::placeholder {
    color: rgba(245, 245, 244, 0.64);
}

.header-search button,
.mobile-search button,
.hero-search button {
    border: 0;
    color: white;
    background: var(--amber-600);
    padding: 11px 18px;
    font-weight: 700;
    transition: background 0.25s ease;
}

.header-search button:hover,
.mobile-search button:hover,
.hero-search button:hover {
    background: var(--amber-700);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    border-radius: 99px;
    background: white;
}

.mobile-nav {
    display: none;
    padding: 0 16px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.mobile-link {
    display: block;
    padding: 12px 10px;
    border-radius: 12px;
    color: var(--stone-200);
}

.mobile-link:hover,
.mobile-link.is-active {
    color: var(--amber-300);
    background: rgba(255, 255, 255, 0.08);
}

.mobile-search {
    margin-top: 12px;
}

.mobile-search input {
    flex: 1;
    width: auto;
}

.hero-slider {
    position: relative;
    min-height: 610px;
    overflow: hidden;
    color: white;
    background: var(--slate-900);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.9s ease;
}

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

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

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 24%, rgba(217, 119, 6, 0.24), transparent 26%),
        linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(15, 23, 42, 0.82) 45%, rgba(15, 23, 42, 0.2));
}

.hero-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 1180px;
}

.hero-content h1 {
    max-width: 760px;
    margin: 18px 0;
    font-size: clamp(42px, 7vw, 82px);
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.hero-content p {
    max-width: 700px;
    margin: 0 0 26px;
    color: var(--stone-200);
    font-size: clamp(17px, 2vw, 22px);
}

.section-pill {
    display: inline-flex;
    align-items: center;
    width: max-content;
    color: white;
    background: rgba(217, 119, 6, 0.94);
    border-radius: 999px;
    padding: 6px 15px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.04em;
    box-shadow: 0 10px 24px rgba(180, 83, 9, 0.2);
}

.dark-pill {
    background: rgba(15, 23, 42, 0.9);
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.hero-tags span,
.tag-list span,
.detail-meta span,
.movie-meta span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    color: var(--stone-100);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 6px 12px;
    font-size: 13px;
}

.hero-actions,
.page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

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

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

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

.btn-primary:hover {
    background: var(--amber-700);
}

.btn-ghost {
    color: white;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
}

.hero-control {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    color: white;
    background: rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(8px);
    font-size: 38px;
    line-height: 1;
    transition: background 0.25s ease, transform 0.25s ease;
}

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

.hero-prev {
    left: 24px;
    transform: translateY(-50%);
}

.hero-next {
    right: 24px;
    transform: translateY(-50%);
}

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

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

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

.hero-search {
    position: absolute;
    z-index: 5;
    right: calc((100% - min(1180px, calc(100% - 32px))) / 2);
    bottom: 82px;
    width: min(440px, calc(100% - 32px));
}

.hero-search input {
    flex: 1;
    width: auto;
}

.section {
    padding: 74px 0;
}

.section-dark {
    color: white;
    background: linear-gradient(180deg, var(--slate-850), var(--slate-700));
}

.section-light {
    background: var(--stone-50);
}

.alt-light {
    background: var(--amber-50);
}

.section-gradient {
    color: white;
    background:
        radial-gradient(circle at 18% 18%, rgba(217, 119, 6, 0.18), transparent 28%),
        linear-gradient(135deg, var(--teal-950), var(--slate-900) 48%, var(--slate-800));
}

.section-amber {
    background: var(--amber-50);
}

.section-masonry {
    color: white;
    background: var(--slate-900);
}

.section-heading {
    margin-bottom: 34px;
}

.center-heading {
    text-align: center;
}

.center-heading .section-pill {
    margin: 0 auto 16px;
}

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

.section-heading h2 {
    margin: 10px 0 8px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.section-heading p {
    margin: 0;
    color: inherit;
    opacity: 0.78;
}

.section-more {
    color: var(--amber-300);
    font-weight: 800;
}

.dark-link {
    color: var(--amber-700);
}

.horizontal-scroll {
    display: grid;
    grid-auto-columns: minmax(250px, 320px);
    grid-auto-flow: column;
    gap: 22px;
    overflow-x: auto;
    padding: 4px 4px 18px;
    scroll-snap-type: x mandatory;
}

.horizontal-scroll .movie-card {
    width: 100%;
    scroll-snap-align: start;
}

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

.home-grid,
.listing-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

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

.movie-card.is-hidden {
    display: none;
}

.movie-card-link {
    display: block;
    height: 100%;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: white;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-dark .movie-card-link,
.section-masonry .movie-card-link {
    background: rgba(30, 41, 59, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

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

.movie-poster {
    position: relative;
    overflow: hidden;
    aspect-ratio: 2 / 3;
    background: var(--slate-800);
}

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

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

.card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    max-width: calc(100% - 24px);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    border-radius: 999px;
    color: white;
    background: var(--amber-600);
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 800;
}

.play-chip {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: white;
    background: rgba(0, 0, 0, 0.62);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.movie-card-link:hover .play-chip {
    opacity: 1;
    transform: translateY(0);
    background: var(--amber-600);
}

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

.movie-card-body h3 {
    margin: 0 0 9px;
    font-size: 18px;
    line-height: 1.3;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

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

.section-dark .movie-card-body p,
.section-masonry .movie-card-body p {
    color: var(--stone-300);
}

.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.movie-meta span {
    color: var(--slate-700);
    background: var(--stone-100);
    border-color: var(--stone-200);
    padding: 4px 9px;
    font-size: 12px;
}

.section-dark .movie-meta span,
.section-masonry .movie-meta span {
    color: var(--stone-200);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.08);
}

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

.category-card {
    position: relative;
    min-height: 230px;
    overflow: hidden;
    border-radius: var(--radius-xl);
    color: white;
    background: var(--slate-800);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    transition: transform 0.45s ease;
}

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

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.1), rgba(2, 6, 23, 0.88));
}

.category-content {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
}

.category-content strong,
.category-content em {
    display: block;
}

.category-content strong {
    font-size: 22px;
    line-height: 1.2;
}

.category-content em {
    margin-top: 7px;
    color: var(--stone-300);
    font-size: 13px;
    font-style: normal;
}

.timeline-list {
    max-width: 900px;
    margin: 0 auto;
}

.timeline-item {
    position: relative;
    padding-left: 42px;
    padding-bottom: 28px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 18px;
    width: 2px;
    height: calc(100% - 18px);
    background: linear-gradient(var(--amber-500), transparent);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-dot {
    position: absolute;
    left: 0;
    top: 10px;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: var(--amber-500);
    box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.18);
}

.timeline-card {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 22px;
    align-items: center;
    padding: 20px;
    border-radius: 20px;
    background: rgba(30, 41, 59, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    transition: background 0.25s ease, transform 0.25s ease;
}

.timeline-card:hover {
    background: rgba(51, 65, 85, 0.72);
    transform: translateX(4px);
}

.timeline-card img {
    width: 190px;
    height: 110px;
    object-fit: cover;
    border-radius: 14px;
}

.timeline-card strong,
.timeline-card em {
    display: block;
}

.timeline-card strong {
    margin-bottom: 8px;
    font-size: 20px;
}

.timeline-card em {
    color: var(--stone-300);
    font-style: normal;
}

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

.feature-card {
    position: relative;
    overflow: hidden;
    min-height: 420px;
    border-radius: var(--radius-xl);
    color: white;
    box-shadow: var(--shadow-lg);
}

.feature-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    transition: transform 0.5s ease;
}

.feature-card:hover img {
    transform: scale(1.1);
}

.feature-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.86));
}

.feature-text {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 28px;
}

.feature-text em {
    display: block;
    color: rgba(255, 255, 255, 0.23);
    font-size: 68px;
    font-style: normal;
    font-weight: 900;
    line-height: 0.9;
}

.feature-text strong {
    display: block;
    margin-top: 10px;
    font-size: 25px;
}

.feature-text small {
    display: block;
    margin-top: 8px;
    color: var(--stone-200);
    font-size: 14px;
}

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

.rank-panel {
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: rgba(30, 41, 59, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-soft);
}

.rank-panel-secondary {
    background: rgba(15, 23, 42, 0.54);
}

.rank-wide {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    background: rgba(15, 23, 42, 0.32);
}

.rank-row {
    display: grid;
    grid-template-columns: 54px 74px 1fr;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: white;
    transition: background 0.25s ease;
}

.rank-row:hover {
    background: rgba(255, 255, 255, 0.08);
}

.rank-number {
    color: var(--amber-400);
    font-size: 24px;
    font-weight: 900;
}

.rank-row img {
    width: 74px;
    height: 54px;
    border-radius: 10px;
    object-fit: cover;
}

.rank-info strong,
.rank-info em {
    display: block;
}

.rank-info strong {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rank-info em {
    color: var(--stone-300);
    font-size: 13px;
    font-style: normal;
}

.masonry-grid {
    columns: 4 220px;
    column-gap: 24px;
}

.masonry-grid .movie-card {
    display: inline-block;
    width: 100%;
    margin: 0 0 24px;
    break-inside: avoid;
}

.movie-card-compact:nth-child(3n + 1) .movie-poster {
    aspect-ratio: 4 / 5;
}

.movie-card-compact:nth-child(3n + 2) .movie-poster {
    aspect-ratio: 1 / 1;
}

.deep-card {
    padding: clamp(28px, 5vw, 58px);
    border-radius: var(--radius-xl);
    background: rgba(30, 41, 59, 0.62);
    border: 1px solid rgba(251, 191, 36, 0.16);
    backdrop-filter: blur(8px);
}

.deep-card h2 {
    margin: 18px 0;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.08;
}

.deep-card p {
    margin: 0 0 24px;
    color: var(--stone-200);
    font-size: 18px;
}

.deep-card blockquote {
    margin: 0 0 28px;
    padding-left: 22px;
    color: var(--stone-300);
    border-left: 4px solid var(--amber-600);
}

.page-hero {
    color: white;
    background:
        radial-gradient(circle at 76% 24%, rgba(217, 119, 6, 0.22), transparent 28%),
        linear-gradient(135deg, var(--slate-950), var(--slate-800));
    padding: 86px 0 74px;
}

.page-hero h1 {
    margin: 18px 0 14px;
    font-size: clamp(38px, 6vw, 70px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.page-hero p {
    max-width: 760px;
    margin: 0;
    color: var(--stone-200);
    font-size: 18px;
}

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

.filter-bar {
    display: grid;
    grid-template-columns: minmax(220px, 1.5fr) repeat(4, minmax(130px, 0.7fr));
    gap: 12px;
    margin-bottom: 28px;
    padding: 18px;
    border-radius: 20px;
    background: white;
    box-shadow: var(--shadow-soft);
}

.filter-bar input,
.filter-bar select {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--stone-200);
    border-radius: 12px;
    color: var(--slate-900);
    background: var(--stone-50);
    padding: 0 14px;
    outline: none;
}

.filter-bar input:focus,
.filter-bar select:focus {
    border-color: var(--amber-500);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.13);
}

.filter-empty {
    margin: 0 0 28px;
    padding: 18px;
    border-radius: 16px;
    color: var(--amber-700);
    background: var(--amber-50);
    border: 1px solid var(--amber-200);
}

.detail-hero {
    position: relative;
    overflow: hidden;
    min-height: 620px;
    color: white;
    background: var(--slate-950);
}

.detail-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(10px);
    transform: scale(1.07);
    opacity: 0.46;
}

.detail-mask {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 82% 18%, rgba(217, 119, 6, 0.24), transparent 30%),
        linear-gradient(90deg, rgba(2, 6, 23, 0.95), rgba(15, 23, 42, 0.72));
}

.detail-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
    min-height: 620px;
    padding: 56px 0;
}

.detail-cover {
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}

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

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
    margin-bottom: 18px;
    color: var(--stone-300);
    font-size: 14px;
}

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

.detail-info h1 {
    margin: 0 0 18px;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.detail-one-line {
    max-width: 780px;
    margin: 0 0 22px;
    color: var(--stone-200);
    font-size: 20px;
}

.detail-meta,
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 18px;
}

.tag-list span {
    color: var(--amber-100, #fef3c7);
    background: rgba(217, 119, 6, 0.22);
    border-color: rgba(217, 119, 6, 0.28);
}

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

.player-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: #000;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.36);
    aspect-ratio: 16 / 9;
}

.movie-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #000;
}

.player-poster {
    position: absolute;
    inset: 0;
    z-index: 4;
    overflow: hidden;
    border: 0;
    color: white;
    background: #000;
    padding: 0;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.82;
}

.poster-shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 50%, rgba(217, 119, 6, 0.18), transparent 24%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.64));
}

.big-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 92px;
    height: 92px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: white;
    background: var(--amber-600);
    box-shadow: 0 18px 45px rgba(217, 119, 6, 0.35);
    font-size: 44px;
    transform: translate(-50%, -50%);
    transition: transform 0.25s ease, background 0.25s ease;
}

.player-poster:hover .big-play {
    background: var(--amber-700);
    transform: translate(-50%, -50%) scale(1.07);
}

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

.content-panel,
.next-panel {
    border-radius: var(--radius-xl);
    background: white;
    box-shadow: var(--shadow-soft);
    padding: clamp(24px, 4vw, 38px);
}

.content-panel h2,
.next-panel h2 {
    margin: 0 0 14px;
    font-size: 25px;
}

.content-panel p {
    margin: 0 0 28px;
    color: var(--stone-600);
    font-size: 17px;
}

.next-panel a {
    display: block;
    padding: 13px 0;
    border-bottom: 1px solid var(--stone-200);
    color: var(--slate-800);
    font-weight: 700;
}

.next-panel a:hover {
    color: var(--amber-700);
}

.site-footer {
    color: var(--stone-300);
    background: linear-gradient(90deg, var(--slate-950), var(--slate-900), var(--slate-950));
    border-top: 1px solid rgba(217, 119, 6, 0.22);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 34px;
    padding: 48px 0;
}

.footer-brand p {
    max-width: 520px;
    color: var(--stone-400);
}

.footer-logo {
    color: white;
}

.site-footer h3 {
    margin: 0 0 16px;
    color: white;
    font-size: 16px;
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li + li {
    margin-top: 8px;
}

.footer-links a:hover {
    color: var(--amber-300);
}

.footer-bottom {
    padding: 18px 16px;
    text-align: center;
    color: var(--stone-400);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

    .menu-toggle {
        display: flex;
    }

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

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

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

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

    .hero-content {
        justify-content: flex-start;
        padding-top: 74px;
    }

    .hero-search {
        left: 16px;
        right: 16px;
        bottom: 76px;
        width: auto;
    }

    .hero-control {
        display: none;
    }

    .split-heading {
        display: block;
    }

    .section-more {
        display: inline-block;
        margin-top: 12px;
    }

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

    .timeline-card img {
        width: 100%;
        height: 180px;
    }

    .feature-grid,
    .rank-grid,
    .rank-wide,
    .detail-content-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

    .detail-cover {
        max-width: 300px;
    }
}

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

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

    .brand-mark {
        width: 34px;
        height: 34px;
    }

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

    .brand-text small {
        font-size: 10px;
    }

    .section {
        padding: 52px 0;
    }

    .hero-content h1,
    .page-hero h1,
    .detail-info h1 {
        font-size: 38px;
    }

    .hero-tags,
    .hero-actions,
    .page-actions {
        gap: 8px;
    }

    .btn {
        width: 100%;
    }

    .home-grid,
    .listing-grid,
    .movie-grid,
    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
    }

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

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

    .movie-card-body p {
        min-height: 42px;
        font-size: 13px;
    }

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

    .category-card {
        min-height: 190px;
    }

    .player-wrapper {
        border-radius: 18px;
    }

    .big-play {
        width: 72px;
        height: 72px;
        font-size: 34px;
    }
}
