* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  color: #1f2937;
  background: #f8fafc;
}

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, #06b6d4, #3b82f6, #8b5cf6);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.25);
}

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.18);
  transition: transform 0.25s ease;
}

.brand:hover .brand-mark,
.footer-brand:hover .brand-mark {
  transform: scale(1.1);
}

.top-search {
  flex: 1;
  max-width: 420px;
  display: flex;
  background: #ffffff;
  border-radius: 999px;
  padding: 4px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.top-search input,
.mobile-search input,
.large-search input,
.filter-panel input,
.filter-panel select {
  width: 100%;
  border: 0;
  outline: 0;
  border-radius: 999px;
  padding: 12px 16px;
  color: #111827;
  background: #ffffff;
}

.top-search button,
.mobile-search button,
.large-search button,
.filter-panel button {
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  color: #ffffff;
  background: linear-gradient(135deg, #06b6d4, #2563eb);
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.top-search button:hover,
.mobile-search button:hover,
.large-search button:hover,
.filter-panel button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.25);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #ffffff;
  font-weight: 700;
}

.desktop-nav a {
  padding: 8px 0;
  opacity: 0.95;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.desktop-nav a:hover {
  color: #cffafe;
  opacity: 1;
}

.menu-button {
  display: none;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-size: 30px;
  cursor: pointer;
}

.mobile-panel {
  display: none;
  padding: 16px 24px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

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

.mobile-panel a {
  color: #ffffff;
  font-weight: 700;
  padding: 8px 0;
}

.mobile-search,
.large-search {
  display: flex;
  gap: 8px;
  background: #ffffff;
  border-radius: 999px;
  padding: 6px;
}

.page-bg {
  min-height: 100vh;
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 45%, #ecfeff 100%);
}

.hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, #0891b2 0%, #2563eb 48%, #7c3aed 100%);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 35%, rgba(255, 255, 255, 0.22), transparent 28%), rgba(0, 0, 0, 0.22);
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(55px);
  opacity: 0.55;
  animation: pulseOrb 5s ease-in-out infinite alternate;
}

.hero-orb.one {
  width: 280px;
  height: 280px;
  left: 7%;
  top: 9%;
  background: rgba(255, 255, 255, 0.22);
}

.hero-orb.two {
  width: 390px;
  height: 390px;
  right: 6%;
  bottom: 8%;
  background: rgba(103, 232, 249, 0.2);
}

@keyframes pulseOrb {
  from {
    transform: scale(0.95);
  }

  to {
    transform: scale(1.08);
  }
}

.hero-inner {
  position: relative;
  max-width: 1280px;
  min-height: 640px;
  margin: 0 auto;
  padding: 52px 24px 120px;
}

.hero-slide {
  position: absolute;
  inset: 52px 24px 120px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.55fr);
  align-items: center;
  gap: 42px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease, visibility 0.55s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

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

.eyebrow {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px);
  font-weight: 700;
}

.hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero h1 em {
  font-style: normal;
  color: #cffafe;
}

.hero p {
  max-width: 680px;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  line-height: 1.8;
}

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

.hero-tags span,
.tag-list span {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.hero-actions,
.sub-actions,
.more-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.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, background 0.2s ease;
}

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

.btn.primary {
  color: #2563eb;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.18);
}

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

.hero-poster {
  position: relative;
  width: min(360px, 100%);
  justify-self: end;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.35);
  transform: rotate(2deg);
  transition: transform 0.35s ease;
}

.hero-poster:hover {
  transform: rotate(0) scale(1.02);
}

.hero-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.08);
}

.hero-poster span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.62);
  color: #ffffff;
  backdrop-filter: blur(16px);
  font-weight: 700;
}

.hero-dots {
  position: absolute;
  left: 24px;
  bottom: 72px;
  display: flex;
  gap: 10px;
}

.hero-dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

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

.hero-strip {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 20px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.hero-strip a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(16px);
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-strip a:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.23);
}

.hero-strip img {
  width: 46px;
  height: 58px;
  border-radius: 12px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.15);
}

.hero-strip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
}

.content-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 70px 24px;
}

.content-section.no-pad {
  padding-top: 0;
  padding-bottom: 0;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.section-heading > span {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, #f97316, #ef4444);
  box-shadow: 0 14px 30px rgba(239, 68, 68, 0.22);
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  color: #1f2937;
}

.section-heading p {
  margin: 6px 0 0;
  color: #64748b;
}

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

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

.movie-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.movie-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 52px rgba(37, 99, 235, 0.18);
}

.poster-wrap {
  position: relative;
  display: block;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, #dbeafe, #cffafe);
}

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

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

.poster-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.68), transparent 58%);
}

.pill {
  position: absolute;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.top-left {
  left: 12px;
  top: 12px;
  background: rgba(37, 99, 235, 0.86);
}

.top-right {
  right: 12px;
  top: 12px;
  background: rgba(15, 23, 42, 0.68);
}

.card-body {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.card-body strong {
  color: #111827;
  line-height: 1.45;
  transition: color 0.2s ease;
}

.movie-card:hover .card-body strong {
  color: #2563eb;
}

.card-desc {
  color: #64748b;
  font-size: 14px;
  line-height: 1.65;
  min-height: 45px;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #64748b;
  font-size: 13px;
}

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

.feature-band {
  padding: 70px 0;
  background: linear-gradient(90deg, #f3e8ff, #ffe4e6, #ffedd5);
}

.spotlight-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  grid-auto-rows: 220px;
  gap: 22px;
}

.spotlight {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.18);
}

.spotlight-large {
  grid-row: span 2;
}

.spotlight img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
  background: rgba(255, 255, 255, 0.35);
}

.spotlight:hover img {
  transform: scale(1.06);
}

.spotlight-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.22), transparent);
}

.spotlight-copy {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: grid;
  gap: 8px;
  color: #ffffff;
}

.spotlight-copy em {
  width: max-content;
  padding: 5px 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ec4899, #f97316);
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
}

.spotlight-copy strong {
  font-size: 24px;
}

.spotlight-copy small {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

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

.category-tile,
.category-card {
  overflow: hidden;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover,
.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 54px rgba(37, 99, 235, 0.18);
}

.category-tile img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  background: linear-gradient(135deg, #dbeafe, #cffafe);
}

.category-tile span,
.category-info {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.category-tile strong,
.category-info strong {
  font-size: 20px;
  color: #111827;
}

.category-tile small,
.category-info small {
  color: #64748b;
  line-height: 1.65;
}

.category-covers {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 4px;
  height: 170px;
  background: #e0f2fe;
}

.category-covers img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sub-hero {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  padding: 74px 24px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #ffffff;
  background: linear-gradient(135deg, #0891b2, #2563eb, #7c3aed);
}

.sub-hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -160px;
  top: -220px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  filter: blur(12px);
}

.sub-hero > * {
  position: relative;
}

.sub-hero span {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.sub-hero h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 64px);
}

.sub-hero p {
  max-width: 780px;
  margin: 16px auto 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.8;
}

.category-hero,
.rank-hero {
  min-height: 330px;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px 110px;
  gap: 12px;
  margin-bottom: 28px;
  padding: 12px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(16px);
}

.filter-panel select {
  appearance: none;
  border: 1px solid #e2e8f0;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.rank-panel,
.side-card,
.detail-card,
.search-page-box,
.rank-board {
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
}

.rank-panel {
  position: sticky;
  top: 92px;
  padding: 24px;
}

.rank-panel h2,
.side-card h2 {
  margin: 0 0 18px;
  color: #111827;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  background: #f8fafc;
  transition: background 0.2s ease, transform 0.2s ease;
}

.rank-item:hover {
  transform: translateX(3px);
  background: #eff6ff;
}

.rank-item img {
  width: 58px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
  background: #dbeafe;
}

.rank-item span {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.rank-item strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #111827;
}

.rank-item small {
  color: #64748b;
}

.rank-more {
  display: block;
  margin-top: 18px;
  color: #2563eb;
  font-weight: 800;
  text-align: center;
}

.rank-board {
  padding: 18px;
  display: grid;
  gap: 10px;
}

.rank-row {
  display: grid;
  grid-template-columns: 46px 54px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 18px;
  background: #f8fafc;
  transition: transform 0.2s ease, background 0.2s ease;
}

.rank-row:hover {
  transform: translateX(4px);
  background: #eff6ff;
}

.rank-row span {
  font-weight: 900;
  color: #2563eb;
}

.rank-row img {
  width: 54px;
  height: 68px;
  border-radius: 12px;
  object-fit: cover;
  background: #dbeafe;
}

.rank-row strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-row em {
  color: #64748b;
  font-style: normal;
}

.rank-row b {
  color: #f59e0b;
}

.detail-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 34px 24px 76px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 22px;
  color: #64748b;
}

.breadcrumb a {
  color: #2563eb;
  font-weight: 700;
}

.breadcrumb em {
  font-style: normal;
}

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

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

.player-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #000000;
  box-shadow: 0 24px 62px rgba(15, 23, 42, 0.28);
}

.player-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.play-layer {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.42), rgba(15, 23, 42, 0.08));
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.play-layer span {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #2563eb;
  background: #ffffff;
  font-size: 34px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.32);
}

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

.detail-card {
  margin-top: 24px;
  padding: 28px;
}

.detail-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.detail-title-row h1 {
  margin: 0 0 12px;
  color: #111827;
  font-size: clamp(28px, 4vw, 42px);
}

.detail-title-row p {
  margin: 0;
  color: #475569;
  line-height: 1.8;
}

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

.detail-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  color: #334155;
  background: #f1f5f9;
  font-weight: 700;
}

.detail-card .tag-list span {
  color: #2563eb;
  background: #eff6ff;
  border-color: #bfdbfe;
}

.article-block {
  margin-top: 28px;
}

.article-block h2 {
  margin: 0 0 12px;
  color: #111827;
}

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

.detail-side {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 22px;
}

.side-card {
  padding: 20px;
}

.poster-side img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 22px;
  background: #dbeafe;
}

.poster-side strong,
.poster-side small {
  display: block;
}

.poster-side strong {
  margin-top: 16px;
  font-size: 20px;
  color: #111827;
}

.poster-side small {
  margin-top: 8px;
  color: #64748b;
}

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

.side-related .movie-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  border-radius: 18px;
  box-shadow: none;
  background: #f8fafc;
}

.side-related .movie-card:hover {
  transform: translateX(3px);
  box-shadow: none;
}

.side-related .poster-wrap {
  height: 124px;
}

.side-related .card-body {
  padding: 12px;
}

.side-related .card-desc {
  min-height: 0;
  display: none;
}

.side-related .card-meta {
  gap: 5px;
}

.search-page-box {
  padding: 18px;
  margin-bottom: 28px;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 42px;
  border-radius: 24px;
  text-align: center;
  color: #64748b;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.site-footer {
  color: #ffffff;
  background: linear-gradient(135deg, #0f172a, #1e3a8a, #0f172a);
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 54px 24px;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
}

.footer-grid p {
  color: #cbd5e1;
  line-height: 1.8;
}

.footer-grid h3 {
  margin: 0 0 16px;
  color: #67e8f9;
}

.footer-grid a:not(.footer-brand) {
  display: block;
  margin: 10px 0;
  color: #cbd5e1;
  transition: color 0.2s ease;
}

.footer-grid a:hover {
  color: #67e8f9;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 24px;
  text-align: center;
  color: #94a3b8;
}

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

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

  .top-search {
    display: none;
  }

  .hero-slide,
  .two-column,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .hero-poster {
    display: none;
  }

  .rank-panel,
  .detail-side {
    position: static;
  }

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

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

@media (max-width: 780px) {
  .nav-wrap {
    padding: 0 16px;
  }

  .brand {
    font-size: 18px;
  }

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

  .hero-inner {
    padding: 34px 18px 168px;
  }

  .hero-slide {
    inset: 34px 18px 168px;
  }

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

  .hero-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .hero-dots {
    left: 18px;
    bottom: 138px;
  }

  .content-section {
    padding: 48px 16px;
  }

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

  .poster-wrap {
    height: 190px;
  }

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

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

  .rank-row em,
  .rank-row b {
    display: none;
  }

  .detail-title-row {
    display: grid;
  }

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

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

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

  .hero-actions,
  .sub-actions,
  .more-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

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

  .side-related .movie-card {
    grid-template-columns: 82px minmax(0, 1fr);
  }
}
