:root {
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-850: #111827;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --red-700: #b91c1c;
  --red-600: #dc2626;
  --red-500: #ef4444;
  --orange-500: #f97316;
  --amber-400: #fbbf24;
  --white: #ffffff;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-card: 0 12px 30px rgba(15, 23, 42, 0.10);
  --radius-lg: 18px;
  --radius-xl: 28px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
  background: var(--slate-50);
  color: #111827;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, var(--slate-900), var(--slate-800), var(--slate-900));
  color: var(--white);
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.32);
}

.nav-shell {
  max-width: var(--container);
  height: 68px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 18px;
}

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

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--red-600), var(--orange-500));
  color: var(--white);
  box-shadow: 0 12px 25px rgba(220, 38, 38, 0.35);
}

.brand-text {
  font-size: 22px;
  background: linear-gradient(90deg, #f87171, #fb923c);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  white-space: nowrap;
}

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

.nav-link {
  padding: 9px 13px;
  border-radius: 12px;
  color: #d1d5db;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: var(--red-600);
}

.nav-link.subtle {
  font-size: 14px;
  color: #cbd5e1;
}

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

.header-search input,
.mobile-search input,
.search-input,
.filter-input,
.filter-select {
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 14px;
  padding: 11px 13px;
  outline: none;
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
}

.header-search input {
  width: 210px;
}

.header-search button,
.mobile-search button,
.primary-btn,
.secondary-btn,
.filter-clear {
  border: 0;
  border-radius: 14px;
  padding: 11px 16px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.header-search button,
.mobile-search button,
.primary-btn {
  background: var(--red-600);
  color: var(--white);
  box-shadow: 0 12px 25px rgba(220, 38, 38, 0.28);
}

.secondary-btn {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
}

.header-search button:hover,
.mobile-search button:hover,
.primary-btn:hover,
.secondary-btn:hover,
.filter-clear:hover {
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: rgba(255, 255, 255, 0.10);
  color: var(--white);
  border-radius: 12px;
  padding: 10px 13px;
  cursor: pointer;
}

.mobile-panel {
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  padding: 14px 18px 18px;
}

.mobile-search {
  margin-bottom: 12px;
}

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

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

.page-main {
  min-height: 60vh;
}

.hero-section {
  position: relative;
  overflow: hidden;
  min-height: clamp(620px, 86vh, 780px);
  color: var(--white);
  background: radial-gradient(circle at top left, rgba(239, 68, 68, 0.35), transparent 30%), linear-gradient(135deg, var(--slate-950), #450a0a 48%, var(--slate-900));
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.08;
}

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

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

.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  filter: saturate(1.08) contrast(1.05);
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.92), rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.36));
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  min-height: clamp(620px, 86vh, 780px);
  margin: 0 auto;
  padding: 76px 18px 64px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 390px;
  align-items: center;
  gap: 42px;
}

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

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fecaca;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.hero-title {
  margin: 20px 0 18px;
  font-size: clamp(40px, 6vw, 74px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.hero-title span {
  color: #f87171;
}

.hero-desc {
  margin: 0;
  max-width: 680px;
  color: #d1d5db;
  font-size: clamp(17px, 2.4vw, 22px);
  line-height: 1.8;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 22px 0;
}

.hero-tags span,
.card-tags span,
.detail-tags span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.12);
  color: var(--red-600);
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
}

.hero-tags span {
  color: #fee2e2;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

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

.hero-panel {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: var(--radius-xl);
  padding: 18px;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(18px);
  box-shadow: 0 35px 80px rgba(2, 6, 23, 0.36);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: -16px;
  z-index: -1;
  background: rgba(239, 68, 68, 0.20);
  border-radius: 36px;
  filter: blur(32px);
}

.hero-feature-card {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-feature-card + .hero-feature-card {
  margin-top: 12px;
}

.hero-feature-card img {
  width: 118px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-feature-card h2 {
  margin: 0 0 6px;
  font-size: 18px;
}

.hero-feature-card p {
  margin: 0 0 10px;
  color: #d1d5db;
  font-size: 13px;
  line-height: 1.55;
}

.hero-feature-card a {
  color: #fecaca;
  font-weight: 900;
}

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

.hero-dot,
.hero-arrow {
  border: 0;
  cursor: pointer;
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
}

.hero-dot {
  width: 13px;
  height: 13px;
  border-radius: 999px;
}

.hero-dot.is-active {
  background: var(--red-500);
  width: 32px;
}

.hero-arrow {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  font-weight: 900;
}

.section {
  padding: 70px 18px;
}

.section.alt {
  background: var(--white);
}

.section.dark {
  background: linear-gradient(135deg, var(--slate-950), var(--slate-800));
  color: var(--white);
}

.section.hot {
  color: var(--white);
  background: linear-gradient(135deg, var(--red-600), var(--orange-500));
}

.container {
  max-width: var(--container);
  margin: 0 auto;
}

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

.section-head h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.035em;
}

.section-head p {
  margin: 0;
  color: var(--slate-600);
  line-height: 1.7;
}

.dark .section-head p,
.hot .section-head p {
  color: rgba(255, 255, 255, 0.74);
}

.section-more {
  color: var(--red-600);
  font-weight: 900;
  white-space: nowrap;
}

.dark .section-more,
.hot .section-more {
  color: #fee2e2;
}

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

.movie-card {
  min-width: 0;
}

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

.movie-card > a:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 55px rgba(15, 23, 42, 0.18);
}

.poster-wrap {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #1f2937, #0f172a);
}

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

.movie-card > a:hover img {
  transform: scale(1.08);
}

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

.rating-pill,
.rank-badge {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.rating-pill {
  top: 10px;
  right: 10px;
  padding: 6px 9px;
  color: var(--white);
  background: var(--red-600);
}

.rank-badge {
  top: 10px;
  left: 10px;
  min-width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111827;
  background: linear-gradient(135deg, #fde68a, #f59e0b);
}

.play-mask {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  color: var(--white);
  font-size: 42px;
  background: rgba(0, 0, 0, 0.34);
  transition: opacity 0.24s ease;
}

.movie-card > a:hover .play-mask {
  opacity: 1;
}

.card-body {
  padding: 14px;
}

.card-body h3 {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.35;
  color: #111827;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta,
.card-desc,
.card-category {
  margin: 0;
  color: var(--slate-600);
  font-size: 13px;
  line-height: 1.55;
}

.card-desc {
  min-height: 41px;
  margin-top: 9px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.card-category {
  margin-top: 10px;
  color: var(--red-600);
  font-weight: 900;
}

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

.category-tile {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 24px;
  min-height: 170px;
  color: var(--white);
  background: linear-gradient(135deg, var(--slate-900), #7f1d1d);
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.22);
}

.category-tile span {
  display: block;
  font-size: 44px;
  margin-bottom: 18px;
}

.category-tile h2,
.category-tile h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.category-tile p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.55;
}

.page-hero {
  padding: 70px 18px;
  color: var(--white);
  background: radial-gradient(circle at 20% 10%, rgba(239, 68, 68, 0.38), transparent 30%), linear-gradient(120deg, var(--slate-950), var(--slate-800), #7f1d1d);
}

.page-hero .container {
  display: grid;
  gap: 12px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #fecaca;
  font-weight: 800;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 56px);
  letter-spacing: -0.045em;
}

.page-hero p {
  margin: 0;
  max-width: 760px;
  color: #d1d5db;
  line-height: 1.8;
  font-size: 18px;
}

.filter-panel {
  margin: -34px auto 34px;
  max-width: var(--container);
  padding: 18px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 0.7fr) auto;
  gap: 12px;
  position: relative;
  z-index: 4;
}

.filter-input,
.filter-select {
  width: 100%;
}

.filter-clear {
  color: var(--white);
  background: var(--slate-900);
}

.list-note {
  margin: 0 0 24px;
  color: var(--slate-600);
  line-height: 1.7;
}

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

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

.rank-row {
  display: grid;
  grid-template-columns: 56px 92px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.rank-number {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #fef3c7, #f97316);
  font-weight: 1000;
  color: #111827;
}

.rank-row img {
  width: 92px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 14px;
  background: var(--slate-800);
}

.rank-row h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.rank-row p {
  margin: 0;
  color: var(--slate-600);
  line-height: 1.6;
}

.rank-meta {
  text-align: right;
  color: var(--red-600);
  font-weight: 1000;
}

.side-panel {
  position: sticky;
  top: 92px;
  align-self: start;
  border-radius: 24px;
  padding: 24px;
  background: linear-gradient(135deg, var(--slate-950), var(--slate-800));
  color: var(--white);
  box-shadow: var(--shadow-card);
}

.side-panel h2 {
  margin: 0 0 14px;
}

.side-panel a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #e5e7eb;
  font-weight: 800;
}

.player-section {
  padding: 40px 18px 56px;
  background: linear-gradient(135deg, var(--slate-950), var(--slate-800));
}

.player-layout {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  align-items: start;
}

.player-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 22px;
  background: #000;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.35);
}

.video-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  background: #000;
}

.player-shell.is-playing .video-player {
  opacity: 1;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: pointer;
}

.player-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.74;
}

.player-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(220, 38, 38, 0.12), rgba(0, 0, 0, 0.55));
}

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

.play-button {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 3;
  transform: translate(-50%, -50%);
  width: 88px;
  height: 88px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: var(--red-600);
  color: var(--white);
  font-size: 38px;
  box-shadow: 0 20px 42px rgba(220, 38, 38, 0.45);
  transition: transform 0.2s ease, background 0.2s ease;
}

.play-button:hover {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--red-700);
}

.player-message {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 4;
  display: none;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.82);
  color: var(--white);
  line-height: 1.6;
}

.player-message.is-visible {
  display: block;
}

.watch-card {
  border-radius: 24px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  backdrop-filter: blur(12px);
}

.watch-card img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 16px;
}

.watch-card h1 {
  margin: 0 0 10px;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.watch-card p {
  margin: 0;
  color: #d1d5db;
  line-height: 1.7;
}

.detail-section {
  padding: 58px 18px;
}

.detail-layout {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 30px;
}

.detail-card,
.info-card {
  border-radius: 24px;
  padding: 28px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.detail-card h2,
.info-card h2 {
  margin: 0 0 16px;
  font-size: 24px;
}

.detail-card p {
  color: #374151;
  line-height: 1.9;
  font-size: 16px;
}

.detail-card p + p {
  margin-top: 18px;
}

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

.info-item {
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e7eb;
}

.info-item span:first-child {
  color: var(--slate-600);
  font-size: 13px;
}

.info-item span:last-child {
  font-weight: 900;
}

.related-row {
  padding-top: 4px;
}

.search-panel {
  max-width: 820px;
  display: flex;
  gap: 12px;
}

.search-panel .search-input {
  flex: 1;
}

.search-empty {
  padding: 28px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow-card);
  color: var(--slate-600);
}

.site-footer {
  color: #cbd5e1;
  background: linear-gradient(180deg, var(--slate-900), var(--slate-950));
}

.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 54px 18px 34px;
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 32px;
}

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

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

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

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

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

.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 22px 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  text-align: center;
  color: #94a3b8;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 45;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--red-600);
  box-shadow: 0 16px 30px rgba(220, 38, 38, 0.32);
  cursor: pointer;
}

.back-to-top.is-visible {
  display: inline-flex;
}

.hidden-card {
  display: none;
}

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

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

  .nav-shell {
    justify-content: space-between;
  }

  .hero-inner,
  .player-layout,
  .detail-layout,
  .rank-layout {
    grid-template-columns: 1fr;
  }

  .hero-panel,
  .side-panel {
    position: static;
  }

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

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

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

@media (max-width: 760px) {
  .brand-text {
    font-size: 19px;
  }

  .hero-inner {
    padding-top: 52px;
  }

  .hero-feature-card {
    grid-template-columns: 86px 1fr;
  }

  .hero-feature-card img {
    width: 86px;
  }

  .section {
    padding: 52px 14px;
  }

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

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

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

  .filter-panel {
    margin: -24px 14px 28px;
    grid-template-columns: 1fr;
  }

  .rank-row {
    grid-template-columns: 42px 76px 1fr;
  }

  .rank-meta {
    grid-column: 2 / -1;
    text-align: left;
  }

  .search-panel {
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  .nav-shell {
    height: 62px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .hero-title {
    font-size: 38px;
  }

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

  .card-body {
    padding: 12px;
  }

  .card-body h3 {
    font-size: 14px;
  }

  .play-button {
    width: 70px;
    height: 70px;
    font-size: 30px;
  }
}
