:root {
    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-200: #fde68a;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --orange-50: #fff7ed;
    --orange-500: #f97316;
    --orange-600: #ea580c;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --shadow: 0 16px 45px rgba(17, 24, 39, 0.12);
    --soft-shadow: 0 10px 30px rgba(217, 119, 6, 0.16);
    --radius-xl: 28px;
    --radius-lg: 18px;
    --radius-md: 14px;
    --max-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    color: var(--gray-800);
    background: linear-gradient(135deg, #fffaf0 0%, #ffffff 42%, #fff7ed 100%);
    min-height: 100vh;
}

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(245, 158, 11, 0.18);
    box-shadow: 0 8px 26px rgba(17, 24, 39, 0.08);
    backdrop-filter: blur(14px);
}

.nav-wrap {
    max-width: var(--max-width);
    height: 68px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(90deg, var(--amber-600), var(--orange-600));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
    color: var(--white);
    box-shadow: var(--soft-shadow);
    font-size: 15px;
    transform: translateZ(0);
    transition: transform 0.3s ease;
}

.brand:hover .brand-icon,
.footer-brand:hover .brand-icon {
    transform: scale(1.08);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-link,
.nav-dropdown button {
    position: relative;
    border: 0;
    background: transparent;
    color: var(--gray-700);
    font-weight: 700;
    cursor: pointer;
    padding: 8px 0;
}

.nav-link::after,
.nav-dropdown button::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--amber-600);
    transition: width 0.28s ease;
}

.nav-link:hover,
.nav-link.active,
.nav-dropdown button:hover {
    color: var(--amber-600);
}

.nav-link:hover::after,
.nav-link.active::after,
.nav-dropdown:hover button::after {
    width: 100%;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: 36px;
    right: 0;
    width: 180px;
    padding: 12px;
    display: grid;
    gap: 8px;
    background: var(--white);
    border: 1px solid rgba(245, 158, 11, 0.18);
    border-radius: 16px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: 0.25s ease;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    padding: 8px 10px;
    border-radius: 10px;
    color: var(--gray-600);
}

.nav-dropdown-menu a:hover {
    background: var(--amber-50);
    color: var(--amber-600);
}

.mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: var(--amber-50);
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--gray-700);
    transition: 0.25s ease;
}

.mobile-nav {
    display: none;
    padding: 14px 20px 18px;
    border-top: 1px solid var(--gray-200);
    background: var(--white);
}

.mobile-nav a {
    display: block;
    padding: 10px 14px;
    border-radius: 12px;
    color: var(--gray-700);
    font-weight: 700;
}

.mobile-nav a:hover {
    background: var(--amber-50);
    color: var(--amber-600);
}

.mobile-nav.open {
    display: block;
}

.hero-section {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--amber-100), var(--orange-50) 48%, #fff 100%);
}

.hero-blob {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 999px;
    filter: blur(34px);
    opacity: 0.32;
    mix-blend-mode: multiply;
    animation: blobMove 10s infinite alternate ease-in-out;
}

.hero-blob-one {
    top: 70px;
    left: 5%;
    background: var(--amber-500);
}

.hero-blob-two {
    right: 8%;
    top: 140px;
    background: var(--orange-500);
    animation-delay: 1.8s;
}

.hero-blob-three {
    left: 45%;
    bottom: -130px;
    background: var(--amber-200);
    animation-delay: 3s;
}

@keyframes blobMove {
    from {
        transform: translate3d(0, 0, 0) scale(1);
    }
    to {
        transform: translate3d(26px, -22px, 0) scale(1.12);
    }
}

.hero-stage {
    position: relative;
    z-index: 1;
    max-width: var(--max-width);
    min-height: 560px;
    margin: 0 auto;
    padding: 44px 20px;
    display: flex;
    align-items: center;
}

.hero-slide {
    position: absolute;
    inset: 44px 20px;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 56px;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(18px);
    transition: 0.6s ease;
}

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

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

.eyebrow,
.section-title span,
.page-hero span,
.rank-copy span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
    color: var(--amber-600);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 13px;
}

.hero-copy h1 {
    margin: 0 0 22px;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.02;
    letter-spacing: -0.045em;
    background: linear-gradient(90deg, var(--amber-600), var(--orange-600), #92400e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-copy p {
    margin: 0 0 24px;
    color: var(--gray-600);
    font-size: 19px;
    line-height: 1.78;
}

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

.hero-tags span,
.detail-tags span {
    padding: 7px 12px;
    border: 1px solid rgba(217, 119, 6, 0.25);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--amber-600);
    font-size: 13px;
    font-weight: 700;
}

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

.primary-btn,
.ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
    border-radius: 999px;
    font-weight: 900;
    transition: 0.28s ease;
}

.primary-btn {
    color: var(--white);
    background: linear-gradient(90deg, var(--amber-600), var(--orange-600));
    box-shadow: var(--soft-shadow);
}

.primary-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 18px 45px rgba(217, 119, 6, 0.3);
}

.ghost-btn {
    color: var(--amber-600);
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(217, 119, 6, 0.24);
}

.ghost-btn:hover {
    background: var(--white);
    transform: translateY(-2px);
}

.hero-poster {
    position: relative;
    min-height: 440px;
    border-radius: 34px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(146, 64, 14, 0.24);
    transform: rotate(1.5deg);
}

.hero-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.76));
}

.hero-poster img {
    width: 100%;
    height: 100%;
    min-height: 440px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-poster:hover img {
    transform: scale(1.06);
}

.hero-poster span {
    position: absolute;
    z-index: 2;
    left: 24px;
    right: 24px;
    bottom: 24px;
    color: var(--white);
    font-size: 28px;
    font-weight: 900;
}

.hero-controls {
    position: absolute;
    z-index: 3;
    left: 20px;
    right: 20px;
    bottom: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
}

.hero-arrow,
.hero-dot {
    border: 0;
    cursor: pointer;
}

.hero-arrow {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    color: var(--amber-600);
    background: rgba(255, 255, 255, 0.82);
    font-size: 30px;
    line-height: 1;
    box-shadow: var(--soft-shadow);
}

.hero-dots {
    display: flex;
    gap: 8px;
    padding: 9px 12px;
    background: rgba(255, 255, 255, 0.72);
    border-radius: 999px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--amber-200);
}

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

.search-band,
.quick-cats,
.section-wrap,
.rank-entry,
.detail-layout,
.site-footer .footer-grid,
.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.search-band {
    margin-top: -36px;
    position: relative;
    z-index: 4;
    padding-top: 24px;
    padding-bottom: 24px;
    display: grid;
    grid-template-columns: 1fr minmax(300px, 520px);
    gap: 24px;
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(245, 158, 11, 0.18);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.search-band h2 {
    margin: 0 0 6px;
    font-size: 26px;
}

.search-band p {
    margin: 0;
    color: var(--gray-600);
}

.site-search,
.filter-search {
    display: flex;
    gap: 10px;
}

.site-search input,
.filter-search input {
    flex: 1;
    min-width: 0;
    height: 48px;
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    padding: 0 18px;
    outline: none;
    background: var(--white);
}

.site-search input:focus,
.filter-search input:focus {
    border-color: var(--amber-500);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.14);
}

.site-search button,
.filter-search button,
.filter-chips button {
    height: 48px;
    border: 0;
    border-radius: 999px;
    padding: 0 20px;
    color: var(--white);
    font-weight: 900;
    cursor: pointer;
    background: linear-gradient(90deg, var(--amber-600), var(--orange-600));
}

.quick-cats {
    padding-top: 32px;
    padding-bottom: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.quick-cats a {
    padding: 10px 15px;
    border-radius: 999px;
    color: var(--gray-700);
    background: var(--white);
    border: 1px solid rgba(245, 158, 11, 0.18);
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.05);
}

.quick-cats a:hover {
    color: var(--amber-600);
    transform: translateY(-2px);
}

.section-wrap {
    padding-top: 70px;
    padding-bottom: 70px;
}

.section-title {
    text-align: center;
    margin-bottom: 38px;
}

.section-title.compact {
    text-align: left;
    margin-bottom: 24px;
}

.section-title h2 {
    margin: 0 0 12px;
    font-size: clamp(30px, 4vw, 44px);
    color: var(--gray-800);
}

.section-title p {
    margin: 0 auto;
    max-width: 640px;
    color: var(--gray-600);
    font-size: 17px;
    line-height: 1.7;
}

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

.movie-card {
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: 0 9px 24px rgba(17, 24, 39, 0.08);
    transition: 0.28s ease;
}

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

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--gray-100);
}

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

.movie-card:hover img,
.rank-card:hover img,
.category-panel:hover img,
.ranking-hero-card:hover img {
    transform: scale(1.08);
}

.poster-shade {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: 0.28s ease;
}

.movie-card:hover .poster-shade {
    background: rgba(0, 0, 0, 0.38);
}

.play-mark {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--white);
    background: rgba(245, 158, 11, 0.94);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.88);
    transition: 0.28s ease;
}

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

.year-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 8px;
    border-radius: 8px;
    color: var(--white);
    background: var(--amber-500);
    font-size: 12px;
    font-weight: 900;
}

.card-body {
    padding: 13px;
}

.card-body h3 {
    margin: 0 0 7px;
    color: var(--gray-800);
    font-size: 15px;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-body h3 a:hover {
    color: var(--amber-600);
}

.card-meta,
.card-desc {
    margin: 0;
    color: var(--gray-500);
    font-size: 12px;
    line-height: 1.55;
}

.card-desc {
    margin-top: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rank-entry {
    margin-top: 26px;
    margin-bottom: 30px;
    padding-top: 46px;
    padding-bottom: 46px;
    display: grid;
    grid-template-columns: minmax(260px, 0.7fr) 1.3fr;
    gap: 34px;
    background: linear-gradient(135deg, #1f2937, #111827);
    color: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.rank-copy h2 {
    margin: 0 0 16px;
    font-size: 38px;
}

.rank-copy p {
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.8;
}

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

.rank-card {
    display: grid;
    grid-template-columns: 82px 1fr;
    gap: 14px;
    padding: 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: 0.25s ease;
}

.ranking-list .rank-card {
    background: var(--white);
    border-color: rgba(245, 158, 11, 0.18);
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.07);
}

.rank-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.16);
}

.ranking-list .rank-card:hover {
    background: var(--white);
}

.rank-poster {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 12px;
    background: var(--gray-100);
}

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

.rank-no {
    position: absolute;
    top: 6px;
    left: 6px;
    min-width: 26px;
    height: 26px;
    padding: 0 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
    font-size: 12px;
    font-weight: 900;
}

.rank-card h3 {
    margin: 4px 0 8px;
    color: inherit;
    font-size: 16px;
}

.rank-card h3 a:hover {
    color: var(--amber-500);
}

.rank-card p {
    margin: 0 0 10px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    line-height: 1.5;
}

.ranking-list .rank-card p {
    color: var(--gray-500);
}

.rank-card span:not(.rank-no) {
    color: var(--amber-500);
    font-size: 13px;
    font-weight: 900;
}

.category-grid,
.category-large-grid {
    display: grid;
    gap: 22px;
}

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

.category-panel,
.category-card-large {
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid rgba(245, 158, 11, 0.18);
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.07);
    transition: 0.28s ease;
}

.category-panel {
    padding: 14px;
}

.category-panel:hover,
.category-card-large:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.category-thumbs {
    height: 126px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    overflow: hidden;
    border-radius: 14px;
    margin-bottom: 14px;
}

.category-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-panel strong {
    display: block;
    margin-bottom: 6px;
    color: var(--gray-800);
    font-size: 18px;
}

.category-panel span {
    color: var(--gray-500);
    font-size: 13px;
    line-height: 1.5;
}

.page-hero {
    padding: 86px 20px 76px;
    text-align: center;
    background: linear-gradient(135deg, var(--amber-100), var(--orange-50), var(--white));
    border-bottom: 1px solid rgba(245, 158, 11, 0.18);
}

.page-hero h1 {
    max-width: 900px;
    margin: 0 auto 16px;
    color: var(--gray-800);
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.1;
}

.page-hero p {
    max-width: 760px;
    margin: 0 auto;
    color: var(--gray-600);
    font-size: 18px;
    line-height: 1.8;
}

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

.category-card-large {
    padding: 24px;
}

.category-card-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 12px;
}

.category-card-head span {
    color: var(--gray-800);
    font-size: 24px;
    font-weight: 900;
}

.category-card-head strong {
    color: var(--amber-600);
}

.category-card-large p {
    margin: 0 0 18px;
    color: var(--gray-600);
    line-height: 1.7;
}

.category-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-links a {
    padding: 7px 10px;
    border-radius: 999px;
    background: var(--amber-50);
    color: var(--amber-600);
    font-size: 13px;
    font-weight: 800;
}

.filter-panel {
    margin-bottom: 26px;
    padding: 18px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(245, 158, 11, 0.18);
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.filter-chips button {
    height: 38px;
    color: var(--amber-600);
    background: var(--amber-50);
    border: 1px solid rgba(217, 119, 6, 0.22);
}

.filter-chips button.active,
.filter-chips button:hover {
    color: var(--white);
    background: linear-gradient(90deg, var(--amber-600), var(--orange-600));
}

.empty-state {
    display: none;
    padding: 60px 20px;
    text-align: center;
    color: var(--gray-500);
    font-size: 18px;
}

.empty-state.show {
    display: block;
}

.ranking-hero-grid {
    max-width: 860px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 36px auto 0;
}

.ranking-hero-card {
    position: relative;
    min-height: 260px;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: var(--shadow);
    color: var(--white);
}

.ranking-hero-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 38%, rgba(0, 0, 0, 0.82));
}

.ranking-hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.ranking-hero-card strong,
.ranking-hero-card span {
    position: absolute;
    z-index: 2;
    left: 16px;
    right: 16px;
}

.ranking-hero-card strong {
    bottom: 42px;
    font-size: 20px;
}

.ranking-hero-card span {
    bottom: 18px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
}

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

.detail-layout {
    padding-top: 36px;
    padding-bottom: 76px;
}

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

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

.detail-card,
.story-card,
.related-section {
    margin-bottom: 28px;
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow);
    overflow: hidden;
}

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

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

.player-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    cursor: pointer;
    background: radial-gradient(circle at center, rgba(245, 158, 11, 0.16), rgba(0, 0, 0, 0.62));
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-overlay span {
    width: 82px;
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding-left: 5px;
    color: var(--white);
    background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
    box-shadow: 0 22px 55px rgba(245, 158, 11, 0.36);
    font-size: 28px;
}

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

.detail-content {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 28px;
    padding: 28px;
}

.detail-poster {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 14px 32px rgba(17, 24, 39, 0.16);
}

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

.detail-info h1 {
    margin: 0 0 16px;
    color: var(--gray-800);
    font-size: clamp(30px, 4vw, 46px);
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.detail-meta span {
    padding: 8px 11px;
    border-radius: 12px;
    background: var(--gray-100);
    color: var(--gray-600);
    font-weight: 700;
    font-size: 14px;
}

.one-line {
    margin: 22px 0;
    padding: 18px 20px;
    border-left: 4px solid var(--amber-500);
    border-radius: 12px;
    background: var(--amber-50);
    color: var(--gray-700);
    line-height: 1.8;
}

.story-card,
.related-section {
    padding: 28px;
}

.story-card h2 {
    margin: 0 0 14px;
    color: var(--gray-800);
    font-size: 24px;
}

.story-card h2:not(:first-child) {
    margin-top: 28px;
}

.story-card p {
    margin: 0;
    color: var(--gray-700);
    line-height: 1.95;
    font-size: 16px;
}

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

.site-footer {
    padding-top: 50px;
    background: linear-gradient(135deg, var(--amber-50), var(--orange-50));
    border-top: 1px solid rgba(245, 158, 11, 0.18);
}

.footer-grid {
    padding-top: 0;
    padding-bottom: 38px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
    gap: 34px;
}

.footer-grid p {
    color: var(--gray-600);
    line-height: 1.75;
}

.footer-grid h3 {
    margin: 0 0 14px;
    color: var(--gray-800);
}

.footer-grid a:not(.footer-brand) {
    display: block;
    margin: 9px 0;
    color: var(--gray-600);
}

.footer-grid a:hover {
    color: var(--amber-600);
}

.footer-bottom {
    padding-top: 22px;
    padding-bottom: 22px;
    border-top: 1px solid rgba(245, 158, 11, 0.18);
    text-align: center;
    color: var(--gray-500);
    font-size: 14px;
}

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

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

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

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

    .mobile-toggle {
        display: block;
    }

    .hero-section,
    .hero-stage {
        min-height: 700px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        gap: 24px;
        align-content: center;
    }

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

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

    .search-band,
    .rank-entry,
    .detail-content,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .category-large-grid,
    .ranking-hero-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .brand,
    .footer-brand {
        font-size: 20px;
    }

    .hero-section,
    .hero-stage {
        min-height: 760px;
    }

    .hero-stage {
        padding: 28px 16px;
    }

    .hero-slide {
        inset: 28px 16px 76px;
    }

    .hero-copy p {
        font-size: 16px;
    }

    .search-band,
    .section-wrap,
    .rank-entry,
    .detail-layout {
        padding-left: 16px;
        padding-right: 16px;
    }

    .site-search,
    .filter-search {
        flex-direction: column;
    }

    .quick-cats {
        padding-left: 16px;
        padding-right: 16px;
    }

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

    .rank-card {
        grid-template-columns: 74px 1fr;
    }

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

    .story-card,
    .related-section {
        padding: 20px;
    }
}

@media (max-width: 420px) {
    .movie-grid,
    .related-grid,
    .ranking-list,
    .rank-grid,
    .category-grid {
        grid-template-columns: 1fr;
    }
}
