* {
    box-sizing: border-box;
}

:root {
    --amber-950: #3b1808;
    --amber-900: #78350f;
    --amber-800: #92400e;
    --amber-700: #b45309;
    --amber-600: #d97706;
    --amber-500: #f59e0b;
    --amber-100: #fef3c7;
    --orange-50: #fff7ed;
    --paper: #ffffff;
    --ink: #1f2937;
    --muted: #6b7280;
    --line: #f3e5c8;
    --shadow: 0 18px 45px rgba(120, 53, 15, 0.16);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: linear-gradient(180deg, #fff7ed 0%, #ffffff 44%, #fff7ed 100%);
}

body.menu-open {
    overflow: hidden;
}

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

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

[hidden] {
    display: none !important;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: linear-gradient(90deg, var(--amber-900), var(--amber-800), var(--amber-900));
    box-shadow: 0 10px 24px rgba(59, 24, 8, 0.24);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--amber-100);
}

.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 16px;
    display: inline-grid;
    place-items: center;
    color: var(--amber-900);
    background: linear-gradient(135deg, #fff7ed, #fbbf24);
    font-weight: 900;
    box-shadow: inset 0 -5px 12px rgba(180, 83, 9, 0.22), 0 8px 18px rgba(0, 0, 0, 0.18);
}

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

.brand-text strong {
    font-size: 20px;
    letter-spacing: 0.02em;
}

.brand-text small {
    color: rgba(254, 243, 199, 0.82);
    font-size: 12px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    color: var(--amber-100);
    font-weight: 700;
}

.nav-links > a,
.nav-dropdown > button {
    border: 0;
    padding: 10px 0;
    color: inherit;
    background: transparent;
    font: inherit;
    cursor: pointer;
    transition: color 0.2s ease;
}

.nav-links > a:hover,
.nav-dropdown > button:hover {
    color: #ffffff;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    min-width: 180px;
    padding: 8px;
    border-radius: 14px;
    background: #ffffff;
    color: #374151;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 14px;
}

.nav-dropdown-menu a:hover {
    color: var(--amber-900);
    background: #fffbeb;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 9px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    border-radius: 2px;
    background: var(--amber-100);
}

.hero-slider {
    position: relative;
    height: clamp(520px, 78vh, 760px);
    overflow: hidden;
    background: #000000;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.045);
    transition: opacity 1s ease, transform 1s ease;
    pointer-events: none;
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.54) 42%, rgba(0, 0, 0, 0.16) 100%);
}

.hero-content {
    position: absolute;
    left: max(24px, calc((100vw - 1180px) / 2));
    right: 24px;
    bottom: 72px;
    max-width: 780px;
    color: #ffffff;
}

.hero-kicker,
.section-title span,
.page-hero span,
.detail-category {
    display: inline-flex;
    align-items: center;
    width: max-content;
    padding: 8px 14px;
    border-radius: 999px;
    color: #ffffff;
    background: var(--amber-600);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-content h1 {
    margin: 18px 0 14px;
    font-size: clamp(36px, 6vw, 72px);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.hero-content p {
    max-width: 650px;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(17px, 2vw, 23px);
    line-height: 1.65;
}

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

.hero-tags span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    color: var(--amber-900);
    background: var(--amber-100);
    font-size: 12px;
    font-weight: 700;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 12px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: #ffffff;
    background: var(--amber-600);
    box-shadow: 0 12px 28px rgba(217, 119, 6, 0.32);
}

.btn-primary:hover {
    background: var(--amber-700);
}

.btn-ghost {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 10;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.46);
    font-size: 38px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
}

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

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

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

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

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

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

.home-search-band,
.content-section,
.filter-panel,
.breadcrumbs,
.detail-hero,
.player-section,
.detail-content {
    width: min(1180px, calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
}

.home-search-band {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 430px);
    gap: 28px;
    align-items: center;
    margin-top: -54px;
    padding: 28px;
    position: relative;
    z-index: 12;
    border: 1px solid rgba(217, 119, 6, 0.22);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.home-search-band h2,
.page-hero h1,
.section-title h2,
.detail-info h1 {
    margin: 0;
    color: #1f2937;
}

.home-search-band h2 {
    font-size: clamp(26px, 3vw, 40px);
}

.home-search-band p {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.75;
}

.home-search-form {
    display: flex;
    gap: 10px;
    padding: 8px;
    border-radius: 16px;
    background: #fff7ed;
}

.home-search-form input,
.filter-panel input,
.filter-panel select {
    width: 100%;
    border: 1px solid #f1d7a8;
    outline: 0;
    border-radius: 12px;
    background: #ffffff;
    color: var(--ink);
    font: inherit;
}

.home-search-form input {
    min-height: 46px;
    padding: 0 14px;
}

.home-search-form button {
    min-width: 94px;
    border: 0;
    border-radius: 12px;
    color: #ffffff;
    background: var(--amber-600);
    font-weight: 800;
    cursor: pointer;
}

.content-section {
    padding: 58px 0;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}

.section-title h2 {
    flex: 1;
    font-size: clamp(26px, 4vw, 38px);
}

.section-title a {
    color: var(--amber-800);
    font-weight: 800;
}

.section-title--left {
    justify-content: flex-start;
}

.section-title--dark h2,
.section-title--dark a {
    color: #ffffff;
}

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

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

.movie-card {
    min-width: 0;
}

.movie-card-link {
    display: flex;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border-radius: 18px;
    background: var(--paper);
    box-shadow: 0 12px 28px rgba(120, 53, 15, 0.1);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

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

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

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

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

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

.rating-badge,
.rank-badge {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 30px;
    padding: 5px 9px;
    border-radius: 999px;
    color: #ffffff;
    font-weight: 900;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(8px);
}

.rating-badge {
    top: 12px;
    right: 12px;
}

.rank-badge {
    top: 12px;
    left: 12px;
    background: var(--amber-600);
}

.movie-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px;
}

.movie-card-meta,
.movie-card-foot,
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.movie-card-meta span:first-child {
    color: var(--amber-900);
    background: var(--amber-100);
}

.movie-card-meta span {
    padding: 5px 9px;
    border-radius: 999px;
    background: #f9fafb;
}

.movie-card-body h2 {
    margin: 13px 0 7px;
    color: var(--ink);
    font-size: 18px;
    line-height: 1.35;
}

.movie-card-body p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 16px;
    color: var(--muted);
    line-height: 1.7;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.movie-card-foot {
    margin-top: auto;
    justify-content: space-between;
}

.featured-band {
    width: min(1180px, calc(100% - 32px));
    padding: 34px;
    border-radius: 28px;
    background: linear-gradient(90deg, #ffedd5, #fffbeb, #ffedd5);
    box-shadow: var(--shadow);
}

.horizontal-list {
    display: grid;
    gap: 18px;
}

.horizontal-card a {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 18px;
    overflow: hidden;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(120, 53, 15, 0.1);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.horizontal-card a:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.horizontal-thumb {
    min-height: 132px;
    background: #231006;
}

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

.horizontal-body {
    min-width: 0;
    padding: 18px 18px 18px 0;
}

.horizontal-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--amber-800);
    font-size: 13px;
    font-weight: 800;
}

.horizontal-body h2 {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 9px 0 8px;
    font-size: 21px;
    line-height: 1.35;
}

.horizontal-body h2 b {
    display: inline-grid;
    place-items: center;
    min-width: 30px;
    height: 30px;
    border-radius: 10px;
    color: #ffffff;
    background: var(--amber-600);
    font-size: 14px;
}

.horizontal-body p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 12px;
    color: var(--muted);
    line-height: 1.7;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

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

.category-tile,
.category-feature {
    position: relative;
    overflow: hidden;
    min-height: 190px;
    padding: 26px;
    border-radius: 22px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--amber-900), var(--amber-700));
    box-shadow: var(--shadow);
}

.category-tile:nth-child(2n),
.category-feature:nth-child(2n) {
    background: linear-gradient(135deg, #7c2d12, #f97316);
}

.category-tile span,
.category-feature span {
    color: rgba(255, 255, 255, 0.58);
    font-size: 42px;
    font-weight: 900;
}

.category-tile h2,
.category-feature h2 {
    margin: 20px 0 10px;
    font-size: 26px;
}

.category-tile p,
.category-feature p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
}

.split-section {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 32px;
    align-items: start;
}

.ranking-panel {
    position: sticky;
    top: 96px;
    padding: 22px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.horizontal-list--compact .horizontal-card a {
    grid-template-columns: 92px 1fr;
    gap: 12px;
}

.horizontal-list--compact .horizontal-thumb {
    min-height: 82px;
}

.horizontal-list--compact .horizontal-body {
    padding: 12px 12px 12px 0;
}

.horizontal-list--compact .horizontal-body h2 {
    margin: 4px 0;
    font-size: 15px;
}

.horizontal-list--compact .horizontal-body p,
.horizontal-list--compact .tag-row {
    display: none;
}

.dark-band {
    margin-bottom: 58px;
    padding: 34px;
    border-radius: 28px;
    background: linear-gradient(135deg, var(--amber-950), var(--amber-800));
    box-shadow: var(--shadow);
}

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

.compact-card a {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 18px;
    background: #000000;
}

.compact-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    opacity: 0.88;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.compact-card a:hover img {
    opacity: 1;
    transform: scale(1.08);
}

.compact-card span {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 3px 8px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.72);
    font-size: 12px;
    font-weight: 900;
}

.compact-card h2 {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    margin: 0;
    padding: 34px 12px 12px;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.35;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.86), transparent);
}

.page-hero {
    min-height: 330px;
    display: grid;
    place-items: center;
    padding: 64px 16px;
    color: #ffffff;
    text-align: center;
    background: radial-gradient(circle at 20% 20%, rgba(245, 158, 11, 0.28), transparent 35%), linear-gradient(135deg, var(--amber-950), var(--amber-800));
}

.page-hero--compact {
    min-height: 260px;
}

.page-hero div {
    width: min(880px, 100%);
}

.page-hero h1 {
    margin-top: 18px;
    color: #ffffff;
    font-size: clamp(34px, 6vw, 58px);
}

.page-hero p {
    margin: 16px auto 0;
    max-width: 760px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
    line-height: 1.75;
}

.filter-panel {
    margin-top: 34px;
    padding: 22px;
    border: 1px solid rgba(217, 119, 6, 0.18);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(120, 53, 15, 0.08);
}

.filter-panel label {
    display: grid;
    gap: 8px;
    color: var(--amber-900);
    font-size: 13px;
    font-weight: 800;
}

.filter-search {
    margin-bottom: 16px;
}

.filter-panel input,
.filter-panel select {
    min-height: 44px;
    padding: 0 12px;
}

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

.empty-state {
    margin: 18px 0 0;
    padding: 18px;
    border-radius: 14px;
    color: var(--amber-900);
    background: var(--amber-100);
    font-weight: 800;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
    padding: 22px 0;
    color: var(--muted);
    font-weight: 700;
}

.breadcrumbs a {
    color: var(--amber-800);
}

.detail-hero {
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 34px;
    align-items: center;
    padding: 34px;
    border-radius: 30px;
    background: linear-gradient(135deg, #ffffff, #fff7ed);
    box-shadow: var(--shadow);
}

.detail-poster {
    overflow: hidden;
    border-radius: 24px;
    background: #231006;
    box-shadow: 0 18px 44px rgba(59, 24, 8, 0.2);
}

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

.detail-info h1 {
    margin-top: 18px;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.08;
}

.detail-one-line {
    margin: 18px 0;
    color: var(--muted);
    font-size: 19px;
    line-height: 1.75;
}

.detail-meta {
    margin-bottom: 18px;
}

.detail-meta span {
    padding: 7px 10px;
    border-radius: 999px;
    background: #fffbeb;
}

.detail-info .btn {
    margin-top: 22px;
}

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

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #000000;
    box-shadow: var(--shadow);
}

.movie-player {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
    cursor: pointer;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-overlay img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.54;
}

.player-overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(217, 119, 6, 0.18), rgba(0, 0, 0, 0.64));
}

.player-overlay button {
    position: relative;
    z-index: 2;
    min-width: 150px;
    min-height: 54px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: var(--amber-600);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
    font-size: 18px;
    font-weight: 900;
    cursor: pointer;
}

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

.detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 42px 0 0;
}

.detail-content article {
    padding: 26px;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(120, 53, 15, 0.08);
}

.detail-content article:first-child {
    grid-column: 1 / -1;
}

.detail-content h2 {
    margin: 0 0 14px;
    font-size: 24px;
}

.detail-content p {
    margin: 0;
    color: #4b5563;
    line-height: 1.9;
}

.movie-data-list {
    display: grid;
    gap: 12px;
    margin: 0;
}

.movie-data-list div {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 12px;
    align-items: baseline;
}

.movie-data-list dt {
    color: var(--amber-800);
    font-weight: 900;
}

.movie-data-list dd {
    margin: 0;
    color: #4b5563;
}

.ranking-page {
    padding-top: 38px;
}

.ranking-list .horizontal-card a {
    grid-template-columns: 220px 1fr;
}

.site-footer {
    color: #ffffff;
    background: linear-gradient(90deg, var(--amber-900), var(--amber-950), var(--amber-900));
}

.footer-grid {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 46px 0 34px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    gap: 38px;
}

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

.site-footer p,
.site-footer a,
.site-footer li {
    color: rgba(254, 243, 199, 0.86);
}

.site-footer p {
    margin: 0;
    line-height: 1.8;
}

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

.site-footer ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-bottom {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 20px 0;
    border-top: 1px solid rgba(254, 243, 199, 0.16);
    color: rgba(254, 243, 199, 0.72);
    text-align: center;
    font-size: 13px;
}

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

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

    .ranking-panel {
        position: static;
    }

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

    .detail-poster {
        width: min(320px, 100%);
    }
}

@media (max-width: 820px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 72px;
        right: 16px;
        left: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 18px;
        border-radius: 20px;
        background: rgba(120, 53, 15, 0.97);
        box-shadow: var(--shadow);
    }

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

    .nav-dropdown-menu {
        position: static;
        min-width: 100%;
        margin-top: 8px;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .hero-arrow {
        display: none;
    }

    .hero-content {
        bottom: 62px;
    }

    .home-search-band,
    .filter-selects,
    .footer-grid,
    .detail-content {
        grid-template-columns: 1fr;
    }

    .home-search-form {
        flex-direction: column;
    }

    .home-search-form button {
        min-height: 46px;
    }

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

    .horizontal-card a,
    .ranking-list .horizontal-card a {
        grid-template-columns: 132px 1fr;
    }

    .horizontal-body h2 {
        font-size: 17px;
    }

    .horizontal-body {
        padding: 14px 14px 14px 0;
    }
}

@media (max-width: 560px) {
    .nav-shell,
    .home-search-band,
    .content-section,
    .filter-panel,
    .breadcrumbs,
    .detail-hero,
    .player-section,
    .detail-content,
    .footer-grid,
    .footer-bottom {
        width: min(100% - 22px, 1180px);
    }

    .brand-text small {
        display: none;
    }

    .brand-text strong {
        font-size: 17px;
    }

    .hero-slider {
        height: 560px;
    }

    .hero-content {
        left: 18px;
        right: 18px;
    }

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

    .movie-grid,
    .movie-grid--large,
    .category-grid,
    .category-feature-grid,
    .compact-grid {
        grid-template-columns: 1fr;
    }

    .horizontal-card a,
    .ranking-list .horizontal-card a {
        grid-template-columns: 112px 1fr;
    }

    .horizontal-top,
    .horizontal-body p,
    .horizontal-body .tag-row {
        display: none;
    }

    .detail-hero,
    .featured-band,
    .dark-band {
        padding: 22px;
        border-radius: 22px;
    }
}
