* {
    box-sizing: border-box;
}

:root {
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --amber-500: #f59e0b;
    --amber-400: #fbbf24;
    --orange-500: #f97316;
    --white: #ffffff;
    --shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
    --radius-xl: 24px;
    --radius-lg: 18px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--slate-800);
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    color: var(--white);
    background: linear-gradient(90deg, var(--slate-900), var(--slate-700), var(--slate-900));
    box-shadow: 0 12px 32px rgba(2, 6, 23, 0.35);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 22px;
    min-height: 76px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}

.logo-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 14px;
    color: var(--white);
    background: linear-gradient(135deg, var(--amber-400), var(--orange-500));
    font-size: 24px;
    font-weight: 900;
    box-shadow: 0 12px 28px rgba(249, 115, 22, 0.35);
}

.brand-text strong {
    display: block;
    background: linear-gradient(90deg, #fde68a, #fdba74);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 22px;
    line-height: 1.1;
}

.brand-text em {
    display: block;
    color: var(--slate-300);
    font-size: 12px;
    font-style: normal;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.nav-link {
    padding: 10px 14px;
    border-radius: 12px;
    color: var(--slate-200);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--white);
    background: rgba(245, 158, 11, 0.95);
    transform: translateY(-1px);
}

.mini-search {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mini-search input,
.mobile-panel input,
.wide-search input,
.catalog-filter input,
.catalog-filter select,
.search-page-form input {
    border: 1px solid rgba(148, 163, 184, 0.32);
    outline: none;
    border-radius: 14px;
}

.mini-search input {
    width: 180px;
    padding: 10px 12px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
}

.mini-search input::placeholder,
.mobile-panel input::placeholder {
    color: #cbd5e1;
}

.mini-search button,
.mobile-panel button,
.wide-search button,
.search-page-form button {
    border: 0;
    border-radius: 14px;
    color: var(--white);
    background: var(--amber-500);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

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

.mini-search button:hover,
.mobile-panel button:hover,
.wide-search button:hover,
.search-page-form button:hover {
    background: var(--orange-500);
    transform: translateY(-1px);
}

.mobile-toggle {
    display: none;
    margin-left: auto;
    border: 0;
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 9px 12px;
    cursor: pointer;
}

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

.mobile-panel a,
.mobile-panel form {
    display: flex;
    width: 100%;
    margin-top: 8px;
}

.mobile-panel a {
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
}

.mobile-panel input {
    flex: 1;
    min-width: 0;
    padding: 12px 14px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
}

.mobile-panel button {
    padding: 0 16px;
}

.hero-carousel {
    position: relative;
    min-height: 680px;
    overflow: hidden;
    color: var(--white);
    background: var(--slate-950);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.02);
    transition: opacity 0.8s ease, transform 1s ease;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(2, 6, 23, 0.95), rgba(15, 23, 42, 0.76), rgba(15, 23, 42, 0.28)), var(--hero-bg);
    background-size: cover;
    background-position: center;
    filter: saturate(1.1);
}

.hero-slide::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 45%;
    background: linear-gradient(0deg, var(--slate-950), transparent);
}

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

.hero-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    align-items: center;
    gap: 54px;
    padding: 96px 0 118px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    color: #fde68a;
    background: rgba(245, 158, 11, 0.14);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-copy h1,
.inner-hero h1 {
    max-width: 850px;
    margin: 0;
    font-size: clamp(34px, 6vw, 66px);
    line-height: 1.04;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.hero-copy h2 {
    margin: 18px 0 12px;
    color: #fde68a;
    font-size: clamp(26px, 4vw, 42px);
    line-height: 1.15;
}

.hero-copy p {
    max-width: 720px;
    margin: 0;
    color: var(--slate-200);
    font-size: 18px;
}

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

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

.hero-tags span,
.detail-badges span,
.detail-tags span,
.tag-row span {
    border-radius: 999px;
    color: #fef3c7;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.28);
    font-size: 12px;
    font-weight: 700;
}

.hero-tags span,
.detail-badges span,
.detail-tags span {
    padding: 7px 12px;
}

.tag-row span {
    padding: 5px 9px;
    color: #92400e;
    background: #fffbeb;
    border-color: #fde68a;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    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: var(--white);
    background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
    box-shadow: 0 18px 34px rgba(249, 115, 22, 0.32);
}

.btn-soft {
    color: var(--white);
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
}

.btn-plain {
    color: #fde68a;
}

.hero-poster {
    position: relative;
    display: block;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.48);
    transform: rotate(2deg);
}

.hero-poster img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    background: linear-gradient(135deg, var(--slate-800), var(--slate-950));
}

.hero-poster span {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: var(--amber-500);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35);
}

.hero-control {
    position: absolute;
    left: 50%;
    bottom: 34px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    transform: translateX(-50%);
}

.hero-arrow,
.hero-dot {
    border: 0;
    cursor: pointer;
}

.hero-arrow {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: rgba(255, 255, 255, 0.14);
    font-size: 30px;
}

.hero-dots {
    display: flex;
    gap: 8px;
}

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

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

.search-band {
    margin-top: -46px;
    position: relative;
    z-index: 4;
}

.search-panel {
    display: grid;
    grid-template-columns: 1fr minmax(320px, 520px);
    gap: 24px;
    align-items: center;
    padding: 24px;
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow);
}

.search-panel h2,
.section-head h2,
.ranking-panel h2,
.article-card h2,
.side-recommend h2 {
    margin: 0;
    color: var(--slate-900);
}

.search-panel p,
.inner-hero p {
    margin: 6px 0 0;
    color: var(--slate-600);
}

.wide-search,
.search-page-form,
.catalog-filter {
    display: flex;
    gap: 10px;
}

.wide-search input,
.search-page-form input,
.catalog-filter input,
.catalog-filter select {
    width: 100%;
    padding: 14px 16px;
    color: var(--slate-800);
    background: var(--slate-100);
}

.wide-search button,
.search-page-form button {
    padding: 0 24px;
}

.section {
    padding: 78px 0;
}

.section-alt {
    background: linear-gradient(180deg, #f8fafc, #ffffff);
}

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

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

.section-head.slim {
    margin-bottom: 18px;
}

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

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

.category-tile strong,
.category-tile em {
    position: relative;
    z-index: 2;
    display: block;
}

.category-tile strong {
    font-size: 24px;
}

.category-tile em {
    margin-top: 8px;
    color: var(--slate-200);
    font-size: 14px;
    font-style: normal;
}

.category-tile img {
    position: absolute;
    right: -18px;
    bottom: -38px;
    width: 132px;
    height: 190px;
    object-fit: cover;
    border-radius: 18px;
    opacity: 0.58;
    transform: rotate(8deg);
}

.category-glow {
    position: absolute;
    inset: auto auto -60px -60px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.38);
    filter: blur(14px);
}

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.poster-link {
    position: relative;
    display: block;
    overflow: hidden;
    background: linear-gradient(135deg, var(--slate-800), var(--slate-950));
}

.poster-img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    transition: transform 0.35s ease;
}

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

.poster-play {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: rgba(245, 158, 11, 0.95);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.movie-card-body {
    padding: 16px;
}

.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    color: var(--slate-500);
    font-size: 12px;
    font-weight: 700;
}

.movie-meta span:not(:last-child)::after {
    content: "·";
    margin-left: 6px;
    color: var(--slate-300);
}

.movie-card h2 {
    margin: 8px 0 8px;
    color: var(--slate-900);
    font-size: 18px;
    line-height: 1.32;
}

.movie-card p {
    display: -webkit-box;
    min-height: 44px;
    margin: 0 0 12px;
    overflow: hidden;
    color: var(--slate-600);
    font-size: 14px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-card.compact .movie-card-body {
    padding: 14px;
}

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

.compact-grid .movie-card h2 {
    font-size: 16px;
}

.compact-grid .movie-card p {
    display: none;
}

.ranking-panel {
    position: sticky;
    top: 96px;
    padding: 22px;
    border-radius: var(--radius-xl);
    background: var(--slate-900);
    color: var(--white);
    box-shadow: var(--shadow);
}

.ranking-panel h2 {
    color: var(--white);
}

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

.rank-item {
    display: grid;
    grid-template-columns: 42px 54px 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    transition: background 0.2s ease;
}

.rank-item:hover {
    background: rgba(245, 158, 11, 0.16);
}

.rank-no {
    color: #fde68a;
    font-weight: 900;
}

.rank-item img {
    width: 54px;
    height: 72px;
    object-fit: cover;
    border-radius: 10px;
    background: var(--slate-800);
}

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

.rank-text em {
    color: var(--slate-300);
    font-size: 12px;
    font-style: normal;
}

.inner-hero {
    padding: 86px 0;
    color: var(--white);
    background: radial-gradient(circle at 20% 10%, rgba(245, 158, 11, 0.26), transparent 32%), linear-gradient(135deg, var(--slate-950), var(--slate-800));
}

.category-hero {
    background: radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.34), transparent 34%), linear-gradient(135deg, var(--slate-950), var(--slate-800));
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    color: var(--slate-300);
    font-size: 14px;
}

.breadcrumbs a:hover {
    color: #fde68a;
}

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

.category-card-large {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 24px;
    align-items: center;
    overflow: hidden;
    padding: 22px;
    border-radius: var(--radius-xl);
    color: var(--slate-900);
    background: var(--white);
    box-shadow: var(--shadow);
}

.category-stack {
    display: flex;
    min-height: 170px;
    align-items: center;
}

.category-stack img {
    width: 82px;
    height: 122px;
    object-fit: cover;
    border-radius: 14px;
    background: var(--slate-800);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.18);
}

.category-stack img:nth-child(2) {
    margin-left: -38px;
    transform: translateY(18px);
}

.category-stack img:nth-child(3) {
    margin-left: -38px;
    transform: translateY(-16px);
}

.category-card-large h2 {
    margin: 0 0 8px;
    font-size: 26px;
}

.category-card-large p {
    margin: 0 0 12px;
    color: var(--slate-600);
}

.category-card-large span {
    color: var(--amber-500);
    font-weight: 800;
}

.catalog-filter {
    margin-bottom: 28px;
    padding: 18px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: 0 14px 38px rgba(15, 23, 42, 0.08);
}

.catalog-filter select {
    max-width: 220px;
}

.empty-state,
.search-summary {
    margin-top: 24px;
    color: var(--slate-600);
    font-weight: 700;
}

.ranking-grid {
    display: grid;
    gap: 16px;
}

.ranking-card {
    display: grid;
    grid-template-columns: 118px 1fr;
    gap: 18px;
    padding: 18px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

.ranking-poster {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 16px;
    background: var(--slate-900);
}

.ranking-poster span {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    padding: 4px 8px;
    border-radius: 999px;
    color: var(--white);
    background: var(--amber-500);
    font-weight: 900;
}

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

.ranking-card h2 {
    margin: 0 0 8px;
    color: var(--slate-900);
}

.ranking-card p {
    color: var(--slate-600);
}

.detail-hero {
    padding: 48px 0 72px;
    color: var(--white);
    background: radial-gradient(circle at 78% 12%, rgba(245, 158, 11, 0.28), transparent 36%), linear-gradient(135deg, var(--slate-950), var(--slate-800));
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
    gap: 30px;
    align-items: start;
}

.player-frame {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    background: #000;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
}

.movie-video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.player-cover {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    overflow: hidden;
    cursor: pointer;
    background: #000;
}

.player-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.72;
    filter: saturate(1.06);
}

.player-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.16), rgba(2, 6, 23, 0.38));
}

.player-cover.is-hidden {
    display: none;
}

.player-button {
    position: absolute;
    z-index: 2;
    display: grid;
    width: 86px;
    height: 86px;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
    font-size: 34px;
    box-shadow: 0 22px 42px rgba(0, 0, 0, 0.38);
}

.detail-info {
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    background: rgba(15, 23, 42, 0.62);
    backdrop-filter: blur(16px);
}

.detail-info h1 {
    margin: 0;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.1;
}

.detail-one-line {
    color: var(--slate-200);
    font-size: 17px;
}

.detail-badges,
.detail-tags {
    margin-top: 16px;
}

.side-recommend {
    margin-top: 26px;
}

.side-recommend h2 {
    margin-bottom: 14px;
    color: var(--white);
}

.mini-movie {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
    padding: 8px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
}

.mini-movie img {
    width: 54px;
    height: 72px;
    object-fit: cover;
    border-radius: 10px;
    background: var(--slate-900);
}

.mini-movie strong,
.mini-movie em {
    display: block;
}

.mini-movie em {
    color: var(--slate-300);
    font-size: 12px;
    font-style: normal;
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: start;
}

.article-card {
    padding: 28px;
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow);
}

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

.article-card p {
    color: var(--slate-700);
    font-size: 16px;
}

.movie-facts dl {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 10px 14px;
    margin: 0;
}

.movie-facts dt {
    color: var(--slate-500);
    font-weight: 700;
}

.movie-facts dd {
    margin: 0;
    color: var(--slate-800);
}

.search-page-form {
    margin-bottom: 22px;
    padding: 18px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow);
}

.site-footer {
    color: var(--slate-300);
    background: var(--slate-950);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    gap: 42px;
    padding: 54px 0;
}

.footer-brand {
    margin-bottom: 10px;
    color: #fde68a;
    font-size: 24px;
    font-weight: 900;
}

.site-footer h2 {
    margin: 0 0 12px;
    color: var(--white);
    font-size: 18px;
}

.site-footer p {
    margin: 0;
}

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

.footer-links a:hover {
    color: var(--amber-400);
}

.footer-bottom {
    padding: 18px 0;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    text-align: center;
    font-size: 14px;
}

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

    .mobile-toggle {
        display: block;
    }

    .hero-layout,
    .detail-layout,
    .two-column,
    .detail-grid,
    .search-panel {
        grid-template-columns: 1fr;
    }

    .hero-poster {
        max-width: 260px;
    }

    .ranking-panel {
        position: static;
    }

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

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

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

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

    .header-inner {
        min-height: 68px;
    }

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

    .brand-text em {
        display: none;
    }

    .hero-carousel {
        min-height: auto;
    }

    .hero-slide {
        position: absolute;
    }

    .hero-slide.is-active {
        position: relative;
    }

    .hero-layout {
        gap: 28px;
        padding: 58px 0 110px;
    }

    .hero-copy p,
    .detail-one-line {
        font-size: 15px;
    }

    .hero-actions,
    .wide-search,
    .catalog-filter,
    .search-page-form {
        flex-direction: column;
    }

    .hero-control {
        bottom: 22px;
    }

    .search-band {
        margin-top: 0;
    }

    .search-panel {
        border-radius: 0;
        width: 100%;
    }

    .section {
        padding: 52px 0;
    }

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

    .movie-grid,
    .compact-grid,
    .category-grid,
    .category-overview,
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .category-card-large,
    .ranking-card {
        grid-template-columns: 1fr;
    }

    .catalog-filter select {
        max-width: none;
    }

    .detail-info,
    .article-card {
        padding: 20px;
    }

    .movie-facts dl {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .movie-grid,
    .compact-grid,
    .category-grid,
    .category-overview,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-poster {
        max-width: 210px;
    }

    .category-tile {
        min-height: 160px;
    }
}
