:root {
    color-scheme: light;
    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-200: #fde68a;
    --amber-400: #f59e0b;
    --amber-500: #d97706;
    --amber-700: #92400e;
    --amber-800: #78350f;
    --amber-900: #451a03;
    --stone-50: #fafaf9;
    --stone-100: #f5f5f4;
    --stone-200: #e7e5e4;
    --stone-500: #78716c;
    --stone-700: #44403c;
    --stone-800: #292524;
    --stone-900: #1c1917;
    --text: #1c1917;
    --muted: #706962;
    --surface: rgba(255, 251, 235, 0.88);
    --glass: rgba(69, 26, 3, 0.68);
    --shadow: 0 24px 60px rgba(69, 26, 3, 0.18);
    --radius: 22px;
}

* {
    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", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 8% 6%, rgba(245, 158, 11, 0.20), transparent 28rem),
        radial-gradient(circle at 92% 12%, rgba(120, 53, 15, 0.16), transparent 24rem),
        linear-gradient(180deg, var(--stone-50), var(--amber-50) 38%, var(--stone-100));
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: linear-gradient(90deg, var(--amber-900), var(--amber-800), #9a3412);
    box-shadow: 0 12px 30px rgba(69, 26, 3, 0.28);
}

.header-inner {
    width: min(1180px, calc(100% - 32px));
    height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--amber-50);
    min-width: max-content;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--amber-200), var(--amber-500));
    color: var(--amber-900);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 12px 22px rgba(0, 0, 0, 0.22);
}

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

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

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

.top-search {
    flex: 1;
    max-width: 440px;
    display: flex;
    align-items: center;
    padding: 4px;
    border: 1px solid rgba(253, 230, 138, 0.26);
    border-radius: 999px;
    background: rgba(28, 25, 23, 0.32);
}

.top-search input,
.wide-search input,
.filter-panel input,
.filter-panel select {
    border: 0;
    outline: 0;
    color: var(--stone-900);
}

.top-search input {
    flex: 1;
    min-width: 120px;
    padding: 10px 14px;
    color: var(--amber-50);
    background: transparent;
}

.top-search input::placeholder {
    color: rgba(253, 230, 138, 0.7);
}

.top-search button,
.wide-search button {
    border: 0;
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 700;
    color: var(--amber-900);
    background: linear-gradient(135deg, var(--amber-100), var(--amber-400));
    cursor: pointer;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--amber-50);
    font-weight: 700;
}

.main-nav a,
.mobile-nav a,
.category-strip a {
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover,
.mobile-nav a:hover,
.category-strip a:hover {
    color: var(--amber-200);
}

.mobile-nav {
    display: none;
    border-top: 1px solid rgba(253, 230, 138, 0.15);
    color: var(--amber-50);
}

.category-strip {
    border-top: 1px solid rgba(253, 230, 138, 0.15);
    background: rgba(69, 26, 3, 0.36);
    overflow-x: auto;
}

.category-strip-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    gap: 10px;
    padding: 10px 0;
}

.category-strip a {
    display: inline-flex;
    min-width: max-content;
    padding: 7px 13px;
    border-radius: 999px;
    color: var(--amber-100);
    background: rgba(255, 251, 235, 0.08);
    font-size: 13px;
}

main {
    min-height: 62vh;
}

.hero-carousel {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    background: var(--stone-900);
}

.hero-track,
.hero-slide,
.hero-image,
.hero-vignette {
    position: absolute;
    inset: 0;
}

.hero-slide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s ease;
}

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

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05) contrast(1.03);
    transform: scale(1.02);
}

.hero-vignette {
    background:
        linear-gradient(90deg, rgba(28, 25, 23, 0.92) 0%, rgba(28, 25, 23, 0.68) 38%, rgba(28, 25, 23, 0.2) 100%),
        linear-gradient(0deg, rgba(28, 25, 23, 0.92), transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    min-height: 600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    align-items: center;
    gap: 48px;
    padding: 58px 0 72px;
    color: white;
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    width: max-content;
    max-width: 100%;
    padding: 8px 12px;
    border: 1px solid rgba(253, 230, 138, 0.28);
    border-radius: 999px;
    color: var(--amber-100);
    background: rgba(120, 53, 15, 0.36);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-copy h1,
.hero-copy h2 {
    margin: 18px 0 14px;
    font-size: clamp(38px, 7vw, 82px);
    line-height: 0.96;
    font-weight: 900;
    letter-spacing: -0.06em;
    text-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.hero-copy p {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 251, 235, 0.86);
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.8;
}

.hero-tags,
.detail-tags,
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-tags {
    margin-top: 22px;
}

.hero-tags span,
.detail-tags a,
.tag-row span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: 12px;
}

.hero-tags span,
.detail-tags a {
    padding: 7px 12px;
    color: var(--amber-50);
    background: rgba(255, 251, 235, 0.12);
    backdrop-filter: blur(10px);
}

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

.btn-primary,
.btn-ghost,
.text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    font-weight: 800;
}

.btn-primary {
    padding: 13px 22px;
    color: var(--amber-950, #2b1202);
    background: linear-gradient(135deg, var(--amber-100), var(--amber-400));
    box-shadow: 0 18px 30px rgba(245, 158, 11, 0.28);
}

.btn-ghost {
    padding: 12px 20px;
    border: 1px solid rgba(253, 230, 138, 0.38);
    color: var(--amber-100);
    background: rgba(255, 251, 235, 0.08);
}

.hero-poster-card {
    padding: 12px;
    border: 1px solid rgba(253, 230, 138, 0.22);
    border-radius: 28px;
    background: rgba(28, 25, 23, 0.44);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.hero-poster-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 20px;
}

.hero-poster-card strong,
.hero-poster-card span {
    display: block;
    padding: 0 4px;
}

.hero-poster-card strong {
    margin-top: 12px;
    color: var(--amber-50);
    font-size: 18px;
}

.hero-poster-card span {
    margin-top: 6px;
    color: rgba(253, 230, 138, 0.72);
    font-size: 13px;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(253, 230, 138, 0.25);
    border-radius: 50%;
    color: var(--amber-50);
    background: rgba(28, 25, 23, 0.44);
    transform: translateY(-50%);
    cursor: pointer;
    backdrop-filter: blur(10px);
    font-size: 32px;
    line-height: 1;
}

.hero-prev {
    left: 18px;
}

.hero-next {
    right: 18px;
}

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

.hero-dot {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 251, 235, 0.38);
    cursor: pointer;
}

.hero-dot.is-active {
    width: 30px;
    background: var(--amber-300, #fcd34d);
}

.quick-panel,
.content-section,
.page-hero,
.breadcrumb {
    width: min(1180px, calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
}

.quick-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
    align-items: center;
    gap: 24px;
    margin-top: -46px;
    padding: 26px;
    border: 1px solid rgba(146, 64, 14, 0.12);
    border-radius: 28px;
    background: rgba(255, 251, 235, 0.92);
    box-shadow: var(--shadow);
    position: relative;
    z-index: 8;
    backdrop-filter: blur(16px);
}

.quick-panel h2 {
    margin: 0 0 6px;
    font-size: clamp(24px, 3vw, 34px);
    letter-spacing: -0.04em;
}

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

.wide-search {
    display: flex;
    gap: 10px;
    padding: 8px;
    border-radius: 999px;
    background: var(--stone-100);
    border: 1px solid var(--stone-200);
}

.wide-search input {
    flex: 1;
    min-width: 120px;
    padding: 12px 16px;
    background: transparent;
}

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

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

.section-head span {
    display: block;
    color: var(--amber-700);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.14em;
}

.section-head h2 {
    margin: 6px 0 0;
    font-size: clamp(26px, 4vw, 42px);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.section-head p {
    max-width: 480px;
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

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

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

.movie-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(255, 251, 235, 0.96), rgba(245, 245, 244, 0.96));
    box-shadow: 0 12px 28px rgba(69, 26, 3, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 46px rgba(69, 26, 3, 0.18);
}

.poster-wrap {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, var(--amber-900), var(--stone-800));
}

.movie-card-compact .poster-wrap {
    aspect-ratio: 3 / 4;
}

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

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

.poster-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.76));
}

.poster-topline {
    position: absolute;
    left: 12px;
    right: 12px;
    top: 12px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.poster-topline span {
    padding: 5px 9px;
    border-radius: 999px;
    color: white;
    background: rgba(28, 25, 23, 0.52);
    backdrop-filter: blur(10px);
    font-size: 12px;
    font-weight: 700;
}

.poster-play {
    position: absolute;
    left: 12px;
    bottom: 12px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--amber-900);
    background: var(--amber-100);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.movie-card-body {
    flex: 1;
    padding: 16px;
}

.movie-card-body h3 {
    margin: 0 0 8px;
    color: var(--stone-900);
    font-size: 18px;
    line-height: 1.28;
    letter-spacing: -0.02em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

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

.movie-card-compact .movie-card-body p {
    display: none;
}

.card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.card-foot strong {
    min-width: max-content;
    padding: 5px 9px;
    border-radius: 999px;
    color: var(--stone-700);
    background: var(--stone-200);
    font-size: 12px;
}

.tag-row span {
    padding: 5px 8px;
    color: var(--amber-800);
    background: var(--amber-100);
}

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

.category-tile,
.category-overview-card {
    overflow: hidden;
    border-radius: 24px;
    background: rgba(255, 251, 235, 0.9);
    box-shadow: 0 16px 38px rgba(69, 26, 3, 0.12);
    border: 1px solid rgba(146, 64, 14, 0.1);
}

.category-tile {
    padding: 16px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 46px rgba(69, 26, 3, 0.18);
}

.category-thumbs,
.category-cover-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.category-thumbs img,
.category-cover-row img {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 14px;
    object-fit: cover;
}

.category-tile h3,
.category-overview-card h2 {
    margin: 16px 0 8px;
    font-size: 21px;
    letter-spacing: -0.03em;
}

.category-tile p,
.category-overview-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
    font-size: 14px;
}

.category-tile span,
.text-link {
    margin-top: 14px;
    color: var(--amber-700);
    font-weight: 900;
}

.rank-section {
    padding: 32px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(69, 26, 3, 0.94), rgba(120, 53, 15, 0.88));
    box-shadow: var(--shadow);
}

.rank-section .section-head h2,
.rank-section .section-head p,
.rank-section .section-head span {
    color: var(--amber-50);
}

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

.rank-item {
    display: grid;
    grid-template-columns: 54px 94px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 12px;
    border: 1px solid rgba(253, 230, 138, 0.16);
    border-radius: 18px;
    background: rgba(255, 251, 235, 0.08);
    color: var(--amber-50);
    transition: transform 0.2s ease, background 0.2s ease;
}

.rank-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 251, 235, 0.14);
}

.rank-number {
    font-size: 24px;
    font-weight: 900;
    color: var(--amber-200);
    text-align: center;
}

.rank-item img {
    width: 94px;
    height: 72px;
    object-fit: cover;
    border-radius: 12px;
}

.rank-info h3 {
    margin: 0 0 5px;
    font-size: 17px;
}

.rank-info p {
    margin: 0;
    color: rgba(255, 251, 235, 0.72);
    font-size: 13px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rank-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 7px 0;
    color: rgba(253, 230, 138, 0.78);
    font-size: 12px;
}

.section-more {
    display: flex;
    justify-content: center;
    margin-top: 26px;
}

.page-hero {
    position: relative;
    margin-top: 34px;
    padding: 74px 42px;
    border-radius: 34px;
    overflow: hidden;
    color: white;
    background:
        linear-gradient(135deg, rgba(69, 26, 3, 0.92), rgba(146, 64, 14, 0.82)),
        radial-gradient(circle at 80% 18%, rgba(245, 158, 11, 0.34), transparent 24rem);
    box-shadow: var(--shadow);
}

.small-hero {
    padding: 54px 38px;
}

.page-hero h1 {
    margin: 18px 0 12px;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.page-hero p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 251, 235, 0.82);
    line-height: 1.8;
    font-size: 17px;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px 180px;
    gap: 14px;
    margin-bottom: 26px;
    padding: 14px;
    border-radius: 24px;
    border: 1px solid rgba(146, 64, 14, 0.1);
    background: rgba(255, 251, 235, 0.92);
    box-shadow: 0 14px 34px rgba(69, 26, 3, 0.1);
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 16px;
    background: var(--stone-100);
}

.filter-panel select {
    cursor: pointer;
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 20px;
    padding: 18px;
}

.sample-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.sample-links a {
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--amber-800);
    background: var(--amber-100);
    font-size: 12px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 26px;
    color: var(--stone-500);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--amber-700);
    font-weight: 700;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    margin-top: 22px;
    color: white;
    background: var(--stone-900);
}

.detail-backdrop {
    position: absolute;
    inset: 0;
}

.detail-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(28px) saturate(1.1);
    transform: scale(1.08);
    opacity: 0.4;
}

.detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(28, 25, 23, 0.94), rgba(28, 25, 23, 0.72)),
        linear-gradient(0deg, rgba(28, 25, 23, 0.9), transparent);
}

.detail-main {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 54px 0;
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 34px;
    align-items: center;
}

.detail-cover img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 26px;
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.42);
}

.detail-copy h1 {
    margin: 18px 0 14px;
    font-size: clamp(34px, 5vw, 68px);
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.detail-copy p {
    max-width: 820px;
    margin: 0;
    color: rgba(255, 251, 235, 0.82);
    line-height: 1.8;
    font-size: 18px;
}

.detail-tags {
    margin: 22px 0;
}

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

.detail-meta-grid div {
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 251, 235, 0.1);
    border: 1px solid rgba(253, 230, 138, 0.14);
}

.detail-meta-grid span,
.detail-side dt {
    display: block;
    margin-bottom: 4px;
    color: rgba(253, 230, 138, 0.72);
    font-size: 12px;
}

.detail-meta-grid strong {
    color: var(--amber-50);
}

.player-section {
    margin-top: 42px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: #050505;
    box-shadow: var(--shadow);
    aspect-ratio: 16 / 9;
}

.movie-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #050505;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border: 0;
    color: white;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.72));
    cursor: pointer;
}

.player-shell.is-playing .player-overlay {
    display: none;
}

.large-play {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--amber-900);
    background: var(--amber-100);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    font-size: 30px;
}

.player-overlay strong {
    font-size: clamp(18px, 3vw, 28px);
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

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

.detail-article,
.detail-side {
    padding: 28px;
    border-radius: 26px;
    background: rgba(255, 251, 235, 0.92);
    border: 1px solid rgba(146, 64, 14, 0.1);
    box-shadow: 0 14px 34px rgba(69, 26, 3, 0.1);
}

.detail-article h2,
.detail-side h2 {
    margin: 0 0 16px;
    font-size: 26px;
    letter-spacing: -0.04em;
}

.detail-article h2:not(:first-child) {
    margin-top: 30px;
}

.detail-article p {
    margin: 0;
    color: var(--stone-700);
    line-height: 1.95;
    font-size: 16px;
}

.detail-side dl,
.detail-side dd {
    margin: 0;
}

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

.detail-side div {
    padding-bottom: 14px;
    border-bottom: 1px solid var(--stone-200);
}

.detail-side div:last-child {
    border-bottom: 0;
}

.detail-side dd,
.detail-side a {
    color: var(--stone-800);
    font-weight: 700;
}

.site-footer {
    margin-top: 72px;
    color: var(--amber-100);
    background: linear-gradient(180deg, var(--amber-900), var(--stone-900));
}

.footer-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 44px 0;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 34px;
}

.site-footer h2 {
    margin: 0 0 12px;
    color: var(--amber-50);
    font-size: 18px;
}

.site-footer p {
    margin: 0;
    color: rgba(253, 230, 138, 0.76);
    line-height: 1.8;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-links a {
    color: rgba(253, 230, 138, 0.82);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    padding: 20px 16px;
    border-top: 1px solid rgba(253, 230, 138, 0.14);
    color: rgba(253, 230, 138, 0.7);
    text-align: center;
    font-size: 14px;
}

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

@media (max-width: 1080px) {
    .movie-grid,
    .category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

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

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

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

@media (max-width: 860px) {
    .header-inner {
        height: auto;
        padding: 14px 0;
        flex-wrap: wrap;
        gap: 12px;
    }

    .top-search {
        order: 3;
        width: 100%;
        max-width: none;
    }

    .main-nav {
        display: none;
    }

    .mobile-nav {
        display: flex;
        justify-content: space-around;
        padding: 10px 16px;
    }

    .hero-carousel,
    .hero-content {
        min-height: 560px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        align-items: end;
        padding-bottom: 76px;
    }

    .hero-poster-card {
        display: none;
    }

    .hero-arrow {
        display: none;
    }

    .quick-panel,
    .filter-panel,
    .detail-main,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .detail-main {
        align-items: start;
    }

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

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

@media (max-width: 640px) {
    .brand-text strong {
        font-size: 18px;
    }

    .category-strip-inner,
    .header-inner,
    .quick-panel,
    .content-section,
    .page-hero,
    .breadcrumb,
    .detail-main,
    .footer-inner {
        width: min(100% - 24px, 1180px);
    }

    .hero-carousel,
    .hero-content {
        min-height: 520px;
    }

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

    .hero-copy p,
    .detail-copy p {
        font-size: 15px;
    }

    .quick-panel,
    .page-hero,
    .rank-section,
    .detail-article,
    .detail-side {
        padding: 22px;
        border-radius: 22px;
    }

    .wide-search {
        border-radius: 20px;
        flex-direction: column;
    }

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

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

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

    .movie-card-body p,
    .tag-row {
        display: none;
    }

    .rank-item {
        grid-template-columns: 40px 74px minmax(0, 1fr);
    }

    .rank-item img {
        width: 74px;
        height: 60px;
    }

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

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