:root {
  --primary: #0284c7;
  --primary-dark: #0369a1;
  --primary-soft: #e0f2fe;
  --accent: #059669;
  --orange: #ea580c;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --panel: #ffffff;
  --soft: #f8fafc;
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 38%, #f8fafc 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), #38bdf8);
  box-shadow: 0 10px 24px rgba(2, 132, 199, 0.28);
}

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

.brand-text strong {
  font-size: 21px;
  letter-spacing: -0.03em;
}

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

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

.nav-link {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 16px;
  border-radius: 14px;
  color: #334155;
  font-weight: 650;
  transition: 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-dark);
  background: var(--primary-soft);
}

.nav-button {
  border: 0;
  background: transparent;
}

.nav-dropdown {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  left: 0;
  top: calc(100% + 10px);
  width: 210px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: 0.2s ease;
}

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

.dropdown-panel a,
.mobile-panel a {
  display: block;
  padding: 11px 12px;
  border-radius: 12px;
  color: #334155;
  font-weight: 600;
}

.dropdown-panel a:hover,
.mobile-panel a:hover {
  color: var(--primary-dark);
  background: var(--primary-soft);
}

.header-search {
  margin-left: auto;
  display: flex;
  width: min(360px, 30vw);
  height: 42px;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
}

.header-search input,
.mobile-search input,
.page-filter input,
.quick-search-card input {
  width: 100%;
  border: 0;
  outline: none;
  color: var(--ink);
  background: transparent;
}

.header-search input {
  padding: 0 14px;
}

.header-search button,
.mobile-search button,
.quick-search-card button {
  border: 0;
  padding: 0 16px;
  color: #ffffff;
  font-weight: 700;
  background: var(--primary);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: #f1f5f9;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: #0f172a;
}

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

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

.mobile-search {
  display: flex;
  height: 44px;
  margin-top: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  overflow: hidden;
}

.mobile-search input {
  padding: 0 14px;
}

.hero-carousel {
  position: relative;
  min-height: 68vh;
  overflow: hidden;
  color: #ffffff;
  background: #020617;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  background-image: linear-gradient(90deg, rgba(2, 6, 23, 0.94), rgba(2, 6, 23, 0.78), rgba(2, 6, 23, 0.3)), var(--hero-image);
  background-size: cover;
  background-position: center;
  transition: opacity 0.75s ease, visibility 0.75s ease;
}

.hero-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.22), transparent 34%), radial-gradient(circle at 85% 70%, rgba(5, 150, 105, 0.18), transparent 28%);
}

.hero-content {
  position: relative;
  min-height: 68vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: center;
  gap: 56px;
  padding: 76px 0 92px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: rgba(224, 242, 254, 0.95);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero-copy .eyebrow {
  color: #e0f2fe;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.hero-copy h1,
.page-hero h1,
.detail-info h1 {
  margin: 18px 0 16px;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.hero-copy p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.85;
}

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

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

.hero-tags span,
.tag-row span,
.detail-tags a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.hero-tags span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-actions,
.category-overview-head,
.section-heading,
.detail-meta {
  display: flex;
  align-items: center;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 16px;
  font-weight: 800;
  transition: 0.2s ease;
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), #38bdf8);
  box-shadow: 0 16px 30px rgba(2, 132, 199, 0.3);
}

.btn-soft {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(12px);
}

.btn:hover,
.movie-card:hover,
.category-tile:hover,
.rank-row:hover,
.category-overview-card:hover {
  transform: translateY(-3px);
}

.hero-poster {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a, #0284c7);
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.38);
}

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

.hero-poster span,
.play-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
}

.hero-poster span {
  width: 74px;
  height: 74px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 30px;
  padding-left: 5px;
}

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

.hero-controls button {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

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

.hero-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.45);
}

.hero-dots button.active {
  width: 30px;
  background: #ffffff;
}

.quick-search-section {
  margin-top: -34px;
  position: relative;
  z-index: 4;
}

.quick-search-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 24px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.quick-search-card h2 {
  margin: 0 0 8px;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.quick-search-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.quick-search-card form {
  display: flex;
  height: 54px;
  border: 1px solid #cbd5e1;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
}

.quick-search-card input {
  padding: 0 18px;
}

.quick-search-card button {
  padding: 0 22px;
}

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

.section-heading {
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-heading h2,
.ranking-panel h2,
.article-card h2,
.category-overview-card h2,
.site-footer h2 {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
  letter-spacing: -0.035em;
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.section-heading a,
.panel-link,
.category-overview-head a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: var(--primary-soft);
  font-weight: 800;
}

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

.movie-card {
  display: block;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(226, 232, 240, 0.88);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
  transition: 0.24s ease;
}

.poster-frame {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 17px;
  background: radial-gradient(circle at 30% 20%, rgba(56, 189, 248, 0.9), transparent 35%), linear-gradient(135deg, #0f172a, #0284c7 60%, #059669);
}

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.48));
}

.quality-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.72);
  font-size: 12px;
  font-weight: 800;
}

.play-badge {
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.85);
  transition: 0.24s ease;
}

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

.movie-card-body {
  display: block;
  padding: 14px 4px 2px;
}

.movie-card strong {
  display: -webkit-box;
  min-height: 50px;
  overflow: hidden;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.38;
  letter-spacing: -0.02em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-card em {
  display: -webkit-box;
  min-height: 44px;
  margin-top: 8px;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
  color: #475569;
  font-size: 13px;
  font-weight: 700;
}

.movie-meta span {
  padding: 3px 8px;
  border-radius: 999px;
  background: #f1f5f9;
}

.tag-row span {
  color: var(--primary-dark);
  background: var(--primary-soft);
}

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

.category-tile {
  min-height: 172px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ffffff, #f0f9ff);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  transition: 0.24s ease;
}

.category-tile span {
  color: var(--primary-dark);
  font-size: 22px;
  font-weight: 850;
}

.category-tile strong,
.category-tile em {
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
  line-height: 1.65;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 28px;
  align-items: start;
}

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

.movie-card-wide {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.movie-card-wide .poster-frame {
  aspect-ratio: 16 / 9;
}

.ranking-panel,
.article-card,
.category-overview-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.ranking-panel {
  position: sticky;
  top: 94px;
  padding: 22px;
}

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

.ranking-panel .rank-list {
  margin-top: 18px;
}

.rank-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  transition: 0.2s ease;
}

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

.compact .rank-tags {
  display: none;
}

.rank-number {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  font-weight: 850;
}

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

.rank-main strong,
.rank-main em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-main strong {
  font-size: 16px;
}

.rank-main em,
.rank-tags {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.panel-link {
  width: 100%;
  margin-top: 18px;
}

.page-hero,
.detail-hero {
  position: relative;
  color: #ffffff;
  background: radial-gradient(circle at 20% 15%, rgba(56, 189, 248, 0.22), transparent 34%), linear-gradient(135deg, #0f172a 0%, #1e293b 48%, #0369a1 100%);
}

.page-hero .container {
  padding: 64px 0 56px;
}

.page-hero p {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.9;
}

.page-hero .eyebrow,
.detail-hero .eyebrow {
  color: #e0f2fe;
  background: rgba(255, 255, 255, 0.14);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.breadcrumb a:hover {
  color: #ffffff;
}

.page-filter {
  width: min(560px, 100%);
  height: 52px;
  display: flex;
  margin-top: 26px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 17px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.page-filter input {
  padding: 0 18px;
  color: #ffffff;
}

.page-filter input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.overview-stack {
  display: grid;
  gap: 22px;
}

.category-overview-card {
  padding: 22px;
  transition: 0.24s ease;
}

.category-overview-head {
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.category-overview-head p {
  margin: 8px 0 0;
  color: var(--muted);
}

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

.empty-state {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
  background: #ffffff;
}

.detail-hero .container {
  padding: 44px 0 58px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, 0.85fr);
  gap: 28px;
  align-items: stretch;
}

.player-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  background: #020617;
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.32);
}

.player-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #020617;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.18), rgba(2, 6, 23, 0.78));
  transition: 0.25s ease;
}

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

.play-large {
  width: 82px;
  height: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 6px;
  border-radius: 999px;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.94);
  font-size: 34px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

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

.player-overlay em {
  color: rgba(255, 255, 255, 0.74);
  font-style: normal;
}

.detail-info {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.detail-info h1 {
  font-size: clamp(32px, 4vw, 54px);
}

.detail-one-line {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 17px;
  line-height: 1.8;
}

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

.detail-meta span {
  padding: 7px 10px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.12);
  font-size: 13px;
  font-weight: 700;
}

.detail-tags a {
  color: #e0f2fe;
  background: rgba(255, 255, 255, 0.14);
}

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

.article-card {
  padding: 26px;
}

.article-card p {
  margin: 16px 0 0;
  color: #475569;
  font-size: 16px;
  line-height: 2;
}

.site-footer {
  margin-top: 40px;
  color: #cbd5e1;
  background: #0f172a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 0.8fr;
  gap: 34px;
  padding: 44px 0;
}

.footer-brand {
  color: #ffffff;
  font-size: 20px;
  font-weight: 850;
}

.site-footer p {
  max-width: 520px;
  margin: 18px 0 0;
  color: #94a3b8;
  line-height: 1.8;
}

.site-footer h2 {
  color: #ffffff;
  font-size: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.footer-links a {
  padding: 8px 10px;
  border-radius: 999px;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.08);
}

.footer-links a:hover {
  color: #ffffff;
  background: rgba(56, 189, 248, 0.22);
}

.footer-bottom {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  color: #94a3b8;
  font-size: 14px;
}

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

  .split-layout,
  .detail-layout,
  .detail-content,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .ranking-panel {
    position: static;
  }
}

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

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

  .header-inner {
    height: 66px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 56px 0 86px;
  }

  .hero-poster {
    width: min(290px, 72vw);
  }

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

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

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

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

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

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

  .brand-text small {
    display: none;
  }

  .hero-copy h1,
  .page-hero h1,
  .detail-info h1 {
    font-size: 34px;
  }

  .hero-actions,
  .section-heading,
  .category-overview-head {
    align-items: stretch;
    flex-direction: column;
  }

  .quick-search-card form {
    flex-direction: column;
    height: auto;
  }

  .quick-search-card input,
  .quick-search-card button {
    min-height: 48px;
  }

  .movie-grid,
  .category-grid,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .detail-info {
    padding: 22px;
  }

  .page-hero .container,
  .detail-hero .container {
    padding-top: 38px;
    padding-bottom: 42px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
  }
}
