:root {
  color-scheme: dark;
  --bg: #020617;
  --bg-soft: #0f172a;
  --bg-card: rgba(15, 23, 42, 0.82);
  --bg-card-solid: #111827;
  --line: rgba(148, 163, 184, 0.18);
  --text: #e5e7eb;
  --muted: #94a3b8;
  --muted-2: #64748b;
  --emerald: #34d399;
  --emerald-strong: #10b981;
  --cyan: #22d3ee;
  --amber: #f59e0b;
  --rose: #fb7185;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 6%, rgba(16, 185, 129, 0.18), transparent 28rem),
    radial-gradient(circle at 82% 12%, rgba(34, 211, 238, 0.14), transparent 24rem),
    linear-gradient(180deg, #020617 0%, #0f172a 44%, #020617 100%);
  color: var(--text);
  min-height: 100vh;
}

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

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

button,
input {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(2, 6, 23, 0.84);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.brand-text,
.footer-brand span:last-child {
  font-size: 24px;
  background: linear-gradient(90deg, var(--emerald), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-icon {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.26), rgba(34, 211, 238, 0.18));
  color: var(--emerald);
  box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.24);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.main-nav a {
  color: var(--muted);
  font-weight: 700;
  transition: color 0.18s ease, transform 0.18s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--emerald);
}

.main-nav a:hover {
  transform: translateY(-1px);
}

.header-search {
  display: flex;
  align-items: center;
  width: 310px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.68);
}

.header-search input,
.large-search input,
.catalog-tools input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
}

.header-search input {
  padding: 8px 12px;
}

.header-search button,
.large-search button,
.btn,
.tool-buttons button {
  border: 0;
  border-radius: 999px;
  color: #031312;
  font-weight: 900;
  background: linear-gradient(90deg, var(--emerald), var(--cyan));
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.header-search button {
  padding: 8px 14px;
}

.header-search button:hover,
.large-search button:hover,
.btn:hover,
.tool-buttons button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(16, 185, 129, 0.18);
}

.mobile-menu-button {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  background: rgba(15, 23, 42, 0.72);
}

.mobile-panel {
  display: none;
  border-top: 1px solid var(--line);
  padding: 12px 16px 18px;
  background: rgba(2, 6, 23, 0.95);
}

.mobile-panel a {
  display: block;
  padding: 12px 0;
  color: var(--muted);
  font-weight: 800;
}

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

.hero-shell {
  position: relative;
  overflow: hidden;
  padding-bottom: 34px;
}

.hero-slider {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #020617;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.45fr);
  align-items: center;
  gap: 42px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 90px 0 150px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.hero-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.94), rgba(2, 6, 23, 0.72), rgba(2, 6, 23, 0.94)),
    var(--hero-cover) center / cover;
  filter: blur(18px) saturate(1.16);
  transform: scale(1.08);
  opacity: 0.54;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow,
.panel-kicker,
.section-heading span,
.sub-hero span {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 7px 12px;
  border: 1px solid rgba(52, 211, 153, 0.28);
  border-radius: 999px;
  color: var(--emerald);
  background: rgba(16, 185, 129, 0.1);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.hero-copy h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(44px, 7vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.hero-copy p {
  max-width: 760px;
  margin: 24px 0 0;
  color: #cbd5e1;
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.75;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
}

.btn-soft {
  color: var(--text);
  background: rgba(15, 23, 42, 0.74);
  box-shadow: inset 0 0 0 1px var(--line);
}

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

.hero-tags span,
.movie-tags span,
.detail-tags span {
  padding: 6px 9px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.6);
  font-size: 12px;
  font-weight: 800;
}

.hero-cover {
  position: relative;
  isolation: isolate;
  display: block;
  max-width: 400px;
  justify-self: end;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 32px;
  background: rgba(15, 23, 42, 0.78);
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.hero-cover::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.5), rgba(34, 211, 238, 0.18), transparent);
}

.hero-cover img {
  width: 100%;
  aspect-ratio: 3 / 4.25;
  object-fit: cover;
}

.hero-cover span,
.movie-play-mark,
.detail-poster span {
  position: absolute;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.74);
  color: var(--emerald);
  backdrop-filter: blur(10px);
}

.hero-cover span {
  left: 22px;
  bottom: 22px;
  width: 64px;
  height: 64px;
  font-size: 24px;
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 64px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateX(-50%);
}

.hero-controls button {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(15, 23, 42, 0.74);
  backdrop-filter: blur(10px);
}

.hero-controls > button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 26px;
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 999px;
}

.hero-dots button.is-active {
  width: 34px;
  background: linear-gradient(90deg, var(--emerald), var(--cyan));
}

.hero-search-panel {
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.7fr);
  gap: 20px;
  margin-top: -74px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(15, 23, 42, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-search-panel h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 40px);
  letter-spacing: -0.04em;
}

.hero-search-panel p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.large-search {
  display: flex;
  align-self: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.62);
}

.large-search input {
  min-height: 48px;
  padding: 0 16px;
}

.large-search button {
  min-width: 120px;
  padding: 0 20px;
}

.quick-cats {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quick-cats a {
  padding: 9px 12px;
  border: 1px solid rgba(52, 211, 153, 0.18);
  border-radius: 999px;
  color: #d1fae5;
  background: rgba(16, 185, 129, 0.08);
  font-weight: 800;
}

.stats-strip {
  padding: 30px 0 8px;
}

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

.stats-grid div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.66);
}

.stats-grid strong {
  display: block;
  color: var(--emerald);
  font-size: 34px;
  line-height: 1;
}

.stats-grid span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
}

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

.muted-block {
  background: rgba(15, 23, 42, 0.32);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.05em;
}

.section-heading p {
  max-width: 760px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.section-heading > a {
  flex: 0 0 auto;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--emerald);
  font-weight: 900;
  background: rgba(15, 23, 42, 0.66);
}

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

.category-card {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.36), rgba(2, 6, 23, 0.92)),
    var(--category-cover) center / cover;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.category-card:hover,
.movie-card:hover,
.category-overview-card:hover,
.rank-row:hover {
  transform: translateY(-4px);
  border-color: rgba(52, 211, 153, 0.42);
}

.category-card span {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  color: #022c22;
  background: var(--emerald);
  font-size: 12px;
  font-weight: 900;
}

.category-card h3 {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 68px;
  margin: 0;
  font-size: 24px;
}

.category-card p {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  margin: 0;
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.55;
}

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

.movie-grid-featured {
  grid-template-columns: repeat(6, 1fr);
}

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

.mini-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.movie-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.movie-poster {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(34, 211, 238, 0.08));
}

.movie-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.movie-card:hover .movie-poster img {
  transform: scale(1.04);
  opacity: 0.86;
}

.movie-score {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 5px 8px;
  border-radius: 999px;
  color: #031312;
  background: linear-gradient(90deg, var(--emerald), var(--cyan));
  font-size: 12px;
  font-weight: 900;
}

.movie-play-mark {
  right: 10px;
  bottom: 10px;
  width: 38px;
  height: 38px;
}

.movie-card-body {
  padding: 15px;
}

.movie-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

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

.movie-card h3 a:hover {
  color: var(--emerald);
}

.movie-card p {
  min-height: 64px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.two-column-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 24px;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 44px 54px minmax(0, 1fr) minmax(170px, 0.6fr) 56px;
  align-items: center;
  gap: 12px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.72);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.rank-row img {
  width: 54px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.8);
}

.rank-number {
  color: var(--emerald);
  font-size: 20px;
  font-weight: 950;
}

.rank-title {
  overflow: hidden;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-meta {
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-row strong {
  color: var(--amber);
}

.sub-hero {
  padding: 76px 0 56px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 18% 20%, rgba(16, 185, 129, 0.18), transparent 28rem),
    radial-gradient(circle at 88% 0%, rgba(34, 211, 238, 0.12), transparent 26rem),
    linear-gradient(135deg, rgba(15, 23, 42, 0.88), rgba(2, 6, 23, 0.96));
}

.sub-hero h1 {
  margin: 0;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.sub-hero p {
  max-width: 820px;
  margin: 18px 0 0;
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.75;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  color: var(--muted);
  font-weight: 800;
}

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

.catalog-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.72);
}

.catalog-tools label {
  display: grid;
  flex: 1 1 360px;
  gap: 8px;
  color: var(--muted);
  font-weight: 900;
}

.catalog-tools input {
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.58);
}

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

.tool-buttons button {
  padding: 10px 13px;
}

.result-note {
  margin: 0 0 18px;
  color: var(--muted);
  font-weight: 800;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.74);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.category-overview-cover {
  display: flex;
  min-height: 210px;
  align-items: end;
  padding: 14px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, transparent, rgba(2, 6, 23, 0.9)),
    var(--category-cover) center / cover;
}

.category-overview-cover span {
  padding: 7px 10px;
  border-radius: 999px;
  color: #031312;
  background: var(--emerald);
  font-weight: 950;
}

.category-overview-card h2 {
  margin: 0;
  font-size: 28px;
}

.category-overview-card p {
  color: var(--muted);
  line-height: 1.65;
}

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

.overview-links a {
  color: #cbd5e1;
  font-weight: 800;
}

.overview-links a:hover {
  color: var(--emerald);
}

.detail-hero {
  padding: 66px 0 42px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 76% 10%, rgba(34, 211, 238, 0.16), transparent 28rem),
    linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(2, 6, 23, 0.98));
}

.detail-hero-grid {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

.detail-poster {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  background: rgba(15, 23, 42, 0.78);
  box-shadow: var(--shadow);
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.detail-poster span {
  left: 18px;
  bottom: 18px;
  height: 46px;
  padding: 0 16px;
  font-weight: 950;
}

.detail-copy h1 {
  margin: 14px 0 0;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.detail-copy p {
  max-width: 820px;
  color: #cbd5e1;
  font-size: 19px;
  line-height: 1.75;
}

.detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.detail-meta-grid div {
  min-height: 92px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.74);
}

.detail-meta-grid strong {
  display: block;
  color: var(--emerald);
  font-size: 22px;
}

.detail-meta-grid span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
}

.player-section {
  padding-top: 36px;
}

.player-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #000;
  box-shadow: var(--shadow);
}

.player-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 12px;
  border: 0;
  color: var(--text);
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.24), rgba(2, 6, 23, 0.86));
  cursor: pointer;
}

.player-overlay span {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #031312;
  background: linear-gradient(90deg, var(--emerald), var(--cyan));
  font-size: 28px;
  box-shadow: 0 24px 60px rgba(16, 185, 129, 0.22);
}

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

.player-overlay.is-hidden {
  display: none;
}

.player-status {
  padding: 12px 16px;
  color: var(--muted);
  background: rgba(15, 23, 42, 0.94);
  font-weight: 800;
}

.detail-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.content-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.72);
}

.content-card h2 {
  margin: 0 0 14px;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.content-card p {
  margin: 0;
  color: #cbd5e1;
  font-size: 16px;
  line-height: 1.9;
}

.search-page-form {
  max-width: 760px;
  margin-top: 24px;
}

.site-footer {
  padding: 46px 0;
  border-top: 1px solid var(--line);
  background: #020617;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr;
  gap: 28px;
}

.site-footer p {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.8;
}

.site-footer h3 {
  margin: 0 0 14px;
}

.site-footer a:not(.footer-brand) {
  display: block;
  margin: 9px 0;
  color: var(--muted);
  font-weight: 800;
}

.site-footer a:hover {
  color: var(--emerald);
}

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

@media (max-width: 1180px) {
  .movie-grid-featured,
  .catalog-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

@media (max-width: 960px) {
  .main-nav,
  .header-search {
    display: none;
  }

  .mobile-menu-button {
    display: inline-grid;
    place-items: center;
  }

  .hero-slider {
    min-height: 780px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    align-content: center;
    padding-top: 78px;
  }

  .hero-cover {
    justify-self: start;
    width: min(290px, 80vw);
  }

  .hero-search-panel,
  .two-column-layout,
  .detail-hero-grid,
  .detail-content-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid,
  .detail-meta-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .movie-grid,
  .movie-grid-featured,
  .catalog-grid,
  .mini-card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .hero-slider {
    min-height: 740px;
  }

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

  .hero-search-panel,
  .catalog-tools,
  .large-search {
    border-radius: 22px;
  }

  .large-search,
  .catalog-tools {
    flex-direction: column;
    align-items: stretch;
  }

  .stats-grid,
  .movie-grid,
  .movie-grid-featured,
  .catalog-grid,
  .mini-card-grid,
  .category-grid,
  .detail-meta-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rank-row {
    grid-template-columns: 34px 48px minmax(0, 1fr) 48px;
  }

  .rank-meta {
    display: none;
  }

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

  .category-overview-cover {
    min-height: 260px;
  }
}

@media (max-width: 480px) {
  .brand-text {
    font-size: 20px;
  }

  .hero-slider {
    min-height: 700px;
  }

  .hero-slide {
    padding-bottom: 130px;
  }

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

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

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

  .movie-card p {
    min-height: auto;
  }
}
