:root {
    --amber: #f59e0b;
    --amber-dark: #d97706;
    --orange: #f97316;
    --rose: #f43f5e;
    --teal: #14b8a6;
    --green: #22c55e;
    --slate: #0f172a;
    --ink: #1f2937;
    --muted: #6b7280;
    --line: rgba(15, 23, 42, 0.1);
    --paper: #ffffff;
    --soft: #fff7ed;
    --shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    background: linear-gradient(135deg, #fff7ed 0%, #fffbeb 45%, #fef3c7 100%);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(251, 191, 36, 0.25);
    background: rgba(255, 251, 235, 0.88);
    backdrop-filter: blur(18px);
}

.header-inner {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 900;
    color: #78350f;
    white-space: nowrap;
}

.logo-mark {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--amber), var(--orange));
    box-shadow: 0 12px 24px rgba(245, 158, 11, 0.32);
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
}

.main-nav a {
    padding: 10px 14px;
    border-radius: 999px;
    color: #92400e;
    font-weight: 700;
    transition: color 0.2s ease, background 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
    color: #ffffff;
    background: linear-gradient(135deg, var(--amber), var(--orange));
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.global-search {
    position: relative;
    width: min(340px, 28vw);
}

.global-search input,
.filter-panel input,
.home-search-box input {
    width: 100%;
    border: 1px solid rgba(245, 158, 11, 0.28);
    border-radius: 999px;
    outline: none;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--ink);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.08);
}

.global-search-results {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: min(420px, 92vw);
    max-height: 460px;
    overflow: auto;
    display: none;
    padding: 12px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
    border: 1px solid rgba(245, 158, 11, 0.24);
}

.global-search-results.is-open {
    display: block;
}

.search-result-item {
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 12px;
    padding: 10px;
    border-radius: 16px;
    transition: background 0.2s ease;
}

.search-result-item:hover {
    background: #fff7ed;
}

.search-result-item img {
    width: 62px;
    height: 82px;
    object-fit: cover;
    border-radius: 12px;
}

.search-result-item strong {
    display: block;
    color: #78350f;
    font-size: 15px;
    line-height: 1.3;
}

.search-result-item span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 13px;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--amber), var(--orange));
}

.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: #111827;
}

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

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

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

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.03);
    transition: transform 7s ease;
}

.hero-slide.is-active .hero-image {
    transform: scale(1.1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.45) 42%, rgba(0, 0, 0, 0.1)), linear-gradient(0deg, rgba(0, 0, 0, 0.75), transparent 62%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 40px));
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #ffffff;
}

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

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

.hero-tags span {
    padding: 7px 12px;
    color: #ffffff;
    background: rgba(245, 158, 11, 0.9);
}

.hero h1 {
    max-width: 760px;
    margin: 20px 0 14px;
    font-size: clamp(40px, 7vw, 78px);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.hero p {
    max-width: 760px;
    margin: 0 0 18px;
    color: #e5e7eb;
    font-size: clamp(17px, 2vw, 22px);
}

.hero-meta,
.detail-meta,
.movie-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.hero-meta span,
.detail-meta span {
    padding: 7px 12px;
    border-radius: 999px;
    color: #fef3c7;
    background: rgba(255, 255, 255, 0.14);
}

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

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

.primary-btn,
.home-search-box button {
    color: #ffffff;
    background: linear-gradient(135deg, var(--amber), var(--orange));
    box-shadow: 0 18px 34px rgba(245, 158, 11, 0.3);
    border: 0;
}

.ghost-btn {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.26);
}

.primary-btn:hover,
.ghost-btn:hover,
.home-search-box button:hover,
.text-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 38px rgba(245, 158, 11, 0.28);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.32);
    font-size: 34px;
    line-height: 1;
    transform: translateY(-50%);
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
    background: rgba(0, 0, 0, 0.55);
    transform: translateY(-50%) scale(1.05);
}

.hero-arrow.prev {
    left: 24px;
}

.hero-arrow.next {
    right: 24px;
}

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

.hero-dot {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.52);
    transition: width 0.2s ease, background 0.2s ease;
}

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

.home-search-band,
.page-section,
.category-showcase,
.filter-panel,
.ranking-layout,
.detail-content,
.player-section {
    width: min(1280px, calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
}

.home-search-band {
    display: grid;
    grid-template-columns: 1fr minmax(320px, 520px);
    align-items: center;
    gap: 28px;
    margin-top: 42px;
    padding: 28px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: var(--shadow);
    border: 1px solid rgba(245, 158, 11, 0.22);
}

.home-search-content h2 {
    margin: 0 0 6px;
    font-size: 32px;
    color: #78350f;
}

.home-search-content p {
    margin: 0;
    color: var(--muted);
}

.home-search-box {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.page-section,
.category-showcase {
    margin-top: 72px;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.section-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--amber), var(--orange));
    box-shadow: 0 12px 28px rgba(245, 158, 11, 0.25);
}

.section-heading.rose .section-icon {
    background: linear-gradient(135deg, #ef4444, var(--rose));
}

.section-heading.teal .section-icon {
    background: linear-gradient(135deg, var(--teal), #06b6d4);
}

.section-heading.green .section-icon {
    background: linear-gradient(135deg, var(--green), #16a34a);
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 40px);
    color: #1f2937;
}

.section-heading span {
    flex: 1;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.28), transparent);
}

.movie-grid {
    display: grid;
    gap: 22px;
}

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

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

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

.movie-card {
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 46px rgba(15, 23, 42, 0.18);
}

.movie-card-link {
    display: block;
    height: 100%;
}

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

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

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

.poster-shade {
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.66), transparent);
    transition: opacity 0.2s ease;
}

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

.play-mark,
.big-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    background: var(--amber);
}

.play-mark {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 58px;
    height: 58px;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.78);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.type-badge,
.rank-badge {
    position: absolute;
    top: 12px;
    z-index: 3;
    padding: 5px 9px;
    border-radius: 8px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
}

.type-badge {
    right: 12px;
    background: var(--amber);
}

.rank-badge {
    left: 12px;
    background: linear-gradient(135deg, #ef4444, var(--rose));
}

.movie-info {
    padding: 16px;
}

.movie-info h3 {
    margin: 0 0 8px;
    color: #1f2937;
    font-size: 18px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.movie-card:hover .movie-info h3 {
    color: var(--amber-dark);
}

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

.movie-meta {
    justify-content: space-between;
    color: #6b7280;
    font-size: 13px;
}

.tag-row {
    margin-top: 12px;
}

.tag-row span {
    padding: 4px 8px;
    color: #6b7280;
    background: #f3f4f6;
}

.compact-card .movie-poster {
    aspect-ratio: 16 / 9;
}

.compact-card .movie-info p {
    min-height: 0;
}

.glass-section {
    padding: 34px;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow);
}

.dark-section {
    padding: 38px;
    border-radius: 32px;
    background: linear-gradient(135deg, #1e293b, #020617);
    box-shadow: var(--shadow);
}

.dark-section .section-heading h2 {
    color: #ffffff;
}

.dark-section .section-heading span {
    background: linear-gradient(90deg, rgba(34, 197, 94, 0.38), transparent);
}

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

.category-chip-card {
    min-height: 150px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 247, 237, 0.86));
    border: 1px solid rgba(245, 158, 11, 0.2);
    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-chip-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 42px rgba(245, 158, 11, 0.18);
}

.category-chip-card strong {
    color: #78350f;
    font-size: 22px;
}

.category-chip-card span {
    margin-top: 12px;
    color: var(--muted);
    font-size: 14px;
}

.category-showcase,
.category-panel {
    padding: 30px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.18);
}

.category-showcase-head,
.category-panel {
    display: grid;
    grid-template-columns: 0.9fr 1.6fr;
    gap: 28px;
    align-items: center;
}

.category-showcase-head {
    grid-template-columns: 1fr auto;
    margin-bottom: 22px;
}

.category-showcase h2,
.category-panel h2 {
    margin: 0 0 8px;
    color: #78350f;
    font-size: 30px;
}

.category-showcase p,
.category-panel p {
    margin: 0;
    color: var(--muted);
}

.category-showcase-head a,
.text-link {
    color: #ffffff;
    background: linear-gradient(135deg, var(--teal), #06b6d4);
}

.sub-page {
    padding-bottom: 80px;
}

.page-hero {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #ffffff;
    background: radial-gradient(circle at 18% 20%, rgba(245, 158, 11, 0.85), transparent 28%), linear-gradient(135deg, #0f172a, #78350f 52%, #f97316);
}

.page-hero > div {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
}

.page-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(38px, 6vw, 64px);
    letter-spacing: -0.04em;
}

.page-hero p {
    max-width: 760px;
    margin: 0;
    color: #fef3c7;
    font-size: 18px;
}

.crumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
}

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

.filter-panel {
    margin-top: 34px;
    padding: 22px;
    display: grid;
    gap: 16px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow);
}

.quick-tags button {
    border: 0;
    border-radius: 999px;
    padding: 9px 14px;
    color: #92400e;
    background: #fffbeb;
    font-weight: 800;
    transition: color 0.2s ease, background 0.2s ease;
}

.quick-tags button:hover {
    color: #ffffff;
    background: var(--amber);
}

.category-list-wrap {
    display: grid;
    gap: 26px;
}

.ranking-layout {
    margin-top: 46px;
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 30px;
    align-items: start;
}

.ranking-sidebar {
    position: sticky;
    top: 96px;
    padding: 24px;
    border-radius: 28px;
    color: #ffffff;
    background: linear-gradient(135deg, #1e293b, #020617);
    box-shadow: var(--shadow);
}

.ranking-sidebar h2 {
    margin: 0 0 18px;
    font-size: 26px;
}

.ranking-sidebar ol {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.ranking-sidebar a {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 10px;
    padding: 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.07);
}

.ranking-sidebar span {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--amber);
    font-weight: 900;
}

.ranking-sidebar strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-sidebar em {
    display: block;
    color: #cbd5e1;
    font-size: 12px;
    font-style: normal;
}

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

.detail-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--detail-bg);
    background-size: cover;
    background-position: center;
    filter: blur(18px);
    transform: scale(1.12);
    opacity: 0.44;
}

.detail-hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.7), rgba(120, 53, 15, 0.62));
}

.detail-hero-inner {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 32px));
    min-height: 540px;
    margin: 0 auto;
    padding: 70px 0;
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 46px;
    align-items: center;
}

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

.detail-intro h1 {
    margin: 0 0 16px;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.06;
    letter-spacing: -0.04em;
}

.detail-intro p {
    max-width: 820px;
    margin: 0 0 20px;
    color: #e5e7eb;
    font-size: 19px;
}

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

.detail-tags a {
    padding: 7px 12px;
    color: #fef3c7;
    background: rgba(245, 158, 11, 0.18);
    border: 1px solid rgba(245, 158, 11, 0.34);
}

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

.player-stage {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    background: #020617;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.3);
    aspect-ratio: 16 / 9;
}

.player-stage video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #020617;
}

.player-cover {
    position: absolute;
    inset: 0;
    z-index: 2;
    border: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    color: #ffffff;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.18));
}

.player-cover.is-hidden {
    display: none;
}

.big-play {
    width: 92px;
    height: 92px;
    font-size: 38px;
    box-shadow: 0 18px 40px rgba(245, 158, 11, 0.35);
}

.player-cover strong {
    font-size: clamp(22px, 3vw, 36px);
}

.player-status {
    position: absolute;
    left: 20px;
    bottom: 18px;
    z-index: 3;
    color: #fef3c7;
    font-size: 14px;
}

.detail-content {
    margin-top: 42px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
}

.story-card {
    padding: 28px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.18);
}

.story-card h2 {
    margin: 0 0 14px;
    color: #78350f;
    font-size: 26px;
}

.story-card p {
    margin: 0;
    color: #374151;
    font-size: 16px;
}

.amber-card {
    background: linear-gradient(135deg, #fffbeb, #ffffff);
}

.related-section {
    margin-bottom: 74px;
}

.site-footer {
    margin-top: 90px;
    color: #e5e7eb;
    background: linear-gradient(135deg, #1e293b, #020617);
}

.footer-inner {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 42px 0 28px;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 26px;
}

.footer-logo {
    color: #fef3c7;
}

.footer-inner p {
    max-width: 520px;
    color: #cbd5e1;
}

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

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

.footer-links a:hover {
    background: rgba(245, 158, 11, 0.6);
}

.footer-copy {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    text-align: center;
    font-size: 14px;
}

@media (max-width: 1180px) {
    .five-cols,
    .four-cols,
    .category-chip-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

    .ranking-sidebar {
        position: static;
    }
}

@media (max-width: 860px) {
    .header-inner {
        min-height: 66px;
    }

    .main-nav {
        position: fixed;
        left: 16px;
        right: 16px;
        top: 78px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        border-radius: 22px;
        background: rgba(255, 251, 235, 0.98);
        box-shadow: var(--shadow);
    }

    .main-nav.is-open {
        display: flex;
    }

    .global-search {
        width: 42vw;
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .hero {
        height: 560px;
    }

    .hero-content {
        padding-top: 50px;
        justify-content: flex-end;
        padding-bottom: 96px;
    }

    .hero-arrow {
        display: none;
    }

    .home-search-band,
    .home-search-box,
    .category-showcase-head,
    .category-panel,
    .footer-inner,
    .detail-hero-inner {
        grid-template-columns: 1fr;
    }

    .detail-hero-inner {
        gap: 24px;
    }

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

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

    .three-cols,
    .four-cols,
    .five-cols,
    .category-chip-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .header-inner,
    .home-search-band,
    .page-section,
    .category-showcase,
    .filter-panel,
    .ranking-layout,
    .detail-content,
    .player-section,
    .footer-inner,
    .footer-copy {
        width: min(100% - 22px, 1280px);
    }

    .logo span:last-child {
        display: none;
    }

    .global-search {
        width: 52vw;
    }

    .hero {
        height: 520px;
    }

    .hero-actions {
        gap: 8px;
    }

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

    .three-cols,
    .four-cols,
    .five-cols,
    .category-chip-grid {
        grid-template-columns: 1fr;
    }

    .glass-section,
    .dark-section,
    .category-showcase,
    .category-panel,
    .story-card {
        padding: 22px;
        border-radius: 24px;
    }

    .page-hero {
        min-height: 240px;
    }

    .detail-hero-inner {
        padding: 44px 0;
    }
}
