:root {
    --rose-50: #fff1f2;
    --rose-100: #ffe4e6;
    --rose-500: #f43f5e;
    --rose-600: #e11d48;
    --pink-500: #ec4899;
    --amber-50: #fffbeb;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --shadow-sm: 0 4px 14px rgba(17, 24, 39, 0.08);
    --shadow-md: 0 14px 35px rgba(17, 24, 39, 0.12);
    --shadow-lg: 0 24px 60px rgba(244, 63, 94, 0.22);
    --radius: 20px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--gray-50);
    color: var(--gray-900);
    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;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 rgba(229, 231, 235, 0.8), var(--shadow-sm);
}

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

.brand,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.brand-mark,
.footer-logo span {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
    box-shadow: 0 10px 24px rgba(244, 63, 94, 0.25);
    font-size: 14px;
}

.brand-text {
    font-size: 24px;
    background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
}

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

.nav-link,
.mobile-link {
    color: var(--gray-700);
    font-size: 15px;
    font-weight: 650;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
    color: var(--rose-500);
}

.header-search,
.mobile-search {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-search input,
.mobile-search input,
.filter-panel input,
.filter-panel select {
    border: 1px solid var(--gray-300);
    border-radius: 999px;
    padding: 10px 14px;
    outline: none;
    background: var(--white);
    color: var(--gray-900);
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.header-search input:focus,
.mobile-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--rose-500);
    box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.12);
}

.header-search button,
.mobile-search button,
.catalog-actions button {
    border: 0;
    border-radius: 999px;
    padding: 10px 16px;
    color: var(--white);
    background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
    cursor: pointer;
    font-weight: 700;
}

.menu-button {
    display: none;
    margin-left: auto;
    border: 0;
    background: var(--gray-100);
    border-radius: 12px;
    padding: 10px 12px;
    cursor: pointer;
}

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

.mobile-menu.open {
    display: grid;
    gap: 12px;
}

.mobile-link {
    display: block;
    padding: 10px 4px;
}

.hero-section {
    position: relative;
    min-height: 640px;
    overflow: hidden;
    background: linear-gradient(135deg, #fff1f2 0%, #fdf2f8 45%, #fffbeb 100%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.5;
    background-image: linear-gradient(rgba(244, 63, 94, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(244, 63, 94, 0.06) 1px, transparent 1px);
    background-size: 48px 48px;
}

.hero-section::after,
.page-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    background: linear-gradient(180deg, rgba(249, 250, 251, 0), var(--gray-50));
    pointer-events: none;
}

.hero-inner {
    position: relative;
    width: min(1180px, calc(100% - 32px));
    min-height: 640px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    align-items: center;
    gap: 44px;
    padding: 56px 0 92px;
}

.hero-copy {
    max-width: 670px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    margin-bottom: 22px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-sm);
    color: var(--gray-600);
    font-size: 14px;
    font-weight: 700;
}

.hero-copy h1 {
    margin: 0;
    color: var(--gray-900);
    font-size: clamp(44px, 7vw, 72px);
    line-height: 1.05;
    letter-spacing: -0.06em;
}

.hero-copy h1 span {
    display: block;
    margin-top: 8px;
    background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-copy p {
    margin: 24px 0 0;
    color: var(--gray-600);
    font-size: 20px;
    max-width: 620px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn.primary,
.btn.full {
    color: var(--white);
    background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
    box-shadow: var(--shadow-sm);
}

.btn.secondary {
    color: var(--gray-700);
    background: var(--white);
    border-color: var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.btn:hover,
.category-tile:hover,
.movie-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn.full {
    width: 100%;
    margin-top: 18px;
}

.hero-stats {
    display: flex;
    gap: 22px;
    margin-top: 46px;
}

.hero-stats div {
    padding-right: 22px;
    border-right: 1px solid var(--gray-300);
}

.hero-stats div:last-child {
    border-right: 0;
}

.hero-stats strong,
.hero-stats span {
    display: block;
}

.hero-stats strong {
    font-size: 26px;
    line-height: 1;
}

.hero-stats span {
    margin-top: 6px;
    color: var(--gray-500);
    font-size: 14px;
}

.hero-showcase {
    position: relative;
    min-height: 500px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 18px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateX(26px) scale(0.98);
    pointer-events: none;
    transition: opacity 0.45s ease, transform 0.45s ease;
    backdrop-filter: blur(16px);
}

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

.hero-poster-wrap {
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--rose-100), var(--amber-50));
}

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

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

.hero-slide-copy {
    padding: 6px 10px 12px;
}

.hero-label {
    color: var(--rose-600);
    font-weight: 800;
    font-size: 13px;
}

.hero-slide h2 {
    margin: 8px 0 6px;
    font-size: 26px;
    line-height: 1.25;
}

.hero-slide p {
    margin: 0;
    color: var(--gray-600);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.small-link,
.view-more {
    display: inline-flex;
    margin-top: 10px;
    color: var(--rose-600);
    font-weight: 800;
}

.hero-dots {
    position: absolute;
    left: 32px;
    bottom: -34px;
    display: flex;
    gap: 10px;
}

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

.hero-dot.active {
    width: 30px;
    background: var(--rose-500);
}

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

.section-block.white {
    width: 100%;
    padding-left: max(16px, calc((100% - 1180px) / 2));
    padding-right: max(16px, calc((100% - 1180px) / 2));
    background: var(--white);
}

.section-head {
    margin-bottom: 28px;
}

.section-head.centered {
    text-align: center;
}

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

.section-head h2 {
    margin: 0;
    font-size: clamp(26px, 4vw, 38px);
    letter-spacing: -0.04em;
}

.section-head p {
    margin: 8px 0 0;
    color: var(--gray-600);
}

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

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

.category-tile {
    position: relative;
    min-height: 172px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    padding: 24px;
    border-radius: var(--radius);
    color: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.36), transparent 32%);
}

.category-icon,
.category-name,
.category-desc,
.category-sample {
    position: relative;
}

.category-icon {
    font-size: 36px;
}

.category-name {
    font-size: 22px;
    font-weight: 900;
}

.category-desc,
.category-sample {
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
}

.category-sample {
    display: inline-flex;
    align-self: flex-start;
    margin-top: 4px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
}

.tone-rose { background: linear-gradient(135deg, #fb7185, #ec4899); }
.tone-orange { background: linear-gradient(135deg, #f97316, #ef4444); }
.tone-pink { background: linear-gradient(135deg, #f472b6, #fb7185); }
.tone-blue { background: linear-gradient(135deg, #3b82f6, #06b6d4); }
.tone-purple { background: linear-gradient(135deg, #8b5cf6, #6366f1); }
.tone-red { background: linear-gradient(135deg, #ef4444, #f43f5e); }
.tone-yellow { background: linear-gradient(135deg, #f59e0b, #f97316); }
.tone-cyan { background: linear-gradient(135deg, #06b6d4, #14b8a6); }
.tone-green { background: linear-gradient(135deg, #22c55e, #10b981); }
.tone-amber { background: linear-gradient(135deg, #f59e0b, #eab308); }

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

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

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

.poster-link {
    position: relative;
    display: block;
    height: 270px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--rose-100), var(--amber-50));
}

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

.poster-region,
.poster-play {
    position: absolute;
    z-index: 2;
}

.poster-region {
    top: 14px;
    right: 14px;
    padding: 5px 10px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(244, 63, 94, 0.92);
    font-size: 12px;
    font-weight: 800;
}

.poster-play {
    left: 50%;
    top: 50%;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    background: rgba(17, 24, 39, 0.58);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.88);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.card-body {
    padding: 18px;
}

.card-meta,
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.card-meta span,
.detail-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: 12px;
    font-weight: 700;
}

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

.movie-card h3 a:hover {
    color: var(--rose-600);
}

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

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.tag-row span {
    padding: 4px 9px;
    border-radius: 999px;
    background: var(--rose-50);
    color: var(--rose-600);
    font-size: 12px;
    font-weight: 750;
}

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

.home-ranking,
.filter-panel,
.side-card,
.content-card {
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.home-ranking {
    position: sticky;
    top: 98px;
    align-self: start;
    padding: 24px;
}

.rank-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

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

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

.rank-link {
    display: grid;
    grid-template-columns: 42px 64px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.78);
    transition: background 0.2s ease, transform 0.2s ease;
}

.rank-link:hover {
    background: var(--rose-50);
    transform: translateX(2px);
}

.rank-number {
    color: var(--rose-600);
    font-size: 20px;
    font-weight: 900;
}

.rank-link img {
    width: 64px;
    height: 78px;
    border-radius: 12px;
    object-fit: cover;
    background: var(--gray-100);
}

.rank-info {
    min-width: 0;
}

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

.rank-info strong {
    overflow: hidden;
    color: var(--gray-900);
    font-size: 15px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-info em {
    margin-top: 5px;
    color: var(--gray-500);
    font-size: 12px;
    font-style: normal;
}

.page-hero {
    position: relative;
    overflow: hidden;
    min-height: 310px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #fff1f2, #fdf2f8, #fffbeb);
}

.page-hero > div {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 58px 0 86px;
}

.page-hero span {
    display: inline-flex;
    color: var(--rose-600);
    font-weight: 900;
}

.page-hero h1 {
    margin: 12px 0 0;
    font-size: clamp(36px, 6vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.page-hero p {
    max-width: 720px;
    margin: 18px 0 0;
    color: var(--gray-600);
    font-size: 18px;
}

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

.catalog-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 28px;
    padding: 54px 0 76px;
}

.filter-panel {
    position: sticky;
    top: 98px;
    align-self: start;
    padding: 24px;
}

.filter-panel h2 {
    margin: 0 0 18px;
    font-size: 20px;
}

.filter-panel label {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--gray-700);
    font-size: 14px;
    font-weight: 800;
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    border-radius: 14px;
}

.catalog-main {
    min-width: 0;
}

.catalog-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.catalog-bar h2 {
    margin: 0;
    font-size: 28px;
}

.catalog-actions {
    display: flex;
    gap: 10px;
}

.catalog-actions button {
    padding: 8px 13px;
    font-size: 13px;
}

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

.empty-state {
    display: none;
    padding: 42px;
    border-radius: var(--radius);
    background: var(--white);
    color: var(--gray-600);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

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

.detail-hero {
    position: relative;
    overflow: hidden;
    min-height: 560px;
    color: var(--white);
    background: var(--gray-900);
}

.detail-backdrop {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(4px) saturate(1.08);
    transform: scale(1.05);
    opacity: 0.42;
}

.detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(17, 24, 39, 0.94), rgba(17, 24, 39, 0.58) 54%, rgba(17, 24, 39, 0.86));
}

.detail-inner {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 32px));
    min-height: 560px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    align-items: center;
    gap: 42px;
    padding: 56px 0;
}

.detail-poster {
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

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

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

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

.breadcrumb em {
    font-style: normal;
    color: rgba(255, 255, 255, 0.88);
}

.detail-info h1 {
    margin: 18px 0 14px;
    font-size: clamp(34px, 6vw, 60px);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.detail-info .detail-meta span {
    color: var(--white);
    background: rgba(255, 255, 255, 0.14);
}

.detail-one-line {
    max-width: 780px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 19px;
}

.detail-tags span {
    background: rgba(255, 255, 255, 0.13);
    color: var(--white);
}

.watch-section {
    padding: 64px 0 36px;
}

.video-player {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #000;
    box-shadow: var(--shadow-md);
    aspect-ratio: 16 / 9;
}

.video-player video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    color: var(--white);
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.24), rgba(17, 24, 39, 0.68));
    cursor: pointer;
}

.player-overlay span {
    width: 86px;
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding-left: 5px;
    color: var(--white);
    background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
    box-shadow: 0 18px 50px rgba(244, 63, 94, 0.38);
    font-size: 34px;
}

.video-player.is-started .player-overlay {
    display: none;
}

.detail-content-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    padding: 28px 0 64px;
}

.content-main {
    display: grid;
    gap: 20px;
}

.content-card,
.side-card {
    padding: 26px;
}

.content-card h2,
.side-card h2 {
    margin: 0 0 12px;
    font-size: 24px;
}

.content-card p {
    margin: 0;
    color: var(--gray-700);
    font-size: 17px;
}

.side-card dl {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px 14px;
    margin: 0;
}

.side-card dt {
    color: var(--gray-500);
}

.side-card dd {
    margin: 0;
    color: var(--gray-900);
    font-weight: 750;
}

.related-section {
    padding-top: 52px;
}

.site-footer {
    background: linear-gradient(135deg, var(--gray-900), var(--gray-800));
    color: var(--gray-300);
}

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

.footer-logo {
    color: var(--white);
    font-size: 22px;
}

.footer-brand p,
.footer-col p,
.footer-col a {
    color: var(--gray-400);
}

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

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

.footer-col a:hover {
    color: #fb7185;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 16px;
    color: var(--gray-400);
    text-align: center;
    font-size: 14px;
}

@media (max-width: 1100px) {
    .header-search {
        display: none;
    }

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

    .hero-showcase {
        min-height: 560px;
    }

    .home-ranking,
    .filter-panel {
        position: static;
    }

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

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

@media (max-width: 760px) {
    .header-inner {
        min-height: 64px;
    }

    .desktop-nav {
        display: none;
    }

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

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

    .hero-inner {
        min-height: auto;
        padding: 42px 0 92px;
    }

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

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

    .hero-stats {
        flex-wrap: wrap;
    }

    .hero-showcase {
        min-height: 520px;
    }

    .section-block,
    .watch-section,
    .detail-content-section,
    .catalog-layout {
        padding-top: 44px;
        padding-bottom: 48px;
    }

    .section-head.between,
    .catalog-bar {
        align-items: flex-start;
        flex-direction: column;
    }

    .category-grid,
    .category-grid.large,
    .movie-grid,
    .movie-grid.compact,
    .catalog-grid,
    .grid-rank,
    .wide-rank,
    .footer-inner,
    .detail-inner {
        grid-template-columns: 1fr;
    }

    .detail-inner {
        padding-top: 36px;
    }

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

    .poster-link {
        height: 330px;
    }

    .rank-link {
        grid-template-columns: 38px 58px minmax(0, 1fr);
    }
}
