:root {
  --sky: #0284c7;
  --sky-dark: #0369a1;
  --blue: #2563eb;
  --indigo: #4f46e5;
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-500: #64748b;
  --gray-700: #334155;
  --gray-900: #0f172a;
  --white: #ffffff;
  --amber: #f59e0b;
  --rose: #e11d48;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --radius: 22px;
}

* {
  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(--gray-900);
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 35px rgba(15, 23, 42, 0.08);
}

.nav-bar {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 800;
  color: var(--sky);
  white-space: nowrap;
}

.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  color: var(--white);
  background: linear-gradient(135deg, var(--sky), var(--indigo));
  box-shadow: 0 12px 25px rgba(2, 132, 199, 0.28);
}

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

.nav-link {
  color: var(--gray-700);
  font-weight: 700;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--sky);
}

.nav-dropdown {
  position: relative;
}

.dropdown-button {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.dropdown-panel {
  position: absolute;
  top: 36px;
  left: 0;
  min-width: 190px;
  display: grid;
  gap: 4px;
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: all 0.2s ease;
}

.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-panel a {
  padding: 9px 12px;
  border-radius: 12px;
  color: var(--gray-700);
}

.dropdown-panel a:hover {
  color: var(--sky);
  background: #eff6ff;
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search input,
.mobile-search input,
.hero-search-form input,
.big-search input,
.filter-search input,
.search-filters select {
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  padding: 11px 16px;
  background: var(--white);
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.header-search input:focus,
.mobile-search input:focus,
.hero-search-form input:focus,
.big-search input:focus,
.filter-search input:focus,
.search-filters select:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.12);
}

.header-search button,
.mobile-search button,
.hero-search-form button,
.big-search button {
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  color: var(--white);
  background: linear-gradient(135deg, var(--sky), var(--blue));
  cursor: pointer;
  font-weight: 700;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--gray-700);
}

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

.mobile-panel.is-open {
  display: grid;
  gap: 8px;
}

.mobile-link {
  padding: 11px 14px;
  border-radius: 12px;
  color: var(--gray-700);
  font-weight: 700;
}

.mobile-link:hover,
.mobile-link.is-active {
  color: var(--sky);
  background: #eff6ff;
}

.mobile-search {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.mobile-search input {
  flex: 1;
}

.hero-slider {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background: var(--slate-950);
}

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

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

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(3px) saturate(1.05);
  transform: scale(1.04);
}

.hero-shade {
  background:
    radial-gradient(circle at 78% 28%, rgba(14, 165, 233, 0.32), transparent 30%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.92) 0%, rgba(15, 23, 42, 0.72) 46%, rgba(2, 6, 23, 0.36) 100%),
    linear-gradient(0deg, rgba(248, 250, 252, 1) 0%, transparent 26%);
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(270px, 420px);
  align-items: center;
  gap: 54px;
  color: var(--white);
}

.hero-kicker {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  color: #bae6fd;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  font-weight: 700;
}

.hero-copy h1 {
  margin: 22px 0 18px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero-desc {
  width: min(680px, 100%);
  margin: 0 0 28px;
  font-size: clamp(18px, 2.2vw, 26px);
  color: #dbeafe;
}

.hero-tags,
.detail-tags,
.card-meta,
.rank-tags,
.quick-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span,
.detail-tags span,
.card-meta span,
.rank-tags em {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-style: normal;
}

.hero-tags span {
  padding: 8px 12px;
  color: #e0f2fe;
  background: rgba(255, 255, 255, 0.14);
}

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

.primary-button,
.ghost-button,
.text-link,
.section-more a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
}

.primary-button {
  padding: 15px 28px;
  color: var(--sky);
  background: var(--white);
  box-shadow: 0 20px 45px rgba(255, 255, 255, 0.18);
}

.ghost-button {
  padding: 13px 26px;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.72);
}

.primary-button:hover,
.ghost-button:hover,
.section-more a:hover,
.text-link:hover {
  transform: translateY(-2px);
}

.hero-poster {
  position: relative;
  border-radius: 34px;
  overflow: hidden;
  min-height: 500px;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

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

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

.hero-poster span {
  position: absolute;
  right: 22px;
  bottom: 22px;
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--sky), var(--blue));
  font-weight: 800;
}

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

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

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

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

.content-band {
  background: var(--white);
}

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

.section-heading > div {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
}

.section-heading p {
  grid-column: 2;
  margin: -4px 0 0;
  color: var(--gray-500);
}

.section-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 16px;
  color: var(--white);
  background: linear-gradient(135deg, var(--amber), var(--rose));
}

.movie-grid {
  display: grid;
  gap: 22px;
}

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

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

.movie-card {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.16);
}

.poster-wrap {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--slate-800), var(--sky));
}

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

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

.card-badge,
.poster-year {
  position: absolute;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
}

.card-badge {
  top: 12px;
  left: 12px;
  background: var(--amber);
}

.poster-year {
  right: 12px;
  bottom: 12px;
  background: rgba(2, 6, 23, 0.72);
}

.card-body {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.card-body strong {
  min-height: 2.8em;
  color: var(--gray-900);
  font-size: 17px;
  line-height: 1.35;
}

.card-line {
  display: -webkit-box;
  min-height: 3em;
  overflow: hidden;
  color: var(--gray-500);
  font-size: 14px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-meta span {
  padding: 4px 9px;
  color: var(--sky);
  background: #e0f2fe;
  font-size: 12px;
  font-weight: 700;
}

.compact-card .poster-wrap {
  aspect-ratio: 16 / 9;
}

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

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

.rank-row {
  display: grid;
  grid-template-columns: 44px 110px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-row:hover {
  transform: translateX(4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}

.rank-number {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--rose), var(--amber));
  font-weight: 900;
}

.rank-row img {
  width: 110px;
  height: 70px;
  object-fit: cover;
  border-radius: 14px;
}

.rank-info {
  display: grid;
  gap: 4px;
  min-width: 0;
}

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

.rank-info small {
  color: var(--gray-500);
}

.rank-tags em {
  padding: 4px 8px;
  color: var(--gray-700);
  background: var(--gray-100);
  font-size: 12px;
}

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

.category-tile {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border-radius: 26px;
  box-shadow: var(--shadow);
  background: var(--slate-900);
}

.category-tile img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  opacity: 0.62;
  transition: transform 0.32s ease, opacity 0.32s ease;
}

.category-tile:hover img {
  opacity: 0.78;
  transform: scale(1.08);
}

.category-tile span {
  position: absolute;
  inset: auto 18px 18px 18px;
  display: grid;
  gap: 8px;
  color: var(--white);
}

.category-tile strong {
  font-size: 24px;
}

.category-tile em {
  display: -webkit-box;
  overflow: hidden;
  color: #dbeafe;
  font-style: normal;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.search-hero {
  padding: 82px 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--sky), var(--indigo));
}

.search-hero-inner {
  display: grid;
  justify-items: center;
  text-align: center;
}

.search-hero h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 5vw, 50px);
}

.search-hero p {
  margin: 0 0 26px;
  color: #dbeafe;
}

.hero-search-form,
.big-search {
  display: flex;
  width: min(680px, 100%);
  gap: 10px;
}

.hero-search-form input,
.big-search input {
  flex: 1;
}

.page-shell {
  min-height: 65vh;
}

.page-hero {
  margin-top: 34px;
  padding: 54px;
  border-radius: 34px;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 20%, rgba(125, 211, 252, 0.34), transparent 30%),
    linear-gradient(135deg, var(--slate-900), var(--sky));
  box-shadow: var(--shadow);
}

.page-hero span {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #bae6fd;
  font-weight: 800;
}

.page-hero h1 {
  margin: 20px 0 12px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
}

.page-hero p {
  width: min(760px, 100%);
  margin: 0;
  color: #dbeafe;
  font-size: 18px;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 22px;
  align-items: center;
  padding: 18px;
  border-radius: 26px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
}

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

.category-cover-stack img {
  width: 100%;
  height: 86px;
  object-fit: cover;
  border-radius: 14px;
}

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

.category-overview-card p {
  margin: 0 0 16px;
  color: var(--gray-500);
}

.text-link,
.section-more a {
  padding: 10px 18px;
  color: var(--white);
  background: linear-gradient(135deg, var(--sky), var(--blue));
  transition: transform 0.2s ease;
}

.toolbar {
  display: grid;
  gap: 14px;
  margin-top: 26px;
  padding: 18px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.filter-search input {
  width: 100%;
}

.quick-filters button {
  border: 0;
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--gray-700);
  background: var(--gray-100);
  cursor: pointer;
  font-weight: 700;
}

.quick-filters button:hover,
.quick-filters button.is-active {
  color: var(--white);
  background: var(--sky);
}

.section-more {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.full-rank-list .rank-row {
  grid-template-columns: 52px 128px 1fr auto;
}

.full-rank-list .rank-row img {
  width: 128px;
  height: 82px;
}

.search-panel {
  margin-top: 30px;
  padding: 26px;
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.big-search {
  width: 100%;
}

.search-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.search-results {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 38px;
  border-radius: 22px;
  text-align: center;
  color: var(--gray-500);
  background: var(--gray-50);
}

.player-section {
  padding: 24px 0;
  background: var(--slate-950);
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #000;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: radial-gradient(circle, rgba(15, 23, 42, 0.1), rgba(2, 6, 23, 0.42));
  cursor: pointer;
  transition: opacity 0.2s ease;
}

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

.play-circle {
  display: inline-grid;
  place-items: center;
  width: 86px;
  height: 86px;
  padding-left: 5px;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--sky), var(--blue));
  box-shadow: 0 20px 55px rgba(2, 132, 199, 0.42);
  font-size: 34px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) 340px;
  gap: 30px;
  padding: 34px 0 0;
}

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

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

.detail-card,
.side-box {
  border-radius: 26px;
  background: var(--white);
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.08);
}

.detail-card {
  padding: 30px;
}

.detail-card h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
}

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

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

.detail-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--sky);
  background: #e0f2fe;
  font-weight: 800;
}

.detail-tags {
  margin-bottom: 26px;
}

.detail-tags span {
  padding: 7px 11px;
  color: var(--gray-700);
  background: var(--gray-100);
  font-weight: 700;
}

.detail-card h2,
.side-box h2 {
  margin: 28px 0 12px;
  font-size: 24px;
}

.detail-card p {
  color: var(--gray-700);
  font-size: 17px;
}

.side-poster {
  display: block;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

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

.side-box {
  margin-top: 20px;
  padding: 22px;
}

.side-box h2 {
  margin-top: 0;
}

.side-box dl {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 10px 12px;
  margin: 0;
}

.side-box dt {
  color: var(--gray-500);
}

.side-box dd {
  margin: 0;
  color: var(--gray-900);
  font-weight: 700;
}

.side-box a {
  color: var(--sky);
}

.site-footer {
  margin-top: 70px;
  color: #cbd5e1;
  background: linear-gradient(135deg, var(--slate-950), var(--slate-800));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 34px;
  padding: 54px 0;
}

.footer-logo {
  color: var(--white);
  margin-bottom: 14px;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: #7dd3fc;
  font-size: 18px;
}

.site-footer p {
  margin: 0;
  color: #94a3b8;
}

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

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

.footer-bottom {
  padding: 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  text-align: center;
  color: #94a3b8;
}

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

@media (max-width: 1100px) {
  .header-search {
    display: none;
  }

  .feature-grid,
  .latest-grid,
  .all-grid,
  .related-grid,
  .search-results {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .home-rank-list {
    grid-template-columns: 1fr;
  }

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

  .detail-side {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 20px;
    align-items: start;
  }

  .side-box {
    margin-top: 0;
  }
}

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

  .menu-button {
    display: block;
  }

  .hero-slider,
  .hero-content {
    min-height: 720px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 42px 0 70px;
  }

  .hero-poster {
    width: min(320px, 100%);
    min-height: 380px;
  }

  .hero-poster img {
    min-height: 380px;
  }

  .feature-grid,
  .latest-grid,
  .all-grid,
  .related-grid,
  .search-results,
  .category-grid,
  .category-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .rank-row,
  .full-rank-list .rank-row {
    grid-template-columns: 42px 96px 1fr;
  }

  .rank-tags {
    grid-column: 2 / -1;
  }

  .rank-row img,
  .full-rank-list .rank-row img {
    width: 96px;
    height: 64px;
  }

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

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

  .nav-bar {
    height: 64px;
  }

  .logo-text {
    display: none;
  }

  .hero-copy h1 {
    font-size: 38px;
  }

  .hero-desc {
    font-size: 17px;
  }

  .hero-actions,
  .hero-search-form,
  .big-search,
  .mobile-search {
    flex-direction: column;
  }

  .primary-button,
  .ghost-button,
  .hero-search-form button,
  .big-search button,
  .mobile-search button {
    width: 100%;
  }

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

  .feature-grid,
  .latest-grid,
  .all-grid,
  .related-grid,
  .search-results,
  .category-grid,
  .category-overview-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 34px 22px;
    border-radius: 24px;
  }

  .search-filters {
    grid-template-columns: 1fr;
  }

  .detail-card {
    padding: 22px;
  }

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

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