:root {
    color-scheme: dark;
    --bg: #020617;
    --panel: #0f172a;
    --panel-soft: #111c31;
    --panel-hover: #1e293b;
    --line: #1e293b;
    --line-strong: #334155;
    --text: #e2e8f0;
    --muted: #94a3b8;
    --muted-2: #64748b;
    --white: #ffffff;
    --amber: #f59e0b;
    --amber-2: #ea580c;
    --amber-soft: rgba(245, 158, 11, 0.16);
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
    --radius: 18px;
    --radius-lg: 28px;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    margin: 0;
    min-height: 100%;
    background:
        radial-gradient(circle at 18% 8%, rgba(245, 158, 11, 0.11), transparent 28%),
        radial-gradient(circle at 82% 0%, rgba(234, 88, 12, 0.12), transparent 30%),
        var(--bg);
    color: var(--text);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.site-shell {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(30, 41, 59, 0.92);
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 0.02em;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--amber), var(--amber-2));
    color: var(--white);
    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.25);
}

.brand-text {
    font-size: 20px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    color: #cbd5e1;
    font-size: 14px;
}

.desktop-nav a,
.mobile-nav a {
    transition: color 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active,
.mobile-nav a:hover {
    color: var(--white);
}

.mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--text);
    background: rgba(15, 23, 42, 0.8);
}

.mobile-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 9px;
    background: var(--text);
}

.mobile-nav {
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 0 16px 18px;
    border-top: 1px solid var(--line);
    background: rgba(15, 23, 42, 0.98);
}

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

.mobile-nav a {
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(30, 41, 59, 0.68);
    color: var(--muted);
}

.home-shell {
    padding: 28px 0 0;
}

.hero {
    display: grid;
    gap: 16px;
}

.hero-stage {
    position: relative;
    min-height: 520px;
    height: 70vh;
    overflow: hidden;
    border: 1px solid rgba(51, 65, 85, 0.78);
    border-radius: var(--radius-lg);
    background: var(--panel);
    box-shadow: var(--shadow);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.03);
    transition: opacity 0.75s ease, transform 1.1s ease, visibility 0.75s ease;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.08)),
        linear-gradient(0deg, rgba(2, 6, 23, 0.45), rgba(2, 6, 23, 0.05));
}

.hero-content {
    position: absolute;
    left: clamp(24px, 6vw, 74px);
    top: 50%;
    max-width: 680px;
    transform: translateY(-50%);
}

.hero-kicker,
.eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 4px 12px;
    border-radius: 10px;
    background: rgba(245, 158, 11, 0.92);
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.hero h1,
.hero h2 {
    margin: 18px 0 16px;
    max-width: 760px;
    color: var(--white);
    font-size: clamp(40px, 7vw, 76px);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.hero p {
    max-width: 640px;
    margin: 0 0 24px;
    color: #cbd5e1;
    font-size: clamp(16px, 2vw, 20px);
}

.hero-tags,
.detail-meta,
.movie-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
}

.hero-tags span,
.detail-meta span,
.movie-meta-line span {
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 999px;
    padding: 5px 10px;
    background: rgba(15, 23, 42, 0.72);
    color: #cbd5e1;
    font-size: 13px;
}

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

.primary-button,
.ghost-button,
.text-button,
.section-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    font-weight: 800;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.primary-button {
    min-height: 48px;
    padding: 0 24px;
    color: var(--white);
    background: linear-gradient(135deg, var(--amber), var(--amber-2));
    box-shadow: 0 16px 35px rgba(245, 158, 11, 0.24);
}

.ghost-button {
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid rgba(226, 232, 240, 0.18);
    color: var(--white);
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(12px);
}

.primary-button:hover,
.ghost-button:hover,
.text-button:hover,
.section-link:hover {
    transform: translateY(-2px);
}

.hero-arrow,
.slider-arrow {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    color: var(--white);
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(10px);
    transition: background 0.2s ease, opacity 0.2s ease;
}

.hero-arrow {
    top: 50%;
    width: 48px;
    height: 48px;
    font-size: 34px;
    transform: translateY(-50%);
}

.hero-arrow:hover,
.slider-arrow:hover {
    background: rgba(0, 0, 0, 0.78);
}

.hero-prev {
    left: 18px;
}

.hero-next {
    right: 18px;
}

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

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

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

.hero-channel-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    padding: 14px;
    border: 1px solid rgba(51, 65, 85, 0.75);
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.72);
}

.hero-channel-bar span {
    color: var(--white);
    font-weight: 800;
}

.hero-channel-bar a,
.filter-chips button,
.tag-pill {
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 999px;
    padding: 7px 12px;
    color: #cbd5e1;
    background: rgba(30, 41, 59, 0.8);
    font-size: 13px;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.hero-channel-bar a:hover,
.filter-chips button:hover,
.tag-pill:hover {
    border-color: rgba(245, 158, 11, 0.55);
    color: var(--white);
    background: rgba(245, 158, 11, 0.18);
}

.content-section {
    margin-top: 58px;
}

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

.section-heading h2 {
    margin: 0;
    color: var(--white);
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.2;
}

.section-link,
.text-button {
    color: var(--amber);
    font-size: 14px;
}

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

.featured-main,
.side-card,
.movie-card,
.ranking-card,
.category-card,
.detail-card,
.sticky-panel,
.filter-panel,
.rank-entry,
.page-hero {
    border: 1px solid rgba(51, 65, 85, 0.74);
    background: rgba(15, 23, 42, 0.84);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
}

.featured-main {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    border-radius: var(--radius);
}

.featured-main img,
.featured-main .featured-mask {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.featured-main img {
    object-fit: cover;
    transition: transform 0.55s ease;
}

.featured-main:hover img {
    transform: scale(1.06);
}

.featured-mask {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.12));
}

.featured-info {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 26px;
}

.featured-info em,
.rank-text em,
.ranking-info em,
.side-card em {
    display: block;
    color: var(--amber);
    font-style: normal;
    font-size: 13px;
}

.featured-info strong {
    display: block;
    margin: 8px 0 8px;
    color: var(--white);
    font-size: clamp(24px, 4vw, 38px);
    line-height: 1.1;
}

.featured-info p {
    margin: 0;
    color: #cbd5e1;
}

.featured-side {
    display: grid;
    gap: 14px;
}

.side-card {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    gap: 14px;
    overflow: hidden;
    border-radius: var(--radius);
    transition: background 0.2s ease, transform 0.2s ease;
}

.side-card:hover {
    background: var(--panel-hover);
    transform: translateY(-2px);
}

.side-card img {
    width: 128px;
    height: 94px;
    object-fit: cover;
}

.side-card span {
    min-width: 0;
    padding: 14px 14px 14px 0;
}

.side-card strong {
    display: -webkit-box;
    overflow: hidden;
    color: var(--white);
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.slider-wrap {
    position: relative;
}

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

.movie-slider::-webkit-scrollbar {
    display: none;
}

.slider-item {
    flex: 0 0 238px;
}

.slider-arrow {
    top: 42%;
    width: 42px;
    height: 42px;
    border: 0;
    font-size: 30px;
    opacity: 0;
}

.slider-wrap:hover .slider-arrow {
    opacity: 1;
}

.slider-arrow-left {
    left: -12px;
}

.slider-arrow-right {
    right: -12px;
}

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

.movie-card {
    display: flex;
    min-width: 0;
    overflow: hidden;
    flex-direction: column;
    border-radius: var(--radius);
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
    border-color: rgba(245, 158, 11, 0.45);
    background: rgba(30, 41, 59, 0.9);
    box-shadow: 0 22px 52px rgba(245, 158, 11, 0.1);
    transform: translateY(-4px) scale(1.01);
}

.movie-poster {
    position: relative;
    aspect-ratio: 4 / 5;
    margin: 0;
    overflow: hidden;
    background: #0b1120;
}

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

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

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.75), transparent 58%);
    opacity: 0.78;
}

.rank-badge,
.poster-region,
.poster-year {
    position: absolute;
    top: 10px;
    z-index: 2;
    border-radius: 9px;
    padding: 3px 8px;
    color: var(--white);
    font-size: 12px;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.rank-badge {
    left: 10px;
    background: linear-gradient(135deg, var(--amber), var(--amber-2));
}

.poster-region {
    left: 10px;
    max-width: calc(100% - 78px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    background: rgba(245, 158, 11, 0.9);
}

.rank-badge + .poster-region {
    top: 42px;
}

.poster-year {
    right: 10px;
    background: rgba(15, 23, 42, 0.82);
}

.poster-play {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(245, 158, 11, 0.9);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.86);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.movie-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 14px;
}

.movie-card h3 {
    display: -webkit-box;
    min-height: 46px;
    margin: 0 0 8px;
    overflow: hidden;
    color: var(--white);
    font-size: 16px;
    line-height: 1.42;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.2s ease;
}

.movie-card:hover h3 {
    color: #fbbf24;
}

.movie-card p {
    display: -webkit-box;
    min-height: 42px;
    margin: 0 0 12px;
    overflow: hidden;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-meta-line {
    margin-top: auto;
    gap: 6px;
}

.movie-meta-line span {
    padding: 2px 7px;
    font-size: 12px;
}

.movie-tags-line {
    min-height: 18px;
    margin-top: 9px;
    overflow: hidden;
    color: var(--muted-2);
    font-size: 12px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rank-entry {
    display: grid;
    grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
    gap: 24px;
    align-items: center;
    padding: clamp(24px, 4vw, 42px);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 12% 16%, rgba(245, 158, 11, 0.18), transparent 34%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.92));
}

.rank-entry h2 {
    margin: 0 0 14px;
    color: var(--white);
    font-size: clamp(30px, 5vw, 48px);
    line-height: 1;
}

.rank-entry p {
    max-width: 460px;
    margin: 0 0 22px;
    color: var(--muted);
}

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

.rank-row {
    display: grid;
    grid-template-columns: 44px 74px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 9px;
    border-radius: 14px;
    background: rgba(2, 6, 23, 0.38);
    transition: background 0.2s ease, transform 0.2s ease;
}

.rank-row:hover {
    background: rgba(30, 41, 59, 0.8);
    transform: translateX(4px);
}

.rank-num,
.ranking-number {
    color: var(--amber);
    font-weight: 900;
    letter-spacing: 0.04em;
}

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

.rank-text strong,
.ranking-info strong {
    display: block;
    overflow: hidden;
    color: var(--white);
    white-space: nowrap;
    text-overflow: ellipsis;
}

.site-footer {
    margin-top: 76px;
    border-top: 1px solid var(--line);
    background: rgba(2, 6, 23, 0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr);
    gap: 28px;
    padding: 42px 0 28px;
}

.footer-brand p {
    max-width: 560px;
    color: var(--muted);
}

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

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

.footer-links a {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 7px 12px;
    color: var(--muted);
    background: rgba(15, 23, 42, 0.7);
}

.footer-links a:hover {
    color: var(--white);
    border-color: rgba(245, 158, 11, 0.42);
}

.footer-bottom {
    padding: 18px 0 28px;
    border-top: 1px solid rgba(30, 41, 59, 0.72);
    color: var(--muted-2);
    font-size: 13px;
    text-align: center;
}

.page-hero {
    padding: clamp(48px, 9vw, 88px) 0;
    background:
        radial-gradient(circle at 22% 16%, rgba(245, 158, 11, 0.18), transparent 32%),
        radial-gradient(circle at 88% 4%, rgba(234, 88, 12, 0.14), transparent 34%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.9));
}

.compact-page-hero h1 {
    max-width: 860px;
    margin: 18px 0 14px;
    color: var(--white);
    font-size: clamp(34px, 6vw, 58px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

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

.page-content {
    padding-top: 42px;
}

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

.category-card {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 18px;
    overflow: hidden;
    border-radius: var(--radius);
}

.category-cover {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    min-height: 210px;
    background: #0b1120;
}

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

.category-copy {
    padding: 22px 20px 22px 0;
}

.category-copy h2 {
    margin: 0 0 8px;
    color: var(--white);
    font-size: 24px;
}

.category-copy p {
    margin: 0 0 14px;
    color: var(--muted);
}

.category-mini-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.category-mini-links a {
    max-width: 160px;
    overflow: hidden;
    border-radius: 999px;
    padding: 5px 9px;
    color: #cbd5e1;
    background: rgba(30, 41, 59, 0.72);
    font-size: 12px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 16px;
    align-items: end;
    margin-bottom: 28px;
    padding: 18px;
    border-radius: var(--radius);
}

.large-filter {
    grid-template-columns: minmax(0, 1fr) 220px;
}

.filter-panel label {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--line-strong);
    border-radius: 13px;
    outline: 0;
    padding: 0 14px;
    color: var(--text);
    background: rgba(2, 6, 23, 0.72);
}

.filter-panel input:focus,
.filter-panel select:focus {
    border-color: rgba(245, 158, 11, 0.72);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12);
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    grid-column: 1 / -1;
    gap: 10px;
}

.empty-state {
    display: none;
    margin: 26px 0 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    color: var(--muted);
    text-align: center;
    background: rgba(15, 23, 42, 0.72);
}

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

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

.ranking-card {
    display: grid;
    grid-template-columns: 64px 116px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    min-height: 124px;
    padding: 12px 16px;
    border-radius: var(--radius);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.ranking-card:hover {
    border-color: rgba(245, 158, 11, 0.45);
    background: rgba(30, 41, 59, 0.9);
    transform: translateY(-2px);
}

.ranking-card img {
    width: 116px;
    height: 78px;
    border-radius: 12px;
    object-fit: cover;
}

.ranking-info p {
    display: -webkit-box;
    margin: 7px 0 0;
    overflow: hidden;
    color: var(--muted);
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.detail-shell {
    padding-top: 28px;
}

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

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

.player-section {
    margin-bottom: 22px;
}

.player-box {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(51, 65, 85, 0.78);
    border-radius: var(--radius-lg);
    aspect-ratio: 16 / 9;
    background: #000000;
    box-shadow: var(--shadow);
}

.player-box video,
.player-layer,
.player-layer img,
.player-layer-mask {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.player-box video {
    object-fit: contain;
    background: #000000;
}

.player-layer {
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    padding: 0;
    overflow: hidden;
    color: var(--white);
    background: #000000;
}

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

.player-layer img {
    object-fit: cover;
}

.player-layer-mask {
    background:
        radial-gradient(circle at center, rgba(245, 158, 11, 0.18), rgba(0, 0, 0, 0.72)),
        linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.2));
}

.player-button {
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(72px, 10vw, 104px);
    height: clamp(72px, 10vw, 104px);
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(135deg, var(--amber), var(--amber-2));
    font-size: clamp(32px, 5vw, 44px);
    box-shadow: 0 22px 58px rgba(245, 158, 11, 0.38);
}

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

.detail-card,
.sticky-panel {
    border-radius: var(--radius);
    padding: clamp(20px, 3vw, 30px);
}

.detail-title-row {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    justify-content: space-between;
}

.detail-card h1 {
    margin: 0;
    color: var(--white);
    font-size: clamp(30px, 5vw, 46px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.detail-meta {
    margin: 18px 0 20px;
}

.detail-one-line {
    margin: 0 0 26px;
    color: #fbbf24;
    font-size: 19px;
}

.detail-card h2,
.sticky-panel h2 {
    margin: 26px 0 10px;
    color: var(--white);
    font-size: 22px;
}

.sticky-panel h2 {
    margin-top: 0;
}

.detail-card p {
    margin: 0;
    color: #cbd5e1;
    line-height: 1.9;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.sticky-panel {
    position: sticky;
    top: 92px;
}

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

.movie-card-compact {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 12px;
    min-height: 104px;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.movie-card-compact:hover {
    background: rgba(30, 41, 59, 0.65);
    box-shadow: none;
    transform: translateX(2px);
}

.movie-card-compact .movie-poster {
    width: 108px;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
}

.movie-card-compact .movie-card-body {
    min-width: 0;
    padding: 6px 0;
}

.movie-card-compact h3 {
    min-height: 0;
    margin-bottom: 4px;
    font-size: 14px;
}

.movie-card-compact p,
.movie-card-compact .movie-tags-line,
.movie-card-compact .poster-region,
.movie-card-compact .poster-year,
.movie-card-compact .poster-play {
    display: none;
}

.movie-card-compact .movie-meta-line span {
    font-size: 11px;
}

.is-hidden-card {
    display: none !important;
}

@media (max-width: 1120px) {
    .desktop-nav {
        gap: 14px;
        font-size: 13px;
    }

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

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

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

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

    .hero-stage {
        min-height: 500px;
        height: 62vh;
    }

    .hero-content {
        left: 24px;
        right: 24px;
    }

    .hero-arrow {
        display: none;
    }

    .featured-grid,
    .rank-entry,
    .footer-grid,
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .sticky-panel {
        position: static;
    }

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

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

@media (max-width: 680px) {
    .site-shell {
        width: min(100% - 24px, 1200px);
    }

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

    .hero-stage {
        min-height: 460px;
        border-radius: 22px;
    }

    .hero-content {
        top: auto;
        bottom: 62px;
        transform: none;
    }

    .hero h1,
    .hero h2 {
        font-size: 40px;
    }

    .hero p {
        display: -webkit-box;
        overflow: hidden;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }

    .hero-actions {
        gap: 10px;
    }

    .primary-button,
    .ghost-button {
        width: 100%;
    }

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

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

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

    .category-copy {
        padding: 0 18px 20px;
    }

    .ranking-card {
        grid-template-columns: 42px 86px minmax(0, 1fr);
        gap: 10px;
        padding: 10px;
    }

    .ranking-card img {
        width: 86px;
        height: 62px;
    }

    .ranking-info p {
        display: none;
    }

    .detail-title-row {
        flex-direction: column;
    }

    .detail-title-row .ghost-button {
        width: auto;
    }
}

@media (max-width: 430px) {
    .movie-grid {
        grid-template-columns: 1fr;
    }

    .slider-item {
        flex-basis: 78vw;
    }

    .rank-row {
        grid-template-columns: 36px 62px minmax(0, 1fr);
    }

    .rank-row img {
        width: 62px;
        height: 42px;
    }
}
