:root {
    --frost-950: #082f49;
    --frost-900: #0c4a6e;
    --frost-800: #075985;
    --frost-700: #0369a1;
    --frost-600: #0284c7;
    --ice-600: #0891b2;
    --ice-500: #06b6d4;
    --ice-400: #22d3ee;
    --ice-200: #a5f3fc;
    --ice-100: #cffafe;
    --silver-950: #020617;
    --silver-900: #0f172a;
    --silver-800: #1e293b;
    --silver-700: #334155;
    --silver-600: #475569;
    --silver-500: #64748b;
    --silver-300: #cbd5e1;
    --silver-200: #e2e8f0;
    --silver-100: #f1f5f9;
    --silver-50: #f8fafc;
    --white: #ffffff;
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
    --shadow-card: 0 10px 30px rgba(15, 23, 42, 0.10);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(180deg, var(--silver-50), #ffffff 38%, #ffffff);
    color: var(--silver-800);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    color: var(--white);
    background: linear-gradient(90deg, var(--frost-900), var(--frost-800), var(--frost-950));
    box-shadow: 0 10px 30px rgba(8, 47, 73, 0.24);
}

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

.brand,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
}

.brand-mark {
    position: relative;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--ice-400), var(--frost-600));
    box-shadow: 0 10px 28px rgba(34, 211, 238, 0.28);
    transition: transform 0.25s ease;
}

.brand:hover .brand-mark {
    transform: scale(1.08) rotate(-2deg);
}

.brand-mark span {
    position: absolute;
    top: 50%;
    left: 52%;
    width: 0;
    height: 0;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-left: 14px solid white;
    transform: translate(-45%, -50%);
}

.brand-text {
    font-size: 20px;
    letter-spacing: 0.02em;
    background: linear-gradient(90deg, var(--ice-200), #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    font-weight: 700;
}

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

.nav-link:hover {
    color: var(--ice-200);
}

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

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: #ffffff;
    border-radius: 999px;
}

.mobile-nav {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 10px 0 18px;
}

.mobile-nav.is-open {
    display: grid;
    gap: 8px;
}

.mobile-nav-link {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.06);
}

.hero-carousel {
    position: relative;
    height: min(80vh, 760px);
    min-height: 560px;
    overflow: hidden;
    background: var(--silver-950);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s ease;
}

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

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    transition: transform 5.6s ease;
}

.hero-slide.is-active img {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 22%, rgba(34, 211, 238, 0.22), transparent 28%),
        linear-gradient(90deg, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.62) 48%, rgba(2, 6, 23, 0.12));
}

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

.eyebrow,
.section-kicker {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    border-radius: 999px;
    background: rgba(2, 132, 199, 0.84);
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 6px 14px;
    text-transform: uppercase;
}

.hero-content h1,
.hero-content h2 {
    max-width: 760px;
    margin: 18px 0 0;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.hero-content h2 + .hero-summary,
.hero-content h1 + h2 {
    margin-top: 10px;
}

.hero-content h1 + h2 {
    max-width: 720px;
    font-size: clamp(30px, 4.4vw, 48px);
    color: var(--ice-200);
}

.hero-summary {
    max-width: 720px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(17px, 2.2vw, 21px);
}

.hero-meta,
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.hero-meta span,
.detail-meta span {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.9);
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 700;
}

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

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

.primary-btn,
.home-search button,
.filter-reset {
    border: 0;
    color: #ffffff;
    background: linear-gradient(90deg, var(--frost-600), var(--ice-600));
    box-shadow: 0 12px 30px rgba(2, 132, 199, 0.3);
    cursor: pointer;
}

.primary-btn {
    padding: 0 30px;
}

.ghost-btn {
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    padding: 0 26px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.primary-btn:hover,
.ghost-btn:hover,
.home-search button:hover,
.filter-reset:hover,
.text-link:hover {
    transform: translateY(-2px);
}

.hero-control {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.52);
    color: #ffffff;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
}

.hero-control:hover {
    background: rgba(0, 0, 0, 0.74);
}

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

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

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

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

.hero-dot.is-active {
    width: 28px;
    background: var(--ice-400);
}

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

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

.section-heading.slim {
    display: block;
    max-width: 720px;
    margin: 0 auto 22px;
    text-align: center;
}

.section-heading h2,
.page-hero h1,
.detail-card h1 {
    margin: 10px 0 0;
    color: var(--silver-900);
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.14;
    letter-spacing: -0.03em;
}

.section-heading p,
.page-hero p {
    max-width: 760px;
    margin: 12px 0 0;
    color: var(--silver-600);
}

.section-heading a,
.text-link {
    color: var(--frost-700);
    font-weight: 800;
}

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

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

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

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

.movie-card-link {
    display: block;
    height: 100%;
    overflow: hidden;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.poster-frame {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 2 / 3;
    background: var(--silver-200);
}

.compact .poster-frame {
    aspect-ratio: 16 / 10;
}

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

.movie-card-link:hover img,
.rank-item a:hover img,
.side-related-card:hover img {
    transform: scale(1.08);
}

.poster-shade {
    position: absolute;
    inset: auto 0 0;
    height: 46%;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.72), transparent);
    opacity: 0;
    transition: opacity 0.25s ease;
}

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

.poster-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    border-radius: 999px;
    background: var(--frost-600);
    color: #ffffff;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 800;
}

.movie-card-content {
    display: grid;
    gap: 10px;
    padding: 16px;
}

.movie-card-content strong {
    display: -webkit-box;
    min-height: 48px;
    overflow: hidden;
    color: var(--silver-900);
    font-size: 17px;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.2s ease;
}

.movie-card-link:hover strong {
    color: var(--frost-700);
}

.movie-desc {
    display: -webkit-box;
    min-height: 44px;
    overflow: hidden;
    color: var(--silver-600);
    font-size: 14px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    color: var(--silver-500);
    font-size: 12px;
}

.card-tags,
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.card-tags span,
.detail-tags span {
    border-radius: 999px;
    background: var(--silver-100);
    color: var(--silver-600);
    padding: 4px 9px;
    font-size: 12px;
    font-weight: 700;
}

.quick-search {
    padding-top: 54px;
    padding-bottom: 32px;
}

.home-search {
    display: flex;
    gap: 12px;
    max-width: 760px;
    margin: 0 auto;
    padding: 12px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.home-search input {
    flex: 1;
    min-width: 0;
    height: 48px;
    border: 1px solid var(--silver-200);
    border-radius: 999px;
    outline: none;
    padding: 0 18px;
}

.home-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--ice-500);
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.14);
}

.home-search button {
    padding: 0 26px;
}

.frost-band {
    width: 100%;
    max-width: none;
    padding: 72px max(16px, calc((100% - 1180px) / 2));
    background: linear-gradient(135deg, var(--silver-900), var(--frost-950));
}

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

.section-heading.on-dark .section-kicker {
    background: rgba(34, 211, 238, 0.26);
}

.rank-grid,
.latest-list,
.ranking-list {
    display: grid;
    gap: 16px;
}

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

.rank-item a {
    display: grid;
    grid-template-columns: auto 136px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    min-height: 132px;
    padding: 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-item a:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
}

.rank-item img {
    width: 136px;
    height: 86px;
    object-fit: cover;
    border-radius: 14px;
    transition: transform 0.35s ease;
}

.rank-number {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--frost-600), var(--ice-600));
    color: #ffffff;
    font-weight: 900;
}

.rank-copy {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.rank-copy strong {
    overflow: hidden;
    color: var(--silver-900);
    font-size: 18px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rank-copy em {
    display: -webkit-box;
    overflow: hidden;
    color: var(--silver-600);
    font-size: 14px;
    font-style: normal;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.rank-copy span {
    color: var(--silver-500);
    font-size: 13px;
}

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

.category-tile {
    position: relative;
    display: grid;
    gap: 10px;
    min-height: 210px;
    overflow: hidden;
    border-radius: 24px;
    padding: 22px;
    background: linear-gradient(135deg, #ffffff, var(--ice-100));
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

.category-glow {
    position: absolute;
    inset: -40% -30% auto auto;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(34, 211, 238, 0.35);
}

.category-tile strong {
    position: relative;
    color: var(--silver-900);
    font-size: 22px;
}

.category-tile em {
    position: relative;
    color: var(--silver-600);
    font-size: 14px;
    font-style: normal;
}

.category-samples {
    position: relative;
    display: grid;
    gap: 5px;
    margin-top: auto;
    color: var(--frost-700);
    font-size: 13px;
    font-weight: 700;
}

.page-hero {
    color: #ffffff;
    background:
        radial-gradient(circle at 80% 0%, rgba(34, 211, 238, 0.22), transparent 30%),
        linear-gradient(135deg, var(--frost-900), var(--frost-800), var(--frost-950));
}

.page-hero-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 82px 0;
}

.compact-hero .page-hero-inner {
    padding: 62px 0;
}

.page-hero h1,
.page-hero p {
    color: #ffffff;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.82);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
}

.breadcrumb a {
    color: inherit;
    font-weight: 800;
}

.detail-card .breadcrumb {
    margin-top: 0;
    margin-bottom: 18px;
    color: var(--silver-500);
}

.category-overview {
    display: grid;
    gap: 30px;
}

.category-overview-card {
    border-radius: 28px;
    background: #ffffff;
    padding: 28px;
    box-shadow: var(--shadow-card);
}

.category-overview-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.category-overview-head h2 {
    margin: 10px 0 6px;
    color: var(--silver-900);
    font-size: 30px;
}

.category-overview-head p {
    margin: 0;
    color: var(--silver-600);
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) repeat(3, minmax(140px, 180px)) auto;
    gap: 12px;
    align-items: end;
    margin-bottom: 26px;
    padding: 16px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.filter-panel label {
    display: grid;
    gap: 7px;
    color: var(--silver-600);
    font-size: 13px;
    font-weight: 800;
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    height: 44px;
    border: 1px solid var(--silver-200);
    border-radius: 14px;
    outline: none;
    background: #ffffff;
    color: var(--silver-800);
    padding: 0 12px;
}

.filter-reset {
    height: 44px;
    padding: 0 20px;
}

.detail-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 30px;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 42px 0 0;
}

.detail-main,
.detail-side {
    min-width: 0;
}

.player-shell {
    overflow: hidden;
    border-radius: 28px;
    background: #000000;
    box-shadow: 0 24px 70px rgba(2, 6, 23, 0.32);
}

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

.player-box video {
    width: 100%;
    height: 100%;
    background: #000000;
}

.player-cover {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 0;
    color: #ffffff;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.88), rgba(2, 6, 23, 0.34));
    text-align: center;
    cursor: pointer;
    padding: 24px;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-orb {
    position: relative;
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--frost-600), var(--ice-500));
    box-shadow: 0 18px 45px rgba(8, 145, 178, 0.45);
}

.play-orb::after {
    position: absolute;
    top: 50%;
    left: 54%;
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 24px solid #ffffff;
    content: "";
    transform: translate(-45%, -50%);
}

.player-cover strong {
    max-width: 720px;
    font-size: clamp(24px, 4vw, 42px);
    line-height: 1.18;
}

.player-cover em {
    display: -webkit-box;
    max-width: 720px;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.78);
    font-style: normal;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.detail-card,
.side-card {
    margin-top: 24px;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.detail-card {
    padding: 30px;
}

.detail-card h1 {
    margin-top: 0;
}

.detail-card .detail-meta span {
    background: var(--silver-100);
    color: var(--silver-600);
}

.detail-tags {
    margin: 20px 0 24px;
}

.detail-card section {
    border-top: 1px solid var(--silver-200);
    padding-top: 24px;
    margin-top: 24px;
}

.detail-card h2,
.side-card h2 {
    margin: 0 0 14px;
    color: var(--silver-900);
    font-size: 22px;
}

.detail-card p {
    margin: 0;
    color: var(--silver-700);
}

.detail-card .lead-text {
    margin-bottom: 12px;
    color: var(--silver-600);
    font-size: 17px;
    font-style: italic;
}

.detail-side {
    align-self: start;
    position: sticky;
    top: 86px;
}

.side-card {
    padding: 22px;
}

.side-list {
    display: grid;
    gap: 16px;
}

.side-related-card {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.side-related-card img {
    width: 96px;
    height: 132px;
    object-fit: cover;
    border-radius: 14px;
    transition: transform 0.35s ease;
}

.side-related-card span {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.side-related-card strong {
    display: -webkit-box;
    overflow: hidden;
    color: var(--silver-900);
    font-size: 15px;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.side-related-card em,
.side-related-card small {
    color: var(--silver-500);
    font-size: 12px;
    font-style: normal;
}

.more-like-this {
    padding-top: 56px;
}

.site-footer {
    margin-top: 72px;
    color: var(--silver-300);
    background: linear-gradient(180deg, var(--silver-900), var(--frost-950));
}

.footer-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 46px 0 30px;
}

.footer-main {
    display: grid;
    grid-template-columns: minmax(0, 2fr) 1fr 1fr;
    gap: 42px;
}

.footer-logo {
    color: #ffffff;
    font-size: 20px;
}

.footer-brand p {
    max-width: 520px;
    color: var(--silver-300);
}

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

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

.site-footer a:hover {
    color: var(--ice-200);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin-top: 34px;
    border-top: 1px solid rgba(203, 213, 225, 0.14);
    padding-top: 22px;
    color: var(--silver-300);
    font-size: 13px;
}

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

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

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

    .detail-wrap {
        grid-template-columns: 1fr;
    }

    .detail-side {
        position: static;
    }

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

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

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

    .menu-toggle {
        display: block;
    }

    .hero-carousel {
        min-height: 620px;
        height: 76vh;
    }

    .hero-overlay {
        background: linear-gradient(0deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.28));
    }

    .hero-content {
        justify-content: end;
        padding-bottom: 90px;
    }

    .hero-control {
        display: none;
    }

    .section-wrap,
    .frost-band {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .section-heading,
    .category-overview-head {
        display: block;
    }

    .section-heading a,
    .category-overview-head a {
        display: inline-flex;
        margin-top: 12px;
    }

    .home-search {
        display: grid;
    }

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

    .rank-item a {
        grid-template-columns: auto 90px minmax(0, 1fr);
        gap: 12px;
    }

    .rank-item img {
        width: 90px;
        height: 68px;
    }

    .rank-copy em {
        -webkit-line-clamp: 1;
    }

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

    .detail-card,
    .side-card,
    .category-overview-card {
        padding: 20px;
        border-radius: 22px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 26px;
    }
}

@media (max-width: 460px) {
    .movie-grid,
    .catalog-grid,
    .small-grid,
    .category-grid {
        grid-template-columns: 1fr;
    }

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

    .page-hero-inner {
        padding: 48px 0;
    }

    .hero-content h1,
    .hero-content h2 {
        font-size: 34px;
    }

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