:root {
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-800: #1e40af;
  --blue-900: #1e3a8a;
  --green-600: #16a34a;
  --green-800: #166534;
  --purple-600: #9333ea;
  --purple-800: #6b21a8;
  --orange-500: #f97316;
  --yellow-500: #eab308;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--gray-50);
  color: var(--gray-900);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: linear-gradient(90deg, var(--blue-600), var(--blue-800));
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
}

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

.header-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 800;
  white-space: nowrap;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--white);
  color: var(--blue-600);
  font-size: 20px;
  font-weight: 900;
  transition: background 0.3s ease, color 0.3s ease;
}

.site-header.scrolled .logo-mark {
  background: var(--blue-600);
  color: var(--white);
}

.logo-text,
.nav-link,
.search-button,
.menu-toggle {
  color: var(--white);
  transition: color 0.3s ease, background 0.3s ease;
}

.site-header.scrolled .logo-text,
.site-header.scrolled .nav-link,
.site-header.scrolled .search-button,
.site-header.scrolled .menu-toggle {
  color: var(--gray-700);
}

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

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.nav-link:hover,
.site-header.scrolled .nav-link:hover {
  color: var(--blue-600);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-form {
  position: relative;
  width: 235px;
}

.search-form input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  padding: 9px 40px 9px 14px;
  outline: none;
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  transition: all 0.25s ease;
}

.search-form input::placeholder {
  color: rgba(255, 255, 255, 0.75);
}

.site-header.scrolled .search-form input {
  color: var(--gray-900);
  background: var(--white);
  border-color: var(--gray-300);
}

.site-header.scrolled .search-form input::placeholder {
  color: var(--gray-400);
}

.search-button {
  position: absolute;
  right: 4px;
  top: 4px;
  bottom: 4px;
  width: 34px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.search-button:hover,
.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
}

.site-header.scrolled .search-button:hover,
.site-header.scrolled .menu-toggle:hover {
  background: var(--gray-100);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
}

.mobile-panel {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: 12px 16px 18px;
}

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

.mobile-panel .search-form {
  width: 100%;
  margin-bottom: 12px;
}

.mobile-panel .search-form input {
  color: var(--gray-900);
  background: var(--white);
  border-color: var(--gray-300);
}

.mobile-panel .search-button {
  color: var(--gray-500);
}

.mobile-links {
  display: grid;
  gap: 6px;
}

.mobile-links a {
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--gray-700);
  font-weight: 700;
}

.mobile-links a:hover {
  background: var(--gray-100);
  color: var(--blue-600);
}

.main-content {
  min-height: 70vh;
  padding-top: 64px;
}

.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: linear-gradient(90deg, var(--blue-900), var(--blue-800), var(--blue-900));
}

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

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

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(0 0 0 / 0.82), rgb(0 0 0 / 0.55), rgb(0 0 0 / 0.08));
}

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

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

.hero-copy {
  max-width: 680px;
  color: var(--white);
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-600);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 18px;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.hero-text {
  margin: 0 0 24px;
  color: rgb(229 231 235 / 0.95);
  font-size: 18px;
  max-width: 620px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 10px;
  padding: 12px 22px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-primary {
  background: var(--blue-600);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--blue-700);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.btn-light {
  background: var(--white);
  color: var(--blue-700);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 10;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.20);
  color: var(--white);
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(10px);
  transition: background 0.25s ease, transform 0.25s ease;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.32);
  transform: translateY(-50%) scale(1.05);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

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

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

.page-hero {
  background: linear-gradient(90deg, var(--green-600), var(--green-800));
  color: var(--white);
  padding: 56px 0;
}

.page-hero.blue {
  background: linear-gradient(90deg, var(--blue-600), var(--blue-800));
}

.page-hero.purple {
  background: linear-gradient(90deg, var(--purple-600), var(--purple-800));
}

.page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(34px, 5vw, 50px);
  line-height: 1.12;
  font-weight: 900;
}

.page-hero p {
  margin: 0;
  color: rgb(255 255 255 / 0.86);
  font-size: 18px;
}

.section-stack {
  padding: 48px 0 64px;
  display: grid;
  gap: 64px;
}

.section-card {
  background: var(--white);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.section-soft {
  background: linear-gradient(135deg, var(--blue-50), var(--blue-100));
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

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

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(25px, 4vw, 34px);
  line-height: 1.2;
  font-weight: 900;
}

.section-icon {
  font-size: 28px;
}

.more-link {
  color: var(--blue-600);
  font-weight: 800;
}

.more-link:hover {
  color: var(--blue-800);
}

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

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

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

.movie-grid.list-view {
  grid-template-columns: 1fr;
}

.movie-card {
  display: block;
  overflow: hidden;
  height: 100%;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.movie-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.poster {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--gray-200);
}

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

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

.poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(0 0 0 / 0.08), rgb(0 0 0 / 0.62));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.movie-card:hover .poster::after {
  opacity: 1;
}

.play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--blue-600);
  font-size: 22px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.badge {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 800;
}

.badge-year {
  right: 10px;
  bottom: 10px;
  background: rgba(0, 0, 0, 0.78);
  color: var(--white);
}

.badge-region {
  left: 10px;
  top: 10px;
  background: var(--blue-600);
  color: var(--white);
}

.card-body {
  padding: 16px;
}

.card-title {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 900;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.25s ease;
}

.movie-card:hover .card-title {
  color: var(--blue-600);
}

.card-desc {
  margin: 0 0 12px;
  color: var(--gray-600);
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--gray-500);
  font-size: 12px;
}

.card-tag {
  border-radius: 8px;
  background: var(--blue-100);
  color: var(--blue-600);
  padding: 4px 8px;
  font-weight: 800;
}

.movie-card.horizontal {
  display: flex;
  min-height: 180px;
}

.movie-card.horizontal .poster {
  width: 190px;
  flex: 0 0 190px;
  aspect-ratio: auto;
}

.movie-card.horizontal .card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
}

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

.category-tile {
  display: grid;
  gap: 16px;
  overflow: hidden;
  background: var(--white);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.category-tile h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 900;
}

.category-tile p {
  margin: 0;
  color: var(--gray-600);
}

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

.tile-posters img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 10px;
  background: var(--gray-200);
}

.filter-panel {
  background: var(--white);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow-md);
  margin-bottom: 32px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.filter-input,
.filter-select {
  border: 1px solid var(--gray-300);
  border-radius: 10px;
  background: var(--white);
  padding: 11px 12px;
  outline: none;
  color: var(--gray-900);
}

.filter-input {
  min-width: 280px;
  flex: 1;
}

.filter-input:focus,
.filter-select:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgb(37 99 235 / 0.12);
}

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

.view-button {
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  background: var(--gray-100);
  color: var(--gray-700);
  font-weight: 800;
  cursor: pointer;
}

.view-button.active {
  background: var(--blue-600);
  color: var(--white);
}

.empty-state {
  display: none;
  text-align: center;
  color: var(--gray-500);
  padding: 48px 0;
  font-weight: 700;
}

.empty-state.show {
  display: block;
}

.ranking-list {
  display: grid;
  gap: 14px;
}

.ranking-item {
  display: grid;
  grid-template-columns: 56px 72px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ranking-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-lg);
}

.rank-num {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-600), var(--purple-600));
  color: var(--white);
  font-weight: 900;
}

.rank-poster {
  width: 72px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 10px;
  background: var(--gray-200);
}

.rank-info h3 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 900;
}

.rank-info p {
  margin: 0;
  color: var(--gray-600);
  font-size: 14px;
}

.rank-action {
  color: var(--blue-600);
  font-weight: 900;
  white-space: nowrap;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 0.9fr);
  gap: 32px;
  padding: 32px 0 64px;
}

.detail-main,
.detail-side {
  display: grid;
  gap: 24px;
  align-content: start;
}

.player-card,
.info-card,
.side-card {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.info-card,
.side-card {
  padding: 24px;
}

.player-shell {
  position: relative;
  background: #000;
  aspect-ratio: 16 / 9;
}

.player-shell video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
  object-fit: contain;
}

.play-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgb(0 0 0 / 0.12), rgb(0 0 0 / 0.46));
  color: var(--white);
  cursor: pointer;
}

.play-cover span {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgb(37 99 235 / 0.88);
  font-size: 32px;
  box-shadow: 0 18px 45px rgb(0 0 0 / 0.3);
  transform: scale(1);
  transition: transform 0.25s ease, background 0.25s ease;
}

.play-cover:hover span {
  transform: scale(1.08);
  background: var(--blue-700);
}

.player-shell.is-playing .play-cover {
  display: none;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--gray-500);
  font-size: 14px;
  margin-bottom: 16px;
}

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

.detail-title {
  margin: 0 0 12px;
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.16;
  font-weight: 900;
}

.detail-line {
  margin: 0 0 20px;
  color: var(--gray-700);
  font-size: 18px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 22px;
}

.detail-pill {
  padding: 7px 12px;
  border-radius: 10px;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 13px;
  font-weight: 900;
}

.detail-section h2 {
  margin: 24px 0 10px;
  font-size: 24px;
  font-weight: 900;
}

.detail-section p {
  margin: 0;
  color: var(--gray-700);
}

.side-poster {
  width: 100%;
  border-radius: 16px;
  background: var(--gray-200);
}

.side-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.side-list a {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 12px;
  background: var(--gray-50);
  transition: background 0.25s ease, color 0.25s ease;
}

.side-list a:hover {
  background: var(--blue-50);
  color: var(--blue-700);
}

.side-list img {
  width: 48px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 8px;
  background: var(--gray-200);
}

.side-list strong {
  display: block;
  font-size: 14px;
  line-height: 1.35;
}

.side-list span {
  display: block;
  color: var(--gray-500);
  font-size: 12px;
}

.site-footer {
  background: linear-gradient(180deg, var(--gray-900), #000);
  color: var(--gray-300);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding: 48px 0;
}

.site-footer h3 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 18px;
  font-weight: 900;
}

.site-footer p,
.site-footer li {
  color: var(--gray-400);
  font-size: 14px;
}

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

.site-footer a:hover {
  color: #60a5fa;
}

.footer-bottom {
  border-top: 1px solid rgb(31 41 55 / 0.9);
  padding: 20px 0;
  text-align: center;
  color: var(--gray-500);
  font-size: 13px;
}

.back-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 40;
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: var(--blue-600);
  color: var(--white);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
}

.back-top.show {
  display: grid;
  place-items: center;
}

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

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

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

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

@media (max-width: 820px) {
  .desktop-nav,
  .header-actions .search-form {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero {
    height: 560px;
  }

  .hero-arrow {
    display: none;
  }

  .section-card,
  .section-soft {
    padding: 22px;
  }

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

  .movie-grid,
  .movie-grid.three,
  .movie-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .movie-card.horizontal {
    display: block;
  }

  .movie-card.horizontal .poster {
    width: 100%;
    aspect-ratio: 2 / 3;
  }

  .ranking-item {
    grid-template-columns: 42px 60px 1fr;
  }

  .rank-action {
    display: none;
  }
}

@media (max-width: 560px) {
  .header-inner,
  .container,
  .hero-content {
    width: min(100% - 24px, 1180px);
  }

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

  .hero {
    height: 520px;
  }

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

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

  .section-stack {
    padding: 34px 0 50px;
    gap: 42px;
  }

  .movie-grid,
  .movie-grid.three,
  .movie-grid.two,
  .category-overview {
    grid-template-columns: 1fr;
  }

  .filter-row {
    align-items: stretch;
    flex-direction: column;
  }

  .filter-input {
    min-width: 0;
    width: 100%;
  }

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