:root {
    --color-ink: #1f2937;
    --color-muted: #6b7280;
    --color-soft: #fff7ed;
    --color-panel: #ffffff;
    --color-line: rgba(251, 146, 60, 0.22);
    --color-primary: #f97316;
    --color-primary-dark: #c2410c;
    --color-gold: #f59e0b;
    --color-amber: #fbbf24;
    --shadow-card: 0 18px 45px rgba(120, 53, 15, 0.12);
    --shadow-strong: 0 28px 60px rgba(120, 53, 15, 0.22);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--color-ink);
    background: linear-gradient(180deg, #fff7ed 0%, #ffffff 40%, #fff7ed 100%);
}

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

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

button,
input,
select,
textarea {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(90deg, #d97706 0%, #f97316 52%, #f59e0b 100%);
    box-shadow: 0 12px 30px rgba(154, 52, 18, 0.22);
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    min-height: 76px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    flex: 0 0 auto;
}

.brand-mark {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(124, 45, 18, 0.22);
    font-size: 26px;
    transition: transform 0.25s ease;
}

.brand:hover .brand-mark {
    transform: scale(1.08) rotate(-5deg);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

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

.brand-text em {
    margin-top: 4px;
    font-size: 12px;
    color: #ffedd5;
    font-style: normal;
}

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

.nav-link,
.mobile-nav-link {
    border-radius: 14px;
    color: #fff7ed;
    font-weight: 700;
    transition: all 0.22s ease;
}

.nav-link {
    padding: 11px 16px;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-nav-link:hover,
.mobile-nav-link.is-active {
    color: #ea580c;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(124, 45, 18, 0.18);
}

.header-search {
    display: flex;
    align-items: center;
    width: 290px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 999px;
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.header-search input,
.mobile-search input {
    width: 100%;
    border: 0;
    outline: 0;
    color: #ffffff;
    background: transparent;
    padding: 12px 16px;
}

.header-search input::placeholder,
.mobile-search input::placeholder {
    color: rgba(255, 255, 255, 0.82);
}

.header-search button,
.mobile-search button {
    border: 0;
    cursor: pointer;
    color: #ea580c;
    background: #ffffff;
    font-weight: 800;
    padding: 12px 18px;
}

.mobile-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.18);
    cursor: pointer;
    padding: 9px;
}

.mobile-menu-button span {
    display: block;
    height: 3px;
    margin: 5px 0;
    border-radius: 999px;
    background: #ffffff;
}

.mobile-nav {
    display: none;
    padding: 0 24px 18px;
    background: rgba(180, 83, 9, 0.38);
}

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

.mobile-nav-link {
    padding: 12px 14px;
}

.mobile-search {
    display: flex;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    overflow: hidden;
}

.hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(110deg, #f59e0b 0%, #f97316 48%, #fbbf24 100%);
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    pointer-events: none;
}

.hero::before {
    width: 440px;
    height: 440px;
    top: -210px;
    left: -150px;
}

.hero::after {
    width: 520px;
    height: 520px;
    right: -240px;
    bottom: -270px;
}

.hero-decor {
    position: absolute;
    inset: 0;
    opacity: 0.12;
    pointer-events: none;
}

.hero-decor span {
    position: absolute;
    font-size: 56px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
}

.hero-decor span:nth-child(1) {
    top: 12%;
    left: 8%;
}

.hero-decor span:nth-child(2) {
    top: 22%;
    right: 13%;
}

.hero-decor span:nth-child(3) {
    left: 25%;
    bottom: 15%;
}

.hero-decor span:nth-child(4) {
    right: 8%;
    bottom: 18%;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 84px 24px 96px;
}

.hero-slider {
    position: relative;
}

.hero-slide {
    display: none;
    grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
    align-items: center;
    gap: 56px;
}

.hero-slide.is-active {
    display: grid;
    animation: fadeIn 0.55s ease both;
}

.hero-copy {
    display: grid;
    gap: 24px;
}

.hero-kicker,
.section-kicker,
.detail-kicker,
.category-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.hero-kicker {
    color: #fff7ed;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.24);
    padding: 9px 16px;
    backdrop-filter: blur(8px);
}

.hero h1 {
    margin: 0;
    max-width: 760px;
    font-size: clamp(42px, 6vw, 74px);
    line-height: 1.02;
    letter-spacing: -0.06em;
}

.hero h1 span {
    color: #fef3c7;
}

.hero-description {
    max-width: 680px;
    margin: 0;
    color: #fff7ed;
    font-size: 19px;
    line-height: 1.85;
}

.hero-feature {
    display: grid;
    gap: 8px;
    max-width: 620px;
    padding: 18px 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.hero-feature strong {
    font-size: 22px;
}

.hero-feature p {
    margin: 0;
    color: #ffedd5;
    line-height: 1.7;
}

.hero-actions,
.section-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.btn,
.btn-secondary,
.btn-ghost,
.btn-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    cursor: pointer;
    font-weight: 900;
    transition: all 0.22s ease;
}

.btn {
    min-height: 54px;
    padding: 0 28px;
    border-radius: 999px;
    color: #ea580c;
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(124, 45, 18, 0.18);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 42px rgba(124, 45, 18, 0.24);
}

.btn-secondary {
    min-height: 54px;
    padding: 0 28px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(146, 64, 14, 0.72);
}

.btn-secondary:hover {
    background: rgba(124, 45, 18, 0.9);
}

.btn-ghost {
    min-height: 46px;
    padding: 0 20px;
    border-radius: 999px;
    color: #ea580c;
    background: #fff7ed;
}

.btn-ghost:hover {
    background: #fed7aa;
}

.btn-small {
    min-height: 38px;
    padding: 0 16px;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(90deg, #f97316, #f59e0b);
}

.hero-visual {
    position: relative;
}

.hero-card {
    position: relative;
    min-height: 510px;
    overflow: hidden;
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: var(--shadow-strong);
    transform: rotate(1deg);
    transition: transform 0.28s ease;
}

.hero-card:hover {
    transform: rotate(0deg) scale(1.015);
}

.hero-card img {
    width: 100%;
    height: 510px;
    object-fit: cover;
    background: linear-gradient(135deg, rgba(255, 237, 213, 0.55), rgba(251, 146, 60, 0.3));
}

.hero-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 20%, rgba(0, 0, 0, 0.76) 100%);
    padding: 30px;
}

.hero-card-overlay h2 {
    margin: 0 0 10px;
    font-size: 30px;
}

.hero-card-overlay p {
    margin: 0;
    color: #ffedd5;
    line-height: 1.7;
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 14px;
}

.hero-pills span {
    padding: 7px 12px;
    border-radius: 999px;
    color: #fff7ed;
    background: rgba(255, 255, 255, 0.18);
    font-size: 13px;
    font-weight: 800;
}

.hero-controls {
    position: absolute;
    z-index: 5;
    right: 0;
    bottom: -52px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-control,
.hero-dot {
    border: 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hero-control {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    color: #ea580c;
    background: #ffffff;
    font-size: 22px;
    box-shadow: 0 12px 28px rgba(124, 45, 18, 0.18);
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    padding: 0;
    background: rgba(255, 255, 255, 0.5);
}

.hero-dot.is-active {
    width: 32px;
    background: #ffffff;
}

.main-section {
    padding: 76px 24px;
}

.main-section.alt {
    background: linear-gradient(180deg, #fff7ed, #fffbeb);
}

.main-section.white {
    background: #ffffff;
}

.section-inner,
.content-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.section-heading {
    max-width: 780px;
    margin: 0 auto 42px;
    text-align: center;
}

.section-kicker {
    margin-bottom: 14px;
    padding: 8px 15px;
    color: #c2410c;
    background: #ffedd5;
}

.section-heading h2,
.page-title h1,
.detail-title h1 {
    margin: 0;
    color: #111827;
    letter-spacing: -0.04em;
}

.section-heading h2 {
    font-size: clamp(30px, 4vw, 48px);
}

.section-heading p,
.page-title p,
.detail-title p {
    color: var(--color-muted);
    line-height: 1.75;
    font-size: 17px;
}

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

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

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

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

.poster-frame {
    position: relative;
    display: block;
    min-height: 245px;
    overflow: hidden;
    background: linear-gradient(135deg, #ffedd5 0%, #fdba74 100%);
}

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

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

.poster-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.62) 100%);
}

.poster-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #ea580c;
    background: #ffffff;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.68);
    transition: all 0.24s ease;
}

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

.poster-label {
    position: absolute;
    top: 14px;
    right: 14px;
    max-width: calc(100% - 28px);
    padding: 7px 12px;
    border-radius: 999px;
    color: #ea580c;
    background: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    font-weight: 900;
    backdrop-filter: blur(8px);
}

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

.meta-row,
.rank-meta,
.detail-meta,
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.meta-row span,
.rank-meta span,
.detail-meta span,
.breadcrumbs a,
.breadcrumbs span {
    color: #9a3412;
    background: #fff7ed;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 800;
}

.movie-card h3 {
    margin: 14px 0 10px;
    font-size: 20px;
    line-height: 1.35;
}

.movie-card h3 a:hover,
.rank-content h3 a:hover,
.related-card h3 a:hover {
    color: #ea580c;
}

.movie-card p {
    margin: 0 0 14px;
    color: var(--color-muted);
    line-height: 1.72;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.tag-list span {
    color: #92400e;
    background: #fef3c7;
    border-radius: 10px;
    padding: 5px 9px;
    font-size: 12px;
    font-weight: 800;
}

.category-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 0 0 38px;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 18px;
    border-radius: 999px;
    color: #7c2d12;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(120, 53, 15, 0.1);
    font-weight: 900;
    transition: all 0.22s ease;
}

.category-pill:hover {
    color: #ffffff;
    background: linear-gradient(90deg, #f97316, #f59e0b);
    transform: translateY(-3px);
}

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

.category-card {
    position: relative;
    overflow: hidden;
    min-height: 290px;
    padding: 26px;
    border-radius: var(--radius-xl);
    color: #ffffff;
    background: linear-gradient(135deg, #f97316, #f59e0b);
    box-shadow: var(--shadow-card);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

.category-card::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    right: -80px;
    bottom: -80px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
}

.category-card h2,
.category-card h3,
.category-card p {
    position: relative;
    z-index: 1;
}

.category-card h2,
.category-card h3 {
    margin: 0 0 14px;
    font-size: 26px;
}

.category-card p {
    margin: 0 0 22px;
    color: #ffedd5;
    line-height: 1.75;
}

.category-card-images {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 22px;
}

.category-card-images img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 18px rgba(124, 45, 18, 0.18);
}

.timeline-list {
    display: grid;
    gap: 28px;
    position: relative;
}

.timeline-card {
    display: grid;
    grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
    gap: 0;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, #ffffff, #fff7ed);
    box-shadow: var(--shadow-card);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}

.timeline-card:nth-child(even) {
    grid-template-columns: minmax(0, 0.58fr) minmax(260px, 0.42fr);
}

.timeline-card:nth-child(even) .timeline-image {
    order: 2;
}

.timeline-image {
    position: relative;
    min-height: 300px;
    background: linear-gradient(135deg, #fed7aa, #f97316);
    overflow: hidden;
}

.timeline-image img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.timeline-card:hover .timeline-image img {
    transform: scale(1.06);
}

.timeline-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 34px;
}

.timeline-content h3 {
    margin: 10px 0 14px;
    font-size: 28px;
}

.timeline-content p {
    color: var(--color-muted);
    line-height: 1.78;
}

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

.masonry-card {
    break-inside: avoid;
    display: block;
    margin: 0 0 22px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.masonry-card:nth-child(4n+1) .masonry-image {
    height: 340px;
}

.masonry-card:nth-child(4n+2) .masonry-image {
    height: 420px;
}

.masonry-card:nth-child(4n+3) .masonry-image {
    height: 310px;
}

.masonry-card:nth-child(4n+4) .masonry-image {
    height: 380px;
}

.masonry-image {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ffedd5, #fdba74);
}

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

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

.masonry-caption {
    padding: 16px;
}

.masonry-caption h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.masonry-caption p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.65;
}

.feature-band {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(90deg, #f97316, #f59e0b, #fbbf24);
}

.feature-band::before,
.feature-band::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
}

.feature-band::before {
    width: 280px;
    height: 280px;
    left: -120px;
    top: -120px;
}

.feature-band::after {
    width: 390px;
    height: 390px;
    right: -160px;
    bottom: -200px;
}

.feature-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.feature-item {
    padding: 26px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    transition: transform 0.24s ease, background 0.24s ease;
}

.feature-item:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.2);
}

.feature-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.22);
    font-size: 27px;
}

.feature-item h3 {
    margin: 0 0 10px;
    font-size: 22px;
}

.feature-item p {
    margin: 0;
    color: #ffedd5;
    line-height: 1.75;
}

.page-hero {
    padding: 72px 24px 54px;
    color: #ffffff;
    background: linear-gradient(120deg, #d97706, #f97316, #f59e0b);
    overflow: hidden;
}

.page-title {
    max-width: 1280px;
    margin: 0 auto;
}

.page-title h1 {
    color: #ffffff;
    max-width: 900px;
    font-size: clamp(36px, 5vw, 62px);
}

.page-title p {
    max-width: 760px;
    color: #ffedd5;
    font-size: 19px;
}

.filter-panel {
    max-width: 1280px;
    margin: 0 auto 34px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px 180px;
    gap: 14px;
    padding: 18px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    border: 1px solid var(--color-line);
    outline: 0;
    border-radius: 16px;
    padding: 14px 16px;
    color: var(--color-ink);
    background: #fffaf5;
}

.filtered-empty {
    display: none;
    text-align: center;
    color: var(--color-muted);
    padding: 38px 20px;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

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

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

.rank-row {
    display: grid;
    grid-template-columns: 74px 108px minmax(0, 1fr) 90px;
    align-items: center;
    gap: 18px;
    padding: 16px;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.rank-row:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-strong);
}

.rank-number {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: #ffffff;
    background: linear-gradient(135deg, #f97316, #f59e0b);
    font-size: 22px;
    font-weight: 950;
}

.rank-cover {
    border-radius: 16px;
    overflow: hidden;
    background: #ffedd5;
}

.rank-cover img {
    width: 108px;
    height: 136px;
    object-fit: cover;
}

.rank-content h3 {
    margin: 0 0 8px;
    font-size: 23px;
}

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

.rank-action {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 42px;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(90deg, #f97316, #f59e0b);
    font-weight: 900;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(120deg, #7c2d12, #ea580c 45%, #f59e0b);
}

.detail-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 75% 12%, rgba(255, 255, 255, 0.16), transparent 34%);
}

.detail-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 42px 24px 64px;
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 38px;
    align-items: center;
}

.detail-poster {
    border-radius: 30px;
    overflow: hidden;
    background: linear-gradient(135deg, #ffedd5, #f97316);
    box-shadow: var(--shadow-strong);
}

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

.detail-title {
    display: grid;
    gap: 18px;
}

.detail-kicker {
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.detail-title h1 {
    color: #ffffff;
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.08;
}

.detail-title p {
    color: #ffedd5;
    font-size: 18px;
}

.detail-meta span {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.detail-layout {
    max-width: 1280px;
    margin: 0 auto;
    padding: 52px 24px 80px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 32px;
    align-items: start;
}

.detail-main,
.detail-side,
.player-panel {
    border-radius: var(--radius-xl);
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.player-panel {
    overflow: hidden;
    margin-bottom: 26px;
}

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

.player-video {
    width: 100%;
    height: 100%;
    display: block;
    background: #000000;
}

.player-cover {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    cursor: pointer;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.72));
}

.player-cover::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    filter: blur(8px) scale(1.04);
}

.player-wrap.is-playing .player-cover {
    display: none;
}

.play-button {
    position: relative;
    z-index: 2;
    width: 118px;
    height: 118px;
    border: 0;
    border-radius: 999px;
    color: #ea580c;
    background: #ffffff;
    box-shadow: 0 20px 46px rgba(0, 0, 0, 0.34);
    cursor: pointer;
    font-size: 20px;
    font-weight: 950;
    transition: transform 0.2s ease;
}

.play-button:hover {
    transform: scale(1.07);
}

.player-info {
    padding: 22px 24px 26px;
}

.player-info h2,
.content-block h2,
.detail-side h2 {
    margin: 0 0 14px;
    font-size: 28px;
    color: #111827;
}

.player-info p,
.content-block p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.85;
}

.detail-main {
    padding: 28px;
}

.content-block + .content-block {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--color-line);
}

.detail-side {
    padding: 22px;
    position: sticky;
    top: 98px;
}

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

.related-card {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 12px;
    padding: 10px;
    border-radius: 16px;
    background: #fff7ed;
    transition: transform 0.2s ease, background 0.2s ease;
}

.related-card:hover {
    transform: translateX(4px);
    background: #ffedd5;
}

.related-card img {
    width: 78px;
    height: 98px;
    border-radius: 12px;
    object-fit: cover;
    background: #fed7aa;
}

.related-card h3 {
    margin: 0 0 6px;
    font-size: 16px;
    line-height: 1.36;
}

.related-card p {
    margin: 0;
    color: var(--color-muted);
    font-size: 13px;
    line-height: 1.5;
}

.breadcrumbs {
    max-width: 1280px;
    margin: 0 auto;
    padding: 22px 24px 0;
}

.breadcrumbs a:hover {
    color: #ffffff;
    background: #f97316;
}

.site-footer {
    color: #ffedd5;
    background: linear-gradient(90deg, #7c2d12, #9a3412, #c2410c);
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 42px 24px;
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
    gap: 28px;
}

.footer-brand {
    display: inline-flex;
    margin-bottom: 12px;
    color: #ffffff;
    font-size: 24px;
    font-weight: 950;
}

.footer-inner p {
    margin: 0;
    line-height: 1.78;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
    align-content: start;
}

.footer-links a {
    padding: 8px 12px;
    border-radius: 999px;
    color: #ffedd5;
    background: rgba(255, 255, 255, 0.09);
}

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

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

    .detail-side {
        position: static;
    }
}

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

    .mobile-menu-button {
        display: block;
        margin-left: auto;
    }

    .hero-slide,
    .detail-hero-inner,
    .timeline-card,
    .timeline-card:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .timeline-card:nth-child(even) .timeline-image {
        order: 0;
    }

    .hero-inner {
        padding-top: 58px;
    }

    .hero-card,
    .hero-card img {
        min-height: 380px;
        height: 380px;
    }

    .hero-controls {
        position: static;
        margin-top: 24px;
        justify-content: center;
    }

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

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

    .rank-action {
        grid-column: 2 / -1;
    }

    .rank-cover img {
        width: 92px;
        height: 116px;
    }
}

@media (max-width: 680px) {
    .header-inner {
        padding: 0 16px;
        min-height: 68px;
    }

    .brand-mark {
        width: 44px;
        height: 44px;
        font-size: 22px;
    }

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

    .brand-text em {
        font-size: 11px;
    }

    .main-section,
    .page-hero,
    .detail-layout {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-inner {
        padding-left: 16px;
        padding-right: 16px;
    }

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

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

    .footer-links {
        justify-content: flex-start;
    }

    .detail-hero-inner {
        padding-left: 16px;
        padding-right: 16px;
    }

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

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

    .rank-cover {
        display: none;
    }

    .rank-action {
        grid-column: 1 / -1;
    }

    .play-button {
        width: 88px;
        height: 88px;
        font-size: 16px;
    }
}
