:root {
    --bg: #fff7ed;
    --panel: #ffffff;
    --panel-soft: #fffaf5;
    --text: #1f2937;
    --muted: #6b7280;
    --line: #fed7aa;
    --orange: #f97316;
    --orange-dark: #ea580c;
    --amber: #f59e0b;
    --amber-soft: #fef3c7;
    --shadow: 0 20px 45px rgba(234, 88, 12, 0.15);
    --shadow-soft: 0 12px 28px rgba(234, 88, 12, 0.10);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 8% 6%, rgba(251, 146, 60, 0.20), transparent 28rem),
        radial-gradient(circle at 92% 0%, rgba(245, 158, 11, 0.18), transparent 30rem),
        linear-gradient(180deg, #fff7ed 0%, #ffffff 36%, #fff7ed 100%);
}

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px);
    background: rgba(255, 247, 237, 0.86);
    border-bottom: 1px solid rgba(254, 215, 170, 0.8);
    box-shadow: 0 10px 30px rgba(234, 88, 12, 0.08);
}

.site-nav {
    max-width: 1220px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

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

.brand-mark {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--amber), var(--orange));
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(249, 115, 22, 0.34);
    transform: translateZ(0);
}

.brand-text {
    display: grid;
    gap: 2px;
}

.brand-text strong,
.footer-brand strong {
    font-size: 22px;
    line-height: 1;
    letter-spacing: -0.03em;
    background: linear-gradient(90deg, #d97706, var(--orange-dark));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-text em {
    font-style: normal;
    font-size: 12px;
    color: var(--muted);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    position: relative;
    padding: 10px 14px;
    border-radius: 999px;
    color: #4b5563;
    font-size: 15px;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--orange-dark);
    background: rgba(255, 237, 213, 0.95);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: #ffffff;
    color: var(--orange-dark);
    box-shadow: var(--shadow-soft);
    cursor: pointer;
}

main {
    min-height: 60vh;
}

.hero-carousel {
    position: relative;
    overflow: hidden;
    min-height: 680px;
    padding: 76px 20px 40px;
    isolation: isolate;
}

.hero-layer {
    position: absolute;
    border-radius: 999px;
    filter: blur(12px);
    opacity: 0.55;
    z-index: -1;
}

.hero-layer.one {
    width: 540px;
    height: 540px;
    right: -140px;
    top: 50px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.28), transparent 68%);
}

.hero-layer.two {
    width: 420px;
    height: 420px;
    left: -120px;
    bottom: 40px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.24), transparent 70%);
}

.hero-slides {
    max-width: 1220px;
    margin: 0 auto;
    position: relative;
    min-height: 470px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.72fr);
    align-items: center;
    gap: 64px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(26px) scale(0.985);
    transition: opacity 0.55s ease, transform 0.55s ease, visibility 0.55s ease;
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 8px 13px;
    border-radius: 999px;
    color: var(--orange-dark);
    background: #fff7ed;
    border: 1px solid var(--line);
    font-weight: 700;
    font-size: 14px;
    box-shadow: var(--shadow-soft);
}

.eyebrow span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--orange), var(--amber));
    box-shadow: 0 0 0 5px rgba(249, 115, 22, 0.14);
}

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

.hero-copy h1 span {
    background: linear-gradient(90deg, #d97706, var(--orange), var(--amber));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-copy p {
    max-width: 720px;
    margin: 24px 0 0;
    color: #5b6472;
    font-size: 18px;
    line-height: 1.85;
}

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

.hero-tags {
    margin: 24px 0 0;
}

.hero-tags span,
.detail-tags span,
.movie-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid rgba(254, 215, 170, 0.9);
    font-size: 12px;
    font-weight: 700;
}

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

.primary-button,
.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 16px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.ghost-button {
    color: #374151;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(254, 215, 170, 0.96);
}

.primary-button:hover,
.ghost-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow);
}

.hero-poster {
    position: relative;
    display: block;
    min-height: 460px;
    border-radius: 34px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(255, 237, 213, 0.9);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.hero-poster img {
    width: 100%;
    height: 100%;
    min-height: 436px;
    object-fit: cover;
    border-radius: 26px;
    background: linear-gradient(135deg, #fed7aa, #fff7ed);
}

.hero-poster strong {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 28px;
    padding: 12px 14px;
    border-radius: 16px;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.08), rgba(17, 24, 39, 0.72));
    backdrop-filter: blur(8px);
}

.hero-glow {
    position: absolute;
    inset: -24px;
    z-index: -1;
    border-radius: 40px;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.34), rgba(245, 158, 11, 0.22));
    filter: blur(22px);
}

.hero-thumbs {
    max-width: 1220px;
    margin: 34px auto 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.hero-dot {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 74px;
    padding: 8px;
    border: 1px solid rgba(254, 215, 170, 0.9);
    border-radius: 18px;
    color: #4b5563;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    text-align: left;
    transition: transform 0.2s ease, border 0.2s ease, background 0.2s ease;
}

.hero-dot img {
    width: 46px;
    height: 58px;
    border-radius: 12px;
    object-fit: cover;
    background: linear-gradient(135deg, #fed7aa, #fff7ed);
}

.hero-dot span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 800;
    line-height: 1.35;
}

.hero-dot.active,
.hero-dot:hover {
    color: var(--orange-dark);
    border-color: rgba(249, 115, 22, 0.58);
    background: #fff7ed;
    transform: translateY(-2px);
}

.content-section {
    max-width: 1220px;
    margin: 0 auto;
    padding: 48px 20px;
}

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

.heading-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.heading-icon {
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    border-radius: 16px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--orange), var(--amber));
    box-shadow: var(--shadow-soft);
}

.section-heading h2 {
    margin: 0 0 4px;
    font-size: clamp(26px, 3vw, 36px);
    letter-spacing: -0.04em;
}

.section-heading p {
    margin: 0;
    color: var(--muted);
}

.section-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--orange-dark);
    font-weight: 800;
}

.section-link span {
    transition: transform 0.2s ease;
}

.section-link:hover span {
    transform: translateX(4px);
}

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

.category-chip {
    min-height: 118px;
    padding: 20px;
    border-radius: 22px;
    background: linear-gradient(145deg, #ffffff, #fff7ed);
    border: 1px solid rgba(254, 215, 170, 0.92);
    box-shadow: var(--shadow-soft);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border 0.22s ease;
}

.category-chip strong {
    display: block;
    margin-bottom: 9px;
    color: #111827;
    font-size: 20px;
}

.category-chip span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.category-chip:hover,
.movie-card:hover,
.category-overview-card:hover {
    transform: translateY(-6px);
    border-color: rgba(249, 115, 22, 0.48);
    box-shadow: var(--shadow);
}

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

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

.movie-card {
    overflow: hidden;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(254, 215, 170, 0.92);
    box-shadow: var(--shadow-soft);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border 0.22s ease;
}

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4.2;
    overflow: hidden;
    background: linear-gradient(135deg, #fed7aa, #fff7ed);
}

.poster-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, #fed7aa, #fff7ed);
    transition: transform 0.36s ease, opacity 0.18s ease;
}

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

.poster-shine {
    position: absolute;
    inset: auto 0 0;
    height: 45%;
    background: linear-gradient(180deg, transparent, rgba(17, 24, 39, 0.55));
}

.poster-play {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--orange), var(--amber));
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

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

.movie-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 10px;
    color: var(--orange-dark);
    font-size: 12px;
    font-weight: 800;
}

.movie-meta-line span {
    padding: 4px 8px;
    border-radius: 999px;
    background: #fff7ed;
}

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

.movie-card h3 a:hover {
    color: var(--orange-dark);
}

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

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: start;
}

.rank-panel {
    position: sticky;
    top: 92px;
    padding: 20px;
    border-radius: 26px;
    background: linear-gradient(180deg, #ffffff, #fff7ed);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}

.rank-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.rank-panel-head h2 {
    margin: 0;
    font-size: 24px;
}

.rank-panel-head a {
    color: var(--orange-dark);
    font-weight: 800;
}

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

.rank-item {
    display: grid;
    grid-template-columns: 34px 64px minmax(0, 1fr) 20px;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(254, 215, 170, 0.75);
    transition: transform 0.2s ease, background 0.2s ease, border 0.2s ease;
}

.rank-item:hover {
    transform: translateX(4px);
    background: #fff7ed;
    border-color: rgba(249, 115, 22, 0.46);
}

.rank-number {
    color: var(--orange-dark);
    font-weight: 900;
    font-size: 18px;
}

.rank-thumb {
    width: 64px;
    height: 78px;
    overflow: hidden;
    border-radius: 12px;
    background: linear-gradient(135deg, #fed7aa, #fff7ed);
}

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

.rank-copy {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.rank-copy strong,
.rank-copy em {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-copy em {
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
}

.rank-arrow {
    color: var(--orange-dark);
    font-size: 24px;
}

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

.gradient-callout {
    margin-top: 42px;
    margin-bottom: 72px;
    border-radius: 32px;
    text-align: center;
    color: #ffffff;
    background: linear-gradient(100deg, var(--orange), var(--amber), var(--orange));
    box-shadow: var(--shadow);
}

.gradient-callout h2 {
    margin: 0 0 12px;
    font-size: clamp(28px, 4vw, 42px);
}

.gradient-callout p {
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 18px;
}

.gradient-callout a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 26px;
    border-radius: 16px;
    color: var(--orange-dark);
    background: #ffffff;
    font-weight: 900;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 86px 20px 70px;
    background:
        radial-gradient(circle at 84% 12%, rgba(255, 255, 255, 0.36), transparent 18rem),
        linear-gradient(110deg, #f97316, #f59e0b);
    color: #ffffff;
}

.page-hero > div {
    max-width: 1220px;
    margin: 0 auto;
}

.page-hero .eyebrow {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.14);
    box-shadow: none;
}

.page-hero .eyebrow span {
    background: #ffffff;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.2);
}

.page-hero h1 {
    margin: 0;
    max-width: 850px;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.08;
    letter-spacing: -0.06em;
}

.page-hero p {
    max-width: 760px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 18px;
    line-height: 1.8;
}

.slim-hero {
    padding-bottom: 56px;
}

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

.category-overview-card {
    overflow: hidden;
    border-radius: 26px;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border 0.22s ease;
}

.category-overview-head {
    display: block;
    padding: 26px;
    background: linear-gradient(135deg, #fff7ed, #ffffff);
}

.category-overview-head h2 {
    margin: 0 0 10px;
    font-size: 28px;
}

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

.category-overview-head span {
    color: var(--orange-dark);
    font-weight: 900;
}

.category-mini-list {
    display: grid;
    padding: 0 20px 20px;
}

.category-mini-list a {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid #ffedd5;
    color: #374151;
}

.category-mini-list a:hover {
    color: var(--orange-dark);
}

.category-mini-list em {
    color: var(--muted);
    font-style: normal;
}

.filter-bar {
    position: sticky;
    top: 80px;
    z-index: 10;
    display: grid;
    gap: 14px;
    margin-bottom: 26px;
    padding: 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(12px);
}

.filter-bar input {
    width: 100%;
    min-height: 52px;
    padding: 0 18px;
    border: 2px solid #fed7aa;
    border-radius: 16px;
    outline: 0;
    color: #374151;
    background: #ffffff;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.filter-bar input:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.13);
}

.filter-buttons,
.filter-groups {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-buttons button {
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid #fed7aa;
    border-radius: 999px;
    color: #4b5563;
    background: #ffffff;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.filter-buttons button.active,
.filter-buttons button:hover {
    color: #ffffff;
    background: linear-gradient(90deg, var(--orange), var(--amber));
    transform: translateY(-1px);
}

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

.detail-hero {
    position: relative;
    overflow: hidden;
    min-height: 560px;
    color: #ffffff;
    background: #111827;
}

.detail-bg {
    position: absolute;
    inset: 0;
    opacity: 0.28;
    filter: blur(9px) saturate(1.2);
    transform: scale(1.06);
}

.detail-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, #7c2d12, #111827);
}

.detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 24%, rgba(249, 115, 22, 0.22), transparent 32rem),
        linear-gradient(90deg, rgba(17, 24, 39, 0.96), rgba(17, 24, 39, 0.68) 54%, rgba(17, 24, 39, 0.84));
}

.detail-wrap {
    position: relative;
    z-index: 1;
    max-width: 1220px;
    margin: 0 auto;
    padding: 34px 20px 64px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
}

.breadcrumb a:hover {
    color: #ffffff;
}

.breadcrumb em {
    color: #ffffff;
    font-style: normal;
}

.detail-grid {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 42px;
    align-items: center;
}

.detail-cover {
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(135deg, #fed7aa, #111827);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
}

.detail-cover img {
    width: 100%;
    aspect-ratio: 3 / 4.2;
    object-fit: cover;
    background: linear-gradient(135deg, #fed7aa, #111827);
}

.detail-copy h1 {
    margin: 0;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.08;
    letter-spacing: -0.06em;
}

.detail-one-line {
    max-width: 820px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
    line-height: 1.8;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0 18px;
}

.detail-meta span {
    padding: 7px 12px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.detail-tags {
    margin-bottom: 28px;
}

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

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: #0f172a;
    box-shadow: 0 34px 80px rgba(15, 23, 42, 0.23);
    aspect-ratio: 16 / 9;
}

.movie-player {
    width: 100%;
    height: 100%;
    display: block;
    background: #0f172a;
    object-fit: contain;
}

.play-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    gap: 16px;
    color: #ffffff;
    border: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.22), rgba(15, 23, 42, 0.72));
    cursor: pointer;
}

.play-overlay.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.big-play {
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--orange), var(--amber));
    box-shadow: 0 20px 46px rgba(0, 0, 0, 0.25);
    font-size: 34px;
}

.play-overlay strong {
    max-width: 80%;
    text-align: center;
    font-size: clamp(20px, 3vw, 34px);
}

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

.article-card {
    padding: 30px;
    border-radius: 26px;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}

.article-card h2 {
    margin: 0 0 14px;
    font-size: 26px;
}

.article-card p {
    margin: 0;
    color: #4b5563;
    line-height: 1.95;
}

.site-footer {
    margin-top: 38px;
    padding: 56px 20px 26px;
    background: linear-gradient(180deg, #fff7ed, #ffedd5);
    border-top: 1px solid var(--line);
}

.footer-grid {
    max-width: 1220px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
    gap: 34px;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.site-footer p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.site-footer h3 {
    margin: 0 0 14px;
    font-size: 18px;
}

.site-footer a {
    display: block;
    margin: 9px 0;
    color: #5b6472;
}

.site-footer a:hover {
    color: var(--orange-dark);
}

.footer-bottom {
    max-width: 1220px;
    margin: 34px auto 0;
    padding-top: 22px;
    border-top: 1px solid rgba(249, 115, 22, 0.18);
    color: var(--muted);
    font-size: 14px;
}

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

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

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

    .rank-panel {
        position: static;
    }
}

@media (max-width: 860px) {
    .site-nav {
        flex-wrap: wrap;
    }

    .nav-toggle {
        display: inline-grid;
        place-items: center;
    }

    .nav-links {
        display: none;
        width: 100%;
        padding-top: 10px;
        flex-direction: column;
        align-items: stretch;
    }

    .site-header.is-open .nav-links {
        display: flex;
    }

    .nav-link {
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.72);
    }

    .hero-carousel {
        min-height: auto;
        padding-top: 42px;
    }

    .hero-slides {
        min-height: 780px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hero-poster {
        min-height: 380px;
    }

    .hero-poster img {
        min-height: 356px;
    }

    .hero-thumbs {
        grid-template-columns: 1fr;
    }

    .hero-dot:nth-child(n+4) {
        display: none;
    }

    .movie-grid,
    .small-grid,
    .compact-grid,
    .full-rank-list,
    .category-overview-grid,
    .detail-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

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

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

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

    .hero-copy h1,
    .detail-copy h1,
    .page-hero h1 {
        letter-spacing: -0.04em;
    }

    .hero-slides {
        min-height: 740px;
    }

    .hero-copy p,
    .page-hero p,
    .detail-one-line {
        font-size: 16px;
    }

    .movie-grid,
    .small-grid,
    .compact-grid,
    .full-rank-list,
    .category-chip-grid,
    .category-overview-grid,
    .detail-content,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

    .content-section {
        padding: 36px 16px;
    }

    .player-shell {
        border-radius: 20px;
    }

    .article-card {
        padding: 22px;
    }
}
