:root {
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-300: #fcd34d;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --amber-800: #92400e;
  --amber-900: #78350f;
  --orange-800: #9a3412;
  --stone-50: #fafaf9;
  --stone-100: #f5f5f4;
  --stone-200: #e7e5e4;
  --stone-300: #d6d3d1;
  --stone-600: #57534e;
  --stone-700: #44403c;
  --stone-800: #292524;
  --stone-900: #1c1917;
  --shadow-soft: 0 18px 55px rgba(41, 37, 36, 0.12);
  --shadow-card: 0 14px 38px rgba(41, 37, 36, 0.13);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--stone-800);
  background: radial-gradient(circle at top left, rgba(251, 191, 36, 0.18), transparent 34rem), var(--stone-50);
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  color: #fff;
  background: linear-gradient(90deg, var(--amber-900), var(--orange-800), var(--amber-900));
  box-shadow: 0 16px 36px rgba(120, 53, 15, 0.24);
}

.nav-shell {
  max-width: 1280px;
  height: 68px;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.brand-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--amber-900);
  background: linear-gradient(135deg, var(--amber-300), var(--amber-500));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.35), 0 8px 24px rgba(0, 0, 0, 0.2);
}

.brand-text {
  font-size: 21px;
  white-space: nowrap;
}

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

.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: var(--amber-300);
  transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fff7d6;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

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

.search-input {
  width: 220px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 10px 15px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
  transition: width 0.22s ease, background 0.2s ease, border 0.2s ease;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.68);
}

.search-input:focus {
  width: 270px;
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(252, 211, 77, 0.95);
}

.search-button,
.primary-button,
.secondary-button,
.control-button,
.filter-button {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.2s ease;
}

.search-button {
  color: var(--amber-900);
  background: var(--amber-300);
  padding: 10px 16px;
  font-weight: 700;
}

.search-button:hover,
.primary-button:hover,
.secondary-button:hover,
.control-button:hover,
.filter-button:hover {
  transform: translateY(-1px);
}

.menu-button {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.menu-button span {
  width: 20px;
  height: 2px;
  margin: 4px auto;
  display: block;
  background: #fff;
}

.mobile-panel {
  display: none;
  padding: 0 20px 18px;
  background: rgba(120, 53, 15, 0.98);
  backdrop-filter: blur(14px);
}

.mobile-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.mobile-nav-link {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
}

.mobile-nav-link.active,
.mobile-nav-link:hover {
  background: rgba(252, 211, 77, 0.2);
}

main {
  min-height: 70vh;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 22px;
}

.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: var(--stone-900);
}

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

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.42) 45%, rgba(0, 0, 0, 0.16)), linear-gradient(90deg, rgba(28, 25, 23, 0.94), rgba(28, 25, 23, 0.5) 42%, rgba(28, 25, 23, 0.08));
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 620px;
  display: grid;
  align-items: end;
  padding: 96px 22px 70px;
}

.hero-copy {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.hero-kicker,
.section-kicker,
.detail-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--amber-300);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero h1 {
  max-width: 780px;
  margin: 16px 0 18px;
  color: #fff;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

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

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
}

.hero-tags span,
.tag-row span,
.detail-tags span,
.search-card span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
}

.hero-tags span {
  padding: 8px 12px;
  color: #fff7d6;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

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

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  font-weight: 800;
}

.primary-button {
  color: var(--amber-950, #451a03);
  background: linear-gradient(135deg, var(--amber-300), var(--amber-500));
  box-shadow: 0 14px 32px rgba(245, 158, 11, 0.34);
}

.secondary-button {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-controls {
  position: absolute;
  z-index: 5;
  right: max(24px, calc((100vw - 1280px) / 2 + 22px));
  bottom: 68px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.control-button {
  width: 44px;
  height: 44px;
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
}

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

.hero-dot {
  width: 34px;
  height: 4px;
  border: 0;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.hero-dot.active {
  background: var(--amber-300);
}

.section {
  padding: 58px 0 0;
}

.section.alt {
  margin-top: 60px;
  padding: 58px 0;
  background: linear-gradient(90deg, rgba(255, 251, 235, 0.96), rgba(255, 237, 213, 0.94));
}

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

.section-head h1,
.section-head h2,
.page-title h1,
.detail-content h1 {
  margin: 8px 0 0;
  color: var(--stone-800);
  letter-spacing: -0.03em;
}

.section-head h2,
.page-title h1 {
  font-size: clamp(28px, 4vw, 42px);
}

.section-head p,
.page-title p {
  max-width: 780px;
  color: var(--stone-600);
  line-height: 1.8;
}

.more-link {
  color: var(--amber-700);
  font-weight: 800;
  white-space: nowrap;
}

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(214, 211, 209, 0.75);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 30px rgba(41, 37, 36, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.55);
  box-shadow: var(--shadow-card);
}

.card-cover {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--stone-900);
}

.card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease, filter 0.28s ease;
}

.movie-card:hover .card-cover img {
  transform: scale(1.06);
  filter: brightness(0.82);
}

.play-dot {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--amber-900);
  background: var(--amber-300);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.26);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.movie-card:hover .play-dot {
  opacity: 1;
  transform: translateY(0);
}

.rank-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  min-width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--amber-500), var(--amber-700));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.card-body {
  padding: 17px;
}

.card-body h2 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.35;
}

.card-meta {
  margin: 0 0 10px;
  color: var(--amber-700);
  font-size: 13px;
  font-weight: 700;
}

.card-desc {
  min-height: 48px;
  margin: 0 0 14px;
  color: var(--stone-600);
  font-size: 14px;
  line-height: 1.7;
}

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

.tag-row span,
.detail-tags span,
.search-card span {
  padding: 6px 9px;
  color: var(--stone-700);
  background: var(--stone-100);
}

.hot-scroll {
  overflow-x: auto;
  padding-bottom: 12px;
}

.hot-track {
  display: flex;
  gap: 16px;
  min-width: min-content;
}

.hot-item {
  width: 310px;
  min-width: 310px;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 26px rgba(41, 37, 36, 0.08);
}

.hot-item img {
  width: 92px;
  height: 126px;
  object-fit: cover;
  border-radius: 12px;
}

.hot-info {
  display: grid;
  gap: 8px;
}

.hot-info strong {
  font-size: 17px;
  line-height: 1.35;
}

.hot-info em {
  color: var(--stone-600);
  font-size: 13px;
  font-style: normal;
}

.mini-rank {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: var(--amber-600);
  font-weight: 800;
}

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

.category-tile {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  background: var(--stone-900);
}

.category-tile img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.category-tile:hover img {
  transform: scale(1.07);
}

.category-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.14));
}

.category-content {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  color: #fff;
}

.category-content strong {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
}

.category-content em {
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
  line-height: 1.7;
}

.page-hero {
  padding: 72px 0 44px;
  color: #fff;
  background: radial-gradient(circle at 28% 12%, rgba(251, 191, 36, 0.28), transparent 28rem), linear-gradient(130deg, var(--stone-900), var(--amber-900));
}

.page-title h1 {
  color: #fff;
}

.page-title p {
  color: rgba(255, 255, 255, 0.78);
}

.filter-bar {
  margin: 32px 0 24px;
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr 180px 160px;
  gap: 12px;
  border: 1px solid rgba(214, 211, 209, 0.8);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 28px rgba(41, 37, 36, 0.07);
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  border: 1px solid var(--stone-200);
  border-radius: 999px;
  padding: 12px 15px;
  background: #fff;
  outline: none;
}

.filter-bar input:focus,
.filter-bar select:focus {
  border-color: var(--amber-400);
  box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.18);
}

.filter-button {
  color: #fff;
  background: linear-gradient(135deg, var(--amber-600), var(--amber-800));
  font-weight: 800;
}

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

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

.rank-row {
  display: grid;
  grid-template-columns: 54px 92px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 10px 28px rgba(41, 37, 36, 0.08);
}

.rank-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--amber-500), var(--amber-800));
  font-weight: 900;
}

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

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

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

.search-panel {
  display: none;
  position: fixed;
  z-index: 120;
  top: 80px;
  left: 50%;
  width: min(860px, calc(100vw - 32px));
  max-height: min(70vh, 720px);
  overflow: auto;
  transform: translateX(-50%);
  border: 1px solid rgba(214, 211, 209, 0.9);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 24px 90px rgba(28, 25, 23, 0.32);
}

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

.search-panel-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  background: #fff;
  border-bottom: 1px solid var(--stone-200);
}

.search-panel-title {
  font-weight: 800;
}

.search-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: var(--stone-100);
}

.search-results {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.search-card {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 14px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  background: var(--stone-50);
}

.search-card img {
  width: 74px;
  height: 100px;
  object-fit: cover;
  border-radius: 12px;
}

.search-card h3 {
  margin: 0 0 7px;
}

.search-card p {
  margin: 0 0 8px;
  color: var(--stone-600);
  line-height: 1.6;
}

.detail-hero {
  padding: 42px 0;
  color: #fff;
  background: radial-gradient(circle at top right, rgba(251, 191, 36, 0.22), transparent 28rem), linear-gradient(120deg, var(--stone-900), #22150d 54%, var(--amber-900));
}

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

.breadcrumb a {
  color: #fff7d6;
}

.detail-top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: end;
}

.detail-poster {
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.38);
}

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

.detail-content h1 {
  color: #fff;
  font-size: clamp(32px, 5vw, 58px);
}

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

.detail-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff7d6;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.detail-summary {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.9;
  font-size: 17px;
}

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

.player-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.8fr);
  gap: 28px;
  align-items: start;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #000;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  aspect-ratio: 16 / 9;
}

.movie-video {
  width: 100%;
  height: 100%;
  background: #000;
  object-fit: contain;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  color: #fff;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.18));
  cursor: pointer;
}

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

.player-play {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--amber-900);
  background: linear-gradient(135deg, var(--amber-300), var(--amber-500));
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.32);
  font-size: 32px;
}

.info-panel,
.related-panel {
  padding: 24px;
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: 0 14px 36px rgba(41, 37, 36, 0.08);
}

.info-panel h2,
.related-panel h2 {
  margin: 0 0 14px;
}

.info-panel p {
  margin: 0 0 16px;
  color: var(--stone-600);
  line-height: 1.9;
}

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

.compact-card .card-body h2 {
  font-size: 16px;
}

.site-footer {
  margin-top: 74px;
  padding: 46px 0 24px;
  color: rgba(255, 255, 255, 0.72);
  background: linear-gradient(180deg, var(--stone-800), var(--stone-900));
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 22px;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 0.9fr;
  gap: 34px;
}

.footer-grid h2 {
  margin: 0 0 15px;
  color: #fff;
  font-size: 17px;
}

.footer-grid p {
  margin: 14px 0 0;
  line-height: 1.8;
}

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

.footer-grid a:hover {
  color: var(--amber-300);
}

.footer-bottom {
  max-width: 1280px;
  margin: 28px auto 0;
  padding: 20px 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.55);
}

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

  .menu-button {
    display: block;
  }

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

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

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

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

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

@media (max-width: 760px) {
  .nav-shell {
    height: 64px;
    padding: 0 16px;
  }

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

  .mobile-search-form {
    display: grid;
    grid-template-columns: 1fr auto;
  }

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

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

  .hero,
  .hero-inner {
    min-height: 560px;
  }

  .hero-inner {
    padding: 70px 18px 86px;
  }

  .hero-controls {
    left: 18px;
    right: auto;
    bottom: 28px;
  }

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

  .section {
    padding-top: 42px;
  }

  .section-head {
    display: block;
  }

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

  .detail-top {
    gap: 22px;
  }

  .player-play {
    width: 70px;
    height: 70px;
    font-size: 26px;
  }

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

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

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

  .rank-row img {
    width: 74px;
    height: 100px;
  }

  .hot-item {
    width: 280px;
    min-width: 280px;
  }
}
