:root {
    color-scheme: dark;
    --bg: #09090b;
    --panel: #18181b;
    --panel-soft: rgba(24, 24, 27, 0.72);
    --line: #27272a;
    --line-soft: rgba(63, 63, 70, 0.72);
    --text: #f4f4f5;
    --muted: #a1a1aa;
    --subtle: #71717a;
    --cyan: #06b6d4;
    --cyan-soft: rgba(6, 182, 212, 0.18);
    --blue: #2563eb;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
    --radius: 20px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(circle at top left, rgba(6, 182, 212, 0.16), transparent 36rem), var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    line-height: 1.65;
}

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    border-bottom: 1px solid rgba(39, 39, 42, 0.9);
    background: rgba(24, 24, 27, 0.94);
    backdrop-filter: blur(18px);
}

.header-inner {
    width: min(1240px, calc(100% - 32px));
    height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 22px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    color: #ffffff;
    box-shadow: 0 14px 34px rgba(6, 182, 212, 0.2);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.02em;
    background: linear-gradient(90deg, #22d3ee, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-subtitle {
    margin-top: 4px;
    font-size: 11px;
    color: var(--subtle);
    letter-spacing: 0.15em;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1 1 auto;
    overflow: hidden;
}

.nav-link {
    padding: 9px 12px;
    border-radius: 12px;
    color: #d4d4d8;
    font-size: 14px;
    white-space: nowrap;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: #67e8f9;
    background: rgba(39, 39, 42, 0.7);
}

.header-search,
.mobile-search,
.big-search,
.inline-filter {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-search input,
.mobile-search input,
.big-search input,
.inline-filter input {
    min-width: 0;
    color: var(--text);
    border: 1px solid #3f3f46;
    background: rgba(39, 39, 42, 0.86);
    border-radius: 14px;
    outline: none;
    transition: border 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search input {
    width: 210px;
    padding: 10px 13px;
}

.header-search input:focus,
.mobile-search input:focus,
.big-search input:focus,
.inline-filter input:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.14);
    background: rgba(24, 24, 27, 0.95);
}

.header-search button,
.mobile-search button,
.big-search button,
.inline-filter button,
.primary-btn,
.ghost-btn {
    border: 0;
    cursor: pointer;
    border-radius: 14px;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border 0.2s ease;
}

.header-search button,
.mobile-search button,
.big-search button,
.primary-btn {
    color: #ffffff;
    background: var(--cyan);
}

.header-search button:hover,
.mobile-search button:hover,
.big-search button:hover,
.primary-btn:hover {
    background: #0891b2;
    transform: translateY(-1px);
}

.header-search button {
    padding: 10px 14px;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    color: #d4d4d8;
    background: #27272a;
}

.mobile-panel {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    padding: 16px 0 20px;
    border-top: 1px solid rgba(39, 39, 42, 0.75);
}

.mobile-panel a {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    color: #d4d4d8;
}

.mobile-panel a:hover {
    color: #67e8f9;
    background: rgba(39, 39, 42, 0.72);
}

.mobile-search {
    margin-bottom: 10px;
}

.mobile-search input,
.big-search input,
.inline-filter input {
    flex: 1 1 auto;
    padding: 13px 16px;
}

.mobile-search button,
.big-search button,
.inline-filter button {
    padding: 13px 18px;
}

.hero-carousel {
    position: relative;
    min-height: 700px;
    overflow: hidden;
    background: #09090b;
}

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

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.68) 43%, rgba(0, 0, 0, 0.18)), linear-gradient(0deg, #09090b 0%, rgba(9, 9, 11, 0.15) 42%, rgba(9, 9, 11, 0.15) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1240px, calc(100% - 32px));
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    max-width: 1240px;
}

.hero-content h1 {
    max-width: 760px;
    margin: 18px 0 18px;
    font-size: clamp(42px, 7vw, 82px);
    line-height: 1.02;
    color: #ffffff;
    letter-spacing: -0.04em;
}

.hero-content p {
    max-width: 690px;
    margin: 0;
    color: #d4d4d8;
    font-size: 19px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 5px 12px;
    border: 1px solid rgba(6, 182, 212, 0.5);
    border-radius: 999px;
    color: #22d3ee;
    background: rgba(6, 182, 212, 0.17);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.hero-tags,
.tag-row,
.filter-row,
.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-tags {
    margin-top: 24px;
}

.hero-tags span,
.tag-row span,
.category-pills a,
.filter-row button {
    border: 1px solid rgba(63, 63, 70, 0.88);
    border-radius: 999px;
    color: #d4d4d8;
    background: rgba(39, 39, 42, 0.76);
}

.hero-tags span,
.tag-row span {
    padding: 6px 11px;
    font-size: 13px;
}

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

.primary-btn,
.ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 22px;
}

.ghost-btn {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
}

.ghost-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
}

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

.hero-dot {
    width: 34px;
    height: 5px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.28);
}

.hero-dot.is-active {
    background: #22d3ee;
}

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

.section-block,
.quick-search-section {
    padding: 70px 0;
}

.gradient-block {
    background: linear-gradient(180deg, #09090b, #18181b);
}

.dark-block {
    background: #18181b;
}

.search-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 520px);
    gap: 28px;
    align-items: center;
    padding: 28px;
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(8, 51, 68, 0.36), rgba(24, 24, 27, 0.86));
    box-shadow: var(--shadow);
}

.search-band h2,
.section-heading h2,
.feature-copy h2,
.center-copy h2,
.page-hero h1,
.detail-copy h1,
.detail-text h2 {
    margin: 10px 0 0;
    color: #ffffff;
    line-height: 1.16;
}

.search-band h2,
.section-heading h2,
.feature-copy h2,
.center-copy h2,
.page-hero h1 {
    font-size: clamp(30px, 4vw, 46px);
}

.search-band p,
.section-heading p,
.center-copy p,
.page-hero p {
    margin: 12px 0 0;
    color: var(--muted);
}

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

.section-heading a {
    color: #22d3ee;
    font-weight: 700;
    white-space: nowrap;
}

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

.movie-card {
    min-width: 0;
    border: 1px solid rgba(39, 39, 42, 0.92);
    border-radius: var(--radius);
    overflow: hidden;
    background: rgba(24, 24, 27, 0.7);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
    transition: transform 0.25s ease, border 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
    border-color: rgba(6, 182, 212, 0.55);
    transform: translateY(-5px);
    box-shadow: 0 20px 58px rgba(6, 182, 212, 0.12);
}

.card-link,
.poster-wrap,
.card-content {
    display: block;
}

.poster-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #27272a;
}

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

.movie-card:hover .poster-wrap img,
.category-samples a:hover img,
.feature-media:hover img {
    transform: scale(1.06);
}

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.78));
    opacity: 0;
    transition: opacity 0.25s ease;
}

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

.play-badge {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: rgba(6, 182, 212, 0.9);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.card-category,
.card-year {
    position: absolute;
    top: 12px;
    padding: 5px 9px;
    border-radius: 8px;
    color: #ffffff;
    font-size: 12px;
    background: rgba(0, 0, 0, 0.66);
    backdrop-filter: blur(8px);
}

.card-category {
    left: 12px;
    background: rgba(6, 182, 212, 0.82);
}

.card-year {
    right: 12px;
}

.card-content {
    padding: 17px;
}

.card-content strong {
    display: -webkit-box;
    min-height: 3.1em;
    overflow: hidden;
    color: #f4f4f5;
    font-size: 18px;
    line-height: 1.45;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.2s ease;
}

.movie-card:hover .card-content strong {
    color: #22d3ee;
}

.card-content em {
    display: -webkit-box;
    min-height: 3.2em;
    margin-top: 8px;
    overflow: hidden;
    color: var(--muted);
    font-size: 14px;
    font-style: normal;
    line-height: 1.6;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-meta {
    display: block;
    margin: 13px 0 10px;
    color: var(--subtle);
    font-size: 13px;
}

.feature-section {
    padding: 80px 0;
    border-block: 1px solid rgba(6, 182, 212, 0.18);
    background: linear-gradient(135deg, rgba(8, 51, 68, 0.38), rgba(23, 37, 84, 0.24));
}

.feature-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
    gap: 46px;
    align-items: center;
}

.feature-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 2px solid rgba(6, 182, 212, 0.35);
    border-radius: 26px;
    box-shadow: var(--shadow);
}

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

.feature-media span {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-size: 42px;
    background: rgba(0, 0, 0, 0.24);
}

.feature-copy p {
    color: #d4d4d8;
    font-size: 17px;
}

.feature-copy .primary-btn {
    margin-top: 20px;
}

.category-pills a {
    padding: 12px 16px;
    transition: border 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.category-pills a:hover,
.filter-row button:hover,
.filter-row button.is-active {
    color: #ffffff;
    border-color: var(--cyan);
    background: rgba(6, 182, 212, 0.22);
    transform: translateY(-1px);
}

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

.rank-row {
    border: 1px solid rgba(39, 39, 42, 0.9);
    border-radius: 18px;
    background: rgba(24, 24, 27, 0.68);
    overflow: hidden;
    transition: border 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.rank-row:hover {
    border-color: rgba(6, 182, 212, 0.5);
    background: rgba(24, 24, 27, 0.92);
    transform: translateX(4px);
}

.rank-row a {
    display: grid;
    grid-template-columns: 64px 132px minmax(0, 1fr) minmax(120px, auto);
    gap: 18px;
    align-items: center;
    padding: 12px 18px;
}

.rank-number {
    color: #22d3ee;
    font-size: 26px;
    font-weight: 900;
}

.rank-row img {
    width: 132px;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    object-fit: cover;
    background: #27272a;
}

.rank-main strong,
.rank-main em,
.rank-main span {
    display: block;
}

.rank-main strong {
    color: #ffffff;
    font-size: 18px;
}

.rank-main em {
    margin-top: 4px;
    color: var(--muted);
    font-style: normal;
}

.rank-main span {
    margin-top: 5px;
    color: var(--subtle);
    font-size: 13px;
}

.rank-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.rank-tags span {
    padding: 5px 9px;
    border-radius: 999px;
    color: #d4d4d8;
    background: rgba(39, 39, 42, 0.92);
    font-size: 12px;
}

.final-cta {
    background: radial-gradient(circle at center, rgba(6, 182, 212, 0.14), transparent 38rem);
}

.center-copy {
    text-align: center;
}

.center-copy .primary-btn {
    margin-top: 24px;
}

.page-hero {
    position: relative;
    padding: 70px 0;
    overflow: hidden;
    border-bottom: 1px solid rgba(39, 39, 42, 0.9);
    background: linear-gradient(135deg, rgba(8, 51, 68, 0.42), rgba(9, 9, 11, 0.92));
}

.slim-hero {
    padding: 84px 0 56px;
}

.category-hero,
.search-hero {
    padding: 64px 0 48px;
}

.crumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 14px;
}

.crumb a:hover {
    color: #22d3ee;
}

.crumb b {
    color: #ffffff;
    font-weight: 600;
}

.inline-filter {
    width: min(720px, 100%);
    margin-top: 24px;
}

.inline-filter button {
    color: #ffffff;
    background: #27272a;
}

.inline-filter button:hover {
    background: #3f3f46;
}

.filter-row {
    margin-top: 18px;
}

.filter-row button {
    padding: 8px 12px;
    cursor: pointer;
}

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

.category-tile {
    padding: 22px;
    border: 1px solid rgba(39, 39, 42, 0.9);
    border-radius: 22px;
    background: rgba(24, 24, 27, 0.74);
    box-shadow: 0 14px 42px rgba(0, 0, 0, 0.18);
}

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

.category-head span {
    font-size: 24px;
    font-weight: 800;
}

.category-head strong {
    color: #22d3ee;
    font-size: 14px;
}

.category-tile p {
    color: var(--muted);
}

.category-samples {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.category-samples a {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #27272a;
}

.category-samples img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.category-samples span {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    padding: 20px 8px 7px;
    color: #ffffff;
    font-size: 12px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), transparent);
}

.detail-hero {
    position: relative;
    overflow: hidden;
    padding: 56px 0 72px;
    background: #09090b;
}

.detail-backdrop {
    position: absolute;
    inset: 0;
    opacity: 0.24;
    filter: blur(6px);
    transform: scale(1.04);
}

.detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #09090b 0%, rgba(9, 9, 11, 0.86) 46%, rgba(9, 9, 11, 0.58)), linear-gradient(0deg, #09090b 0%, transparent 55%);
}

.detail-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    gap: 42px;
    align-items: center;
}

.detail-player-card {
    border: 1px solid rgba(6, 182, 212, 0.34);
    border-radius: 26px;
    overflow: hidden;
    background: #000000;
    box-shadow: var(--shadow);
}

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

.player-shell video {
    width: 100%;
    height: 100%;
    display: block;
    background: #000000;
}

.player-start {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 12px;
    border: 0;
    cursor: pointer;
    color: #ffffff;
    background: radial-gradient(circle at center, rgba(6, 182, 212, 0.16), rgba(0, 0, 0, 0.46));
}

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

.player-start span {
    width: 82px;
    height: 82px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(6, 182, 212, 0.94);
    box-shadow: 0 18px 45px rgba(6, 182, 212, 0.25);
}

.player-start strong {
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.5);
}

.detail-copy h1 {
    margin-top: 16px;
    font-size: clamp(34px, 4.8vw, 58px);
}

.detail-one-line {
    margin-top: 18px;
    color: #d4d4d8;
    font-size: 18px;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 22px 0 16px;
}

.detail-meta span {
    padding: 7px 12px;
    border: 1px solid rgba(63, 63, 70, 0.85);
    border-radius: 999px;
    color: #d4d4d8;
    background: rgba(24, 24, 27, 0.74);
}

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

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

.article-layout article,
.article-layout aside {
    border: 1px solid rgba(39, 39, 42, 0.9);
    border-radius: 22px;
    background: rgba(24, 24, 27, 0.7);
}

.article-layout article {
    padding: 30px;
}

.article-layout aside {
    padding: 24px;
    position: sticky;
    top: 96px;
}

.detail-text h2 {
    font-size: 26px;
}

.detail-text p {
    color: #d4d4d8;
}

.article-layout dl {
    display: grid;
    gap: 12px;
    margin: 18px 0 0;
}

.article-layout dt {
    color: var(--subtle);
    font-size: 13px;
}

.article-layout dd {
    margin: -8px 0 0;
    color: #ffffff;
}

.article-layout dd a {
    color: #22d3ee;
}

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

.compact-card .card-content strong {
    font-size: 16px;
}

.searchable-list .is-hidden {
    display: none;
}

.site-footer {
    border-top: 1px solid rgba(39, 39, 42, 0.92);
    background: #18181b;
}

.footer-inner {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    padding: 48px 0 32px;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(190px, 0.65fr) minmax(190px, 0.65fr);
    gap: 30px;
}

.footer-brand p {
    max-width: 560px;
    color: var(--muted);
}

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

.footer-links div {
    display: grid;
    gap: 8px;
}

.footer-links a {
    color: var(--muted);
    font-size: 14px;
}

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

.footer-bottom {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    padding: 20px 0 34px;
    border-top: 1px solid rgba(39, 39, 42, 0.8);
    color: var(--subtle);
    font-size: 14px;
}

@media (max-width: 1180px) {
    .desktop-nav .nav-link:nth-last-child(-n + 3) {
        display: none;
    }

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

@media (max-width: 900px) {
    .desktop-nav,
    .header-search {
        display: none;
    }

    .menu-toggle {
        display: grid;
        place-items: center;
        margin-left: auto;
    }

    .header-inner {
        height: 66px;
    }

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

    .hero-content h1 {
        font-size: clamp(38px, 12vw, 60px);
    }

    .search-band,
    .feature-grid,
    .detail-grid,
    .article-layout,
    .footer-inner {
        grid-template-columns: 1fr;
    }

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

    .rank-row a {
        grid-template-columns: 48px 104px minmax(0, 1fr);
    }

    .rank-tags {
        grid-column: 3;
        justify-content: flex-start;
    }

    .article-layout aside {
        position: static;
    }
}

@media (max-width: 620px) {
    .section-block,
    .quick-search-section {
        padding: 46px 0;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
    }

    .brand-name {
        font-size: 17px;
    }

    .brand-subtitle {
        font-size: 9px;
    }

    .hero-carousel {
        min-height: 590px;
    }

    .hero-overlay {
        background: linear-gradient(0deg, #09090b 0%, rgba(0, 0, 0, 0.72) 55%, rgba(0, 0, 0, 0.42));
    }

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

    .hero-content p {
        font-size: 16px;
    }

    .hero-actions,
    .big-search,
    .inline-filter,
    .section-heading {
        flex-direction: column;
        align-items: stretch;
    }

    .primary-btn,
    .ghost-btn,
    .big-search button,
    .inline-filter button {
        width: 100%;
    }

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

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

    .rank-row a {
        grid-template-columns: 40px 92px minmax(0, 1fr);
        gap: 12px;
        padding: 12px;
    }

    .rank-row img {
        width: 92px;
    }

    .rank-number {
        font-size: 20px;
    }

    .rank-tags {
        display: none;
    }

    .detail-hero {
        padding-top: 34px;
    }

    .article-layout article,
    .article-layout aside,
    .category-tile,
    .search-band {
        padding: 20px;
    }
}
