:root {
  --sky-50: #f0f9ff;
  --sky-100: #e0f2fe;
  --sky-500: #0ea5e9;
  --sky-600: #0284c7;
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-400: #f59e0b;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
  --soft-shadow: 0 12px 28px rgba(14, 165, 233, 0.12);
  --radius-xl: 22px;
  --radius-2xl: 30px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--gray-800);
  background: linear-gradient(180deg, #ffffff 0%, rgba(240, 249, 255, 0.52) 50%, rgba(255, 251, 235, 0.72) 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

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

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

button,
input,
select {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(14, 165, 233, 0.16);
  background: linear-gradient(90deg, rgba(240, 249, 255, 0.95), rgba(255, 251, 235, 0.95), rgba(240, 249, 255, 0.95));
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(16px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0;
}

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

.logo-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: white;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--sky-500), var(--amber-500));
  box-shadow: 0 10px 28px rgba(14, 165, 233, 0.28);
  font-weight: 900;
  font-size: 20px;
}

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

.logo-text strong {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, var(--sky-600), var(--amber-600));
  -webkit-background-clip: text;
  color: transparent;
}

.logo-text em {
  margin-top: 4px;
  color: var(--gray-500);
  font-size: 12px;
  font-style: normal;
}

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

.nav-link {
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--gray-700);
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--sky-600);
  background: linear-gradient(90deg, var(--sky-100), var(--amber-100));
  transform: translateY(-1px);
}

.top-search,
.mobile-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-search input,
.mobile-search input,
.filter-panel input,
.filter-panel select {
  border: 1px solid rgba(14, 165, 233, 0.22);
  border-radius: 999px;
  outline: none;
  background: rgba(255, 255, 255, 0.86);
  color: var(--gray-800);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.top-search input {
  width: 230px;
  padding: 10px 16px;
}

.top-search input:focus,
.mobile-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--sky-500);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12);
}

.top-search button,
.mobile-search button {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  color: white;
  background: linear-gradient(90deg, var(--sky-500), var(--amber-500));
  cursor: pointer;
  font-weight: 700;
}

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

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

.mobile-panel {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 16px;
}

.mobile-link {
  display: block;
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--gray-700);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: var(--gray-900);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.65s ease, transform 1.2s ease;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

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

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

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%);
}

.hero-copy {
  max-width: 680px;
  color: white;
  animation: fadeInUp 0.8s ease both;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  padding: 9px 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(14, 165, 233, 0.78), rgba(245, 158, 11, 0.78));
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(10px);
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.05em;
  text-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}

.hero p {
  margin: 22px 0 0;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.7;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
}

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

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

.hero-tags span,
.tag-list span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  background: linear-gradient(90deg, rgba(224, 242, 254, 0.86), rgba(254, 243, 199, 0.86));
  color: var(--gray-700);
  font-size: 12px;
  font-weight: 700;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
}

.btn-primary {
  color: white;
  background: linear-gradient(90deg, var(--sky-500), var(--amber-500));
  box-shadow: 0 18px 36px rgba(14, 165, 233, 0.28);
}

.btn-ghost {
  color: white;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  color: white;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  cursor: pointer;
  transform: translateY(-50%);
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.28);
}

.hero-arrow.prev {
  left: 24px;
}

.hero-arrow.next {
  right: 24px;
}

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

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

.hero-dot.is-active {
  width: 32px;
  background: linear-gradient(90deg, var(--sky-500), var(--amber-500));
}

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

.section.tint {
  width: 100%;
  padding: 64px max(16px, calc((100% - 1180px) / 2));
  background: linear-gradient(90deg, rgba(224, 242, 254, 0.55), rgba(254, 243, 199, 0.55));
}

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

.section-header h2 {
  margin: 8px 0 6px;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.2;
  color: var(--gray-800);
}

.section-header p {
  margin: 0;
  color: var(--gray-500);
}

.section-line {
  display: block;
  width: 8px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--sky-500), var(--amber-500));
}

.section-more {
  flex-shrink: 0;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--sky-600);
  background: var(--sky-50);
  font-weight: 800;
}

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

.movie-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(14, 165, 233, 0.08);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--soft-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

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

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

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

.movie-badge,
.rank-badge {
  position: absolute;
  top: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 28px;
  border-radius: 999px;
  padding: 4px 10px;
  color: white;
  background: linear-gradient(90deg, rgba(14, 165, 233, 0.92), rgba(245, 158, 11, 0.92));
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.movie-badge {
  right: 12px;
}

.rank-badge {
  left: 12px;
}

.movie-card-body {
  padding: 18px;
}

.movie-card-body h2,
.movie-card-body h3 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.35;
  color: var(--gray-800);
}

.movie-card-body h2 a:hover,
.movie-card-body h3 a:hover {
  color: var(--sky-600);
}

.movie-card-body p {
  display: -webkit-box;
  min-height: 44px;
  margin: 0 0 14px;
  overflow: hidden;
  color: var(--gray-600);
  font-size: 14px;
  line-height: 1.6;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--gray-500);
  font-size: 13px;
}

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

.category-tile {
  position: relative;
  min-height: 160px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: 24px;
  color: var(--gray-800);
  background: white;
  box-shadow: var(--soft-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.75;
  background: radial-gradient(circle at 20% 20%, rgba(14, 165, 233, 0.22), transparent 36%), radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.24), transparent 36%);
}

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

.category-tile strong,
.category-tile span,
.category-tile p {
  position: relative;
  z-index: 1;
}

.category-tile strong {
  display: block;
  font-size: 24px;
  margin-bottom: 12px;
}

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

.category-count {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 6px 11px;
  border-radius: 999px;
  color: var(--sky-600);
  background: rgba(224, 242, 254, 0.8);
  font-weight: 800;
}

.home-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
}

.side-panel {
  border-radius: var(--radius-2xl);
  padding: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--soft-shadow);
}

.side-panel h2 {
  margin: 0 0 18px;
  font-size: 24px;
}

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

.list-card {
  display: grid;
  grid-template-columns: auto 86px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 16px;
  background: linear-gradient(90deg, rgba(240, 249, 255, 0.68), rgba(255, 251, 235, 0.68));
  transition: transform 0.2s ease, background 0.2s ease;
}

.list-card:hover {
  transform: translateX(4px);
  background: linear-gradient(90deg, var(--sky-100), var(--amber-100));
}

.list-card img {
  width: 86px;
  height: 60px;
  border-radius: 12px;
  object-fit: cover;
}

.list-card span {
  min-width: 0;
}

.list-card strong {
  display: block;
  overflow: hidden;
  color: var(--gray-800);
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.list-card em {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: var(--gray-500);
  font-size: 12px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.list-rank {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, var(--sky-500), var(--amber-500));
  font-size: 12px;
  font-weight: 900;
}

.page-hero {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background: linear-gradient(90deg, var(--sky-600), var(--amber-500));
}

.page-hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image: radial-gradient(circle at 20% 30%, white 0, transparent 24%), radial-gradient(circle at 80% 20%, white 0, transparent 22%), radial-gradient(circle at 70% 80%, white 0, transparent 18%);
}

.page-hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(1180px, calc(100% - 32px));
  min-height: 320px;
  margin: 0 auto;
  color: white;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 62px);
  line-height: 1.1;
}

.page-hero p {
  max-width: 760px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.8;
}

.filter-panel {
  margin-bottom: 26px;
  border: 1px solid rgba(14, 165, 233, 0.12);
  border-radius: var(--radius-xl);
  padding: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--soft-shadow);
}

.filter-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px 180px;
  gap: 14px;
}

.filter-row label {
  display: grid;
  gap: 8px;
  color: var(--gray-500);
  font-size: 13px;
  font-weight: 800;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  min-height: 44px;
  padding: 0 16px;
}

.filter-count {
  margin: 12px 0 0;
  color: var(--gray-500);
  font-size: 14px;
}

.detail-hero {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: var(--gray-900);
}

.detail-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(12px) saturate(1.15);
  transform: scale(1.08);
  opacity: 0.45;
}

.detail-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.16));
}

.detail-inner {
  position: relative;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  min-height: 520px;
  margin: 0 auto;
  padding: 56px 0;
  color: white;
}

.detail-poster {
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-2xl);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.36);
}

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

.detail-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.08;
}

.detail-copy p {
  max-width: 760px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.8;
}

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

.detail-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  font-weight: 700;
}

.player-box {
  overflow: hidden;
  border-radius: var(--radius-2xl);
  background: #020617;
  box-shadow: var(--shadow);
}

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

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

.player-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  color: white;
  background: radial-gradient(circle at 50% 42%, rgba(14, 165, 233, 0.3), rgba(0, 0, 0, 0.68) 55%), rgba(0, 0, 0, 0.52);
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-button {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--sky-500), var(--amber-500));
  box-shadow: 0 24px 55px rgba(14, 165, 233, 0.32);
  font-size: 30px;
  transform: translateZ(0);
}

.player-title {
  padding: 18px 22px;
  color: white;
  background: linear-gradient(90deg, rgba(14, 165, 233, 0.24), rgba(245, 158, 11, 0.22));
  font-weight: 800;
}

.content-card {
  border-radius: var(--radius-2xl);
  padding: clamp(24px, 4vw, 42px);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--soft-shadow);
}

.content-card h2 {
  margin: 0 0 16px;
  color: var(--gray-800);
  font-size: 30px;
}

.content-card p {
  margin: 0 0 18px;
  color: var(--gray-700);
  font-size: 17px;
  line-height: 1.9;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 28px;
}

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

.info-list div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--gray-100);
  padding-bottom: 12px;
}

.info-list span {
  color: var(--gray-500);
  font-weight: 700;
}

.info-list strong {
  color: var(--gray-800);
  text-align: right;
}

.empty-state {
  display: none;
  margin: 30px 0 0;
  border-radius: var(--radius-xl);
  padding: 24px;
  color: var(--gray-600);
  background: rgba(255, 255, 255, 0.88);
  text-align: center;
}

.empty-state.is-visible {
  display: block;
}

.footer {
  border-top: 1px solid var(--gray-200);
  background: linear-gradient(180deg, var(--gray-50), var(--gray-100));
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
}

.footer-brand p {
  max-width: 360px;
  margin: 18px 0 0;
  color: var(--gray-600);
  line-height: 1.8;
}

.footer-column h2 {
  margin: 0 0 16px;
  color: var(--gray-800);
  font-size: 18px;
}

.footer-column ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--gray-600);
}

.footer-column a:hover {
  color: var(--sky-600);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .nav-links,
  .top-search {
    display: none;
  }

  .mobile-menu-button {
    display: block;
  }

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

  .mobile-search input {
    flex: 1;
    padding: 11px 16px;
  }

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

  .home-split,
  .two-column {
    grid-template-columns: 1fr;
  }

  .detail-inner {
    grid-template-columns: 240px minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .logo-text strong {
    font-size: 20px;
  }

  .hero {
    height: 560px;
  }

  .hero-arrow {
    display: none;
  }

  .section,
  .section.tint {
    padding-top: 42px;
    padding-bottom: 42px;
  }

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

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

  .filter-row {
    grid-template-columns: 1fr;
  }

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

  .detail-poster {
    max-width: 260px;
  }

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

@media (max-width: 520px) {
  .nav-shell {
    width: min(100% - 22px, 1180px);
  }

  .logo-mark {
    width: 38px;
    height: 38px;
  }

  .logo-text em {
    display: none;
  }

  .hero {
    height: 520px;
  }

  .hero-content {
    width: min(100% - 28px, 1180px);
  }

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

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

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