:root {
    --page: #f8fafc;
    --surface: #ffffff;
    --ink: #0f172a;
    --muted: #64748b;
    --soft: #e2e8f0;
    --line: #e5e7eb;
    --dark: #020617;
    --dark-2: #0f172a;
    --cyan: #06b6d4;
    --blue: #2563eb;
    --purple: #7c3aed;
    --orange: #f97316;
    --radius: 22px;
    --shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
    --shadow-soft: 0 10px 28px rgba(15, 23, 42, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 48%, #f8fafc 100%);
    color: var(--ink);
    font-family: "Inter", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.65;
}

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

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(2, 6, 23, 0.94);
    color: #fff;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    backdrop-filter: blur(18px);
}

.nav-bar {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

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

.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    box-shadow: 0 12px 32px rgba(6, 182, 212, 0.32);
    font-size: 24px;
    font-weight: 900;
}

.brand-name {
    display: block;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, #67e8f9, #60a5fa);
    -webkit-background-clip: text;
    color: transparent;
}

.brand-sub {
    display: block;
    margin-top: 3px;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    color: #e2e8f0;
    font-size: 15px;
}

.desktop-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover {
    color: #67e8f9;
    transform: translateY(-1px);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-search {
    position: relative;
    width: 245px;
}

.nav-search input,
.catalog-toolbar input,
.catalog-toolbar select {
    width: 100%;
    border: 1px solid transparent;
    outline: none;
    border-radius: 14px;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.nav-search input {
    height: 42px;
    background: rgba(51, 65, 85, 0.9);
    color: #fff;
    padding: 0 44px 0 16px;
}

.nav-search input:focus {
    border-color: rgba(103, 232, 249, 0.7);
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.18);
}

.nav-search button {
    position: absolute;
    right: 6px;
    top: 6px;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 10px;
    color: #cbd5e1;
    background: transparent;
    cursor: pointer;
}

.menu-toggle {
    display: none;
    border: 0;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 13px;
    padding: 10px 12px;
    cursor: pointer;
    font-size: 18px;
}

.mobile-nav {
    display: none;
    padding: 0 0 18px;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.mobile-nav.is-open {
    display: block;
}

.mobile-nav a {
    display: block;
    padding: 11px 0;
    color: #e2e8f0;
}

.mobile-nav .nav-search {
    width: 100%;
    margin-top: 10px;
}

.hero {
    position: relative;
    min-height: 70vh;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 18% 18%, rgba(6, 182, 212, 0.28), transparent 34%),
        radial-gradient(circle at 82% 20%, rgba(124, 58, 237, 0.24), transparent 34%),
        linear-gradient(135deg, #020617 0%, #172554 55%, #020617 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 58px 58px;
    opacity: 0.42;
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 130px;
    background: linear-gradient(0deg, var(--page) 0%, transparent 100%);
}

.hero-shell {
    position: relative;
    z-index: 2;
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 58px 0 92px;
}

.hero-slider {
    width: 100%;
}

.hero-slide {
    display: none;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
    align-items: center;
    gap: 46px;
}

.hero-slide.is-active {
    display: grid;
    animation: fadeLift 0.5s ease both;
}

@keyframes fadeLift {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border: 1px solid rgba(103, 232, 249, 0.32);
    border-radius: 999px;
    color: #67e8f9;
    background: rgba(6, 182, 212, 0.14);
    font-size: 14px;
    font-weight: 700;
}

.hero h1 {
    margin: 20px 0 16px;
    font-size: clamp(40px, 7vw, 76px);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.hero-title-accent {
    display: block;
    margin-top: 10px;
    font-size: clamp(25px, 4vw, 43px);
    line-height: 1.1;
    background: linear-gradient(90deg, #67e8f9, #60a5fa, #c084fc);
    -webkit-background-clip: text;
    color: transparent;
}

.hero-movie-title {
    margin: 0 0 14px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.08;
}

.hero-text {
    max-width: 720px;
    margin: 0 0 28px;
    color: #cbd5e1;
    font-size: 18px;
}

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

.pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.11);
    color: #e0f2fe;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

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

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

.btn-primary {
    color: #fff;
    background: linear-gradient(90deg, var(--cyan), var(--blue));
    box-shadow: 0 14px 34px rgba(37, 99, 235, 0.24);
}

.btn-secondary {
    color: #fff;
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
}

.btn-light {
    color: var(--ink);
    background: #fff;
    border-color: var(--line);
}

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

.hero-art {
    position: relative;
}

.hero-poster {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.38);
    aspect-ratio: 16 / 10;
}

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

.hero-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.6), transparent 55%);
}

.hero-card {
    position: absolute;
    left: -22px;
    bottom: -24px;
    width: min(290px, 82%);
    padding: 18px;
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
}

.hero-card strong {
    display: block;
    color: #fff;
    font-size: 17px;
}

.hero-card span {
    display: block;
    margin-top: 4px;
    color: #cbd5e1;
    font-size: 13px;
}

.hero-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 34px;
}

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

.hero-dot.is-active {
    width: 34px;
    background: #67e8f9;
}

.section {
    padding: 76px 0;
}

.section-dark {
    background:
        radial-gradient(circle at 15% 18%, rgba(6, 182, 212, 0.24), transparent 30%),
        linear-gradient(135deg, #020617 0%, #172554 100%);
    color: #fff;
}

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

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

.section-kicker {
    margin: 0 0 6px;
    color: var(--cyan);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-title {
    margin: 0;
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.section-desc {
    margin: 8px 0 0;
    color: var(--muted);
}

.section-dark .section-desc {
    color: #cbd5e1;
}

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

.movie-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: var(--shadow-soft);
    transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}

.movie-card:hover {
    transform: translateY(-7px);
    border-color: rgba(6, 182, 212, 0.42);
    box-shadow: var(--shadow);
}

.movie-poster {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #0f172a;
}

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

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

.movie-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.75), transparent 70%);
    transition: opacity 0.25s ease;
}

.movie-card:hover .movie-poster::after {
    opacity: 1;
}

.card-badge {
    position: absolute;
    left: 14px;
    top: 14px;
    z-index: 2;
    padding: 5px 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--cyan), var(--blue));
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.card-rank {
    position: absolute;
    right: 14px;
    top: 14px;
    z-index: 2;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.74);
    color: #fff;
    font-weight: 900;
    backdrop-filter: blur(10px);
}

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

.movie-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.movie-card:hover h3 {
    color: #0891b2;
}

.movie-line {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 45px;
}

.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    color: #475569;
    font-size: 12px;
}

.movie-meta span {
    padding: 4px 8px;
    border-radius: 999px;
    background: #f1f5f9;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #eef2ff;
    color: #3730a3;
    padding: 5px 9px;
    font-size: 12px;
    font-weight: 700;
}

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

.rank-card {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    gap: 16px;
    padding: 15px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.rank-card:hover {
    transform: translateY(-4px);
    border-color: rgba(103, 232, 249, 0.5);
    background: rgba(255, 255, 255, 0.16);
}

.rank-cover {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    aspect-ratio: 1 / 1;
}

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

.rank-number {
    position: absolute;
    left: 8px;
    top: 8px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    color: #fff;
    font-weight: 900;
}

.rank-info h3 {
    margin: 2px 0 8px;
    color: #fff;
    font-size: 18px;
    line-height: 1.25;
}

.rank-info p {
    margin: 0 0 10px;
    color: #cbd5e1;
    font-size: 13px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rank-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #e0f2fe;
    font-size: 12px;
}

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

.category-tile {
    position: relative;
    min-height: 164px;
    overflow: hidden;
    border-radius: 26px;
    padding: 24px;
    color: #fff;
    box-shadow: var(--shadow-soft);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

.category-tile::after {
    content: "";
    position: absolute;
    right: -34px;
    bottom: -44px;
    width: 130px;
    height: 130px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.13);
    transition: transform 0.35s ease;
}

.category-tile:hover::after {
    transform: scale(1.35);
}

.category-tile h2,
.category-tile h3 {
    position: relative;
    z-index: 2;
    margin: 0 0 8px;
    font-size: 22px;
}

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

.tile-0 {
    background: linear-gradient(135deg, #06b6d4, #2563eb);
}

.tile-1 {
    background: linear-gradient(135deg, #f97316, #dc2626);
}

.tile-2 {
    background: linear-gradient(135deg, #22c55e, #0f766e);
}

.tile-3 {
    background: linear-gradient(135deg, #ec4899, #e11d48);
}

.tile-4 {
    background: linear-gradient(135deg, #eab308, #f97316);
}

.tile-5 {
    background: linear-gradient(135deg, #3b82f6, #4f46e5);
}

.tile-6 {
    background: linear-gradient(135deg, #14b8a6, #0891b2);
}

.tile-7 {
    background: linear-gradient(135deg, #ef4444, #db2777);
}

.tile-8 {
    background: linear-gradient(135deg, #8b5cf6, #2563eb);
}

.tile-9 {
    background: linear-gradient(135deg, #0f172a, #334155);
}

.page-hero {
    color: #fff;
    padding: 68px 0 72px;
    background:
        radial-gradient(circle at 20% 15%, rgba(6, 182, 212, 0.28), transparent 34%),
        radial-gradient(circle at 78% 28%, rgba(124, 58, 237, 0.23), transparent 32%),
        linear-gradient(135deg, #020617 0%, #172554 100%);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    color: #bfdbfe;
    font-size: 14px;
}

.breadcrumb a {
    color: #67e8f9;
}

.page-hero h1 {
    max-width: 900px;
    margin: 0 0 16px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.page-hero p {
    max-width: 760px;
    margin: 0;
    color: #cbd5e1;
    font-size: 18px;
}

.catalog-toolbar {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) 210px;
    gap: 14px;
    margin-bottom: 26px;
    padding: 18px;
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--line);
}

.catalog-toolbar input,
.catalog-toolbar select {
    height: 48px;
    color: var(--ink);
    background: #f8fafc;
    border-color: #e2e8f0;
    padding: 0 15px;
}

.catalog-toolbar input:focus,
.catalog-toolbar select:focus {
    border-color: rgba(6, 182, 212, 0.65);
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.14);
}

.empty-state {
    display: none;
    margin: 28px 0 0;
    padding: 26px;
    border-radius: 24px;
    background: #fff;
    color: var(--muted);
    text-align: center;
    border: 1px solid var(--line);
}

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

.detail-hero {
    background:
        radial-gradient(circle at 20% 15%, rgba(6, 182, 212, 0.25), transparent 32%),
        linear-gradient(135deg, #020617 0%, #0f172a 58%, #172554 100%);
    color: #fff;
    padding: 48px 0 70px;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.9fr);
    gap: 36px;
    align-items: center;
}

.detail-cover {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    aspect-ratio: 16 / 11;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

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

.detail-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.5), transparent 55%);
}

.detail-content h1 {
    margin: 14px 0 16px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.detail-lead {
    margin: 0 0 22px;
    color: #dbeafe;
    font-size: 18px;
}

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

.player-section {
    margin-top: -34px;
    position: relative;
    z-index: 3;
}

.player-card {
    overflow: hidden;
    border-radius: 30px;
    background: #020617;
    box-shadow: 0 24px 70px rgba(2, 6, 23, 0.26);
    border: 1px solid rgba(148, 163, 184, 0.24);
}

.video-wrap {
    position: relative;
    background: #000;
    aspect-ratio: 16 / 9;
}

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

.play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at center, rgba(6, 182, 212, 0.28), transparent 36%),
        linear-gradient(180deg, rgba(2, 6, 23, 0.12), rgba(2, 6, 23, 0.64));
    cursor: pointer;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

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

.play-button {
    width: 92px;
    height: 92px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    box-shadow: 0 20px 52px rgba(37, 99, 235, 0.36);
    cursor: pointer;
    font-size: 35px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.play-button:hover {
    transform: scale(1.08);
}

.player-title {
    padding: 18px 22px;
    color: #e2e8f0;
    background: #020617;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.player-title strong {
    color: #fff;
}

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

.article-card,
.side-card {
    padding: 26px;
    border-radius: 28px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}

.article-card h2,
.side-card h2 {
    margin: 0 0 14px;
    font-size: 25px;
    line-height: 1.2;
}

.article-card p {
    margin: 0 0 18px;
    color: #334155;
}

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

.info-list li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
    color: #475569;
    font-size: 14px;
}

.info-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.info-list strong {
    color: var(--ink);
    white-space: nowrap;
}

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

.cta-band {
    overflow: hidden;
    position: relative;
    border-radius: 32px;
    padding: 34px;
    color: #fff;
    background:
        radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.18), transparent 26%),
        linear-gradient(135deg, #06b6d4, #2563eb);
    box-shadow: var(--shadow);
}

.cta-band h2 {
    margin: 0 0 10px;
    font-size: clamp(26px, 4vw, 38px);
}

.cta-band p {
    max-width: 720px;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.86);
}

.site-footer {
    color: #94a3b8;
    background: linear-gradient(180deg, #0f172a, #020617);
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    padding: 50px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    gap: 34px;
    margin-bottom: 30px;
}

.footer-grid h2,
.footer-grid h3 {
    margin: 0 0 12px;
    color: #fff;
}

.footer-grid p {
    margin: 0;
}

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

.footer-links a:hover {
    color: #67e8f9;
}

.copyright {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    text-align: center;
    font-size: 13px;
}

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

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

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

    .side-card {
        order: -1;
    }
}

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

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

    .nav-bar {
        min-height: 68px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
    }

    .hero-art {
        max-width: 560px;
    }

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

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

    .detail-cover {
        max-width: 560px;
    }

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

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

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

    .brand {
        min-width: 0;
    }

    .brand-sub {
        display: none;
    }

    .hero-shell {
        padding: 38px 0 84px;
    }

    .hero-card {
        position: relative;
        left: auto;
        bottom: auto;
        width: 100%;
        margin-top: 14px;
    }

    .section {
        padding: 52px 0;
    }

    .section-head {
        display: block;
    }

    .section-actions {
        margin-top: 16px;
    }

    .movie-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

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

    .catalog-toolbar {
        grid-template-columns: 1fr;
        padding: 14px;
    }

    .rank-card {
        grid-template-columns: 96px minmax(0, 1fr);
    }

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

    .article-card,
    .side-card {
        padding: 20px;
        border-radius: 22px;
    }

    .play-button {
        width: 76px;
        height: 76px;
        font-size: 30px;
    }
}
