:root {
  --bg: #020617;
  --bg-soft: #0f172a;
  --panel: rgba(15, 23, 42, 0.72);
  --panel-strong: rgba(15, 23, 42, 0.92);
  --border: rgba(148, 163, 184, 0.18);
  --border-hot: rgba(34, 211, 238, 0.55);
  --text: #f8fafc;
  --muted: #94a3b8;
  --dim: #64748b;
  --cyan: #22d3ee;
  --blue: #3b82f6;
  --green: #2dd4bf;
  --shadow: 0 24px 80px rgba(8, 145, 178, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(34, 211, 238, 0.14), transparent 32rem),
    radial-gradient(circle at 84% 16%, rgba(59, 130, 246, 0.16), transparent 34rem),
    linear-gradient(180deg, #020617 0%, #0f172a 46%, #020617 100%);
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

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

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

.nav-shell {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 16px 34px rgba(34, 211, 238, 0.22);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text strong,
.footer-brand {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-text small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.desktop-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: #cbd5e1;
  font-size: 15px;
  font-weight: 600;
}

.desktop-nav a,
.mobile-nav a,
.footer-links a,
.text-link {
  transition: color .2s ease, transform .2s ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover,
.footer-links a:hover,
.text-link:hover {
  color: var(--cyan);
}

.nav-search,
.mobile-search,
.hero-search,
.search-page-form,
.filter-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-search input,
.mobile-search input,
.hero-search input,
.search-page-form input,
.filter-search input,
.filter-panel input {
  width: 100%;
  border: 1px solid var(--border);
  outline: none;
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.68);
  border-radius: 14px;
  padding: 12px 14px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.nav-search input:focus,
.mobile-search input:focus,
.hero-search input:focus,
.search-page-form input:focus,
.filter-search input:focus {
  border-color: var(--border-hot);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12);
  background: rgba(15, 23, 42, 0.92);
}

.nav-search {
  width: min(330px, 30vw);
}

.nav-search button,
.mobile-search button,
.hero-search button,
.search-page-form button,
.filter-search button,
.primary-btn,
.ghost-btn,
.section-more,
.menu-toggle,
.hero-arrow,
.filter-buttons button,
.small-btn {
  border: 0;
  cursor: pointer;
  border-radius: 14px;
  white-space: nowrap;
  font-weight: 800;
}

.nav-search button,
.mobile-search button,
.hero-search button,
.search-page-form button,
.primary-btn {
  color: #00111a;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  padding: 12px 18px;
  box-shadow: 0 18px 42px rgba(34, 211, 238, 0.2);
  transition: transform .2s ease, box-shadow .2s ease;
}

.nav-search button:hover,
.mobile-search button:hover,
.hero-search button:hover,
.search-page-form button:hover,
.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 54px rgba(34, 211, 238, 0.28);
}

.menu-toggle {
  display: none;
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border);
  padding: 10px 13px;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.96);
  padding: 16px;
}

.mobile-nav a {
  display: block;
  padding: 12px 4px;
  color: #cbd5e1;
  font-weight: 650;
}

.hero {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

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

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity .8s ease;
  background-image:
    linear-gradient(90deg, rgba(2, 6, 23, 0.96) 0%, rgba(2, 6, 23, 0.78) 42%, rgba(2, 6, 23, 0.18) 100%),
    linear-gradient(0deg, rgba(2, 6, 23, 0.95) 0%, rgba(2, 6, 23, 0.1) 55%, rgba(2, 6, 23, 0.7) 100%),
    var(--hero-image);
  background-size: cover;
  background-position: center;
}

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

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 660px;
  display: grid;
  grid-template-columns: 1fr minmax(260px, 360px);
  gap: 52px;
  align-items: center;
  padding: 76px 0 96px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow,
.hero-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid rgba(34, 211, 238, 0.32);
  border-radius: 999px;
  color: #67e8f9;
  background: rgba(8, 145, 178, 0.12);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 7px 12px;
}

.hero h1,
.page-hero h1,
.detail-info h1 {
  margin: 18px 0;
  font-size: clamp(42px, 7vw, 82px);
  line-height: .95;
  letter-spacing: -0.07em;
}

.hero p,
.page-hero p,
.detail-one-line,
.section-head p,
.category-panel strong,
.content-card p,
.rank-info p,
.site-footer p {
  color: #cbd5e1;
  line-height: 1.75;
}

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

.hero-tags,
.card-tags,
.detail-tags,
.hero-actions,
.detail-meta,
.rank-meta,
.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-chip,
.detail-tags a,
.detail-meta span,
.rank-meta span,
.card-type,
.card-year {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 999px;
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.64);
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
}

.hero-actions {
  align-items: center;
  margin-top: 28px;
}

.primary-btn,
.ghost-btn,
.text-link,
.section-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ghost-btn,
.section-more,
.small-btn {
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--border);
  padding: 11px 16px;
}

.ghost-btn:hover,
.section-more:hover,
.small-btn:hover {
  border-color: var(--border-hot);
  color: var(--cyan);
}

.text-link {
  color: var(--cyan);
  font-weight: 800;
}

.hero-poster {
  position: relative;
  border: 1px solid var(--border-hot);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: perspective(900px) rotateY(-7deg) rotateX(4deg);
}

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

.hero-poster span {
  position: absolute;
  top: 16px;
  left: 16px;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.76);
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.34);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 800;
}

.hero-nav {
  position: relative;
  z-index: 4;
  min-height: 660px;
  display: flex;
  align-items: flex-end;
  gap: 16px;
  padding-bottom: 34px;
  pointer-events: none;
}

.hero-arrow,
.hero-dot {
  pointer-events: auto;
}

.hero-arrow {
  width: 42px;
  height: 42px;
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid var(--border);
  font-size: 26px;
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 9px;
}

.hero-dot {
  width: 36px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.34);
  cursor: pointer;
}

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

.quick-search-panel,
.section-block,
.page-main {
  position: relative;
}

.quick-search-panel {
  margin-top: -42px;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: 22px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(18px);
  padding: 22px;
  box-shadow: var(--shadow);
}

.quick-search-panel h2,
.section-head h2,
.ranking-head h2,
.content-card h2,
.category-overview-block h2,
.rank-info h2,
.card-title {
  margin: 8px 0 0;
}

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

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

.section-head h2,
.ranking-head h2,
.content-card h2 {
  font-size: clamp(26px, 4vw, 42px);
  letter-spacing: -0.04em;
}

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

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

.movie-card {
  min-width: 0;
  height: 100%;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(12px);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease, background .28s ease;
}

.movie-card:hover {
  transform: translateY(-7px);
  border-color: var(--border-hot);
  background: rgba(15, 23, 42, 0.86);
  box-shadow: 0 24px 56px rgba(34, 211, 238, 0.12);
}

.card-cover {
  position: relative;
  display: block;
  overflow: hidden;
  background: #0f172a;
}

.card-cover img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform .45s ease;
}

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

.card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.02) 0%, rgba(2, 6, 23, 0.16) 50%, rgba(2, 6, 23, 0.88) 100%);
}

.card-type,
.card-year,
.rank-badge {
  position: absolute;
  z-index: 2;
}

.card-type {
  left: 12px;
  top: 12px;
  color: #67e8f9;
}

.card-year {
  right: 12px;
  bottom: 12px;
}

.rank-badge {
  left: 12px;
  bottom: 12px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #00111a;
  font-weight: 900;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.card-body {
  padding: 16px;
}

.card-title {
  font-size: 17px;
  line-height: 1.35;
}

.card-title a:hover,
.rank-info a:hover,
.category-overview-block h2 a:hover {
  color: var(--cyan);
}

.card-line {
  min-height: 54px;
  margin: 10px 0 12px;
  color: #94a3b8;
  line-height: 1.6;
  font-size: 14px;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--dim);
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  margin-top: 14px;
  padding-top: 12px;
  font-size: 12px;
}

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

.category-panel {
  border: 1px solid var(--border);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.86), rgba(8, 47, 73, 0.38));
  padding: 20px;
  transition: transform .24s ease, border-color .24s ease;
}

.category-panel:hover {
  transform: translateY(-5px);
  border-color: var(--border-hot);
}

.category-name {
  color: #67e8f9;
  font-weight: 900;
}

.category-panel strong {
  display: block;
  margin-top: 10px;
  min-height: 58px;
}

.category-mini-links {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.category-mini-links a {
  color: #cbd5e1;
  font-size: 14px;
}

.category-mini-links a:hover {
  color: var(--cyan);
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
}

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

.ranking-card {
  position: sticky;
  top: 100px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.8);
  padding: 20px;
}

.compact-list {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.compact-movie {
  display: grid;
  grid-template-columns: 34px 1fr auto auto;
  gap: 10px;
  align-items: center;
  color: #cbd5e1;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  padding-bottom: 10px;
  font-size: 14px;
}

.compact-rank,
.compact-dot {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  color: #00111a;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  font-weight: 900;
}

.compact-dot {
  width: 9px;
  height: 9px;
  background: var(--cyan);
}

.full-btn {
  width: 100%;
}

.page-main {
  padding-top: 36px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 22px;
}

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

.breadcrumb span::before,
.breadcrumb a + a::before,
.breadcrumb a + span::before {
  content: "/";
  color: var(--dim);
  margin-right: 10px;
}

.page-hero,
.detail-hero,
.filter-panel,
.content-card,
.category-overview-block,
.search-results-section {
  border: 1px solid var(--border);
  border-radius: 26px;
  background: rgba(15, 23, 42, 0.7);
  box-shadow: 0 20px 60px rgba(2, 6, 23, 0.22);
}

.page-hero {
  padding: clamp(28px, 5vw, 56px);
  margin-bottom: 28px;
  background:
    radial-gradient(circle at 82% 8%, rgba(34, 211, 238, 0.18), transparent 22rem),
    rgba(15, 23, 42, 0.76);
}

.page-hero p {
  max-width: 820px;
  font-size: 17px;
}

.category-overview-list {
  display: grid;
  gap: 26px;
}

.category-overview-block {
  padding: 24px;
}

.compact-head p {
  margin: 8px 0 0;
  max-width: 740px;
}

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

.filter-panel {
  padding: 18px;
  margin-bottom: 24px;
}

.filter-search {
  margin-bottom: 16px;
}

.filter-buttons button {
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.68);
  border: 1px solid var(--border);
  padding: 9px 13px;
}

.filter-buttons button.is-active,
.filter-buttons button:hover {
  color: #00111a;
  border-color: transparent;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

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

.movie-card.is-hidden,
.search-fallback.is-hidden,
.mobile-nav.is-open {
  display: none;
}

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

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

.rank-list-row {
  display: grid;
  grid-template-columns: 84px 54px 1fr auto;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.64);
  padding: 14px;
  transition: border-color .2s ease, transform .2s ease;
}

.rank-list-row:hover {
  border-color: var(--border-hot);
  transform: translateY(-3px);
}

.rank-poster {
  border-radius: 14px;
  overflow: hidden;
}

.rank-poster img {
  width: 84px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.rank-index {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #00111a;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  font-weight: 950;
}

.rank-info h2 {
  font-size: 20px;
}

.rank-info p {
  margin: 8px 0 10px;
}

.detail-hero {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 34px;
  padding: 26px;
  margin-bottom: 28px;
  background:
    radial-gradient(circle at 94% 16%, rgba(34, 211, 238, 0.18), transparent 22rem),
    rgba(15, 23, 42, 0.72);
}

.detail-cover {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

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

.detail-info h1 {
  font-size: clamp(34px, 5vw, 64px);
}

.detail-one-line {
  font-size: 18px;
  max-width: 840px;
}

.detail-meta,
.detail-tags {
  margin: 20px 0;
}

.player-section {
  margin-bottom: 28px;
}

.player-wrap {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: 28px;
  background: #000;
  box-shadow: 0 30px 90px rgba(2, 6, 23, 0.42);
}

.player-wrap video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #000;
  cursor: pointer;
}

.player-start {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 12px;
  color: #f8fafc;
  background: radial-gradient(circle at center, rgba(15, 23, 42, 0.3), rgba(2, 6, 23, 0.74));
  border: 0;
  cursor: pointer;
  z-index: 3;
}

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

.play-icon {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #00111a;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 28px 70px rgba(34, 211, 238, 0.32);
  font-size: 34px;
}

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

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

.content-card {
  padding: 26px;
}

.content-card h2 {
  font-size: 28px;
}

.related-section {
  padding-bottom: 68px;
}

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

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

.search-results-section {
  padding: 24px;
}

.search-grid:empty {
  display: none;
}

.site-footer {
  margin-top: 82px;
  border-top: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.74);
  padding: 40px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 360px) 1fr;
  gap: 28px;
  align-items: start;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 20px;
  color: #cbd5e1;
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  color: var(--dim);
  font-size: 14px;
}

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

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

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

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .hero-content,
  .quick-search-panel,
  .split-section,
  .detail-hero,
  .detail-content-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-poster {
    max-width: 280px;
    transform: none;
  }

  .ranking-card {
    position: static;
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}

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

  .nav-shell {
    min-height: 66px;
  }

  .brand-text strong {
    font-size: 19px;
  }

  .brand-text small {
    display: none;
  }

  .hero,
  .hero-content,
  .hero-nav {
    min-height: 620px;
  }

  .hero-content {
    padding: 44px 0 96px;
  }

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

  .hero p,
  .page-hero p,
  .detail-one-line {
    font-size: 16px;
  }

  .hero-actions,
  .quick-search-panel,
  .section-head,
  .rank-list-row {
    align-items: stretch;
  }

  .hero-actions,
  .section-head {
    flex-direction: column;
  }

  .movie-grid,
  .featured-grid,
  .latest-grid,
  .overview-grid,
  .category-grid,
  .category-movie-grid,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .card-body {
    padding: 13px;
  }

  .card-line {
    min-height: auto;
  }

  .rank-list-row {
    grid-template-columns: 64px 38px 1fr;
  }

  .rank-poster img {
    width: 64px;
  }

  .rank-list-row .small-btn {
    grid-column: 1 / -1;
  }

  .detail-hero {
    padding: 18px;
  }

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

  .detail-info h1 {
    font-size: 34px;
  }

  .content-card,
  .category-overview-block,
  .search-results-section {
    padding: 18px;
  }

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

@media (max-width: 460px) {
  .movie-grid,
  .featured-grid,
  .latest-grid,
  .overview-grid,
  .category-grid,
  .category-movie-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .hero-search,
  .search-page-form,
  .filter-search,
  .mobile-search {
    flex-direction: column;
    align-items: stretch;
  }

  .compact-movie {
    grid-template-columns: 32px 1fr;
  }

  .compact-movie span:nth-last-child(-n+2) {
    display: none;
  }
}
