:root {
    --orange: #f97316;
    --amber: #f59e0b;
    --yellow: #facc15;
    --dark: #1f2937;
    --muted: #6b7280;
    --soft: #fff7ed;
    --line: rgba(249, 115, 22, 0.16);
    --shadow: 0 22px 70px rgba(146, 64, 14, 0.16);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 251, 235, 0.88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(251, 146, 60, 0.16);
    box-shadow: 0 10px 35px rgba(146, 64, 14, 0.08);
}

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

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 0.02em;
    color: #9a3412;
}

.site-logo__mark {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #fff;
    font-size: 18px;
    background: linear-gradient(135deg, var(--orange), var(--amber));
    box-shadow: 0 14px 28px rgba(249, 115, 22, 0.34);
}

.site-logo--footer {
    margin-bottom: 18px;
}

.site-nav__links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-nav__links a {
    padding: 10px 16px;
    border-radius: 999px;
    color: #7c2d12;
    font-weight: 700;
    transition: color 0.24s ease, background 0.24s ease, transform 0.24s ease;
}

.site-nav__links a:hover,
.site-nav__links a.is-active {
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--amber));
    transform: translateY(-1px);
}

.site-nav__toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    background: #fff7ed;
    box-shadow: inset 0 0 0 1px rgba(249, 115, 22, 0.2);
}

.site-nav__toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: #9a3412;
    border-radius: 999px;
}

.hero {
    position: relative;
    min-height: 760px;
    overflow: hidden;
    background: #111827;
}

.hero__slides {
    position: relative;
    min-height: 760px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    background-image: linear-gradient(90deg, rgba(17, 24, 39, 0.88), rgba(17, 24, 39, 0.48), rgba(249, 115, 22, 0.22)), var(--hero-image);
    background-size: cover;
    background-position: center;
    transition: opacity 0.7s ease;
}

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

.hero-slide__shade {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 10%, rgba(251, 191, 36, 0.42), transparent 28%), linear-gradient(0deg, rgba(17, 24, 39, 0.82), transparent 48%, rgba(17, 24, 39, 0.5));
}

.hero-slide__content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    min-height: 760px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    align-items: center;
    gap: 64px;
    padding: 96px 0 150px;
}

.hero-slide__text {
    max-width: 780px;
    color: #fff;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 900;
    color: #fb923c;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.hero-slide h1 {
    margin: 0 0 22px;
    font-size: clamp(42px, 7vw, 86px);
    line-height: 0.98;
    letter-spacing: -0.06em;
    text-shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
}

.hero-slide p {
    margin: 0;
    max-width: 680px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 19px;
    line-height: 1.8;
}

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

.hero-tags {
    margin: 26px 0 32px;
}

.hero-tags span,
.detail-tags span,
.detail-meta span,
.ranking-row__tags span,
.movie-card__meta span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.92);
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

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

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

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

.btn--primary {
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--amber));
    box-shadow: 0 16px 32px rgba(249, 115, 22, 0.34);
}

.btn--glass {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(14px);
}

.btn--wide {
    width: 100%;
}

.hero-poster {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.45);
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, #fb923c, #facc15);
}

.hero-poster img,
.movie-card__poster img,
.ranking-row__cover img,
.category-overview-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.24s ease;
}

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

.poster-fallback {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
    color: #fff;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 900;
    text-align: center;
    background: linear-gradient(135deg, #f97316, #f59e0b);
}

img.is-missing + .poster-fallback {
    display: flex;
}

img.is-missing {
    opacity: 0;
}

.hero__controls {
    position: absolute;
    left: 50%;
    bottom: 34px;
    z-index: 5;
    width: min(1180px, calc(100% - 32px));
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.hero-dot {
    display: grid;
    grid-template-columns: 54px 1fr;
    align-items: center;
    gap: 10px;
    min-width: 0;
    border: 0;
    border-radius: 18px;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(14px);
    padding: 8px;
    text-align: left;
    transition: background 0.24s ease, transform 0.24s ease;
}

.hero-dot:hover,
.hero-dot.is-active {
    background: rgba(249, 115, 22, 0.72);
    transform: translateY(-3px);
}

.hero-dot img {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    object-fit: cover;
}

.hero-dot span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 800;
}

.hero-search {
    position: absolute;
    left: 50%;
    bottom: 116px;
    z-index: 6;
    width: min(680px, calc(100% - 32px));
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    padding: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), 0 20px 50px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(18px);
}

.hero-search input {
    flex: 1;
    border: 0;
    outline: 0;
    color: #fff;
    background: transparent;
    padding: 0 16px;
}

.hero-search input::placeholder {
    color: rgba(255, 255, 255, 0.78);
}

.hero-search button {
    border: 0;
    border-radius: 999px;
    padding: 12px 22px;
    color: #fff;
    font-weight: 900;
    background: linear-gradient(135deg, var(--orange), var(--amber));
}

.section {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 72px 0;
}

.section__head {
    margin-bottom: 28px;
}

.section__head h2,
.page-cover h1,
.detail-info h1,
.content-card h2 {
    margin: 0;
    color: #7c2d12;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.section__head h2 {
    font-size: clamp(30px, 4vw, 48px);
}

.section__head p,
.page-cover p,
.content-card p,
.category-overview-card p,
.movie-card p,
.ranking-row p,
.site-footer p {
    color: var(--muted);
    line-height: 1.75;
}

.section__head--row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.link-more {
    display: inline-flex;
    align-items: center;
    color: #ea580c;
    font-weight: 900;
}

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

.category-card {
    min-height: 155px;
    padding: 22px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.category-card:hover {
    transform: translateY(-6px);
    background: #fff;
    box-shadow: 0 28px 80px rgba(249, 115, 22, 0.2);
}

.category-card span {
    display: block;
    margin-bottom: 10px;
    color: #9a3412;
    font-size: 20px;
    font-weight: 950;
}

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

.movie-grid--compact,
.movie-grid--all {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
}

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

.movie-card__poster {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border-radius: 22px;
    background: linear-gradient(135deg, #fed7aa, #fbbf24);
    box-shadow: 0 18px 42px rgba(154, 52, 18, 0.16);
}

.movie-card__poster::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 48%;
    background: linear-gradient(0deg, rgba(17, 24, 39, 0.82), transparent);
}

.movie-card__play {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 3;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--amber));
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.26);
}

.rank-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 3;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, #ef4444, #f97316);
    box-shadow: 0 12px 28px rgba(239, 68, 68, 0.26);
}

.movie-card__body {
    padding: 14px 4px 0;
}

.movie-card__meta span {
    color: #9a3412;
    background: rgba(255, 237, 213, 0.9);
    padding: 5px 9px;
    font-size: 12px;
}

.movie-card h3 {
    margin: 10px 0 8px;
    color: #7c2d12;
    font-size: 19px;
    line-height: 1.35;
}

.movie-card--compact h3 {
    font-size: 17px;
}

.movie-card p {
    display: -webkit-box;
    min-height: 54px;
    margin: 0;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 14px;
}

.movie-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    color: #b45309;
    font-size: 13px;
    font-weight: 800;
}

.movie-card__footer span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

.ranking-panel {
    position: sticky;
    top: 92px;
    padding: 24px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.ranking-list {
    display: grid;
    gap: 14px;
}

.ranking-list--page {
    gap: 18px;
}

.ranking-row {
    display: grid;
    grid-template-columns: 44px 74px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 12px;
    border-radius: 20px;
    background: rgba(255, 247, 237, 0.75);
    border: 1px solid rgba(249, 115, 22, 0.12);
}

.ranking-row__number {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #fff;
    font-weight: 950;
    background: linear-gradient(135deg, var(--orange), var(--amber));
}

.ranking-row__cover {
    position: relative;
    overflow: hidden;
    width: 74px;
    aspect-ratio: 3 / 4;
    border-radius: 16px;
    background: linear-gradient(135deg, #fed7aa, #fbbf24);
}

.ranking-row h3 {
    margin: 0 0 6px;
    color: #7c2d12;
    font-size: 18px;
}

.ranking-row p {
    display: -webkit-box;
    margin: 0 0 8px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 14px;
}

.ranking-row__tags span,
.ranking-row__tags a {
    color: #9a3412;
    background: rgba(255, 237, 213, 0.9);
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 12px;
    font-weight: 800;
}

.page-cover {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f97316, #f59e0b 58%, #facc15);
    color: #fff;
}

.page-cover::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.35), transparent 26%), radial-gradient(circle at 85% 25%, rgba(124, 45, 18, 0.2), transparent 30%);
}

.page-cover > div {
    position: relative;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 86px 0 72px;
}

.page-cover h1 {
    color: #fff;
    font-size: clamp(42px, 6vw, 72px);
}

.page-cover p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 800;
}

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

.filter-panel {
    display: grid;
    gap: 18px;
    padding: 24px;
    margin-bottom: 22px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.filter-panel--simple {
    grid-template-columns: 1fr;
}

.filter-search {
    display: grid;
    gap: 10px;
    color: #9a3412;
    font-weight: 900;
}

.filter-search input {
    width: 100%;
    min-height: 50px;
    border: 1px solid rgba(249, 115, 22, 0.24);
    border-radius: 16px;
    outline: 0;
    background: #fff;
    padding: 0 16px;
    color: #7c2d12;
}

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

.filter-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.filter-group > span {
    color: #9a3412;
    font-weight: 900;
    margin-right: 4px;
}

.filter-group button {
    border: 0;
    border-radius: 999px;
    padding: 9px 14px;
    color: #9a3412;
    font-weight: 800;
    background: #ffedd5;
}

.filter-group button.is-active,
.filter-group button:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--amber));
}

.filter-status {
    margin-bottom: 18px;
    color: #b45309;
    font-weight: 900;
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 22px;
    padding: 22px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.category-overview-card__cover {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 8px;
    min-height: 210px;
}

.category-overview-card__cover img {
    border-radius: 16px;
    background: linear-gradient(135deg, #fed7aa, #fbbf24);
}

.category-overview-card__cover img:first-child {
    grid-row: span 2;
}

.category-overview-card h2 {
    margin: 0 0 8px;
    color: #7c2d12;
    font-size: 26px;
}

.category-overview-card ul {
    display: grid;
    gap: 8px;
    margin: 16px 0;
    padding: 0;
    list-style: none;
    color: #b45309;
    font-weight: 800;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(90deg, rgba(17, 24, 39, 0.92), rgba(17, 24, 39, 0.65), rgba(249, 115, 22, 0.25)), var(--detail-image);
    background-size: cover;
    background-position: center;
    color: #fff;
}

.detail-hero__shade {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 12%, rgba(251, 191, 36, 0.32), transparent 25%), linear-gradient(0deg, rgba(17, 24, 39, 0.82), rgba(17, 24, 39, 0.16));
}

.detail-layout {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 70px 0;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.9fr);
    gap: 42px;
    align-items: center;
}

.player-card {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: #020617;
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.48);
    aspect-ratio: 16 / 9;
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 0;
    color: #fff;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.25), rgba(17, 24, 39, 0.62));
    transition: opacity 0.24s ease, visibility 0.24s ease;
}

.player-overlay span {
    width: 84px;
    height: 84px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    font-size: 36px;
    background: linear-gradient(135deg, var(--orange), var(--amber));
    box-shadow: 0 18px 45px rgba(249, 115, 22, 0.46);
}

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

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

.player-status {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 16px;
    z-index: 4;
    color: rgba(255, 255, 255, 0.86);
    font-size: 13px;
    text-align: center;
}

.player-status:empty {
    display: none;
}

.detail-info h1 {
    color: #fff;
    font-size: clamp(34px, 5vw, 60px);
    line-height: 1.08;
}

.detail-info__lead {
    color: rgba(255, 255, 255, 0.84);
    font-size: 18px;
    line-height: 1.85;
}

.detail-meta {
    margin: 20px 0;
}

.detail-tags {
    margin: 18px 0 26px;
}

.detail-tags span {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
}

.detail-tags--light span {
    color: #9a3412;
    background: #ffedd5;
}

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

.content-card {
    padding: 26px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.content-card h2 {
    margin-bottom: 14px;
    font-size: 26px;
}

.content-card p {
    margin: 0;
}

.content-card--tags {
    grid-column: span 1;
}

.site-footer {
    margin-top: 54px;
    color: rgba(255, 255, 255, 0.78);
    background: #1f2937;
}

.site-footer__grid {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 52px 0;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 34px;
}

.site-footer h2 {
    margin: 0 0 16px;
    color: #fdba74;
    font-size: 18px;
}

.site-footer a {
    display: block;
    margin: 9px 0;
    color: rgba(255, 255, 255, 0.76);
}

.site-footer a:hover {
    color: #fdba74;
}

.site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 16px;
    text-align: center;
    color: rgba(255, 255, 255, 0.58);
}

.is-filter-hidden {
    display: none !important;
}

@media (max-width: 1080px) {
    .hero-slide__content,
    .detail-layout,
    .section--split {
        grid-template-columns: 1fr;
    }

    .hero-poster {
        display: none;
    }

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

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

    .category-overview-grid,
    .detail-content {
        grid-template-columns: 1fr;
    }

    .ranking-panel {
        position: static;
    }

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

@media (max-width: 760px) {
    .site-nav {
        height: 64px;
    }

    .site-nav__toggle {
        display: block;
    }

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

    .site-nav__links.is-open {
        display: flex;
    }

    .hero,
    .hero__slides,
    .hero-slide__content {
        min-height: 720px;
    }

    .hero-slide__content {
        padding: 84px 0 210px;
    }

    .hero__controls {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        bottom: 22px;
    }

    .hero-search {
        bottom: 158px;
    }

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

    .hero-search {
        border-radius: 24px;
        flex-direction: column;
    }

    .hero-search input {
        min-height: 44px;
    }

    .section {
        padding: 50px 0;
    }

    .section__head--row {
        display: block;
    }

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

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

    .category-overview-card {
        grid-template-columns: 1fr;
    }

    .detail-layout {
        padding: 36px 0;
    }

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

    .ranking-row {
        grid-template-columns: 38px 58px minmax(0, 1fr);
        gap: 10px;
    }

    .ranking-row__cover {
        width: 58px;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 430px) {
    .movie-grid,
    .movie-grid--compact,
    .movie-grid--all {
        grid-template-columns: 1fr;
    }

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

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