:root {
  --color-red: #dc2626;
  --color-rose: #e11d48;
  --color-red-dark: #991b1b;
  --color-text: #1f2937;
  --color-muted: #6b7280;
  --color-soft: #fff1f2;
  --color-line: #fee2e2;
  --shadow-soft: 0 18px 45px rgba(127, 29, 29, 0.12);
  --shadow-card: 0 12px 35px rgba(15, 23, 42, 0.08);
  --radius-xl: 28px;
  --radius-lg: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--color-text);
  background: #fff;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(254, 226, 226, 0.9);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(127, 29, 29, 0.09);
  background: rgba(255, 255, 255, 0.98);
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

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

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--color-red), var(--color-rose));
  box-shadow: 0 10px 28px rgba(220, 38, 38, 0.3);
  font-size: 15px;
}

.brand-text {
  display: grid;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 23px;
  letter-spacing: -0.03em;
}

.brand-text small {
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 600;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 700;
  color: #374151;
}

.main-nav a,
.nav-menu > a {
  padding: 8px 0;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active,
.nav-menu:hover > a {
  color: var(--color-red);
}

.nav-menu {
  position: relative;
}

.nav-panel {
  position: absolute;
  top: 36px;
  left: -18px;
  min-width: 180px;
  padding: 10px;
  display: grid;
  gap: 2px;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.2s ease;
}

.nav-menu:hover .nav-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-panel a {
  padding: 10px 12px;
  border-radius: 12px;
  color: #4b5563;
}

.nav-panel a:hover {
  background: var(--color-soft);
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  background: #fff;
}

.header-search input {
  width: 170px;
  border: 0;
  outline: 0;
  padding: 9px 10px;
  background: transparent;
}

.header-search button,
.big-search button {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--color-red), var(--color-rose));
  border-radius: 999px;
  padding: 9px 16px;
  cursor: pointer;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--color-red), var(--color-rose));
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
}

.mobile-nav {
  display: none;
}

.hero {
  min-height: 720px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fff 0%, #fff1f2 48%, #ffe4e6 100%);
}

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

.hero-slide {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg img {
  position: absolute;
  right: -5%;
  top: 50%;
  width: min(56vw, 760px);
  height: 92%;
  object-fit: cover;
  transform: translateY(-50%);
  border-radius: 48px 0 0 48px;
  opacity: 0.24;
  filter: saturate(1.1);
}

.hero-bg:after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 36%, rgba(225, 29, 72, 0.18), transparent 30%), linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.86) 48%, rgba(255, 255, 255, 0.26));
}

.hero-content {
  position: relative;
  min-height: 720px;
  padding-top: 96px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 56px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-red);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--color-line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 24px rgba(225, 29, 72, 0.08);
}

.hero h1,
.hero h2,
.page-hero h1,
.detail-info h1 {
  margin: 18px 0 16px;
  color: #111827;
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1.05;
}

.hero h1,
.hero h2 {
  max-width: 780px;
  font-size: clamp(42px, 6vw, 74px);
}

.hero-copy > h2:nth-of-type(1) {
  margin-top: -4px;
  color: var(--color-red);
  font-size: clamp(24px, 3vw, 42px);
}

.hero-copy p,
.page-hero p,
.detail-info .lead {
  color: #4b5563;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.85;
}

.hero-meta,
.detail-meta,
.meta-line,
.tag-row,
.chip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.hero-meta,
.detail-meta {
  margin: 24px 0;
}

.hero-meta span,
.detail-meta span,
.chip-row span,
.tag-row span,
.tag-row a {
  color: var(--color-red-dark);
  background: #fff1f2;
  border: 1px solid #fecdd3;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 700;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--color-red), var(--color-rose));
  box-shadow: 0 14px 30px rgba(220, 38, 38, 0.26);
}

.btn.ghost {
  color: #111827;
  background: #fff;
  border: 1px solid var(--color-line);
}

.btn.ghost.dark {
  color: var(--color-red);
  background: var(--color-soft);
}

.btn.text {
  color: var(--color-red);
}

.hero-poster {
  position: relative;
  display: block;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 36px 80px rgba(136, 19, 55, 0.24);
  transform: rotate(2deg);
}

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

.hero-poster span {
  position: absolute;
  left: 22px;
  bottom: 22px;
  color: #fff;
  background: rgba(220, 38, 38, 0.92);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 800;
}

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

.hero-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #fecdd3;
  transition: 0.2s ease;
}

.hero-dots button.active {
  width: 34px;
  background: var(--color-red);
}

.search-band {
  padding: 28px 0;
  background: #fff;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.search-band-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 24px;
}

.search-band h2,
.section-head h2,
.split-section h2,
.text-panel h2,
.section-inner h2,
.side-panel h2,
.footer-grid h2 {
  margin: 0 0 10px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #111827;
}

.search-band p,
.section-head p,
.split-section p,
.text-panel p,
.side-panel p,
.footer-grid p {
  color: var(--color-muted);
  line-height: 1.8;
}

.big-search {
  display: flex;
  gap: 10px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  box-shadow: var(--shadow-card);
}

.big-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 13px 18px;
  background: transparent;
}

.section {
  padding: 76px 0;
}

.section.white {
  background: #fff;
}

.section.soft,
.page-hero,
.detail-hero {
  background: linear-gradient(135deg, #fff7f7, #fff1f2 48%, #ffe4e6);
}

.section-head {
  margin-bottom: 34px;
  text-align: center;
}

.section-head h2,
.split-section h2,
.page-hero h1,
.detail-info h1 {
  font-size: clamp(30px, 4vw, 48px);
}

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

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

.movie-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.poster {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, #fff1f2, #ffe4e6);
}

.poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

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

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

.poster-glow {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 2;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(220, 38, 38, 0.92);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  transition: 0.25s ease;
}

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

.rank-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  min-width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--color-red), var(--color-rose));
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(127, 29, 29, 0.28);
}

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

.movie-card.compact .movie-card-body {
  padding: 12px;
}

.meta-line {
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--color-red);
  font-size: 12px;
  font-weight: 800;
}

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

.movie-card.compact h2 {
  font-size: 15px;
}

.movie-card h2 a:hover {
  color: var(--color-red);
}

.movie-card p {
  display: -webkit-box;
  min-height: 46px;
  overflow: hidden;
  color: var(--color-muted);
  line-height: 1.55;
  font-size: 14px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-card.compact p {
  min-height: 42px;
  font-size: 13px;
}

.tag-row {
  margin-top: 14px;
  gap: 8px;
}

.tag-row span,
.tag-row a {
  padding: 5px 9px;
  font-size: 12px;
}

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

.category-card,
.overview-card,
.text-panel,
.side-panel,
.top-rank-card,
.search-tools,
.local-tools {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

.category-card {
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.category-cover,
.overview-cover {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 6px;
  background: linear-gradient(135deg, #ffe4e6, #fff1f2);
}

.category-cover img,
.overview-cover img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 16px;
}

.category-card > div:last-child {
  padding: 20px;
}

.category-card h2,
.overview-card h2 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 900;
}

.category-card p,
.overview-card p {
  color: var(--color-muted);
  line-height: 1.7;
}

.split-section {
  color: #fff;
  background: linear-gradient(135deg, var(--color-red), var(--color-rose));
}

.split-section h2,
.split-section p {
  color: #fff;
}

.split-section .eyebrow {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
}

.split-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 42px;
  align-items: center;
}

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

.ranking-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.ranking-row:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(4px);
}

.ranking-row span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--color-red);
  background: #fff;
  border-radius: 50%;
  font-weight: 900;
}

.ranking-row em {
  color: rgba(255, 255, 255, 0.8);
  font-style: normal;
  font-size: 13px;
}

.page-hero {
  padding: 140px 0 72px;
}

.page-hero .container {
  max-width: 900px;
}

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

.breadcrumb a:hover {
  color: var(--color-red);
}

.chip-row {
  margin-top: 22px;
}

.overview-grid {
  display: grid;
  gap: 22px;
}

.overview-card {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 24px;
  padding: 18px;
}

.overview-card ul {
  margin: 16px 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  list-style: none;
}

.overview-card li a {
  color: #4b5563;
}

.overview-card li a:hover,
.text-link {
  color: var(--color-red);
  font-weight: 800;
}

.local-tools,
.search-tools {
  margin-bottom: 30px;
  padding: 18px;
}

.local-tools {
  display: block;
}

.search-tools {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 14px;
}

.local-tools label,
.search-tools label {
  display: grid;
  gap: 8px;
  color: #374151;
  font-weight: 800;
}

.local-tools input,
.search-tools input,
.search-tools select {
  width: 100%;
  border: 1px solid var(--color-line);
  border-radius: 14px;
  outline: 0;
  padding: 13px 14px;
  background: #fff;
}

.local-tools input:focus,
.search-tools input:focus,
.search-tools select:focus {
  border-color: #f43f5e;
  box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.12);
}

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

.top-rank-card {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
}

.top-rank-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.4s ease;
}

.top-rank-card:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78), transparent 62%);
}

.top-rank-card:hover img {
  transform: scale(1.06);
}

.top-rank-card span,
.top-rank-card h2,
.top-rank-card p {
  position: relative;
  z-index: 2;
}

.top-rank-card span {
  width: fit-content;
  margin-bottom: 10px;
  color: #fff;
  background: rgba(220, 38, 38, 0.92);
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 900;
}

.top-rank-card h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.top-rank-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.7;
}

.detail-hero {
  padding: 132px 0 64px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 42px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  border-radius: 34px;
  box-shadow: 0 30px 70px rgba(127, 29, 29, 0.18);
}

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

.detail-info .lead {
  max-width: 820px;
}

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

.main-content {
  display: grid;
  gap: 24px;
}

.player-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #111827;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 16 / 9;
}

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

.player-cover {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  border: 0;
  color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.18));
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.player-cover span {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-red), var(--color-rose));
  box-shadow: 0 18px 40px rgba(220, 38, 38, 0.35);
  font-size: 28px;
}

.player-cover strong {
  max-width: 80%;
  text-align: center;
  font-size: clamp(20px, 3vw, 32px);
}

.text-panel,
.side-panel {
  padding: 24px;
}

.text-panel p {
  margin: 0;
  color: #374151;
  font-size: 16px;
  line-height: 1.95;
}

.section-inner {
  padding-top: 8px;
}

.side-panel {
  position: sticky;
  top: 96px;
}

.small-link-list {
  display: grid;
  gap: 14px;
  margin: 18px 0;
}

.small-link-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 12px;
}

.small-link-card img {
  width: 72px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 14px;
}

.small-link-card strong {
  display: block;
  margin-bottom: 4px;
  line-height: 1.35;
}

.small-link-card small {
  color: var(--color-muted);
}

.site-footer {
  padding-top: 58px;
  background: linear-gradient(180deg, #fff1f2, #fff);
  border-top: 1px solid var(--color-line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 34px;
}

.footer-brand {
  margin-bottom: 14px;
  font-size: 22px;
}

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

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

.footer-bottom {
  margin-top: 42px;
  padding: 20px;
  text-align: center;
  color: var(--color-muted);
  border-top: 1px solid var(--color-line);
}

[hidden] {
  display: none !important;
}

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

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

  .mobile-nav {
    display: grid;
    max-height: 0;
    overflow: hidden;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 0 16px;
    background: #fff;
    border-top: 1px solid var(--color-line);
    transition: max-height 0.25s ease, padding 0.25s ease;
  }

  body.nav-open .mobile-nav {
    max-height: 520px;
    padding: 12px 16px 16px;
  }

  .mobile-nav a {
    padding: 12px;
    border-radius: 14px;
    background: var(--color-soft);
    color: var(--color-red-dark);
    font-weight: 800;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-poster {
    display: none;
  }

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

  .category-grid,
  .top-rank-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-tools,
  .content-layout,
  .split-grid {
    grid-template-columns: 1fr;
  }

  .side-panel {
    position: static;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .header-inner {
    height: 68px;
  }

  .brand-text strong {
    font-size: 19px;
  }

  .hero,
  .hero-content {
    min-height: 680px;
  }

  .hero-content {
    padding-top: 86px;
  }

  .hero-bg img {
    width: 100%;
    right: -20%;
    opacity: 0.17;
  }

  .search-band-inner,
  .big-search,
  .detail-grid,
  .overview-card {
    grid-template-columns: 1fr;
  }

  .big-search {
    border-radius: 24px;
  }

  .big-search button {
    width: 100%;
  }

  .movie-grid,
  .compact-grid,
  .category-grid,
  .top-rank-grid,
  .footer-grid,
  .overview-card ul {
    grid-template-columns: 1fr 1fr;
  }

  .detail-grid {
    gap: 24px;
  }

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

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

  .ranking-row em {
    grid-column: 2;
  }

  .section {
    padding: 54px 0;
  }

  .page-hero,
  .detail-hero {
    padding-top: 110px;
  }
}

@media (max-width: 520px) {
  .movie-grid,
  .compact-grid,
  .category-grid,
  .top-rank-grid,
  .footer-grid,
  .overview-card ul,
  .mobile-nav {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .poster img {
    aspect-ratio: 16 / 20;
  }
}
