:root {
  color-scheme: dark;
  --bg: #030712;
  --bg-soft: #07111f;
  --panel: rgba(17, 24, 39, 0.78);
  --panel-strong: rgba(15, 23, 42, 0.96);
  --line: rgba(148, 163, 184, 0.18);
  --muted: #94a3b8;
  --text: #f8fafc;
  --blue: #3b82f6;
  --cyan: #22d3ee;
  --green: #22c55e;
  --red: #ef4444;
  --orange: #f97316;
  --purple: #a855f7;
  --yellow: #eab308;
  --radius: 22px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.16), transparent 32rem),
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.13), transparent 30rem),
    var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 78%);
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(3, 7, 18, 0.72);
  backdrop-filter: blur(18px);
}

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

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

.logo-mark {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.34);
  color: white;
  font-size: 14px;
}

.logo-text,
.footer-logo {
  font-size: clamp(20px, 2vw, 26px);
  background: linear-gradient(90deg, #60a5fa, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-link,
.mobile-nav-link {
  color: #cbd5e1;
  font-size: 15px;
  font-weight: 650;
  transition: color 0.25s ease, transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: #38bdf8;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.78);
  color: white;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.95);
}

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

.hero {
  position: relative;
  height: min(760px, calc(100vh - 76px));
  min-height: 620px;
  overflow: hidden;
  background: #020617;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.9s ease;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: saturate(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 7, 18, 0.98), rgba(3, 7, 18, 0.72) 36%, rgba(3, 7, 18, 0.2)),
    linear-gradient(0deg, #030712 0%, rgba(3, 7, 18, 0.24) 42%, rgba(3, 7, 18, 0.16) 100%);
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}

.hero-content,
.section-inner,
.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-copy {
  width: min(680px, 100%);
  padding-top: 30px;
}

.hero-tags,
.tag-row,
.detail-meta-list,
.info-strip,
.card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags span,
.tag-row span,
.detail-meta-list span,
.info-strip span,
.category-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid rgba(96, 165, 250, 0.26);
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.14);
  color: #bfdbfe;
  font-size: 12px;
  font-weight: 700;
}

.hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.hero p {
  max-width: 620px;
  margin: 0 0 30px;
  color: #cbd5e1;
  font-size: clamp(17px, 2.2vw, 22px);
  line-height: 1.8;
}

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

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

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

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: white;
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.35);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(15, 23, 42, 0.62);
  color: #e2e8f0;
  backdrop-filter: blur(12px);
}

.btn-ghost:hover {
  border-color: rgba(56, 189, 248, 0.5);
  background: rgba(15, 23, 42, 0.88);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.64);
  color: white;
  font-size: 34px;
  line-height: 1;
  backdrop-filter: blur(12px);
  transform: translateY(-50%);
}

.hero-prev {
  left: 22px;
}

.hero-next {
  right: 22px;
}

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

.hero-dot {
  width: 36px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.hero-dot.active {
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.search-band {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(18px);
}

.search-band-inner {
  min-height: 120px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 24px;
  align-items: center;
}

.search-band h2,
.highlight-panel h2,
.page-hero h1,
.detail-article h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.search-band p,
.highlight-panel p,
.page-hero p,
.lead-text {
  margin: 10px 0 0;
  color: #cbd5e1;
  line-height: 1.75;
}

.home-search {
  display: flex;
  gap: 12px;
  padding: 8px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 18px;
  background: rgba(2, 6, 23, 0.58);
}

.home-search input,
.filter-panel input,
.filter-panel select {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 14px;
  outline: none;
  background: rgba(2, 6, 23, 0.78);
  color: white;
}

.home-search input {
  min-height: 46px;
  padding: 0 16px;
  border-color: transparent;
  background: transparent;
}

.section-block {
  padding: 78px 0;
}

.section-muted {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.34), rgba(3, 7, 18, 0));
}

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

.section-heading span,
.eyebrow {
  display: block;
  margin-bottom: 8px;
  color: #38bdf8;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 42px);
  letter-spacing: -0.04em;
}

.section-heading a {
  color: #7dd3fc;
  font-weight: 800;
}

.left-heading {
  align-items: start;
}

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

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

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

.movie-rail {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 4px 4px 18px;
  scroll-snap-type: x mandatory;
}

.movie-rail .movie-card {
  width: 310px;
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.movie-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.74);
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.22);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.46);
  box-shadow: 0 24px 70px rgba(14, 165, 233, 0.18);
}

.poster-wrap {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111827;
}

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.poster-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.9);
  box-shadow: 0 0 36px rgba(59, 130, 246, 0.55);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.78);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.movie-card:hover .poster-shade,
.movie-card:hover .poster-play {
  opacity: 1;
}

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

.card-body {
  padding: 18px;
}

.card-meta {
  margin-bottom: 10px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 800;
}

.card-meta span:not(:last-child)::after {
  content: "·";
  margin-left: 8px;
  color: #475569;
}

.movie-card h3 {
  margin: 0 0 10px;
  color: white;
  font-size: 19px;
  line-height: 1.32;
}

.movie-card h3 a:hover {
  color: #38bdf8;
}

.movie-card p {
  display: -webkit-box;
  min-height: 48px;
  margin: 0 0 14px;
  overflow: hidden;
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.7;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.compact-card .card-body {
  padding: 16px;
}

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

.compact-card p {
  min-height: 44px;
  font-size: 13px;
}

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

.category-card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 24px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.52));
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.24);
}

.category-card::before {
  content: "";
  position: absolute;
  inset: auto -40px -60px auto;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.42), transparent 68%);
}

.category-card h2 {
  position: relative;
  margin: 18px 0 10px;
  font-size: 24px;
}

.category-card p {
  position: relative;
  margin: 0;
  color: #cbd5e1;
  line-height: 1.7;
}

.category-samples {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.category-samples a {
  color: #bfdbfe;
  font-size: 12px;
}

.tone-red::before {
  background: radial-gradient(circle, rgba(239, 68, 68, 0.42), transparent 68%);
}

.tone-orange::before {
  background: radial-gradient(circle, rgba(249, 115, 22, 0.42), transparent 68%);
}

.tone-green::before {
  background: radial-gradient(circle, rgba(34, 197, 94, 0.42), transparent 68%);
}

.tone-purple::before {
  background: radial-gradient(circle, rgba(168, 85, 247, 0.42), transparent 68%);
}

.tone-yellow::before {
  background: radial-gradient(circle, rgba(234, 179, 8, 0.42), transparent 68%);
}

.tone-cyan::before {
  background: radial-gradient(circle, rgba(34, 211, 238, 0.42), transparent 68%);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 30px;
  align-items: stretch;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 48px 74px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.7);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.rank-item:hover {
  transform: translateX(4px);
  border-color: rgba(56, 189, 248, 0.46);
}

.rank-num {
  font-size: 20px;
  font-weight: 900;
  color: #38bdf8;
  text-align: center;
}

.rank-item img {
  width: 74px;
  height: 52px;
  object-fit: cover;
  border-radius: 12px;
}

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

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

.rank-info strong {
  color: white;
  font-size: 15px;
}

.rank-info em {
  margin-top: 4px;
  color: #94a3b8;
  font-size: 12px;
  font-style: normal;
}

.highlight-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px;
  border: 1px solid rgba(59, 130, 246, 0.22);
  border-radius: calc(var(--radius) + 4px);
  background:
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.25), transparent 38%),
    linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(168, 85, 247, 0.12));
}

.page-main {
  min-height: 70vh;
}

.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.26), transparent 34rem),
    radial-gradient(circle at 82% 18%, rgba(34, 211, 238, 0.18), transparent 30rem),
    rgba(15, 23, 42, 0.34);
}

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

.page-hero p {
  max-width: 760px;
  font-size: 18px;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 190px 190px;
  gap: 14px;
  margin-bottom: 26px;
  padding: 16px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.72);
}

.global-filter {
  grid-template-columns: minmax(260px, 1fr) repeat(4, 160px);
}

.filter-panel label {
  display: grid;
  gap: 8px;
}

.filter-panel span {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 800;
}

.filter-panel input,
.filter-panel select {
  min-height: 44px;
  padding: 0 13px;
}

.result-note {
  min-height: 24px;
  margin-bottom: 18px;
  color: #94a3b8;
  font-size: 14px;
}

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

.ranking-side {
  position: sticky;
  top: 98px;
  align-self: start;
  display: grid;
  gap: 18px;
}

.ranking-side h2 {
  margin: 10px 0 0;
  font-size: 24px;
}

.compact-rank .rank-item {
  grid-template-columns: 42px 60px minmax(0, 1fr);
}

.detail-main {
  background: #030712;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  padding: 34px 0 62px;
}

.detail-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(20px) saturate(1.1);
  transform: scale(1.08);
  opacity: 0.28;
}

.detail-bg-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(3, 7, 18, 0.72), #030712 86%);
}

.detail-wrap {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 22px;
  color: #94a3b8;
  font-size: 14px;
}

.breadcrumb a {
  color: #bfdbfe;
}

.breadcrumb strong {
  color: white;
  font-weight: 700;
}

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

.player-panel,
.detail-card,
.detail-article,
.related-panel {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: calc(var(--radius) + 4px);
  background: rgba(15, 23, 42, 0.76);
  box-shadow: var(--shadow);
}

.player-panel {
  overflow: hidden;
}

.player-box {
  position: relative;
  aspect-ratio: 16 / 9;
  background: black;
}

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

.player-cover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 0;
  background: #020617;
  color: white;
  transition: opacity 0.32s ease;
}

.player-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
}

.player-cover-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle, rgba(59, 130, 246, 0.18), transparent 34%),
    linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.14));
}

.big-play {
  position: relative;
  z-index: 2;
  width: 92px;
  height: 92px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.92), rgba(34, 211, 238, 0.92));
  box-shadow: 0 0 52px rgba(34, 211, 238, 0.48);
  font-size: 34px;
}

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

.detail-card {
  overflow: hidden;
  padding: 14px;
}

.detail-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 20px;
}

.detail-meta-list {
  margin-top: 14px;
}

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

.detail-article,
.related-panel {
  padding: 30px;
}

.detail-article .lead-text {
  margin: 18px 0;
  font-size: 20px;
}

.detail-tags,
.info-strip {
  margin: 18px 0;
}

.detail-article h2,
.related-panel h2 {
  margin: 28px 0 12px;
  font-size: 25px;
}

.detail-article p {
  color: #cbd5e1;
  line-height: 1.9;
}

.related-panel {
  position: sticky;
  top: 98px;
}

.related-grid {
  display: grid;
  gap: 16px;
}

.related-grid .poster-wrap {
  aspect-ratio: 16 / 9;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(2, 6, 23, 0.88);
}

.footer-inner {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #94a3b8;
}

.footer-inner p {
  margin: 0;
}

.is-hidden-card {
  display: none !important;
}

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

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

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

  .ranking-side,
  .related-panel {
    position: static;
  }

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

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

  .menu-toggle {
    display: block;
  }

  .hero {
    height: auto;
    min-height: 620px;
  }

  .hero-content {
    align-items: end;
    padding-bottom: 90px;
  }

  .hero-arrow {
    top: auto;
    bottom: 28px;
    transform: none;
  }

  .hero-prev {
    left: 20px;
  }

  .hero-next {
    right: 20px;
  }

  .hero-dots {
    bottom: 46px;
  }

  .search-band-inner,
  .split-layout,
  .detail-layout {
    grid-template-columns: 1fr;
  }

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

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

  .detail-card {
    display: none;
  }
}

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

  .hero {
    min-height: 580px;
  }

  .hero h1 {
    font-size: 40px;
  }

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

  .section-block {
    padding: 54px 0;
  }

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

  .home-search {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .footer-inner {
    padding: 26px 0;
    align-items: start;
    flex-direction: column;
  }

  .detail-article,
  .related-panel,
  .highlight-panel {
    padding: 22px;
  }

  .big-play {
    width: 74px;
    height: 74px;
    font-size: 28px;
  }
}
