:root {
    --page-bg: #fafaf9;
    --surface: #ffffff;
    --surface-soft: #fffbeb;
    --text: #292524;
    --muted: #78716c;
    --line: #e7e5e4;
    --brand: #d97706;
    --brand-dark: #92400e;
    --brand-deep: #7c2d12;
    --brand-soft: #fef3c7;
    --shadow: 0 20px 50px rgba(41, 37, 36, 0.12);
    --radius: 18px;
    --radius-lg: 28px;
    --container: 1280px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--page-bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.65;
}

body.nav-open {
    overflow: hidden;
}

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

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

button,
input,
select {
    font: inherit;
}

.container {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(90deg, var(--brand-dark), var(--brand-deep));
    color: #ffffff;
    box-shadow: 0 10px 28px rgba(124, 45, 18, 0.25);
}

.nav-shell {
    display: flex;
    min-height: 64px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.brand-icon {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 2px solid currentColor;
    border-radius: 10px;
    color: #fbbf24;
    font-size: 16px;
}

.brand-text {
    font-size: 20px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 15px;
}

.nav-link {
    position: relative;
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: #fde68a;
}

.nav-link.is-active::after {
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 2px;
    border-radius: 999px;
    background: #fbbf24;
    content: "";
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 3px 0;
    border-radius: 999px;
    background: currentColor;
}

.hero-carousel {
    position: relative;
    overflow: hidden;
    background: #1c1917;
}

.hero-track {
    display: flex;
    transition: transform 0.55s ease;
}

.hero-slide {
    min-width: 100%;
}

.hero-card {
    position: relative;
    display: block;
    height: 500px;
    overflow: hidden;
    color: #ffffff;
}

.hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform 0.6s ease;
}

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

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(217, 119, 6, 0.35), transparent 35%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.38) 52%, rgba(0, 0, 0, 0.08));
}

.hero-copy {
    position: absolute;
    right: min(8vw, 90px);
    bottom: 78px;
    left: min(8vw, 90px);
    display: grid;
    max-width: 760px;
    gap: 12px;
}

.hero-copy small {
    color: #fcd34d;
    font-weight: 700;
}

.hero-copy strong {
    max-width: 880px;
    font-size: clamp(30px, 6vw, 58px);
    line-height: 1.08;
}

.hero-copy em {
    max-width: 720px;
    color: #e7e5e4;
    font-style: normal;
    font-size: 16px;
}

.hero-actions {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 8px;
}

.hero-actions span,
.primary-btn,
.secondary-btn,
.filter-reset,
.global-search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    background: var(--brand);
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(217, 119, 6, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hero-actions span:hover,
.primary-btn:hover,
.secondary-btn:hover,
.filter-reset:hover,
.global-search button:hover {
    background: #b45309;
    transform: translateY(-1px);
    box-shadow: 0 16px 36px rgba(217, 119, 6, 0.34);
}

.hero-actions b {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.35);
    color: #fde68a;
}

.hero-play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 86px;
    height: 86px;
    place-items: center;
    border-radius: 50%;
    background: rgba(217, 119, 6, 0.82);
    color: #ffffff;
    font-size: 32px;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.92);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    font-size: 38px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 0.2s ease;
}

.hero-arrow:hover {
    background: rgba(0, 0, 0, 0.72);
}

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

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

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

.hero-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-dots button.is-active {
    width: 36px;
    background: #f59e0b;
}

.home-search-panel {
    margin-top: -38px;
    padding: 0 0 36px;
}

.search-panel-inner {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 22px;
    align-items: center;
    padding: 24px;
    border: 1px solid rgba(245, 158, 11, 0.28);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.search-panel-inner span,
.section-heading span,
.ranking-title span,
.page-hero span {
    color: var(--brand);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.search-panel-inner h1 {
    margin: 6px 0 8px;
    font-size: clamp(24px, 4vw, 40px);
    line-height: 1.15;
}

.search-panel-inner p {
    margin: 0;
    color: var(--muted);
}

.global-search {
    display: flex;
    gap: 10px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
}

.global-search input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: none;
    padding: 0 14px;
    background: transparent;
}

.feature-section,
.content-section,
.player-section,
.sitemap-section {
    padding: 44px 0;
}

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

.section-heading.compact {
    margin-bottom: 14px;
}

.section-heading h2,
.ranking-title h2 {
    margin: 4px 0 0;
    font-size: clamp(24px, 4vw, 34px);
    line-height: 1.2;
}

.section-heading p {
    max-width: 760px;
    margin: 8px 0 0;
    color: var(--muted);
}

.section-link {
    color: var(--brand-dark);
    font-weight: 800;
}

.today-card {
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) 1.05fr;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.today-poster {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    background: #1c1917;
}

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

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

.today-poster span {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 72px;
    height: 72px;
    place-items: center;
    border-radius: 50%;
    background: rgba(217, 119, 6, 0.88);
    color: #ffffff;
    font-size: 26px;
    transform: translate(-50%, -50%);
}

.today-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    padding: clamp(24px, 5vw, 56px);
}

.today-copy small,
.card-copy small,
.compact-card small {
    color: var(--muted);
}

.today-copy h2 {
    margin: 0;
    font-size: clamp(28px, 5vw, 46px);
    line-height: 1.12;
}

.today-copy p {
    margin: 0;
    color: #57534e;
}

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

.tag-list span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--brand-soft);
    color: #92400e;
    font-size: 13px;
    font-weight: 700;
}

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

.collection-tile,
.category-overview-card {
    display: flex;
    min-height: 168px;
    flex-direction: column;
    gap: 10px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, #ffffff, #fff7ed);
    box-shadow: 0 12px 30px rgba(41, 37, 36, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.collection-tile:hover,
.category-overview-card:hover,
.movie-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 52px rgba(41, 37, 36, 0.14);
    border-color: rgba(217, 119, 6, 0.36);
}

.collection-tile span,
.category-overview-head span {
    color: var(--brand-dark);
    font-weight: 800;
}

.collection-tile strong,
.category-overview-head strong {
    font-size: 24px;
}

.collection-tile em,
.category-overview-card p {
    color: var(--muted);
    font-style: normal;
}

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

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

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

.movie-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: 0 12px 28px rgba(41, 37, 36, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.poster-wrap {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, #451a03, #92400e);
}

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

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

.poster-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, 0.42);
    opacity: 0;
    transition: opacity 0.2s ease;
}

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

.poster-play {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 50%;
    background: var(--brand);
    color: #ffffff;
    font-size: 20px;
}

.rating-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.68);
    color: #fde68a;
    font-size: 12px;
    font-weight: 800;
}

.card-copy {
    display: grid;
    gap: 8px;
    padding: 15px;
}

.card-copy strong {
    display: -webkit-box;
    overflow: hidden;
    min-height: 48px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 16px;
    line-height: 1.45;
    transition: color 0.2s ease;
}

.movie-card:hover .card-copy strong {
    color: var(--brand-dark);
}

.card-copy em {
    display: -webkit-box;
    overflow: hidden;
    min-height: 42px;
    color: #57534e;
    font-size: 13px;
    font-style: normal;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.two-column-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 26px;
    align-items: start;
}

.ranking-panel {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(41, 37, 36, 0.08);
}

.sticky-panel {
    position: sticky;
    top: 86px;
}

.ranking-title {
    margin-bottom: 14px;
}

.rank-row {
    display: grid;
    grid-template-columns: 42px 54px minmax(0, 1fr) 44px;
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    border-top: 1px solid var(--line);
}

.rank-row:first-of-type {
    border-top: 0;
}

.rank-row span {
    color: var(--muted);
    font-weight: 900;
}

.rank-row.high span {
    color: var(--brand);
}

.rank-row img {
    width: 54px;
    height: 42px;
    border-radius: 10px;
    object-fit: cover;
    background: #451a03;
}

.rank-row strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-row em {
    color: var(--brand-dark);
    font-style: normal;
    font-weight: 900;
    text-align: right;
}

.filter-toolbar {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) repeat(3, minmax(130px, 160px)) auto auto;
    gap: 12px;
    align-items: end;
    margin-bottom: 24px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(41, 37, 36, 0.07);
}

.filter-toolbar label {
    display: grid;
    gap: 6px;
}

.filter-toolbar label span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.filter-toolbar input,
.filter-toolbar select {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fffbeb;
    color: var(--text);
    outline: none;
    padding: 0 12px;
}

.filter-toolbar input:focus,
.filter-toolbar select:focus {
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.result-count {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    white-space: nowrap;
}

.empty-state {
    margin-bottom: 24px;
    padding: 18px;
    border-radius: 14px;
    background: var(--brand-soft);
    color: var(--brand-deep);
    font-weight: 700;
}

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    background:
        radial-gradient(circle at 80% 10%, rgba(251, 191, 36, 0.28), transparent 30%),
        linear-gradient(120deg, #431407, #92400e 55%, #c2410c);
    color: #ffffff;
}

.page-hero::after,
.detail-hero::after {
    position: absolute;
    inset: auto 0 0;
    height: 100px;
    background: linear-gradient(0deg, var(--page-bg), transparent);
    content: "";
}

.page-hero .container,
.detail-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    max-width: 900px;
    margin: 8px 0 12px;
    font-size: clamp(32px, 6vw, 58px);
    line-height: 1.08;
}

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

.small-hero {
    padding: 68px 0;
}

.category-overview-card {
    min-height: auto;
}

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

.compact-list {
    display: grid;
    gap: 10px;
    margin: 6px 0 8px;
}

.compact-card {
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 10px;
    align-items: center;
}

.compact-card img {
    width: 78px;
    height: 52px;
    border-radius: 10px;
    object-fit: cover;
    background: #451a03;
}

.compact-card span {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.compact-card strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.secondary-btn {
    align-self: flex-start;
    background: #292524;
}

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

.detail-poster {
    position: relative;
    overflow: hidden;
    border: 8px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.36);
}

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

.detail-poster span {
    position: absolute;
    top: 16px;
    right: 16px;
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.72);
    color: #fde68a;
    font-weight: 900;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #fed7aa;
    font-size: 14px;
}

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

.detail-info h1 {
    margin: 14px 0;
    font-size: clamp(34px, 6vw, 64px);
    line-height: 1.05;
}

.lead {
    max-width: 820px;
    color: #ffedd5;
    font-size: 18px;
}

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

.meta-list div {
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.18);
}

.meta-list dt {
    color: #fed7aa;
    font-size: 12px;
    font-weight: 800;
}

.meta-list dd {
    margin: 4px 0 0;
    font-weight: 800;
}

.player-box {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #0c0a09;
    box-shadow: var(--shadow);
}

.player-box video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0c0a09;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 10px;
    border: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.25));
    color: #ffffff;
    cursor: pointer;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.player-overlay span {
    display: grid;
    width: 92px;
    height: 92px;
    place-items: center;
    border-radius: 50%;
    background: var(--brand);
    font-size: 34px;
    box-shadow: 0 20px 50px rgba(217, 119, 6, 0.38);
}

.player-overlay strong {
    font-size: 24px;
}

.player-overlay em,
.player-status {
    color: #e7e5e4;
    font-style: normal;
}

.player-status {
    position: absolute;
    right: 16px;
    bottom: 12px;
    left: 16px;
    margin: 0;
    font-size: 13px;
    pointer-events: none;
}

.detail-article {
    padding: clamp(22px, 4vw, 40px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(41, 37, 36, 0.08);
}

.detail-article h2 {
    margin: 0 0 12px;
    font-size: 24px;
}

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

.detail-article p {
    margin: 0;
    color: #57534e;
}

.detail-article p + p {
    margin-top: 16px;
}

.inline-btn {
    margin-top: 8px;
}

.sitemap-section {
    display: grid;
    gap: 24px;
}

.sitemap-group {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
}

.sitemap-group h2 {
    margin: 0 0 14px;
}

.sitemap-group ul {
    columns: 4 220px;
    margin: 0;
    padding-left: 18px;
}

.sitemap-group li {
    break-inside: avoid;
    margin-bottom: 7px;
}

.sitemap-group a:hover {
    color: var(--brand-dark);
}

.sitemap-group small {
    color: var(--muted);
}

.site-footer {
    margin-top: 54px;
    background: #292524;
    color: #d6d3d1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 34px;
    padding: 44px 0;
}

.footer-grid h2 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 18px;
}

.footer-grid p {
    margin: 14px 0 0;
    color: #a8a29e;
}

.footer-links {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

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

.footer-links a:hover {
    color: #fbbf24;
}

.footer-bottom {
    border-top: 1px solid #44403c;
    padding: 18px 16px;
    color: #a8a29e;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
}

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 40;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--brand-dark);
    color: #ffffff;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

@media (max-width: 1100px) {
    .cards-4 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

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

    .sticky-panel {
        position: static;
    }

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

@media (max-width: 860px) {
    .menu-toggle {
        display: inline-flex;
        flex-direction: column;
    }

    .site-nav {
        position: fixed;
        top: 64px;
        right: 16px;
        left: 16px;
        display: grid;
        gap: 0;
        padding: 12px;
        border-radius: 18px;
        background: rgba(67, 20, 7, 0.96);
        box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    body.nav-open .site-nav {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-link {
        padding: 12px;
    }

    .nav-link.is-active::after {
        display: none;
    }

    .hero-card {
        height: 430px;
    }

    .hero-copy {
        right: 24px;
        bottom: 68px;
        left: 24px;
    }

    .search-panel-inner,
    .today-card,
    .detail-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .global-search {
        border-radius: 18px;
        flex-direction: column;
        padding: 12px;
    }

    .global-search input {
        min-height: 42px;
    }

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

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

@media (max-width: 560px) {
    .container {
        width: min(100% - 24px, var(--container));
    }

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

    .hero-card {
        height: 390px;
    }

    .hero-arrow {
        width: 40px;
        height: 40px;
        font-size: 30px;
    }

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

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

    .hero-play {
        display: none;
    }

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

    .collection-grid,
    .category-overview-grid,
    .cards-4,
    .cards-3,
    .filter-toolbar,
    .meta-list {
        grid-template-columns: 1fr;
    }

    .filter-toolbar {
        padding: 14px;
    }

    .result-count {
        white-space: normal;
    }

    .page-hero,
    .detail-hero {
        padding: 56px 0;
    }

    .player-overlay span {
        width: 72px;
        height: 72px;
        font-size: 28px;
    }

    .sitemap-group ul {
        columns: 1;
    }
}
