:root {
  --bg: #020617;
  --bg-soft: #0f172a;
  --bg-card: rgba(15, 23, 42, 0.72);
  --line: rgba(34, 211, 238, 0.22);
  --line-soft: rgba(148, 163, 184, 0.18);
  --text: #f8fafc;
  --muted: #94a3b8;
  --cyan: #22d3ee;
  --blue: #3b82f6;
  --orange: #fb923c;
  --green: #34d399;
  --purple: #c084fc;
  --radius: 1rem;
  --shadow: 0 24px 70px rgba(8, 47, 73, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 8%, rgba(34, 211, 238, 0.16), transparent 28rem),
    radial-gradient(circle at 82% 10%, rgba(59, 130, 246, 0.14), transparent 30rem),
    linear-gradient(180deg, #020617 0%, #0f172a 45%, #020617 100%);
  min-height: 100vh;
}

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

button,
input {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 16px 42px rgba(34, 211, 238, 0.08);
  backdrop-filter: blur(14px);
}

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

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

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #00111a;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 0 26px rgba(34, 211, 238, 0.5);
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-title {
  font-size: clamp(1.05rem, 2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, #67e8f9, #60a5fa, #a5f3fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-subtitle {
  color: rgba(34, 211, 238, 0.72);
  font-size: 0.74rem;
}

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

.nav-link,
.mobile-link {
  color: #cbd5e1;
  border-radius: 12px;
  transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.nav-link {
  padding: 10px 13px;
  font-size: 0.92rem;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
  color: #a5f3fc;
  background: rgba(34, 211, 238, 0.12);
  box-shadow: 0 12px 30px rgba(34, 211, 238, 0.08);
}

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

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--cyan);
  border-radius: 999px;
}

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

.mobile-link {
  display: block;
  padding: 12px 14px;
  margin-top: 6px;
}

.hero {
  position: relative;
  height: min(70vh, 720px);
  min-height: 480px;
  overflow: hidden;
}

.hero-track,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  z-index: 0;
  transition: opacity 900ms ease;
  background-image:
    linear-gradient(90deg, rgba(2, 6, 23, 0.94) 0%, rgba(2, 6, 23, 0.75) 40%, rgba(2, 6, 23, 0.34) 100%),
    linear-gradient(0deg, rgba(2, 6, 23, 0.9), rgba(2, 6, 23, 0.08)),
    var(--cover),
    radial-gradient(circle at center, rgba(34, 211, 238, 0.26), rgba(15, 23, 42, 0.96));
  background-size: cover, cover, cover, cover;
  background-position: center;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 30%, rgba(34, 211, 238, 0.2), transparent 24rem),
    linear-gradient(180deg, transparent 0%, rgba(2, 6, 23, 0.82) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 62px 0 74px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #a5f3fc;
  background: rgba(8, 47, 73, 0.5);
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.12);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.hero h1 {
  max-width: 820px;
  margin: 22px 0 16px;
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.hero p {
  max-width: 760px;
  margin: 0;
  color: #dbeafe;
  font-size: clamp(1rem, 2vw, 1.28rem);
  line-height: 1.8;
}

.hero-tags,
.detail-tags,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags {
  margin-top: 22px;
}

.hero-tags span,
.detail-tags span,
.tag-row span {
  color: #a5f3fc;
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: 999px;
}

.hero-tags span,
.detail-tags span {
  padding: 7px 12px;
}

.tag-row span {
  padding: 4px 8px;
  font-size: 0.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-button,
.ghost-button,
.section-more a,
.search-panel button,
.home-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 12px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.primary-button,
.search-panel button,
.home-search button {
  padding: 0 20px;
  color: white;
  border: 0;
  background: linear-gradient(90deg, #06b6d4, #2563eb);
  box-shadow: 0 18px 42px rgba(34, 211, 238, 0.32);
  cursor: pointer;
}

.ghost-button,
.section-more a {
  padding: 0 18px;
  border: 1px solid var(--line);
  color: #dbeafe;
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(8px);
}

.primary-button:hover,
.ghost-button:hover,
.section-more a:hover,
.search-panel button:hover,
.home-search button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 46px rgba(34, 211, 238, 0.28);
}

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 8;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: white;
  background: rgba(2, 6, 23, 0.62);
  cursor: pointer;
  font-size: 2.25rem;
  line-height: 1;
  backdrop-filter: blur(10px);
  transition: background 0.25s ease, transform 0.25s ease;
}

.hero-control:hover {
  background: rgba(34, 211, 238, 0.68);
  transform: translateY(-50%) scale(1.06);
}

.hero-prev {
  left: 24px;
  transform: translateY(-50%);
}

.hero-next {
  right: 24px;
  transform: translateY(-50%);
}

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

.hero-dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

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

.search-band,
.content-section,
.detail-layout,
.text-page,
.page-hero {
  width: min(1180px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.search-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  margin-top: -42px;
  position: relative;
  z-index: 10;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.home-search label {
  display: block;
  margin-bottom: 10px;
  color: #a5f3fc;
  font-weight: 700;
}

.home-search div,
.search-panel {
  display: flex;
  gap: 12px;
}

.home-search input,
.search-panel input {
  width: 100%;
  min-height: 46px;
  padding: 0 16px;
  color: var(--text);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  outline: 0;
  background: rgba(2, 6, 23, 0.58);
}

.home-search input:focus,
.search-panel input:focus {
  border-color: rgba(34, 211, 238, 0.6);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.1);
}

.quick-links,
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quick-links a,
.filter-row button {
  padding: 10px 13px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.72);
  cursor: pointer;
}

.quick-links a:hover,
.filter-row button:hover,
.filter-row button.active {
  color: #a5f3fc;
  border-color: var(--line);
  background: rgba(34, 211, 238, 0.12);
}

.content-section {
  padding: 56px 0 0;
}

.content-section.compact {
  padding-top: 34px;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.heading-mark,
.region-title span {
  width: 5px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
  box-shadow: 0 0 22px rgba(34, 211, 238, 0.35);
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  line-height: 1.1;
  font-weight: 850;
  background: linear-gradient(90deg, #67e8f9, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.section-heading.orange .heading-mark,
.section-heading.orange + .card-grid .movie-card:hover {
  --cyan: var(--orange);
}

.section-heading.green .heading-mark {
  background: linear-gradient(180deg, var(--green), #22c55e);
}

.section-heading.purple .heading-mark {
  background: linear-gradient(180deg, var(--purple), #ec4899);
}

.section-heading.blue .heading-mark {
  background: linear-gradient(180deg, #60a5fa, var(--cyan));
}

.horizontal-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 1fr);
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 12px;
}

.card-grid {
  display: grid;
  gap: 18px;
}

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

.card-grid.six {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.movie-card,
.movie-list-card,
.movie-wide-card,
.category-card,
.detail-card,
.side-panel,
.text-page article,
.player-card {
  border: 1px solid var(--line-soft);
  background: var(--bg-card);
  box-shadow: 0 18px 52px rgba(2, 6, 23, 0.3);
  backdrop-filter: blur(14px);
}

.movie-card {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.movie-card:hover,
.movie-list-card:hover,
.movie-wide-card:hover,
.category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.56);
  box-shadow: 0 22px 54px rgba(34, 211, 238, 0.18);
  background: rgba(15, 23, 42, 0.86);
}

.movie-cover,
.list-cover,
.wide-cover,
.video-stage {
  background-image:
    linear-gradient(180deg, rgba(2, 6, 23, 0.02), rgba(2, 6, 23, 0.82)),
    var(--cover),
    radial-gradient(circle at 50% 20%, rgba(34, 211, 238, 0.2), rgba(15, 23, 42, 0.95));
  background-position: center;
  background-size: cover;
}

.movie-cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.movie-cover::after,
.list-cover::after,
.wide-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(34, 211, 238, 0.18), transparent 45%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.movie-card:hover .movie-cover::after,
.movie-list-card:hover .list-cover::after,
.movie-wide-card:hover .wide-cover::after {
  opacity: 1;
}

.play-halo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #00111a;
  border-radius: 999px;
  background: rgba(103, 232, 249, 0.92);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.86);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.type-pill,
.rank-badge {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  color: white;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.type-pill {
  right: 10px;
  top: 10px;
  padding: 5px 9px;
  background: rgba(6, 182, 212, 0.88);
}

.rank-badge {
  left: 10px;
  top: 10px;
  min-width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f97316, #ef4444);
  box-shadow: 0 10px 22px rgba(239, 68, 68, 0.3);
}

.movie-info {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.movie-info strong,
.list-body strong,
.wide-copy strong {
  color: #f8fafc;
  font-size: 1rem;
  line-height: 1.35;
  transition: color 0.25s ease;
}

.movie-card:hover strong,
.movie-list-card:hover strong,
.movie-wide-card:hover strong {
  color: #a5f3fc;
}

.movie-info em,
.list-body em,
.wide-copy em {
  color: #cbd5e1;
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.55;
}

.movie-meta,
.list-meta,
.wide-copy span {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.ranking-list,
.latest-list,
.side-list,
.search-results {
  display: grid;
  gap: 14px;
}

.ranking-list.large {
  gap: 16px;
}

.movie-list-card,
.movie-wide-card {
  position: relative;
  display: grid;
  align-items: stretch;
  gap: 16px;
  padding: 12px;
  border-radius: var(--radius);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.movie-list-card {
  grid-template-columns: 220px 1fr;
}

.movie-wide-card {
  grid-template-columns: 150px 1fr;
}

.list-cover,
.wide-cover {
  position: relative;
  min-height: 112px;
  border-radius: 12px;
  overflow: hidden;
}

.list-body,
.wide-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  min-width: 0;
}

.region-blocks {
  display: grid;
  gap: 32px;
}

.region-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: #a5f3fc;
  font-size: 1.28rem;
  font-weight: 800;
}

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

.section-more {
  margin-top: 22px;
  text-align: center;
}

.page-hero {
  padding: 54px 0 0;
}

.page-hero.small > div {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 10%, rgba(34, 211, 238, 0.18), transparent 20rem),
    linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(30, 41, 59, 0.72));
  box-shadow: var(--shadow);
}

.page-hero h1 {
  margin: 18px 0 12px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.05;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: #cbd5e1;
  line-height: 1.8;
}

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

.category-card {
  display: grid;
  gap: 12px;
  min-height: 190px;
  padding: 22px;
  border-radius: 20px;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.category-card strong {
  color: #a5f3fc;
  font-size: 1.32rem;
}

.category-card em {
  color: #cbd5e1;
  font-style: normal;
  line-height: 1.7;
}

.category-samples {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.category-samples span {
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(15, 23, 42, 0.8);
  font-size: 0.76rem;
}

.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.pagination a,
.pagination strong,
.pagination span {
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid var(--line-soft);
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.72);
}

.pagination strong,
.pagination a:hover {
  color: white;
  border-color: var(--line);
  background: rgba(34, 211, 238, 0.18);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 0.85fr);
  gap: 28px;
  padding-top: 34px;
}

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

.back-link {
  display: inline-flex;
  margin-bottom: 18px;
  color: #67e8f9;
}

.player-card {
  overflow: hidden;
  border-radius: 20px;
  background: #000;
}

.video-stage {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  background-color: #000;
}

.video-stage video {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
}

.big-play {
  position: absolute;
  z-index: 4;
  width: 86px;
  height: 86px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  color: #00111a;
  background: linear-gradient(135deg, #67e8f9, #60a5fa);
  box-shadow: 0 0 45px rgba(34, 211, 238, 0.45);
  cursor: pointer;
  font-size: 2rem;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.big-play:hover {
  transform: scale(1.06);
}

.video-stage.is-playing .big-play {
  opacity: 0;
  pointer-events: none;
}

.detail-card {
  margin-top: 22px;
  padding: clamp(22px, 4vw, 34px);
  border-radius: 20px;
}

.detail-card h1 {
  margin: 0 0 16px;
  font-size: clamp(1.9rem, 4vw, 3.5rem);
  line-height: 1.1;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  color: #cbd5e1;
}

.detail-meta span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--line-soft);
}

.detail-card section {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}

.detail-card h2,
.side-panel h2,
.text-page h2 {
  margin: 0 0 12px;
  color: #a5f3fc;
  font-size: 1.35rem;
}

.detail-card p,
.text-page p {
  color: #dbeafe;
  line-height: 1.9;
  margin: 0;
}

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

.side-panel {
  position: sticky;
  top: 96px;
  padding: 18px;
  border-radius: 20px;
}

.search-page {
  padding-bottom: 32px;
}

.search-panel {
  padding: 18px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.72);
}

.filter-row {
  margin-bottom: 20px;
}

.search-item[hidden] {
  display: none;
}

.text-page {
  display: grid;
  gap: 22px;
  padding: 42px 0;
}

.text-page article {
  padding: clamp(22px, 4vw, 34px);
  border-radius: 20px;
}

.text-page a {
  color: #67e8f9;
}

.site-footer {
  margin-top: 64px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.82), rgba(2, 6, 23, 0.96));
}

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

.footer-logo {
  color: #a5f3fc;
  font-size: 1.3rem;
  font-weight: 850;
  margin-bottom: 10px;
}

.footer-grid h2 {
  margin: 0 0 14px;
  color: #a5f3fc;
  font-size: 1rem;
}

.footer-grid p,
.footer-grid a,
.footer-bottom {
  color: var(--muted);
  line-height: 1.75;
}

.footer-grid a {
  display: block;
  margin: 7px 0;
}

.footer-grid a:hover {
  color: #a5f3fc;
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 28px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

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

  .menu-toggle {
    display: block;
  }

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

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

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

  .side-panel {
    position: static;
  }
}

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

  .hero {
    min-height: 560px;
    height: 72vh;
  }

  .hero-content {
    padding: 68px 0 92px;
  }

  .hero-control {
    width: 38px;
    height: 38px;
    font-size: 1.8rem;
  }

  .hero-prev {
    left: 12px;
  }

  .hero-next {
    right: 12px;
  }

  .search-band {
    grid-template-columns: 1fr;
    margin-top: -28px;
  }

  .home-search div,
  .search-panel {
    flex-direction: column;
  }

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

  .movie-list-card,
  .movie-wide-card {
    grid-template-columns: 120px 1fr;
  }

  .list-cover,
  .wide-cover {
    min-height: 96px;
  }

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

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

@media (max-width: 560px) {
  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-title {
    font-size: 1rem;
  }

  .brand-subtitle {
    font-size: 0.68rem;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .hero-actions {
    width: 100%;
  }

  .primary-button,
  .ghost-button {
    width: 100%;
  }

  .card-grid.six,
  .card-grid.four,
  .mini-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .horizontal-row {
    grid-auto-columns: 78%;
  }

  .movie-list-card,
  .movie-wide-card {
    grid-template-columns: 1fr;
  }

  .list-cover,
  .wide-cover {
    aspect-ratio: 16 / 9;
  }

  .page-hero.small > div,
  .detail-card,
  .text-page article {
    padding: 22px;
  }

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