:root {
  color-scheme: dark;
  --bg: #020617;
  --bg-soft: #0f172a;
  --bg-card: rgba(15, 23, 42, 0.78);
  --bg-card-strong: rgba(15, 23, 42, 0.96);
  --line: rgba(96, 165, 250, 0.24);
  --line-soft: rgba(148, 163, 184, 0.16);
  --text: #f8fafc;
  --muted: #cbd5e1;
  --dim: #94a3b8;
  --blue: #2563eb;
  --cyan: #06b6d4;
  --orange: #f97316;
  --green: #22c55e;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.24), transparent 34rem),
    radial-gradient(circle at 90% 20%, rgba(6, 182, 212, 0.16), transparent 30rem),
    linear-gradient(180deg, #020617 0%, #0f172a 46%, #020617 100%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

body.no-scroll {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

main {
  min-height: 60vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(30, 64, 175, 0.86), rgba(2, 6, 23, 0.96));
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}

.nav-shell,
.footer-inner,
.content-section,
.page-hero,
.detail-hero,
.player-section,
.detail-content,
.home-search-band,
.content-stack {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.nav-shell {
  height: 68px;
  display: flex;
  align-items: center;
  gap: 22px;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  box-shadow: 0 12px 24px rgba(6, 182, 212, 0.24);
}

.brand-text,
.footer-brand {
  font-size: 1.18rem;
  background: linear-gradient(90deg, #60a5fa, #67e8f9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

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

.nav-link,
.mobile-links a,
.footer-nav a {
  color: var(--muted);
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

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

.nav-link:hover,
.nav-link.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
}

.header-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.58);
}

.header-search input,
.mobile-search input,
.home-search-band input,
.hero-inline-search input,
.filter-panel input,
.filter-panel select,
.search-toolbar select {
  border: 1px solid rgba(148, 163, 184, 0.22);
  outline: none;
  color: #fff;
  background: rgba(2, 6, 23, 0.54);
}

.header-search input {
  width: 250px;
  border: 0;
  padding: 8px 12px;
  background: transparent;
}

.header-search button,
.mobile-search button,
.home-search-band button,
.hero-inline-search button,
.primary-button {
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(90deg, #2563eb, #06b6d4);
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.32);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.header-search button {
  padding: 8px 14px;
}

.header-search button:hover,
.mobile-search button:hover,
.home-search-band button:hover,
.hero-inline-search button:hover,
.primary-button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.64);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: #fff;
}

.mobile-panel {
  display: none;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(2, 6, 23, 0.98);
}

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

.mobile-search {
  display: flex;
  gap: 8px;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 16px 0 8px;
}

.mobile-search input,
.home-search-band input,
.hero-inline-search input {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  border-radius: 999px;
}

.mobile-search button,
.home-search-band button,
.hero-inline-search button {
  padding: 12px 18px;
}

.mobile-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 10px 0 18px;
}

.mobile-links a {
  padding: 12px 14px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.72);
}

.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: #020617;
}

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

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

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.86), rgba(15, 23, 42, 0.38), rgba(2, 6, 23, 0.7)),
    linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.36) 44%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 5;
  width: min(1200px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding-bottom: 84px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  color: #e0f2fe;
  border: 1px solid rgba(103, 232, 249, 0.34);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.78), rgba(6, 182, 212, 0.72));
  box-shadow: 0 10px 26px rgba(6, 182, 212, 0.16);
}

.eyebrow {
  padding: 6px 14px;
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.hero h1,
.page-hero h1,
.detail-info h1 {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4.9rem);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero p {
  width: min(720px, 100%);
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.hero-tags,
.detail-meta,
.ranking-meta,
.movie-meta-line,
.card-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.hero-tags {
  margin: 18px 0 26px;
}

.hero-tags span,
.detail-meta span,
.ranking-meta span,
.card-tags span,
.detail-tags span {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(15, 23, 42, 0.62);
}

.hero-tags span,
.detail-meta span,
.detail-tags span {
  padding: 6px 12px;
}

.card-tags span,
.ranking-meta span {
  padding: 4px 9px;
  font-size: 0.78rem;
}

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

.primary-button,
.ghost-button,
.section-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  font-weight: 750;
}

.ghost-button,
.section-link {
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 999px;
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.58);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.ghost-button:hover,
.section-link:hover {
  transform: translateY(-1px);
  border-color: rgba(96, 165, 250, 0.56);
  background: rgba(30, 64, 175, 0.42);
}

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 12;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  background: rgba(2, 6, 23, 0.54);
  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-control:hover {
  background: rgba(37, 99, 235, 0.72);
  transform: translateY(-50%) scale(1.05);
}

.hero-control.prev {
  left: 22px;
}

.hero-control.next {
  right: 22px;
}

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

.hero-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  transition: width 0.2s ease, background 0.2s ease;
}

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

.home-search-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
  margin-top: 30px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.38), rgba(6, 182, 212, 0.16));
  box-shadow: var(--shadow);
}

.home-search-band h2,
.home-search-band p {
  margin: 0;
}

.home-search-band h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.home-search-band p {
  color: var(--muted);
  margin-top: 8px;
}

.home-search-band form,
.hero-inline-search {
  display: flex;
  gap: 10px;
}

.content-section,
.content-stack {
  margin-top: 44px;
}

.content-stack {
  display: grid;
  gap: 28px;
}

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

.section-title-row h2,
.section-title-row p,
.page-hero h1,
.page-hero p {
  margin: 0;
}

.section-title-row h2 {
  margin-top: 8px;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1.16;
}

.section-title-row p,
.page-hero p {
  margin-top: 8px;
  color: var(--muted);
}

.section-kicker {
  padding: 4px 11px;
  font-size: 0.82rem;
}

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

.category-tile,
.category-section-card,
.story-card,
.ranking-panel,
.filter-panel,
.search-toolbar {
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  background: var(--bg-card);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
}

.category-tile {
  min-height: 190px;
  padding: 20px;
  overflow: hidden;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: auto -25% -45% 20%;
  height: 120px;
  border-radius: 999px;
  background: rgba(96, 165, 250, 0.15);
  filter: blur(20px);
}

.category-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(96, 165, 250, 0.58);
  background: rgba(30, 64, 175, 0.32);
}

.category-tile strong {
  display: block;
  font-size: 1.15rem;
}

.category-tile p {
  margin: 9px 0 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.category-tile div {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: var(--dim);
  font-size: 0.84rem;
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 24px;
  background: var(--bg-card);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  border-color: rgba(96, 165, 250, 0.5);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.34);
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #1e3a8a, #0f172a 62%, #164e63);
}

.poster-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.movie-card:hover .poster-link img {
  transform: scale(1.07);
  opacity: 0.9;
}

.poster-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.68), transparent 58%);
}

.poster-badge,
.poster-play {
  position: absolute;
  z-index: 3;
}

.poster-badge {
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #e0f2fe;
  background: rgba(2, 6, 23, 0.72);
}

.poster-play {
  right: 14px;
  bottom: 12px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  box-shadow: 0 10px 22px rgba(6, 182, 212, 0.32);
}

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

.movie-meta-line {
  gap: 7px;
  color: var(--dim);
  font-size: 0.82rem;
}

.movie-meta-line span::after {
  content: "·";
  margin-left: 7px;
  color: rgba(148, 163, 184, 0.42);
}

.movie-meta-line span:last-child::after {
  content: "";
  margin: 0;
}

.movie-card h3 {
  margin: 8px 0 7px;
  font-size: 1.08rem;
  line-height: 1.34;
}

.movie-card h3 a:hover {
  color: #67e8f9;
}

.movie-card p {
  display: -webkit-box;
  min-height: 3.2em;
  margin: 0 0 12px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.92rem;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.horizontal-scroller {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 2px 4px 16px;
  scroll-snap-type: x mandatory;
}

.horizontal-scroller .movie-card {
  width: 330px;
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 26px;
  align-items: start;
}

.ranking-panel {
  padding: 20px;
  position: sticky;
  top: 92px;
}

.compact-title {
  margin-bottom: 16px;
}

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

.ranking-item {
  position: relative;
  display: grid;
  grid-template-columns: 92px 46px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 18px;
  background: rgba(2, 6, 23, 0.42);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.ranking-item:hover {
  transform: translateY(-2px);
  border-color: rgba(96, 165, 250, 0.44);
  background: rgba(30, 64, 175, 0.2);
}

.ranking-cover {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, #1e40af, #0f172a);
}

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

.ranking-index {
  font-size: 1.25rem;
  font-weight: 900;
  color: #67e8f9;
}

.ranking-content h3 {
  margin: 0 0 5px;
  font-size: 1rem;
}

.ranking-content p {
  display: -webkit-box;
  margin: 0 0 7px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.88rem;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.full-ranking .ranking-item {
  grid-template-columns: 120px 58px minmax(0, 1fr);
}

.page-hero,
.detail-hero {
  margin-top: 34px;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    radial-gradient(circle at 88% 10%, rgba(6, 182, 212, 0.2), transparent 26rem),
    linear-gradient(135deg, rgba(30, 64, 175, 0.38), rgba(15, 23, 42, 0.88));
  box-shadow: var(--shadow);
}

.page-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.page-hero > div {
  width: min(760px, 100%);
}

.category-section-card {
  padding: 24px;
}

.filter-panel,
.search-toolbar {
  padding: 18px;
  margin-bottom: 24px;
}

.filter-row,
.search-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) repeat(3, minmax(140px, 180px));
  gap: 12px;
}

.filter-panel input,
.filter-panel select,
.search-toolbar select {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 14px;
}

.empty-state {
  margin: 18px 0 0;
  padding: 16px;
  border-radius: 16px;
  color: var(--muted);
  background: rgba(2, 6, 23, 0.42);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  margin-bottom: 26px;
}

.breadcrumb a:hover {
  color: #67e8f9;
}

.detail-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 32px;
  align-items: end;
}

.detail-poster {
  overflow: hidden;
  border-radius: 26px;
  background: linear-gradient(135deg, #1e40af, #0f172a);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.36);
}

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

.detail-info h1 {
  margin: 0 0 16px;
}

.detail-one-line {
  width: min(820px, 100%);
  color: var(--muted);
  font-size: 1.08rem;
}

.detail-meta,
.detail-tags {
  margin-top: 16px;
}

.detail-info .primary-button {
  margin-top: 24px;
}

.player-section {
  margin-top: 34px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(96, 165, 250, 0.28);
  border-radius: 30px;
  background: #000;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  background:
    radial-gradient(circle, rgba(37, 99, 235, 0.3), transparent 38%),
    linear-gradient(0deg, rgba(2, 6, 23, 0.72), rgba(2, 6, 23, 0.2));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-circle {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  padding-left: 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  box-shadow: 0 18px 38px rgba(6, 182, 212, 0.32);
}

.detail-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.story-card {
  padding: 26px;
}

.story-card h2 {
  margin: 0 0 14px;
  font-size: 1.35rem;
}

.story-card p {
  margin: 0;
  color: var(--muted);
}

.related-section {
  margin-bottom: 44px;
}

.search-section .movie-grid:empty {
  display: none;
}

.site-footer {
  margin-top: 56px;
  border-top: 1px solid var(--line-soft);
  background: rgba(2, 6, 23, 0.72);
}

.footer-inner {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 28px;
  padding: 32px 0;
}

.footer-inner p {
  margin: 10px 0 0;
  color: var(--dim);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 16px;
}

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

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

  .menu-toggle {
    display: block;
  }

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

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

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

  .ranking-panel {
    position: static;
  }
}

@media (max-width: 820px) {
  .hero {
    height: 560px;
  }

  .hero-content {
    padding-bottom: 76px;
  }

  .hero-control {
    display: none;
  }

  .home-search-band,
  .page-hero,
  .detail-layout,
  .detail-content,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .page-hero {
    align-items: stretch;
  }

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

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

  .detail-poster {
    width: min(300px, 100%);
  }

  .footer-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .nav-shell,
  .footer-inner,
  .content-section,
  .page-hero,
  .detail-hero,
  .player-section,
  .detail-content,
  .home-search-band,
  .content-stack {
    width: min(100% - 22px, 1200px);
  }

  .brand-text {
    font-size: 1rem;
  }

  .hero {
    height: 520px;
  }

  .hero h1,
  .page-hero h1,
  .detail-info h1 {
    font-size: 2.1rem;
  }

  .home-search-band,
  .page-hero,
  .detail-hero {
    padding: 22px;
    border-radius: 24px;
  }

  .home-search-band form,
  .hero-inline-search {
    flex-direction: column;
  }

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

  .horizontal-scroller .movie-card {
    width: 84vw;
  }

  .ranking-item,
  .full-ranking .ranking-item {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .ranking-index {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.74);
  }
}
