:root {
    --color-bg: #fff7ed;
    --color-card: #ffffff;
    --color-text: #1f2937;
    --color-muted: #6b7280;
    --color-soft: #fed7aa;
    --color-primary: #f97316;
    --color-primary-dark: #ea580c;
    --color-secondary: #ec4899;
    --color-accent: #facc15;
    --shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 18px 45px rgba(15, 23, 42, 0.14);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
    --container: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--color-text);
    background:
        radial-gradient(circle at 12% 8%, rgba(249, 115, 22, 0.18), transparent 28rem),
        radial-gradient(circle at 88% 0%, rgba(236, 72, 153, 0.16), transparent 28rem),
        linear-gradient(135deg, #fff7ed 0%, #fdf2f8 54%, #fefce8 100%);
}

body.menu-open {
    overflow: hidden;
}

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

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

svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

main {
    min-height: 60vh;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(251, 146, 60, 0.18);
    box-shadow: 0 6px 26px rgba(15, 23, 42, 0.08);
}

.header-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 22px;
}

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

.brand-mark {
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    border-radius: 16px;
    color: #ffffff;
    font-size: 23px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary), var(--color-accent));
    box-shadow: 0 10px 24px rgba(249, 115, 22, 0.36);
}

.brand-text strong {
    display: block;
    font-size: 24px;
    line-height: 1;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary), var(--color-accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-text small {
    display: block;
    margin-top: 3px;
    color: var(--color-muted);
    font-size: 12px;
}

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

.nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    border: 0;
    border-radius: 13px;
    padding: 8px 13px;
    color: #4b5563;
    background: transparent;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--color-primary-dark);
    background: #ffedd5;
    transform: translateY(-1px);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 220px;
    padding: 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(251, 146, 60, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

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

.nav-dropdown-panel a {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    color: #374151;
    font-weight: 600;
}

.nav-dropdown-panel a:hover {
    background: #fff7ed;
    color: var(--color-primary-dark);
}

.header-search {
    width: 230px;
    min-width: 190px;
    display: flex;
    align-items: center;
    border-radius: 999px;
    background: #f9fafb;
    border: 1px solid rgba(251, 146, 60, 0.24);
    overflow: hidden;
}

.header-search input,
.big-search input,
.list-tools input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--color-text);
    font: inherit;
}

.header-search input {
    padding: 10px 6px 10px 14px;
    font-size: 14px;
}

.header-search button {
    border: 0;
    width: 42px;
    height: 42px;
    color: var(--color-primary-dark);
    background: transparent;
    cursor: pointer;
}

.header-search button svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.mobile-menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    background: #fff7ed;
    border-radius: 13px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.mobile-menu-button span {
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--color-primary-dark);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-open .mobile-menu-button span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-open .mobile-menu-button span:nth-child(2) {
    opacity: 0;
}

.menu-open .mobile-menu-button span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
    display: none;
    padding: 8px 20px 20px;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid rgba(251, 146, 60, 0.2);
}

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

.mobile-nav a {
    padding: 12px 14px;
    border-radius: 14px;
    background: #fff7ed;
    font-weight: 700;
    color: #374151;
}

.hero {
    position: relative;
    min-height: 70vh;
    height: 720px;
    max-height: 820px;
    overflow: hidden;
    background: #111827;
}

.hero-track,
.hero-slide,
.hero-media,
.hero-media img,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-slide {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

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

.hero-media {
    background: #111827;
}

.image-fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.9);
    background:
        radial-gradient(circle at 26% 20%, rgba(250, 204, 21, 0.35), transparent 16rem),
        linear-gradient(135deg, #f97316, #ec4899 58%, #111827);
    font-weight: 900;
    letter-spacing: 0.08em;
}

.poster-img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.poster-img.is-missing {
    display: none;
}

.hero-media img {
    transform: scale(1.02);
    transition: transform 5s ease;
}

.hero-slide.is-active .hero-media img {
    transform: scale(1.08);
}

.hero-overlay {
    z-index: 2;
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.86) 0%, rgba(15, 23, 42, 0.58) 42%, rgba(15, 23, 42, 0.08) 100%),
        linear-gradient(0deg, rgba(15, 23, 42, 0.65) 0%, transparent 48%);
}

.hero-content {
    position: relative;
    z-index: 3;
    width: min(92%, var(--container));
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 70px 20px 90px;
    color: #ffffff;
}

.hero-kicker,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    color: var(--color-primary);
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 12px;
}

.hero-kicker {
    color: #fdba74;
}

.hero-content h1 {
    width: min(780px, 100%);
    margin: 0 0 18px;
    font-size: clamp(40px, 6vw, 78px);
    line-height: 1.04;
    font-weight: 950;
    text-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.hero-content p {
    width: min(670px, 100%);
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(17px, 2vw, 22px);
    line-height: 1.8;
}

.hero-tags,
.movie-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-tags span,
.movie-tags span {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 237, 213, 0.78);
    color: #9a3412;
    font-size: 12px;
    font-weight: 800;
}

.hero-tags span {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
}

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

.primary-button,
.ghost-button,
.text-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    border-radius: 999px;
    padding: 12px 22px;
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.primary-button {
    color: #ffffff;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    box-shadow: 0 16px 34px rgba(249, 115, 22, 0.38);
}

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

.primary-button.full {
    width: 100%;
}

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

.text-button {
    color: var(--color-primary-dark);
    background: #fff7ed;
    padding-inline: 16px;
}

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

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

.hero-dot.is-active {
    width: 62px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

.search-band {
    margin: -50px 20px 0;
    position: relative;
    z-index: 6;
}

.search-band-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.7fr);
    gap: 28px;
    align-items: center;
    padding: 28px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(251, 146, 60, 0.2);
    backdrop-filter: blur(20px);
}

.search-band h2 {
    margin: 0 0 10px;
    font-size: clamp(24px, 3vw, 36px);
}

.search-band p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.7;
}

.big-search {
    display: flex;
    gap: 10px;
    padding: 8px;
    border-radius: 999px;
    background: #f9fafb;
    border: 1px solid rgba(251, 146, 60, 0.24);
}

.big-search input {
    padding: 0 14px;
}

.big-search button,
.sort-buttons button {
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    padding: 12px 20px;
    font-weight: 900;
    cursor: pointer;
    white-space: nowrap;
}

.content-section,
.split-section,
.detail-layout {
    max-width: var(--container);
    margin: 0 auto;
    padding: 64px 20px 0;
}

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

.section-heading h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.1;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary), var(--color-accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-more {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 999px;
    color: var(--color-primary-dark);
    background: #ffedd5;
    font-weight: 900;
}

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

.category-tile {
    position: relative;
    min-height: 190px;
    overflow: hidden;
    border-radius: 26px;
    padding: 22px;
    color: #ffffff;
    isolation: isolate;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tile:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.category-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(15, 23, 42, 0.38);
}

.category-tile .category-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: 0.32;
    filter: saturate(1.15);
}

.category-icon {
    display: inline-flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 18px;
    font-size: 26px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
}

.category-tile strong {
    display: block;
    font-size: 22px;
    margin-bottom: 7px;
}

.category-tile small,
.category-tile em {
    display: block;
    color: rgba(255, 255, 255, 0.86);
    font-style: normal;
    line-height: 1.5;
}

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

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

.movie-card {
    overflow: hidden;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(251, 146, 60, 0.14);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.movie-poster {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #111827;
}

.movie-poster img,
.ranking-poster img,
.horizontal-thumb img,
.category-overview-image img {
    transition: transform 0.35s ease;
}

.movie-card:hover .movie-poster img,
.ranking-card:hover .ranking-poster img,
.horizontal-item:hover .horizontal-thumb img,
.category-overview-card:hover .category-overview-image img {
    transform: scale(1.08);
}

.poster-shade {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.58), transparent 52%);
    opacity: 0.6;
    transition: opacity 0.25s ease;
}

.movie-card:hover .poster-shade {
    opacity: 0.9;
}

.poster-play {
    position: absolute;
    z-index: 3;
    left: 50%;
    top: 50%;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.poster-badge,
.poster-score {
    position: absolute;
    z-index: 4;
    top: 12px;
    padding: 6px 9px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
}

.poster-badge {
    left: 12px;
    background: var(--color-primary);
}

.poster-score {
    right: 12px;
    background: rgba(17, 24, 39, 0.76);
    backdrop-filter: blur(8px);
}

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

.movie-card h3 {
    margin: 0 0 9px;
    font-size: 18px;
    line-height: 1.35;
}

.movie-card h3 a:hover,
.ranking-content h2 a:hover,
.horizontal-title:hover {
    color: var(--color-primary-dark);
}

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

.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    color: #6b7280;
    font-size: 13px;
}

.movie-meta span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #f3f4f6;
    padding: 5px 8px;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
    gap: 24px;
}

.split-column,
.ranking-panel,
.sticky-panel,
.detail-article,
.player-card,
.category-overview-card,
.ranking-card {
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(251, 146, 60, 0.14);
}

.split-column {
    padding: 26px;
}

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

.horizontal-item {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 12px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.horizontal-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.horizontal-thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 14px;
    background: #111827;
}

.horizontal-title,
.horizontal-desc,
.horizontal-meta {
    display: block;
}

.horizontal-title {
    margin-bottom: 5px;
    font-weight: 900;
    line-height: 1.3;
}

.list-rank {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    margin-right: 8px;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    font-size: 13px;
}

.horizontal-desc {
    display: -webkit-box;
    color: var(--color-muted);
    line-height: 1.5;
    font-size: 13px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.horizontal-meta {
    margin-top: 6px;
    color: #9ca3af;
    font-size: 12px;
}

.page-hero {
    margin: 0 auto;
    padding: 86px 20px;
    color: #ffffff;
    background:
        linear-gradient(120deg, rgba(249, 115, 22, 0.95), rgba(236, 72, 153, 0.88), rgba(250, 204, 21, 0.78)),
        radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.28), transparent 20rem);
}

.page-hero > div {
    max-width: var(--container);
    margin: 0 auto;
}

.page-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(36px, 6vw, 66px);
    line-height: 1.1;
}

.page-hero p {
    width: min(780px, 100%);
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
    line-height: 1.8;
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    overflow: hidden;
}

.category-overview-image {
    position: relative;
    display: block;
    min-height: 260px;
    overflow: hidden;
    background: #111827;
}

.category-overview-content {
    padding: 24px;
}

.category-overview-content h2 {
    margin: 0 0 10px;
    font-size: 26px;
}

.category-overview-content p {
    margin: 0 0 12px;
    color: var(--color-muted);
    line-height: 1.7;
}

.category-overview-content strong {
    display: block;
    margin-bottom: 12px;
    color: var(--color-primary-dark);
}

.category-overview-content ul {
    margin: 0 0 18px;
    padding-left: 18px;
    color: #4b5563;
    line-height: 1.8;
}

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

.list-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(251, 146, 60, 0.14);
}

.list-tools label {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    border-radius: 999px;
    padding: 0 16px;
    background: #f9fafb;
    border: 1px solid #fed7aa;
}

.list-tools label span {
    flex: 0 0 auto;
    color: var(--color-primary-dark);
    font-weight: 900;
}

.sort-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sort-buttons button {
    color: #4b5563;
    background: #f3f4f6;
}

.sort-buttons button.is-active,
.sort-buttons button:hover {
    color: #ffffff;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

.result-count {
    flex: 0 0 auto;
    color: var(--color-muted);
    font-weight: 800;
}

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

.ranking-card {
    display: grid;
    grid-template-columns: 74px 190px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 16px;
}

.ranking-rank {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 950;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    box-shadow: 0 12px 26px rgba(249, 115, 22, 0.28);
}

.ranking-poster {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 18px;
    background: #111827;
}

.ranking-content h2 {
    margin: 0 0 8px;
    font-size: 23px;
}

.ranking-content p {
    margin: 0 0 10px;
    color: var(--color-muted);
    line-height: 1.6;
}

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

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

.breadcrumbs a {
    color: var(--color-primary-dark);
    font-weight: 800;
}

.player-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #111827;
}

.movie-player {
    width: 100%;
    height: 100%;
    background: #111827;
}

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    color: #ffffff;
    background:
        radial-gradient(circle at 50% 40%, rgba(249, 115, 22, 0.25), transparent 18rem),
        linear-gradient(0deg, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.22));
    cursor: pointer;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.player-overlay span {
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    box-shadow: 0 16px 40px rgba(249, 115, 22, 0.4);
}

.player-overlay svg {
    width: 38px;
    height: 38px;
}

.player-overlay strong {
    font-size: 26px;
}

.player-overlay em {
    color: rgba(255, 255, 255, 0.82);
    font-style: normal;
}

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

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

.detail-title-row h1 {
    margin: 0;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.16;
}

.category-pill {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    font-weight: 900;
}

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

.detail-meta-grid span {
    display: grid;
    gap: 5px;
    padding: 14px;
    border-radius: 16px;
    background: #fff7ed;
    color: #4b5563;
}

.detail-meta-grid strong {
    color: var(--color-primary-dark);
    font-size: 12px;
}

.text-block {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid #fed7aa;
}

.text-block h2 {
    margin: 0 0 12px;
    font-size: 22px;
}

.text-block p {
    margin: 0;
    color: #4b5563;
    line-height: 1.9;
    font-size: 16px;
}

.highlight-block {
    padding: 20px;
    border: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, #fff7ed, #fdf2f8);
}

.detail-sidebar {
    min-width: 0;
}

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

.sticky-panel h2 {
    margin: 0 0 16px;
    font-size: 24px;
}

.sitemap-section h2 {
    margin: 34px 0 16px;
    font-size: 26px;
}

.sitemap-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sitemap-list a {
    display: block;
    padding: 11px 13px;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
    color: #374151;
    font-weight: 700;
}

.sitemap-list a:hover {
    color: var(--color-primary-dark);
    background: #fff7ed;
}

.site-footer {
    margin-top: 80px;
    color: #ffffff;
    background: linear-gradient(90deg, #ea580c, #db2777, #ca8a04);
}

.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 48px 20px;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) 1fr 1fr;
    gap: 32px;
}

.footer-logo .brand-mark {
    box-shadow: none;
    background: rgba(255, 255, 255, 0.18);
}

.footer-about p,
.footer-links a,
.footer-bottom {
    color: rgba(255, 255, 255, 0.82);
}

.footer-about p {
    max-width: 520px;
    line-height: 1.8;
}

.footer-inner h3 {
    margin: 0 0 14px;
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

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

.footer-bottom {
    max-width: var(--container);
    margin: 0 auto;
    padding: 18px 20px 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    text-align: center;
}

.back-to-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 70;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 16px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    box-shadow: var(--shadow-md);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hidden-by-filter {
    display: none !important;
}

.gradient-orange-pink {
    background: linear-gradient(135deg, #f97316, #ec4899);
}

.gradient-red-orange {
    background: linear-gradient(135deg, #ef4444, #f97316);
}

.gradient-pink-red {
    background: linear-gradient(135deg, #ec4899, #ef4444);
}

.gradient-blue-purple {
    background: linear-gradient(135deg, #3b82f6, #9333ea);
}

.gradient-yellow-orange {
    background: linear-gradient(135deg, #facc15, #f97316);
}

.gradient-pink-yellow {
    background: linear-gradient(135deg, #ec4899, #facc15);
}

.gradient-orange-red {
    background: linear-gradient(135deg, #f97316, #dc2626);
}

.gradient-purple-pink {
    background: linear-gradient(135deg, #7c3aed, #ec4899);
}

.gradient-cyan-blue {
    background: linear-gradient(135deg, #06b6d4, #2563eb);
}

.gradient-gray-red {
    background: linear-gradient(135deg, #374151, #dc2626);
}

.gradient-green-cyan {
    background: linear-gradient(135deg, #22c55e, #06b6d4);
}

.gradient-teal-green {
    background: linear-gradient(135deg, #14b8a6, #22c55e);
}

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

    .header-search {
        margin-left: auto;
    }

    .mobile-menu-button {
        display: inline-flex;
    }

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

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

    .sticky-panel {
        position: static;
    }
}

@media (max-width: 820px) {
    .header-inner {
        gap: 12px;
    }

    .brand-text small,
    .header-search {
        display: none;
    }

    .hero {
        height: 680px;
        min-height: 620px;
    }

    .hero-content {
        padding-inline: 0;
    }

    .search-band-inner,
    .category-overview-card,
    .footer-inner,
    .ranking-card {
        grid-template-columns: 1fr;
    }

    .search-band-inner {
        padding: 22px;
    }

    .big-search {
        border-radius: 24px;
        flex-direction: column;
    }

    .big-search input {
        min-height: 48px;
    }

    .category-grid,
    .movie-grid,
    .compact-grid,
    .sitemap-list,
    .detail-meta-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section-heading,
    .list-tools,
    .detail-title-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .list-tools label {
        width: 100%;
    }

    .ranking-card {
        align-items: start;
    }

    .ranking-poster {
        width: 100%;
    }
}

@media (max-width: 560px) {
    .brand-mark {
        width: 40px;
        height: 40px;
    }

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

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-actions,
    .page-hero-actions {
        width: 100%;
    }

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

    .category-grid,
    .movie-grid,
    .compact-grid,
    .sitemap-list,
    .detail-meta-grid {
        grid-template-columns: 1fr;
    }

    .horizontal-item {
        grid-template-columns: 104px minmax(0, 1fr);
    }

    .content-section,
    .split-section,
    .detail-layout {
        padding-inline: 14px;
    }

    .detail-article,
    .split-column,
    .sticky-panel {
        padding: 18px;
    }
}
