:root {
    color-scheme: light;
    --bg: #f6f8fc;
    --ink: #111827;
    --muted: #64748b;
    --line: rgba(15, 23, 42, 0.08);
    --primary: #2563eb;
    --primary-dark: #1e3a8a;
    --cyan: #22d3ee;
    --rose: #ef4444;
    --card: #ffffff;
    --shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
    --radius: 24px;
    font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 32rem), var(--bg);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
}

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

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 58, 138, 0.94));
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(18px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
}

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

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

.brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(34, 211, 238, 0.22);
    font-size: 14px;
}

.brand-text {
    font-size: 20px;
    background: linear-gradient(135deg, #60a5fa, #67e8f9);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 15px;
}

.desktop-nav a,
.nav-dropdown > a {
    opacity: 0.9;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active,
.nav-dropdown > a.active {
    color: #67e8f9;
    opacity: 1;
}

.nav-dropdown {
    position: relative;
    padding: 24px 0;
}

.dropdown-panel {
    position: absolute;
    top: 64px;
    left: -18px;
    min-width: 168px;
    padding: 10px;
    display: grid;
    gap: 2px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(8px);
    background: rgba(255, 255, 255, 0.98);
    color: #1f2937;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: 0.2s ease;
}

.dropdown-panel a {
    padding: 10px 12px;
    border-radius: 12px;
}

.dropdown-panel a:hover {
    background: #eff6ff;
    color: var(--primary);
}

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

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
}

.mobile-nav {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 18px;
    gap: 8px;
    flex-direction: column;
}

.mobile-nav a {
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
}

.mobile-nav.open {
    display: flex;
}

.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 620px;
    color: #ffffff;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 52%, #0e7490 100%);
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(34, 211, 238, 0.32), transparent 28rem), radial-gradient(circle at 82% 30%, rgba(99, 102, 241, 0.28), transparent 30rem);
    pointer-events: none;
}

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

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.62fr);
    align-items: center;
    gap: 56px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.42), rgba(15, 23, 42, 0.78)), var(--hero-bg);
    background-size: cover;
    background-position: center;
    opacity: 0.28;
    filter: blur(2px) saturate(1.15);
}

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

.hero-copy,
.hero-poster {
    position: relative;
    z-index: 1;
}

.hero-kicker,
.section-kicker,
.detail-kicker {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    margin-bottom: 16px;
    border-radius: 999px;
    color: #cffafe;
    background: rgba(34, 211, 238, 0.15);
    border: 1px solid rgba(103, 232, 249, 0.32);
    font-size: 13px;
    font-weight: 700;
}

.hero-copy h1 {
    max-width: 720px;
    margin: 0 0 18px;
    font-size: clamp(42px, 7vw, 76px);
    line-height: 0.95;
    letter-spacing: -0.06em;
}

.hero-copy p {
    max-width: 680px;
    margin: 0 0 24px;
    color: #dbeafe;
    font-size: clamp(16px, 2vw, 21px);
    line-height: 1.75;
}

.hero-tags,
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.hero-tags span,
.tag-cloud span,
.detail-meta span {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #e0f2fe;
    font-size: 13px;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

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

.primary-btn,
.ghost-btn,
.section-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 14px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn {
    color: #0f172a;
    background: #ffffff;
    box-shadow: 0 18px 35px rgba(255, 255, 255, 0.16);
}

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

.primary-btn:hover,
.ghost-btn:hover,
.section-more:hover,
.movie-card:hover,
.category-tile:hover,
.category-card:hover,
.ranking-row:hover {
    transform: translateY(-3px);
}

.hero-poster {
    display: block;
    aspect-ratio: 3 / 4;
    max-height: 510px;
    overflow: hidden;
    border-radius: 32px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

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

.hero-poster span {
    position: absolute;
    left: 22px;
    bottom: 22px;
    z-index: 2;
    padding: 9px 13px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(37, 99, 235, 0.82);
    font-weight: 800;
}

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

.hero-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.36);
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-dots button.active {
    width: 32px;
    background: #ffffff;
}

.quick-categories,
.section-block,
.page-shell,
.detail-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.quick-categories,
.section-block {
    padding: 70px 0 0;
}

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

.section-heading.centered {
    text-align: center;
    display: block;
}

.section-heading h2,
.page-hero h1,
.detail-content h1 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.section-heading p,
.page-hero p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 16px;
}

.section-more {
    color: var(--primary);
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.08);
}

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

.category-tile {
    min-height: 130px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 24px;
    color: #ffffff;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
    transition: 0.2s ease;
}

.category-tile::after {
    content: "";
    position: absolute;
    width: 130px;
    height: 130px;
    right: -40px;
    bottom: -50px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
}

.category-tile span {
    position: relative;
    z-index: 1;
    font-size: 21px;
    font-weight: 900;
}

.category-tile em {
    position: relative;
    z-index: 1;
    font-style: normal;
    opacity: 0.82;
}

.tile-1 { background: linear-gradient(135deg, #2563eb, #06b6d4); }
.tile-2 { background: linear-gradient(135deg, #ef4444, #f97316); }
.tile-3 { background: linear-gradient(135deg, #7c3aed, #db2777); }
.tile-4 { background: linear-gradient(135deg, #059669, #14b8a6); }
.tile-5 { background: linear-gradient(135deg, #0f172a, #475569); }
.tile-6 { background: linear-gradient(135deg, #ca8a04, #f59e0b); }

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

.catalog-grid {
    padding: 28px 0 78px;
}

.movie-card {
    min-width: 0;
    overflow: hidden;
    border-radius: 24px;
    background: var(--card);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.movie-card:hover {
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.16);
}

.poster-frame {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #1e3a8a, #0e7490);
}

.poster-frame img {
    transition: transform 0.45s ease, opacity 0.2s ease;
}

.image-missing {
    opacity: 0;
}

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

.poster-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.58));
}

.play-bubble {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--primary);
    background: rgba(255, 255, 255, 0.92);
    transform: translate(-50%, -50%) scale(0.82);
    opacity: 0;
    transition: 0.2s ease;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

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

.card-badge,
.rank-badge {
    position: absolute;
    z-index: 2;
    top: 12px;
    padding: 6px 9px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
}

.card-badge {
    right: 12px;
    background: rgba(37, 99, 235, 0.86);
}

.rank-badge {
    left: 12px;
    background: rgba(239, 68, 68, 0.9);
}

.card-body {
    padding: 16px;
}

.card-body h3 {
    margin: 0 0 8px;
    color: #111827;
    font-size: 18px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.card-body p {
    min-height: 46px;
    margin: 0 0 14px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.card-meta,
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #64748b;
    font-size: 13px;
}

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

.featured-card .poster-frame {
    aspect-ratio: 16 / 9;
}

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

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

.split-block .section-block {
    width: 100%;
    padding-top: 0;
}

.rank-panel,
.aside-card {
    position: sticky;
    top: 92px;
    padding: 22px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.rank-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-weight: 900;
}

.rank-panel-head a {
    color: var(--primary);
    font-size: 14px;
}

.mini-list {
    display: grid;
    gap: 12px;
}

.mini-movie {
    display: grid;
    grid-template-columns: auto 58px 1fr;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.mini-movie img {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1e3a8a, #0e7490);
}

.mini-rank {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #ffffff;
    background: linear-gradient(135deg, #ef4444, #f97316);
    font-weight: 900;
    font-size: 12px;
}

.mini-movie strong,
.mini-movie em {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mini-movie strong {
    color: #111827;
}

.mini-movie em {
    color: #64748b;
    font-style: normal;
    font-size: 12px;
    margin-top: 4px;
}

.page-shell {
    padding: 46px 0 0;
}

.page-hero {
    position: relative;
    overflow: hidden;
    min-height: 260px;
    padding: 48px;
    border-radius: 32px;
    color: #ffffff;
    background: linear-gradient(135deg, #172554, #2563eb 52%, #06b6d4);
    box-shadow: var(--shadow);
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(15, 23, 42, 0.76), rgba(15, 23, 42, 0.38)), var(--page-bg);
    background-size: cover;
    background-position: center;
    opacity: 0.2;
}

.page-hero > * {
    position: relative;
    z-index: 1;
}

.page-hero h1,
.page-hero p {
    color: #ffffff;
    max-width: 760px;
}

.page-hero p {
    color: #dbeafe;
    line-height: 1.8;
}

.filter-panel {
    margin-top: 28px;
    padding: 18px;
    border-radius: 24px;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 14px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.filter-panel label {
    display: grid;
    gap: 8px;
    color: #334155;
    font-size: 13px;
    font-weight: 800;
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    color: #111827;
    background: #f8fafc;
    outline: none;
}

.filter-panel input:focus,
.filter-panel select:focus {
    border-color: rgba(37, 99, 235, 0.45);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.category-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding: 30px 0 78px;
}

.category-card {
    min-height: 145px;
    overflow: hidden;
    border-radius: 24px;
    position: relative;
    background: #0f172a;
    color: #ffffff;
    box-shadow: var(--shadow);
    transition: 0.2s ease;
}

.category-card img {
    position: absolute;
    inset: 0;
    opacity: 0.45;
}

.category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.25));
}

.category-card span {
    position: absolute;
    z-index: 1;
    left: 22px;
    right: 22px;
    bottom: 20px;
}

.category-card strong,
.category-card em {
    display: block;
}

.category-card strong {
    font-size: 24px;
    margin-bottom: 6px;
}

.category-card em {
    font-style: normal;
    color: #bfdbfe;
}

.ranking-list {
    display: grid;
    gap: 12px;
    padding: 30px 0 78px;
}

.ranking-row {
    display: grid;
    grid-template-columns: 58px 78px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 14px;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    transition: 0.2s ease;
}

.ranking-number {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: #ffffff;
    background: linear-gradient(135deg, #ef4444, #f97316);
    font-weight: 900;
}

.ranking-row img {
    width: 78px;
    height: 58px;
    border-radius: 16px;
    background: linear-gradient(135deg, #1e3a8a, #0e7490);
}

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

.ranking-info strong,
.ranking-info em {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-info strong {
    font-size: 18px;
}

.ranking-info em,
.ranking-meta {
    color: #64748b;
    font-style: normal;
    font-size: 14px;
}

.detail-shell {
    padding: 32px 0 78px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    color: #64748b;
    margin-bottom: 20px;
    font-size: 14px;
}

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

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

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

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #000000;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.movie-player {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 0;
    color: #ffffff;
    background: radial-gradient(circle at center, rgba(37, 99, 235, 0.32), rgba(0, 0, 0, 0.62));
    cursor: pointer;
}

.player-overlay[hidden] {
    display: none;
}

.big-play {
    width: 82px;
    height: 82px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--primary);
    background: rgba(255, 255, 255, 0.94);
    font-size: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
}

.player-overlay strong {
    font-size: 20px;
}

.detail-content {
    margin-top: 24px;
    padding: 28px;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.detail-content h1 {
    margin-bottom: 12px;
}

.detail-lead {
    margin: 0 0 18px;
    color: #475569;
    font-size: 18px;
    line-height: 1.8;
}

.detail-meta {
    margin-bottom: 18px;
}

.detail-meta span {
    color: #1e3a8a;
    background: #eff6ff;
    border-color: #dbeafe;
}

.tag-cloud span {
    color: #475569;
    background: #f8fafc;
    border-color: var(--line);
}

.text-panel {
    padding-top: 22px;
    margin-top: 22px;
    border-top: 1px solid var(--line);
}

.text-panel h2,
.aside-card h2 {
    margin: 0 0 12px;
    color: #111827;
    font-size: 22px;
}

.text-panel p {
    margin: 0;
    color: #334155;
    line-height: 1.9;
    font-size: 16px;
}

.detail-aside {
    display: grid;
    gap: 18px;
}

.aside-card {
    position: sticky;
}

.soft-card {
    position: static;
    background: linear-gradient(135deg, #eff6ff, #ecfeff);
}

.channel-link {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(37, 99, 235, 0.12);
    color: var(--primary);
    font-weight: 800;
}

.related-block {
    padding-top: 42px;
}

.site-footer {
    margin-top: 70px;
    color: #cbd5e1;
    background: linear-gradient(135deg, #0f172a, #111827 58%, #1e3a8a);
}

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

.footer-brand {
    color: #ffffff;
    margin-bottom: 16px;
}

.site-footer p {
    margin: 0;
    max-width: 480px;
    line-height: 1.8;
    color: #94a3b8;
}

.site-footer h3 {
    margin: 0 0 16px;
    color: #ffffff;
}

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

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

.footer-bottom {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 14px;
}

@media (max-width: 1024px) {
    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-slide,
    .detail-layout,
    .split-block,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-viewport,
    .hero-slide {
        min-height: 760px;
    }

    .hero-slide {
        align-content: center;
        gap: 28px;
    }

    .hero-poster {
        max-width: 320px;
    }

    .rank-panel,
    .aside-card {
        position: static;
    }

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

    .filter-panel {
        grid-template-columns: 1fr;
    }
}

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

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

    .hero-section,
    .hero-viewport,
    .hero-slide {
        min-height: 720px;
    }

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

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

    .hero-poster {
        max-width: 250px;
        border-radius: 24px;
    }

    .quick-categories,
    .section-block {
        padding-top: 46px;
    }

    .section-heading {
        display: block;
    }

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

    .movie-grid,
    .catalog-grid,
    .compact-grid,
    .category-grid,
    .category-card-grid {
        grid-template-columns: 1fr;
    }

    .page-hero,
    .detail-content {
        padding: 24px;
        border-radius: 24px;
    }

    .ranking-row {
        grid-template-columns: 44px 62px minmax(0, 1fr);
    }

    .ranking-meta {
        grid-column: 3;
    }

    .footer-bottom {
        flex-direction: column;
    }
}
