:root {
  --rose: #f43f5e;
  --rose-dark: #e11d48;
  --pink: #ec4899;
  --orange: #f97316;
  --blue: #38bdf8;
  --green: #14b8a6;
  --purple: #a855f7;
  --slate: #0f172a;
  --text: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --soft: #f8fafc;
  --card: #ffffff;
  --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: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 46%, #ffffff 100%);
}

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: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.topbar {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: linear-gradient(135deg, var(--rose), var(--pink));
  box-shadow: 0 12px 24px rgba(244, 63, 94, 0.28);
  font-size: 14px;
}

.brand-text,
.footer-logo span:last-child {
  font-size: 22px;
  background: linear-gradient(135deg, var(--rose), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  color: #374151;
  font-weight: 600;
  transition: color 0.2s ease;
}

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

.menu-button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: #f3f4f6;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-button span {
  width: 18px;
  height: 2px;
  background: #111827;
  border-radius: 999px;
}

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

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

.mobile-link {
  padding: 12px 14px;
  border-radius: 14px;
  color: #374151;
  font-weight: 600;
}

.mobile-link:hover,
.mobile-link.active {
  color: var(--rose);
  background: #fff1f2;
}

.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: #0f172a;
}

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

.hero-slide.active {
  opacity: 1;
}

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

.hero-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.52) 48%, rgba(0, 0, 0, 0.08));
}

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

.hero-copy {
  max-width: 680px;
  padding-top: 48px;
}

.hero-badge,
.detail-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: white;
  background: var(--rose);
  padding: 7px 14px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero h1 {
  color: white;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.05;
  margin: 0 0 18px;
  letter-spacing: -0.04em;
}

.hero-line {
  color: rgba(255, 255, 255, 0.92);
  font-size: 21px;
  line-height: 1.65;
  margin: 0 0 12px;
}

.hero-meta,
.detail-meta,
.movie-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-meta {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 34px;
}

.hero-meta span:not(:last-child)::after,
.detail-meta span:not(:last-child)::after,
.movie-meta span:not(:last-child)::after {
  content: "·";
  margin-left: 10px;
  color: currentColor;
  opacity: 0.6;
}

.hero-actions,
.narrow-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.primary-button {
  color: white;
  background: linear-gradient(135deg, var(--rose), var(--pink));
  box-shadow: 0 16px 34px rgba(244, 63, 94, 0.35);
}

.primary-button:hover,
.ghost-button:hover {
  transform: translateY(-2px);
}

.ghost-button {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.ghost-button.light {
  color: var(--rose);
  border-color: #fecdd3;
  background: #fff1f2;
}

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

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

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

.page-main,
.detail-main {
  padding-top: 94px;
}

.page-hero {
  padding: 66px 0 38px;
}

.page-hero h1 {
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.1;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.75;
}

.category-page-hero,
.ranking-hero {
  padding-bottom: 52px;
}

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

.white-section {
  background: white;
}

.soft-section {
  background: linear-gradient(180deg, #f8fafc, #ffffff);
}

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

.section-heading h2,
.category-preview h2,
.side-card h2,
.detail-text h2,
.detail-tags h2,
.ranking-card h2 {
  margin: 0 0 8px;
  font-size: 30px;
  letter-spacing: -0.03em;
}

.section-heading p,
.category-preview p,
.ranking-card p {
  color: var(--muted);
  margin: 0;
  line-height: 1.7;
}

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

.category-tile {
  min-height: 176px;
  color: white;
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
  position: relative;
}

.category-tile::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -46px;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
}

.category-tile:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 26px 50px rgba(15, 23, 42, 0.18);
}

.category-tile span {
  font-size: 42px;
}

.category-tile strong {
  font-size: 22px;
  margin-top: 20px;
}

.category-tile small {
  opacity: 0.86;
  line-height: 1.55;
  margin-top: 8px;
  position: relative;
  z-index: 1;
}

.grad-rose {
  background: linear-gradient(135deg, #fb7185, #e11d48);
}

.grad-blue {
  background: linear-gradient(135deg, #38bdf8, #2563eb);
}

.grad-green {
  background: linear-gradient(135deg, #34d399, #0f766e);
}

.grad-purple {
  background: linear-gradient(135deg, #c084fc, #db2777);
}

.grad-orange {
  background: linear-gradient(135deg, #fb923c, #ef4444);
}

.grad-cyan {
  background: linear-gradient(135deg, #22d3ee, #2563eb);
}

.grad-slate {
  background: linear-gradient(135deg, #334155, #0f172a);
}

.grad-pink {
  background: linear-gradient(135deg, #f9a8d4, #f43f5e);
}

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

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

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

.movie-card {
  background: var(--card);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.10);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 52px rgba(15, 23, 42, 0.16);
}

.movie-link {
  display: block;
  height: 100%;
}

.poster-wrap {
  height: 294px;
  position: relative;
  overflow: hidden;
  background: #111827;
}

.compact-card .poster-wrap {
  height: 218px;
}

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

.movie-card:hover .poster-wrap img,
.mini-card:hover img,
.ranking-page-row:hover img {
  transform: scale(1.08);
}

.poster-badge,
.rank-mark {
  position: absolute;
  top: 14px;
  right: 14px;
  color: var(--rose);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 800;
}

.rank-mark {
  left: 14px;
  right: auto;
  color: white;
  background: linear-gradient(135deg, var(--rose), var(--pink));
}

.play-hover,
.mini-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 62px;
  height: 62px;
  border-radius: 999px;
  color: white;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 2;
}

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

.poster-wrap::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0));
}

.movie-body {
  padding: 18px;
}

.movie-body h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.35;
  transition: color 0.2s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-card:hover h3,
.mini-card:hover strong,
.rank-row:hover .rank-title,
.ranking-page-row:hover h2 {
  color: var(--rose);
}

.movie-body p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-meta {
  color: #6b7280;
  font-size: 13px;
  margin-bottom: 12px;
}

.tag-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag-row span,
.detail-tags span {
  color: #374151;
  background: #f3f4f6;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
}

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

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

.mini-card {
  position: relative;
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.09);
  overflow: hidden;
}

.mini-card img {
  width: 112px;
  height: 78px;
  object-fit: cover;
  border-radius: 14px;
  transition: transform 0.35s ease;
}

.mini-card strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.mini-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.mini-play {
  left: 70px;
  width: 40px;
  height: 40px;
  font-size: 13px;
}

.ranking-wrap {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 28px;
  align-items: stretch;
}

.ranking-list,
.ranking-card,
.detail-card,
.player-card,
.side-card,
.filter-panel,
.category-preview {
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}

.ranking-list {
  padding: 14px;
}

.rank-row {
  display: grid;
  grid-template-columns: 42px 74px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 16px;
  transition: background 0.2s ease;
}

.rank-row:hover {
  background: #fff1f2;
}

.rank-row img {
  width: 74px;
  height: 52px;
  object-fit: cover;
  border-radius: 12px;
}

.rank-num {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, var(--rose), var(--pink));
  font-weight: 900;
}

.rank-title {
  font-weight: 800;
  transition: color 0.2s ease;
}

.rank-meta {
  color: var(--muted);
  font-size: 13px;
}

.ranking-card {
  padding: 34px;
  background: linear-gradient(135deg, #fff1f2, #fff7ed);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.category-previews {
  display: grid;
  gap: 28px;
}

.category-preview {
  padding: 26px;
}

.category-preview-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 20px;
  margin-bottom: 22px;
}

.category-preview-head h2 {
  display: inline-flex;
  margin-left: 8px;
}

.category-emoji {
  font-size: 28px;
}

.text-link {
  color: var(--rose);
  font-weight: 800;
  white-space: nowrap;
}

.filter-panel {
  padding: 22px;
  margin-bottom: 28px;
}

.search-box {
  position: relative;
}

.search-box span {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  font-size: 24px;
}

.search-box input {
  width: 100%;
  height: 54px;
  border: 1px solid #d1d5db;
  border-radius: 16px;
  outline: none;
  padding: 0 18px 0 52px;
  color: var(--text);
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-box input:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.12);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.chip {
  border: 0;
  color: #4b5563;
  background: #f3f4f6;
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.chip.active,
.chip:hover {
  color: white;
  background: var(--rose);
  transform: translateY(-1px);
}

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

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

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

.ranking-page-row {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.ranking-page-row a {
  display: grid;
  grid-template-columns: 68px 146px 1fr;
  gap: 20px;
  align-items: center;
  padding: 16px;
}

.ranking-page-row img {
  width: 146px;
  height: 96px;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.35s ease;
}

.rank-num.large {
  width: 44px;
  height: 44px;
  font-size: 18px;
}

.ranking-page-row h2 {
  margin: 0 0 8px;
  font-size: 21px;
  transition: color 0.2s ease;
}

.ranking-page-row p {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.55;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  color: var(--muted);
  padding: 24px 0 18px;
}

.breadcrumb a {
  color: #4b5563;
  font-weight: 700;
}

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

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 30px;
  padding-bottom: 70px;
}

.detail-primary {
  min-width: 0;
}

.player-card {
  overflow: hidden;
  margin-bottom: 26px;
  background: #030712;
}

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

.movie-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000000;
  object-fit: contain;
  z-index: 1;
}

.play-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 0;
  color: white;
  background: linear-gradient(180deg, rgba(3, 7, 18, 0.12), rgba(3, 7, 18, 0.66));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  cursor: pointer;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.play-circle {
  width: 76px;
  height: 76px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.35);
  font-size: 26px;
}

.play-overlay span:last-child {
  font-size: 18px;
  font-weight: 800;
}

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

.detail-card {
  padding: 32px;
}

.detail-badge {
  margin-right: 8px;
  margin-bottom: 14px;
}

.detail-badge.muted {
  color: #374151;
  background: #f3f4f6;
}

.detail-card h1 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.detail-meta {
  color: var(--muted);
  margin-bottom: 28px;
}

.detail-text {
  border-top: 1px solid var(--line);
  padding-top: 26px;
  margin-top: 26px;
}

.detail-text p {
  margin: 0 0 14px;
  color: #4b5563;
  line-height: 1.85;
  font-size: 16px;
}

.detail-tags {
  border-top: 1px solid var(--line);
  padding-top: 26px;
  margin-top: 26px;
}

.detail-tags div {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.side-card {
  padding: 22px;
}

.sticky-card {
  position: sticky;
  top: 92px;
}

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

.side-list .mini-card {
  grid-template-columns: 112px 1fr;
  box-shadow: none;
  background: #f8fafc;
}

.site-footer {
  background: linear-gradient(180deg, #f8fafc, #eef2f7);
  border-top: 1px solid var(--line);
  padding: 46px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 34px;
}

.footer-grid p {
  color: var(--muted);
  line-height: 1.75;
  margin: 16px 0 0;
}

.footer-grid h2 {
  font-size: 18px;
  margin: 0 0 18px;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: #4b5563;
}

.footer-links a:hover {
  color: var(--rose);
}

.footer-bottom {
  margin-top: 36px;
  padding: 22px 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

.js-filter-item.is-hidden {
  display: none;
}

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

  .movie-grid.three,
  .mini-grid,
  .four-mini,
  .ranking-wrap,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-side {
    order: 2;
  }

  .sticky-card {
    position: static;
  }
}

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

  .nav-links {
    display: none;
  }

  .menu-button {
    display: flex;
  }

  .topbar {
    height: 62px;
  }

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

  .hero {
    height: 640px;
  }

  .hero-mask {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.36), rgba(0, 0, 0, 0.78));
  }

  .hero-content {
    align-items: flex-end;
    padding-bottom: 72px;
  }

  .hero-copy {
    padding-top: 0;
  }

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

  .page-main,
  .detail-main {
    padding-top: 78px;
  }

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

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

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

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

  .category-tile {
    min-height: 158px;
    padding: 22px;
  }

  .poster-wrap {
    height: 228px;
  }

  .movie-body {
    padding: 15px;
  }

  .movie-body h3 {
    font-size: 16px;
  }

  .movie-body p,
  .tag-row {
    display: none;
  }

  .mini-card,
  .side-list .mini-card {
    grid-template-columns: 96px 1fr;
  }

  .mini-card img {
    width: 96px;
    height: 72px;
  }

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

  .rank-meta {
    display: none;
  }

  .ranking-page-row a {
    grid-template-columns: 48px 92px 1fr;
    gap: 14px;
  }

  .ranking-page-row img {
    width: 92px;
    height: 72px;
  }

  .ranking-page-row p {
    display: none;
  }

  .detail-card {
    padding: 22px;
  }

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

@media (max-width: 480px) {
  .category-grid,
  .movie-grid.three,
  .movie-grid.four {
    grid-template-columns: 1fr;
  }

  .poster-wrap,
  .compact-card .poster-wrap {
    height: 300px;
  }

  .hero-actions,
  .narrow-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-button,
  .ghost-button {
    width: 100%;
  }

  .filter-panel {
    padding: 16px;
  }
}
