:root {
  --sky: #0ea5e9;
  --sky-dark: #0284c7;
  --rose: #f43f5e;
  --amber: #f59e0b;
  --emerald: #10b981;
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --soft: #f8fafc;
  --card: #ffffff;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 42%, #f8fafc 100%);
  line-height: 1.6;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(226, 232, 240, 0.84);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
}

.site-nav {
  max-width: 1240px;
  height: 68px;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--ink);
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--sky), #2563eb);
  box-shadow: 0 10px 28px rgba(14, 165, 233, 0.3);
  font-size: 14px;
}

.brand-name {
  font-size: 21px;
  letter-spacing: -0.02em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-link,
.nav-sub-link {
  color: #475569;
  font-size: 15px;
  transition: color 0.22s ease, background 0.22s ease;
}

.nav-link {
  padding: 9px 12px;
  border-radius: 999px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--sky-dark);
  background: #e0f2fe;
}

.nav-submenu {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 12px;
  border-left: 1px solid var(--line);
}

.nav-sub-link:hover {
  color: var(--sky-dark);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  color: var(--ink);
  background: #f1f5f9;
}

.hero-carousel {
  position: relative;
  height: 70vh;
  min-height: 560px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(90deg, #0f172a, #334155);
}

.hero-track,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}

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

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: saturate(1.08);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.46) 42%, rgba(15, 23, 42, 0.08));
}

.hero-content {
  position: absolute;
  left: 50%;
  bottom: 82px;
  width: min(1180px, calc(100% - 44px));
  transform: translateX(-50%);
  z-index: 2;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  color: #fff;
  background: rgba(14, 165, 233, 0.9);
  box-shadow: 0 12px 30px rgba(14, 165, 233, 0.24);
  backdrop-filter: blur(10px);
  font-size: 14px;
}

.hero-content h1,
.hero-content h2,
.page-hero h1,
.detail-intro h1 {
  margin: 16px 0 14px;
  color: #fff;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  text-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

.hero-content p,
.page-hero p,
.detail-intro p {
  max-width: 760px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.hero-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.hero-tags span,
.detail-tags span {
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  backdrop-filter: blur(10px);
  font-size: 14px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--sky), #2563eb);
  box-shadow: 0 18px 38px rgba(14, 165, 233, 0.32);
}

.btn-glass,
.btn-line,
.btn-light {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.btn-light {
  color: var(--ink);
  background: #fff;
}

.hero-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(10px);
  font-size: 34px;
  line-height: 1;
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

.hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  transition: width 0.28s ease, background 0.28s ease;
}

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

.hero-search,
.page-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.hero-search {
  position: absolute;
  right: max(22px, calc((100vw - 1180px) / 2));
  bottom: 34px;
  z-index: 4;
  width: min(420px, calc(100% - 44px));
}

.hero-search input,
.page-search input,
.filter-bar input {
  width: 100%;
  min-width: 0;
  border: 1px solid transparent;
  border-radius: 13px;
  background: #f8fafc;
  color: var(--ink);
  outline: none;
}

.hero-search input,
.page-search input {
  height: 42px;
  padding: 0 14px;
}

.hero-search button,
.page-search button {
  flex: 0 0 auto;
  height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 13px;
  color: #fff;
  background: var(--sky);
  font-weight: 700;
}

.category-strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.category-strip-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 22px;
  display: flex;
  gap: 12px;
  overflow-x: auto;
}

.category-strip a {
  flex: 0 0 auto;
  padding: 9px 15px;
  border-radius: 999px;
  color: #0369a1;
  background: #e0f2fe;
  font-size: 14px;
  font-weight: 700;
}

.content-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 64px 22px 0;
}

.content-section.tinted {
  max-width: 1196px;
  margin-top: 64px;
  padding: 38px;
  border-radius: 32px;
  background: linear-gradient(135deg, #f0f9ff, #eff6ff);
}

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

.section-heading div {
  min-width: 0;
}

.section-icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--muted);
}

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

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

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

.movie-card {
  display: block;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.86);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  border-color: rgba(14, 165, 233, 0.36);
  box-shadow: var(--shadow);
}

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

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

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

.poster::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.58), transparent 62%);
  transition: opacity 0.25s ease;
}

.movie-card:hover .poster::after {
  opacity: 1;
}

.poster-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 4px 8px;
  border-radius: 999px;
  color: #fff;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  font-size: 12px;
}

.play-circle {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(14, 165, 233, 0.92);
  box-shadow: 0 18px 36px rgba(14, 165, 233, 0.32);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

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

.movie-card-body h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.22s ease;
}

.movie-card:hover h3 {
  color: var(--sky-dark);
}

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

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

.movie-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.movie-meta.light {
  color: rgba(255, 255, 255, 0.86);
}

.movie-card-horizontal {
  display: grid;
  grid-template-columns: 150px 1fr;
}

.poster-horizontal {
  aspect-ratio: auto;
  min-height: 128px;
}

.movie-card-large {
  border: 0;
}

.poster-large {
  height: 420px;
  aspect-ratio: auto;
}

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.18) 70%, transparent);
}

.large-card-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  color: #fff;
}

.large-card-caption h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 24px;
}

.large-card-caption p {
  color: rgba(255, 255, 255, 0.82);
}

.rail-wrap {
  display: grid;
  gap: 34px;
}

.rail-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.rail-title h3 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
}

.rail-line {
  width: 5px;
  height: 26px;
  border-radius: 999px;
  background: var(--sky);
}

.rail-line.rose {
  background: var(--rose);
}

.rail-line.sky {
  background: var(--sky);
}

.rail-line.emerald {
  background: var(--emerald);
}

.rail-line.amber {
  background: var(--amber);
}

.movie-rail {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 4px 2px 14px;
  scroll-snap-type: x proximity;
}

.rail-item {
  flex: 0 0 210px;
  scroll-snap-align: start;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 44px;
  align-items: start;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 58px 58px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid rgba(226, 232, 240, 0.88);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.045);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.rank-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.1);
}

.rank-number {
  color: var(--sky-dark);
  font-size: 22px;
  font-weight: 900;
}

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

.rank-info {
  min-width: 0;
}

.rank-info strong,
.rank-info em {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-info strong {
  color: var(--ink);
}

.rank-info em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

.rank-heat {
  color: #0f766e;
  font-weight: 800;
  white-space: nowrap;
}

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

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(circle at 15% 10%, rgba(14, 165, 233, 0.42), transparent 30%), linear-gradient(135deg, #0f172a, #1e293b 55%, #0369a1);
}

.page-hero {
  min-height: 330px;
  padding: 72px max(22px, calc((100vw - 1240px) / 2)) 58px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.compact-hero {
  min-height: 280px;
}

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

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

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

.breadcrumb a:hover {
  color: #fff;
}

.filter-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.filter-bar input {
  height: 46px;
  padding: 0 14px;
  border-color: #e2e8f0;
}

.filter-bar a,
.text-link {
  color: var(--sky-dark);
  font-weight: 800;
  white-space: nowrap;
}

.categories-stack {
  display: grid;
  gap: 30px;
}

.category-overview-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

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

.category-overview-head h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 26px;
}

.category-overview-head p {
  margin: 0;
  color: var(--muted);
}

.mini-grid .movie-card:nth-child(n+7) {
  display: none;
}

.detail-hero {
  min-height: 600px;
  padding: 64px max(22px, calc((100vw - 1240px) / 2));
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 46px;
  align-items: center;
}

.detail-cover {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.36);
}

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

.detail-intro h1 {
  color: #fff;
}

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

.detail-meta span {
  padding: 8px 13px;
  border-radius: 999px;
  color: #dbeafe;
  background: rgba(15, 23, 42, 0.45);
}

.player-section {
  padding-top: 72px;
}

.video-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #000;
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.22);
}

.movie-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #fff;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.22), rgba(0, 0, 0, 0.42));
  cursor: pointer;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.player-overlay span {
  width: 86px;
  height: 86px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.96);
  box-shadow: 0 22px 52px rgba(14, 165, 233, 0.36);
  font-size: 34px;
}

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

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 26px;
}

.story-card,
.info-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
}

.story-card h2,
.info-panel h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 24px;
}

.story-card p {
  margin: 0;
  color: #475569;
  font-size: 16px;
}

.info-panel {
  grid-row: span 2;
}

.info-panel dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.info-panel div {
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.info-panel dt {
  color: var(--muted);
  font-size: 13px;
}

.info-panel dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.search-status {
  margin-bottom: 20px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
}

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

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 46px 22px 28px;
  display: flex;
  justify-content: space-between;
  gap: 32px;
}

.footer-inner p {
  max-width: 560px;
  margin: 14px 0 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: flex-end;
  gap: 14px 20px;
}

.footer-links a {
  color: #475569;
  font-weight: 700;
}

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

.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.hidden {
  display: none !important;
}

@media (max-width: 1180px) {
  .movie-grid-six,
  .movie-grid-eight {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .split-section,
  .detail-content {
    grid-template-columns: 1fr;
  }

  .info-panel {
    grid-row: auto;
  }
}

@media (max-width: 860px) {
  .site-nav {
    height: auto;
    min-height: 64px;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-menu {
    display: none;
    width: 100%;
    padding: 0 0 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-link,
  .nav-sub-link {
    padding: 10px 12px;
    border-radius: 12px;
  }

  .nav-submenu {
    padding-left: 0;
    border-left: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .hero-carousel {
    min-height: 620px;
  }

  .hero-content {
    bottom: 150px;
  }

  .hero-search {
    left: 22px;
    right: 22px;
    bottom: 72px;
    width: auto;
  }

  .hero-nav {
    display: none;
  }

  .hero-dots {
    bottom: 24px;
  }

  .content-section,
  .content-section.tinted {
    padding-left: 16px;
    padding-right: 16px;
  }

  .content-section.tinted {
    border-radius: 24px;
    margin-left: 16px;
    margin-right: 16px;
    padding-top: 26px;
    padding-bottom: 26px;
  }

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

  .movie-card-horizontal {
    grid-template-columns: 116px 1fr;
  }

  .page-hero {
    display: grid;
    min-height: 420px;
    padding-top: 54px;
  }

  .page-search {
    width: 100%;
  }

  .detail-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 44px;
  }

  .detail-cover {
    width: min(320px, 76vw);
    margin: 0 auto;
  }

  .detail-intro h1,
  .hero-content h1,
  .hero-content h2,
  .page-hero h1 {
    font-size: clamp(34px, 10vw, 54px);
  }

  .filter-bar,
  .category-overview-head,
  .footer-inner {
    flex-direction: column;
    align-items: stretch;
  }

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

  .rank-heat {
    grid-column: 3;
  }
}

@media (max-width: 520px) {
  .brand-name {
    font-size: 18px;
  }

  .hero-search,
  .page-search {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-search button,
  .page-search button {
    width: 100%;
  }

  .movie-grid,
  .movie-grid-six,
  .movie-grid-eight {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

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

  .movie-card-body p {
    display: none;
  }

  .poster-large {
    height: 320px;
  }

  .rail-item {
    flex-basis: 170px;
  }

  .story-card,
  .info-panel,
  .category-overview-card {
    padding: 20px;
    border-radius: 22px;
  }

  .player-overlay span {
    width: 68px;
    height: 68px;
  }
}
