
:root {
    --sky-50: #f0f9ff;
    --sky-100: #e0f2fe;
    --sky-500: #0ea5e9;
    --sky-600: #0284c7;
    --sky-700: #0369a1;
    --blue-600: #2563eb;
    --cyan-500: #06b6d4;
    --orange-500: #f97316;
    --yellow-500: #eab308;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 12px 30px rgba(15, 23, 42, 0.12);
    --shadow-lg: 0 24px 70px rgba(15, 23, 42, 0.18);
    --radius-lg: 18px;
    --radius-xl: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
    backdrop-filter: blur(18px);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-900);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.03em;
    white-space: nowrap;
}

.brand-mark,
.footer-logo span {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--sky-600), var(--cyan-500));
    border-radius: 10px;
    box-shadow: 0 10px 22px rgba(2, 132, 199, 0.28);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 9px 14px;
    border-radius: 999px;
    color: var(--gray-700);
    font-size: 14px;
    font-weight: 650;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--sky-700);
    background: var(--sky-50);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: var(--gray-100);
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--gray-800);
    border-radius: 99px;
}

.hero-carousel {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: linear-gradient(120deg, #0284c7 0%, #2563eb 48%, #06b6d4 100%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.14;
    background-image: radial-gradient(circle at 20px 20px, rgba(255, 255, 255, 0.6) 0 2px, transparent 3px);
    background-size: 56px 56px;
}

.hero-track {
    position: relative;
    width: min(1180px, calc(100% - 32px));
    min-height: 610px;
    margin: 0 auto;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.72fr);
    gap: 54px;
    align-items: center;
    padding: 76px 0 120px;
    opacity: 0;
    pointer-events: none;
    transform: translateX(28px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 18px;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 999px;
    color: #cffafe;
    background: rgba(255, 255, 255, 0.12);
    font-size: 14px;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.hero-copy h1 {
    margin: 0 0 22px;
    font-size: clamp(42px, 7vw, 74px);
    line-height: 1.04;
    letter-spacing: -0.07em;
}

.hero-copy p {
    max-width: 680px;
    margin: 0 0 26px;
    color: #dbeafe;
    font-size: clamp(18px, 2vw, 24px);
}

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

.hero-tag,
.tag,
.detail-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.hero-tag {
    color: var(--white);
    background: rgba(255, 255, 255, 0.16);
}

.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 22px;
    border-radius: 12px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-light {
    color: var(--sky-700);
    background: var(--white);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.18);
}

.btn-ghost {
    color: var(--white);
    background: rgba(3, 105, 161, 0.72);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline {
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.34);
}

.hero-poster {
    position: relative;
    overflow: hidden;
    min-height: 460px;
    border: 10px solid rgba(255, 255, 255, 0.2);
    border-radius: 34px;
    background: rgba(15, 23, 42, 0.18);
    box-shadow: var(--shadow-lg);
    transform: rotate(2deg);
}

.hero-poster img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hero-poster:hover img {
    transform: scale(1.06);
}

.hero-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.65));
}

.hero-poster span {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 2;
    padding: 8px 12px;
    color: var(--white);
    background: rgba(0, 0, 0, 0.52);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
}

.hero-search-panel {
    position: relative;
    z-index: 3;
    width: min(1180px, calc(100% - 32px));
    margin: -82px auto 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-md);
    transform: translateY(34px);
}

.quick-search {
    display: flex;
    flex: 1;
    gap: 12px;
}

.quick-search input,
.search-field input,
.filter-bar select {
    width: 100%;
    min-height: 46px;
    padding: 0 15px;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    color: var(--gray-900);
    background: var(--white);
    outline: none;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.quick-search input:focus,
.search-field input:focus,
.filter-bar select:focus {
    border-color: var(--sky-500);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15);
}

.quick-search button {
    min-width: 112px;
    border: 0;
    border-radius: 12px;
    color: var(--white);
    background: linear-gradient(135deg, var(--sky-600), var(--blue-600));
    font-weight: 800;
}

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

.hero-dot {
    width: 12px;
    height: 12px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: var(--gray-300, #d1d5db);
}

.hero-dot.is-active {
    width: 34px;
    background: linear-gradient(135deg, var(--sky-600), var(--blue-600));
}

.stats-strip {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    margin: 72px auto 12px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.stats-strip div {
    padding: 24px;
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.2s ease;
}

.stats-strip div:hover {
    transform: translateY(-4px);
}

.stats-strip strong {
    display: block;
    color: var(--gray-900);
    font-size: 24px;
    font-weight: 900;
}

.stats-strip span {
    color: var(--gray-500);
    font-size: 14px;
}

.section-wrap,
.catalog-layout,
.detail-top {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.section-wrap {
    padding: 70px 0;
}

.section-heading {
    margin-bottom: 34px;
}

.section-heading.center {
    text-align: center;
}

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

.section-heading h2 {
    margin: 0 0 8px;
    color: var(--gray-900);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.section-heading p {
    margin: 0;
    color: var(--gray-500);
    font-size: 18px;
}

.section-heading a {
    color: var(--sky-700);
    font-weight: 800;
}

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

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

.movie-card,
.poster-card {
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover,
.poster-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.card-link {
    display: block;
    height: 100%;
}

.card-cover {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--sky-100), var(--gray-100));
}

.card-cover img {
    width: 100%;
    height: 224px;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.poster-card .card-cover img {
    height: 270px;
}

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

.card-badge,
.card-year {
    position: absolute;
    z-index: 2;
    padding: 5px 9px;
    border-radius: 999px;
    color: var(--white);
    font-size: 12px;
    font-weight: 800;
}

.card-badge {
    top: 14px;
    right: 14px;
    background: var(--sky-600);
}

.card-year {
    left: 14px;
    bottom: 14px;
    background: rgba(0, 0, 0, 0.68);
}

.card-body {
    padding: 18px;
}

.card-body h2 {
    display: -webkit-box;
    min-height: 48px;
    margin: 0 0 8px;
    overflow: hidden;
    color: var(--gray-900);
    font-size: 18px;
    line-height: 1.35;
    font-weight: 850;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

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

.card-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--gray-500);
    font-size: 12px;
}

.card-meta span:last-child {
    overflow: hidden;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tag,
.detail-tags span {
    color: var(--gray-600);
    background: var(--gray-100);
}

.category-band,
.latest-band {
    padding: 70px 0;
    background: var(--gray-50);
}

.category-band > .section-heading,
.category-band > .category-grid,
.latest-band > .section-heading,
.latest-band > .poster-grid {
    width: min(1180px, calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
}

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

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

.category-card {
    position: relative;
    overflow: hidden;
    min-height: 214px;
    padding: 26px;
    border-radius: var(--radius-lg);
    color: var(--white);
    box-shadow: var(--shadow-md);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-lg);
}

.category-card::after {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    right: -54px;
    bottom: -54px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
}

.category-card.large {
    min-height: 250px;
}

.category-icon {
    display: block;
    margin-bottom: 20px;
    font-size: 44px;
}

.category-card strong {
    display: block;
    margin-bottom: 4px;
    font-size: 22px;
}

.category-card em {
    display: inline-flex;
    margin-bottom: 18px;
    font-style: normal;
    opacity: 0.82;
}

.category-card p {
    position: relative;
    z-index: 2;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
}

.category-tone-1 {
    background: linear-gradient(135deg, #ef4444, #f97316);
}

.category-tone-2 {
    background: linear-gradient(135deg, #2563eb, #06b6d4);
}

.category-tone-3 {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
}

.category-tone-4 {
    background: linear-gradient(135deg, #111827, #475569);
}

.category-tone-5 {
    background: linear-gradient(135deg, #ec4899, #f43f5e);
}

.category-tone-6 {
    background: linear-gradient(135deg, #0891b2, #7c3aed);
}

.category-tone-7 {
    background: linear-gradient(135deg, #22c55e, #14b8a6);
}

.category-tone-8 {
    background: linear-gradient(135deg, #0f766e, #0ea5e9);
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 370px;
    gap: 34px;
}

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

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

.compact-card {
    display: flex;
    gap: 14px;
    padding: 14px;
    border-radius: 16px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.compact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.compact-card img {
    width: 104px;
    height: 104px;
    border-radius: 12px;
    object-fit: cover;
    background: var(--gray-100);
}

.compact-card span {
    display: inline-flex;
    margin-bottom: 7px;
    padding: 4px 8px;
    border-radius: 999px;
    color: var(--sky-700);
    background: var(--sky-50);
    font-size: 12px;
    font-weight: 800;
}

.compact-card h3 {
    display: -webkit-box;
    margin: 0 0 6px;
    overflow: hidden;
    color: var(--gray-900);
    font-size: 16px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.compact-card p {
    margin: 0;
    color: var(--gray-500);
    font-size: 13px;
}

.rank-panel {
    padding: 24px;
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, var(--white), var(--gray-50));
    box-shadow: var(--shadow-sm);
}

.rank-panel h2 {
    margin: 0 0 18px;
    color: var(--gray-900);
    font-size: 26px;
}

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

.rank-list.small .rank-item:nth-child(n + 6) {
    display: none;
}

.rank-item {
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.rank-item a {
    display: grid;
    grid-template-columns: 54px 116px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 16px;
}

.rank-number {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--orange-500), var(--yellow-500));
    border-radius: 14px;
    font-weight: 900;
}

.rank-item img {
    width: 116px;
    height: 88px;
    border-radius: 13px;
    object-fit: cover;
    background: var(--gray-100);
}

.rank-info h2 {
    margin: 0 0 6px;
    color: var(--gray-900);
    font-size: 18px;
}

.rank-info p {
    display: -webkit-box;
    margin: 0 0 8px;
    overflow: hidden;
    color: var(--gray-600);
    font-size: 14px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.rank-info div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--gray-500);
    font-size: 12px;
}

.cta-section,
.page-hero {
    color: var(--white);
    background: linear-gradient(120deg, var(--sky-600), var(--blue-600), var(--cyan-500));
}

.cta-section {
    padding: 76px 20px;
    text-align: center;
}

.cta-section h2,
.page-hero h1 {
    margin: 0 0 16px;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.12;
    letter-spacing: -0.05em;
}

.cta-section p,
.page-hero p {
    max-width: 780px;
    margin: 0 auto 28px;
    color: #dbeafe;
    font-size: 18px;
}

.page-hero {
    padding: 72px 0;
}

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

.catalog-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 30px;
    padding: 46px 0 76px;
}

.catalog-side {
    position: sticky;
    top: 94px;
    height: fit-content;
    padding: 22px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.catalog-side h2 {
    margin: 0 0 16px;
    color: var(--gray-900);
    font-size: 20px;
}

.side-link {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    padding: 11px 12px;
    border-radius: 12px;
    color: var(--gray-700);
    font-weight: 750;
}

.side-link:hover,
.side-link.is-active {
    color: var(--white);
    background: linear-gradient(135deg, var(--sky-600), var(--blue-600));
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 26px;
    padding: 18px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.filter-bar label {
    display: grid;
    gap: 6px;
    min-width: 190px;
    color: var(--gray-600);
    font-size: 13px;
    font-weight: 800;
}

.search-field {
    flex: 1;
}

.search-field.wide {
    min-width: min(560px, 100%);
}

.empty-state {
    padding: 56px;
    border-radius: var(--radius-lg);
    color: var(--gray-500);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    text-align: center;
    font-size: 18px;
    font-weight: 800;
}

.detail-top {
    padding: 26px 0 76px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 0 0 24px;
    color: var(--gray-500);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--sky-700);
    font-weight: 800;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
}

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

.player-card,
.detail-card,
.info-panel,
.related-panel {
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.player-shell {
    position: relative;
    overflow: hidden;
    background: #000000;
}

.video-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
    cursor: pointer;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 0;
    color: var(--white);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.62));
    font-weight: 900;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-circle {
    width: 82px;
    height: 82px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-left: 5px;
    color: var(--sky-700);
    background: var(--white);
    border-radius: 999px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
    font-size: 30px;
}

.detail-card {
    padding: 28px;
}

.detail-category {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    color: var(--sky-700);
    background: var(--sky-50);
    font-size: 13px;
    font-weight: 900;
}

.detail-card h1 {
    margin: 0 0 14px;
    color: var(--gray-900);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.18;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--gray-200);
}

.detail-meta span {
    padding: 6px 10px;
    border-radius: 10px;
    color: var(--gray-600);
    background: var(--gray-100);
    font-size: 13px;
    font-weight: 800;
}

.detail-card section {
    margin-top: 26px;
}

.detail-card h2,
.info-panel h2,
.related-panel h2 {
    margin: 0 0 14px;
    color: var(--gray-900);
    font-size: 22px;
}

.detail-card p {
    margin: 0 0 12px;
    color: var(--gray-700);
    font-size: 16px;
}

.detail-tags span {
    color: var(--sky-700);
    background: var(--sky-50);
}

.detail-side {
    display: grid;
    gap: 22px;
    align-content: start;
}

.info-panel,
.related-panel {
    padding: 22px;
}

.info-panel dl {
    margin: 0;
}

.info-panel div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
}

.info-panel div:last-child {
    border-bottom: 0;
}

.info-panel dt {
    color: var(--gray-500);
}

.info-panel dd {
    margin: 0;
    color: var(--gray-900);
    font-weight: 850;
    text-align: right;
}

.related-panel .compact-card {
    box-shadow: none;
    border: 1px solid var(--gray-100);
}

.site-footer {
    color: var(--gray-300);
    background: var(--gray-900);
}

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

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--white);
    font-size: 22px;
    font-weight: 900;
}

.footer-brand p {
    max-width: 420px;
    margin: 0;
    color: var(--gray-400);
}

.footer-block h2 {
    margin: 0 0 14px;
    color: var(--white);
    font-size: 17px;
}

.footer-block ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-block li {
    margin-bottom: 8px;
}

.footer-block a:hover {
    color: var(--sky-100);
}

.footer-bottom {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--gray-400);
    text-align: center;
    font-size: 14px;
}

@media (max-width: 1024px) {
    .hero-track {
        min-height: 760px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        gap: 34px;
        padding-top: 58px;
    }

    .hero-poster,
    .hero-poster img {
        min-height: 340px;
        height: 340px;
    }

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

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

    .catalog-side {
        position: static;
    }
}

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

    .nav-toggle {
        display: inline-block;
    }

    .nav-links {
        position: absolute;
        top: 64px;
        right: 16px;
        left: 16px;
        display: none;
        padding: 14px;
        border: 1px solid var(--gray-200);
        border-radius: 18px;
        background: var(--white);
        box-shadow: var(--shadow-md);
    }

    .nav-links.is-open {
        display: grid;
        gap: 6px;
    }

    .nav-link {
        border-radius: 12px;
    }

    .hero-track {
        min-height: 770px;
    }

    .hero-slide {
        padding-bottom: 150px;
    }

    .hero-search-panel,
    .quick-search,
    .section-heading.inline,
    .filter-bar {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-dots {
        justify-content: center;
    }

    .stats-strip,
    .featured-grid,
    .catalog-grid,
    .poster-grid,
    .category-grid,
    .category-grid.overview,
    .compact-grid,
    .compact-grid.three {
        grid-template-columns: 1fr;
    }

    .rank-item a {
        grid-template-columns: 42px 86px minmax(0, 1fr);
        gap: 10px;
        padding: 12px;
    }

    .rank-item img {
        width: 86px;
        height: 74px;
    }

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

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