:root {
    --color-red: #dc2626;
    --color-red-dark: #b91c1c;
    --color-orange: #ea580c;
    --color-blue: #2563eb;
    --color-cyan: #0891b2;
    --color-dark: #111827;
    --color-muted: #6b7280;
    --color-line: #e5e7eb;
    --color-soft: #f8fafc;
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
    --shadow-card: 0 14px 32px rgba(15, 23, 42, 0.10);
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 10px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #f9fafb;
    color: var(--color-dark);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

img {
    max-width: 100%;
    height: auto;
}

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(229, 231, 235, 0.9);
    backdrop-filter: blur(16px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
    gap: 20px;
}

.site-logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--color-red), var(--color-orange));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: #ffffff;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--color-red), var(--color-orange));
    box-shadow: 0 10px 28px rgba(220, 38, 38, 0.26);
    font-size: 13px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-link,
.nav-dropdown-button {
    padding: 10px 0;
    color: #374151;
    font-weight: 700;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.nav-dropdown:hover .nav-dropdown-button {
    color: var(--color-red);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-button {
    border: 0;
    background: transparent;
    cursor: pointer;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: -18px;
    min-width: 180px;
    padding: 10px;
    background: #ffffff;
    border: 1px solid var(--color-line);
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.18s ease;
}

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

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

.nav-dropdown-menu a:hover {
    background: #fef2f2;
    color: var(--color-red);
}

.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 1 330px;
}

.header-search input,
.mobile-nav input,
.catalog-toolbar input,
.search-panel input {
    width: 100%;
    border: 1px solid #d1d5db;
    background: #ffffff;
    border-radius: 999px;
    padding: 11px 16px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input:focus,
.mobile-nav input:focus,
.catalog-toolbar input:focus,
.search-panel input:focus {
    border-color: var(--color-red);
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12);
}

.header-search button,
.mobile-nav button {
    border: 0;
    border-radius: 999px;
    padding: 11px 17px;
    background: var(--color-red);
    color: #ffffff;
    font-weight: 800;
    cursor: pointer;
}

.mobile-menu-button {
    display: none;
    border: 0;
    background: #f3f4f6;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 20px;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    padding: 16px;
    border-top: 1px solid var(--color-line);
    background: #ffffff;
}

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

.mobile-nav a {
    padding: 10px 0;
    color: #374151;
    font-weight: 700;
}

.mobile-nav form {
    display: flex;
    gap: 8px;
}

.hero {
    position: relative;
    height: min(620px, 74vh);
    min-height: 520px;
    overflow: hidden;
    background: #111827;
}

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

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

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

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.54) 44%, rgba(0, 0, 0, 0.06));
}

.hero-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-copy {
    max-width: 680px;
    color: #ffffff;
}

.hero-kicker,
.section-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    padding: 8px 14px;
    background: linear-gradient(135deg, var(--color-red), var(--color-orange));
    color: #ffffff;
    font-weight: 900;
    letter-spacing: 0.02em;
    font-size: 13px;
    text-transform: uppercase;
}

.section-kicker.light {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.hero-copy h1,
.hero-copy h2 {
    margin: 18px 0 16px;
    font-size: clamp(40px, 7vw, 76px);
    line-height: 0.96;
    letter-spacing: -0.06em;
    font-weight: 950;
}

.hero-copy p {
    max-width: 620px;
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
    line-height: 1.8;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.hero-meta span,
.detail-badges span,
.genre-tags span {
    border-radius: 999px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-weight: 800;
    font-size: 14px;
    backdrop-filter: blur(8px);
}

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

.primary-button,
.ghost-button,
.outline-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 999px;
    padding: 12px 22px;
    font-weight: 900;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.primary-button {
    background: var(--color-blue);
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.28);
}

.primary-button:hover,
.ghost-button:hover,
.outline-link:hover {
    transform: translateY(-2px);
}

.primary-button.full {
    width: 100%;
}

.ghost-button {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.44);
    background: rgba(255, 255, 255, 0.12);
}

.outline-link {
    color: var(--color-red);
    border: 1px solid rgba(220, 38, 38, 0.24);
    background: #fff7f7;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.48);
    color: #ffffff;
    font-size: 38px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease;
}

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

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

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

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

.hero-dot.active {
    width: 34px;
    background: #ffffff;
}

.section-block {
    padding: 56px 0;
}

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

.section-heading h2 {
    margin: 12px 0 8px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.1;
    letter-spacing: -0.04em;
    font-weight: 950;
}

.section-heading p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.7;
}

.section-more {
    flex: 0 0 auto;
    color: var(--color-red);
    font-weight: 900;
}

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

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

.movie-card-link {
    display: block;
    min-width: 0;
}

.movie-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(229, 231, 235, 0.92);
    border-radius: var(--radius-md);
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(220, 38, 38, 0.20);
    box-shadow: var(--shadow-card);
}

.movie-cover {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #111827;
}

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

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

.movie-badge,
.movie-duration {
    position: absolute;
    z-index: 3;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 900;
}

.movie-badge {
    top: 12px;
    left: 12px;
    background: var(--color-red);
    color: #ffffff;
}

.movie-duration {
    right: 12px;
    bottom: 12px;
    background: rgba(0, 0, 0, 0.72);
    color: #ffffff;
}

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

.movie-card-body h3 {
    margin: 0 0 9px;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 950;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.movie-card-body p {
    min-height: 47px;
    margin: 0 0 12px;
    color: #4b5563;
    line-height: 1.65;
    font-size: 14px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

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

.movie-tags span,
.detail-tags a {
    display: inline-flex;
    border-radius: 999px;
    padding: 5px 9px;
    color: #b91c1c;
    background: #fef2f2;
    font-size: 12px;
    font-weight: 800;
}

.movie-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 14px;
    color: #6b7280;
    font-size: 13px;
    font-weight: 700;
}

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

.category-tile,
.category-overview-card {
    position: relative;
    overflow: hidden;
    min-height: 260px;
    border-radius: var(--radius-lg);
    background: #111827;
    color: #ffffff;
    box-shadow: var(--shadow-card);
}

.category-tile img,
.category-overview-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.62;
    transition: transform 0.45s ease, opacity 0.3s ease;
}

.category-tile:hover img,
.category-overview-card:hover img {
    transform: scale(1.08);
    opacity: 0.46;
}

.category-tile::after,
.category-overview-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.06), rgba(17, 24, 39, 0.92));
}

.category-tile span,
.category-tile h3,
.category-tile p,
.category-overview-card > div {
    position: relative;
    z-index: 2;
}

.category-tile {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
}

.category-tile span,
.category-overview-kicker {
    width: fit-content;
    border-radius: 999px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.18);
    font-weight: 900;
    font-size: 13px;
}

.category-tile h3,
.category-overview-card h2 {
    margin: 12px 0 8px;
    font-size: 24px;
    font-weight: 950;
}

.category-tile p,
.category-overview-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.65;
}

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

.category-overview-card {
    display: block;
    min-height: 320px;
}

.category-overview-card > div {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
}

.category-samples {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.category-samples span {
    border-radius: 999px;
    padding: 5px 9px;
    background: rgba(255, 255, 255, 0.15);
    font-size: 12px;
}

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

.ranking-panel,
.related-panel,
.poster-card,
.detail-card {
    border: 1px solid var(--color-line);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.ranking-panel {
    position: sticky;
    top: 92px;
    padding: 22px;
}

.ranking-heading span {
    color: var(--color-red);
    font-weight: 950;
}

.ranking-heading h2 {
    margin: 5px 0 18px;
    font-size: 28px;
    font-weight: 950;
}

.ranking-row {
    display: grid;
    grid-template-columns: 34px 58px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid #f1f5f9;
}

.ranking-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: #fef2f2;
    color: var(--color-red);
    font-weight: 950;
}

.ranking-row:nth-of-type(-n + 3) .ranking-index,
.ranking-index.big {
    background: linear-gradient(135deg, var(--color-red), var(--color-orange));
    color: #ffffff;
}

.ranking-row img {
    width: 58px;
    height: 72px;
    border-radius: 10px;
    object-fit: cover;
}

.ranking-title {
    overflow: hidden;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-score {
    color: #f59e0b;
    font-weight: 900;
}

.page-main {
    min-height: 64vh;
}

.page-hero {
    color: #ffffff;
    padding: 70px 0;
}

.gradient-red {
    background: radial-gradient(circle at top left, rgba(251, 146, 60, 0.40), transparent 32%), linear-gradient(135deg, #991b1b, #111827 62%, #0f172a);
}

.gradient-dark {
    background: radial-gradient(circle at top right, rgba(220, 38, 38, 0.34), transparent 34%), linear-gradient(135deg, #111827, #1f2937);
}

.gradient-blue {
    background: radial-gradient(circle at top left, rgba(34, 211, 238, 0.36), transparent 34%), linear-gradient(135deg, #1e3a8a, #111827 62%);
}

.page-hero h1 {
    margin: 18px 0 14px;
    font-size: clamp(38px, 6vw, 64px);
    line-height: 1;
    font-weight: 950;
    letter-spacing: -0.05em;
}

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

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

.detail-shell .breadcrumb {
    color: #64748b;
}

.breadcrumb a:hover {
    color: var(--color-red);
}

.catalog-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
    padding: 18px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-lg);
    background: #ffffff;
}

.catalog-toolbar label {
    display: grid;
    flex: 1;
    gap: 8px;
    color: #374151;
    font-weight: 900;
}

.empty-state {
    display: none;
    margin: 30px 0;
    padding: 28px;
    text-align: center;
    border: 1px dashed #d1d5db;
    border-radius: var(--radius-md);
    background: #ffffff;
    color: #6b7280;
    font-weight: 800;
}

.empty-state.show {
    display: block;
}

.search-panel {
    margin-top: 28px;
    max-width: 680px;
}

.search-panel input.large {
    min-height: 56px;
    padding: 15px 22px;
    font-size: 18px;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.filter-chip {
    border: 1px solid rgba(220, 38, 38, 0.16);
    border-radius: 999px;
    padding: 10px 15px;
    background: #ffffff;
    color: #991b1b;
    font-weight: 900;
    cursor: pointer;
}

.filter-chip.active,
.filter-chip:hover {
    background: var(--color-red);
    color: #ffffff;
}

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

.ranking-card {
    display: grid;
    grid-template-columns: 52px 96px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    background: #ffffff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.ranking-index.big {
    width: 46px;
    height: 46px;
    border-radius: 16px;
}

.ranking-card img {
    width: 96px;
    height: 122px;
    object-fit: cover;
    border-radius: 14px;
}

.ranking-card h2 {
    margin: 0 0 7px;
    font-size: 22px;
    font-weight: 950;
}

.ranking-card p {
    margin: 0 0 12px;
    color: #4b5563;
    line-height: 1.65;
}

.ranking-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #6b7280;
    font-size: 13px;
    font-weight: 800;
}

.detail-shell {
    padding: 34px 0 64px;
}

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

.detail-main {
    display: grid;
    gap: 24px;
}

.player-section {
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #000000;
    box-shadow: var(--shadow-soft);
}

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

.movie-player {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000000;
}

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.20), rgba(0, 0, 0, 0.70));
    color: #ffffff;
    font-size: 18px;
    font-weight: 950;
    cursor: pointer;
}

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

.play-symbol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-red), var(--color-orange));
    box-shadow: 0 22px 55px rgba(220, 38, 38, 0.34);
    font-size: 28px;
    text-indent: 4px;
}

.detail-card {
    padding: 28px;
}

.detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.detail-badges span,
.genre-tags span {
    background: #eff6ff;
    color: #1d4ed8;
}

.detail-card h1 {
    margin: 0 0 14px;
    font-size: clamp(30px, 5vw, 48px);
    line-height: 1.08;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.detail-one-line {
    color: #374151;
    font-size: 18px;
    line-height: 1.8;
}

.detail-card h2 {
    margin: 30px 0 12px;
    font-size: 24px;
    font-weight: 950;
}

.detail-card p {
    margin: 0;
    color: #374151;
    line-height: 1.9;
    font-size: 16px;
}

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

.detail-meta-grid div {
    display: grid;
    gap: 6px;
    padding: 14px;
    border-radius: 14px;
    background: #f8fafc;
}

.detail-meta-grid strong {
    color: #6b7280;
    font-size: 13px;
}

.detail-meta-grid span {
    font-weight: 900;
}

.poster-card,
.related-panel {
    padding: 18px;
}

.poster-card img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 16px;
}

.poster-card h2,
.related-panel h2 {
    margin: 16px 0 10px;
    font-size: 22px;
    font-weight: 950;
}

.poster-card p {
    color: #4b5563;
    line-height: 1.7;
}

.detail-side {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 22px;
}

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

.compact-card .movie-card {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
    align-items: stretch;
    border-radius: 14px;
    box-shadow: none;
}

.compact-card .movie-cover {
    aspect-ratio: auto;
    min-height: 120px;
}

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

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

.compact-card .movie-card-body p,
.compact-card .movie-tags,
.compact-card .movie-duration {
    display: none;
}

.site-footer {
    background: linear-gradient(180deg, #111827, #020617);
    color: #cbd5e1;
    padding-top: 48px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 34px;
}

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

.site-footer p {
    margin: 14px 0 0;
    color: #94a3b8;
    line-height: 1.75;
}

.site-footer a:not(.footer-logo) {
    display: block;
    margin: 9px 0;
    color: #cbd5e1;
}

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

.footer-bottom {
    margin-top: 42px;
    padding: 20px;
    border-top: 1px solid rgba(148, 163, 184, 0.22);
    color: #94a3b8;
    text-align: center;
}

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

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

    .ranking-panel,
    .detail-side {
        position: static;
    }

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

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

    .mobile-menu-button {
        display: inline-flex;
    }

    .hero {
        min-height: 580px;
        height: 78vh;
    }

    .hero-shade {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.86));
    }

    .hero-copy {
        align-self: flex-end;
        padding-bottom: 90px;
    }

    .hero-arrow {
        width: 42px;
        height: 42px;
        font-size: 30px;
    }

    .hero-prev {
        left: 12px;
    }

    .hero-next {
        right: 12px;
    }

    .section-heading,
    .catalog-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

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

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

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

    .site-logo {
        font-size: 20px;
    }

    .hero-copy h1,
    .hero-copy h2 {
        font-size: 42px;
    }

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

    .movie-grid,
    .latest-grid,
    .catalog-grid,
    .category-grid,
    .category-overview-grid {
        grid-template-columns: 1fr;
    }

    .ranking-card {
        grid-template-columns: 44px 76px minmax(0, 1fr);
        gap: 12px;
        padding: 12px;
    }

    .ranking-card img {
        width: 76px;
        height: 100px;
    }

    .detail-card,
    .poster-card,
    .related-panel {
        padding: 18px;
    }

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

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