:root {
    --rose: #f43f5e;
    --pink: #ec4899;
    --orange: #fb923c;
    --blue: #3b82f6;
    --violet: #8b5cf6;
    --green: #10b981;
    --amber: #f59e0b;
    --slate: #334155;
    --ink: #111827;
    --muted: #6b7280;
    --line: #e5e7eb;
    --soft: #f9fafb;
    --white: #ffffff;
    --shadow: 0 20px 45px rgba(17, 24, 39, 0.12);
    --shadow-soft: 0 12px 30px rgba(17, 24, 39, 0.08);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--soft);
    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: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
}

.header-inner {
    max-width: 1180px;
    margin: 0 auto;
    height: 68px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}

.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, var(--rose), var(--pink));
    box-shadow: 0 10px 20px rgba(244, 63, 94, 0.28);
}

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

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

.nav-link {
    position: relative;
    font-size: 15px;
    font-weight: 650;
    color: #374151;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 2px;
    transform: scaleX(0);
    transform-origin: left;
    border-radius: 999px;
    background: var(--rose);
    transition: transform 0.22s ease;
}

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

.nav-link:hover::after,
.nav-link.is-active::after {
    transform: scaleX(1);
}

.nav-link-sub {
    color: #6b7280;
}

.mobile-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: #f3f4f6;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-button span {
    width: 20px;
    height: 2px;
    background: #374151;
    border-radius: 999px;
}

.mobile-nav {
    display: none;
    border-top: 1px solid var(--line);
    padding: 12px 20px 18px;
    background: #fff;
}

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

.mobile-nav-link {
    padding: 12px 14px;
    border-radius: 12px;
    color: #374151;
    font-weight: 650;
}

.mobile-nav-link:hover,
.mobile-nav-link.is-active {
    background: #fff1f2;
    color: var(--rose);
}

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

.hero-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(50px);
    opacity: 0.35;
    animation: pulseGlow 6s ease-in-out infinite;
}

.hero-glow-a {
    width: 260px;
    height: 260px;
    left: 7%;
    top: 10%;
    background: var(--rose);
}

.hero-glow-b {
    width: 360px;
    height: 360px;
    right: 8%;
    bottom: 8%;
    background: var(--pink);
    animation-delay: 1.4s;
}

@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.28;
    }
    50% {
        transform: scale(1.12);
        opacity: 0.42;
    }
}

.hero-inner {
    position: relative;
    max-width: 1180px;
    min-height: 640px;
    margin: 0 auto;
    padding: 72px 20px;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.86fr);
    gap: 50px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--rose);
    font-weight: 800;
    letter-spacing: 0.02em;
    margin-bottom: 16px;
}

.hero-copy h1,
.page-hero h1 {
    margin: 0 0 20px;
    font-size: clamp(40px, 6vw, 66px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.hero-copy h1 span,
.page-hero h1 span {
    background: linear-gradient(135deg, var(--rose), var(--pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-copy p,
.page-hero p {
    margin: 0;
    max-width: 680px;
    color: var(--muted);
    font-size: 18px;
}

.hero-search {
    margin-top: 28px;
    max-width: 580px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 8px;
    border: 1px solid rgba(244, 63, 94, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow-soft);
}

.hero-search input {
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 13px 18px;
    border-radius: 999px;
    background: transparent;
}

.hero-search button,
.primary-button {
    border: 0;
    border-radius: 999px;
    padding: 13px 25px;
    color: #fff;
    font-weight: 800;
    background: linear-gradient(135deg, var(--rose), var(--pink));
    box-shadow: 0 14px 28px rgba(244, 63, 94, 0.28);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-search button:hover,
.primary-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 18px 34px rgba(244, 63, 94, 0.35);
}

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

.secondary-button {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 12px 24px;
    color: #374151;
    font-weight: 800;
    background: #fff;
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.secondary-button:hover {
    color: var(--rose);
    border-color: var(--rose);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 36px;
}

.hero-stats span {
    display: grid;
    gap: 4px;
    padding-right: 28px;
    border-right: 1px solid rgba(107, 114, 128, 0.24);
}

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

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

.hero-stats em {
    color: var(--muted);
    font-style: normal;
    font-size: 14px;
}

.hero-visual {
    position: relative;
}

.hero-slider {
    position: relative;
    min-height: 520px;
    border-radius: 32px;
    overflow: hidden;
    background: #111827;
    box-shadow: var(--shadow);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.04);
    transition: opacity 0.6s ease, transform 0.7s ease;
}

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

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

.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.15), rgba(17, 24, 39, 0.84));
}

.hero-slide-content {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 28px;
    z-index: 2;
    color: #fff;
}

.hero-slide-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.hero-slide-tags span,
.movie-tags span,
.detail-tags span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 700;
    background: #fff1f2;
    color: #be123c;
}

.hero-slide-content h2 {
    margin: 0 0 8px;
    font-size: 32px;
    line-height: 1.15;
}

.hero-slide-content p {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.86);
}

.hero-slide-content a {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 800;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.92);
}

.hero-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 999px;
    background: #fecdd3;
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

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

.content-section {
    padding: 70px 20px;
}

.content-section > * {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

.white-section {
    background: #fff;
}

.soft-section {
    background: linear-gradient(135deg, #fff7ed, #fdf2f8);
}

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

.section-heading h2 {
    margin: 0 0 8px;
    font-size: 32px;
    line-height: 1.2;
}

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

.section-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--rose);
    font-weight: 800;
}

.section-more span {
    transition: transform 0.2s ease;
}

.section-more:hover span {
    transform: translateX(4px);
}

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

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

.movie-card {
    min-width: 0;
}

.movie-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(229, 231, 235, 0.84);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card-link:hover {
    transform: translateY(-8px);
    border-color: rgba(244, 63, 94, 0.3);
    box-shadow: var(--shadow);
}

.movie-poster {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: linear-gradient(135deg, #ffe4e6, #fdf2f8);
}

.featured-grid .movie-poster {
    aspect-ratio: 16 / 10;
}

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

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

.movie-badge,
.movie-year {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    padding: 5px 10px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    background: rgba(244, 63, 94, 0.92);
    backdrop-filter: blur(10px);
}

.movie-badge {
    left: 12px;
    top: 12px;
}

.movie-year {
    right: 12px;
    top: 12px;
    background: rgba(17, 24, 39, 0.68);
}

.movie-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
}

.movie-card-body h2 {
    margin: 0;
    font-size: 17px;
    line-height: 1.35;
}

.movie-card-body p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #6b7280;
    font-size: 12px;
}

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

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

.category-tile {
    position: relative;
    min-height: 170px;
    display: grid;
    align-content: center;
    gap: 10px;
    overflow: hidden;
    border-radius: 26px;
    padding: 24px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.category-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.09;
    background: linear-gradient(135deg, var(--rose), var(--pink));
}

.category-orange::before {
    background: linear-gradient(135deg, var(--orange), var(--amber));
}

.category-pink::before {
    background: linear-gradient(135deg, var(--pink), var(--rose));
}

.category-blue::before {
    background: linear-gradient(135deg, var(--blue), #06b6d4);
}

.category-violet::before {
    background: linear-gradient(135deg, var(--violet), var(--pink));
}

.category-slate::before {
    background: linear-gradient(135deg, var(--slate), #0f172a);
}

.category-amber::before {
    background: linear-gradient(135deg, var(--amber), var(--orange));
}

.category-green::before {
    background: linear-gradient(135deg, var(--green), #14b8a6);
}

.category-icon,
.category-tile strong,
.category-tile em {
    position: relative;
    z-index: 1;
}

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

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

.category-tile em {
    color: var(--muted);
    font-style: normal;
    font-size: 14px;
}

.horizontal-cards,
.poster-strip {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(180px, 1fr);
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.small-card {
    display: grid;
    gap: 9px;
    min-width: 180px;
}

.small-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 18px;
    object-fit: cover;
    background: linear-gradient(135deg, #ffe4e6, #fdf2f8);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
    transition: transform 0.3s ease;
}

.small-card span {
    font-weight: 800;
}

.small-card em {
    color: var(--muted);
    font-size: 13px;
    font-style: normal;
}

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

.compact-rank-list {
    gap: 12px;
}

.rank-item a {
    display: grid;
    grid-template-columns: 54px 86px 1fr;
    gap: 18px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 12px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-item a:hover {
    transform: translateY(-3px);
    border-color: rgba(244, 63, 94, 0.35);
    box-shadow: var(--shadow-soft);
}

.rank-number {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: #fff;
    font-weight: 900;
    background: linear-gradient(135deg, var(--rose), var(--pink));
}

.rank-item img {
    width: 86px;
    height: 112px;
    border-radius: 14px;
    object-fit: cover;
    background: linear-gradient(135deg, #ffe4e6, #fdf2f8);
}

.rank-item h2 {
    margin: 0 0 6px;
    font-size: 18px;
}

.rank-item p {
    margin: 0 0 8px;
    color: var(--muted);
}

.rank-meta {
    color: #9ca3af;
    font-size: 13px;
}

.page-hero {
    padding: 76px 20px;
    background: linear-gradient(135deg, #fff1f2, #fff7ed 55%, #fdf2f8);
}

.page-hero > div {
    max-width: 1180px;
    margin: 0 auto;
}

.page-hero h1 {
    max-width: 860px;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) auto;
    gap: 16px;
    align-items: end;
    padding: 18px;
    margin-bottom: 26px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.filter-search label {
    display: block;
    margin-bottom: 8px;
    font-weight: 800;
}

.filter-search input,
.filter-selects select {
    width: 100%;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 14px;
    outline: 0;
    padding: 0 14px;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.filter-selects {
    display: grid;
    grid-template-columns: repeat(3, minmax(140px, 1fr));
    gap: 10px;
}

.empty-state {
    display: none;
    text-align: center;
    padding: 34px;
    color: var(--muted);
    border-radius: 20px;
    background: #fff7ed;
}

.empty-state.is-visible {
    display: block;
}

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

.category-directory a {
    display: grid;
    gap: 5px;
    padding: 18px;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.category-directory span {
    font-size: 28px;
}

.category-directory em {
    color: var(--rose);
    font-style: normal;
    font-weight: 800;
}

.detail-page {
    padding: 38px 20px 70px;
    background: var(--soft);
}

.detail-layout {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 28px;
}

.detail-main,
.detail-side {
    display: grid;
    gap: 20px;
    align-content: start;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 4px;
}

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

.player-card,
.detail-card,
.cover-card,
.side-card {
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.player-card {
    overflow: hidden;
    background: #000;
}

.player-frame {
    position: relative;
    background: #000;
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 0;
    color: #fff;
    background: radial-gradient(circle, rgba(244, 63, 94, 0.16), rgba(15, 23, 42, 0.52));
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-circle {
    width: 76px;
    height: 76px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding-left: 4px;
    color: var(--rose);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    font-size: 30px;
}

.player-overlay strong {
    font-size: 18px;
    letter-spacing: 0.04em;
}

.detail-card {
    padding: 28px;
}

.detail-card h1 {
    margin: 0 0 16px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.16;
}

.detail-card h2,
.cover-card h2,
.side-card h2 {
    margin: 22px 0 10px;
    font-size: 22px;
}

.detail-card p,
.cover-card p {
    color: #4b5563;
    margin: 0 0 12px;
}

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

.detail-meta span {
    padding: 7px 11px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #374151;
    font-weight: 700;
    font-size: 13px;
}

.cover-card {
    overflow: hidden;
}

.cover-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    background: linear-gradient(135deg, #ffe4e6, #fdf2f8);
}

.cover-card h2,
.cover-card p,
.cover-card .full-button {
    margin-left: 18px;
    margin-right: 18px;
}

.cover-card p {
    color: var(--muted);
}

.full-button {
    display: flex;
    justify-content: center;
    margin-top: 16px;
    margin-bottom: 18px;
}

.side-card {
    padding: 18px;
}

.side-card h2 {
    margin-top: 0;
}

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

.side-recommendations .small-card {
    min-width: 0;
}

.site-footer {
    color: #d1d5db;
    background: linear-gradient(135deg, #111827, #1f2937);
}

.footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 48px 20px;
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 30px;
}

.footer-brand p {
    max-width: 320px;
    color: #9ca3af;
}

.footer-brand-logo .brand-text {
    color: #fff;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
}

.footer-column {
    display: grid;
    gap: 10px;
    align-content: start;
}

.footer-column h2 {
    margin: 0 0 6px;
    color: #fff;
    font-size: 18px;
}

.footer-column a,
.footer-column span {
    color: #9ca3af;
    font-size: 14px;
}

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

.footer-bottom {
    max-width: 1180px;
    margin: 0 auto;
    padding: 18px 20px 26px;
    border-top: 1px solid rgba(156, 163, 175, 0.22);
    color: #9ca3af;
    font-size: 14px;
}

[data-movie-card].is-hidden {
    display: none;
}

@media (max-width: 1100px) {
    .catalog-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .detail-layout {
        grid-template-columns: 1fr;
    }
    .detail-side {
        grid-template-columns: 300px 1fr;
    }
}

@media (max-width: 900px) {
    .desktop-nav {
        display: none;
    }
    .mobile-menu-button {
        display: flex;
    }
    .hero-inner {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .hero-slider {
        min-height: 440px;
    }
    .movie-grid,
    .catalog-grid,
    .category-grid,
    .category-directory {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .filter-panel {
        grid-template-columns: 1fr;
    }
    .filter-selects {
        grid-template-columns: 1fr;
    }
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .brand-text {
        font-size: 20px;
    }
    .hero-section,
    .hero-inner {
        min-height: auto;
    }
    .hero-inner {
        padding: 44px 16px;
    }
    .hero-search {
        grid-template-columns: 1fr;
        border-radius: 22px;
    }
    .hero-search button {
        width: 100%;
    }
    .hero-actions {
        display: grid;
    }
    .hero-stats {
        gap: 14px;
    }
    .hero-stats span {
        border-right: 0;
        padding-right: 0;
    }
    .hero-slider {
        min-height: 390px;
        border-radius: 24px;
    }
    .hero-slide-content {
        left: 18px;
        right: 18px;
        bottom: 18px;
    }
    .hero-slide-content h2 {
        font-size: 24px;
    }
    .content-section,
    .page-hero,
    .detail-page {
        padding-left: 14px;
        padding-right: 14px;
    }
    .section-heading {
        align-items: start;
        flex-direction: column;
    }
    .movie-grid,
    .catalog-grid,
    .category-grid,
    .category-directory {
        grid-template-columns: 1fr;
    }
    .rank-item a {
        grid-template-columns: 42px 72px 1fr;
        gap: 12px;
    }
    .rank-item img {
        width: 72px;
        height: 96px;
    }
    .rank-item p {
        display: none;
    }
    .detail-side {
        grid-template-columns: 1fr;
    }
    .side-recommendations {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .footer-inner {
        grid-template-columns: 1fr;
    }
}
