:root {
  --pink: #ec4899;
  --pink-soft: #fce7f3;
  --blue: #60a5fa;
  --blue-soft: #dbeafe;
  --purple: #a78bfa;
  --purple-soft: #ede9fe;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #fff7fb;
  --card: #ffffff;
  --shadow: 0 18px 45px rgba(31, 41, 55, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fff1f7 0%, #ffffff 42%, #eef6ff 100%);
  min-height: 100vh;
}

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: 80;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.78);
  box-shadow: 0 8px 24px rgba(148, 163, 184, 0.12);
}

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, var(--pink), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--pink), var(--blue));
  color: #fff;
  font-size: 14px;
  box-shadow: 0 10px 22px rgba(236, 72, 153, 0.24);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #374151;
  font-weight: 650;
}

.site-nav a {
  position: relative;
  padding: 7px 0;
  transition: color 0.2s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--blue));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--pink);
}

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(148, 163, 184, 0.22);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #374151;
}

.hero-shell {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: linear-gradient(120deg, #f9a8d4 0%, #c4b5fd 46%, #93c5fd 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.44), transparent 28%),
    radial-gradient(circle at 84% 24%, rgba(255, 255, 255, 0.32), transparent 28%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.18));
}

.hero-slider {
  position: relative;
  max-width: 1180px;
  min-height: 500px;
  margin: 0 auto;
  padding: 58px 20px 110px;
}

.hero-slide {
  position: absolute;
  inset: 58px 20px 110px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 360px;
  align-items: center;
  gap: 42px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hero-copy {
  color: #fff;
  max-width: 660px;
  text-shadow: 0 10px 28px rgba(15, 23, 42, 0.18);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  color: inherit;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.08em;
}

.hero-copy p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(17px, 2.5vw, 24px);
  line-height: 1.75;
}

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

.hero-tags span,
.tag-row span,
.detail-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

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

.primary-btn,
.ghost-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.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.primary-btn {
  color: var(--pink);
  background: #fff;
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.2);
}

.primary-btn:hover,
.ghost-btn:hover,
.category-card:hover,
.movie-link:hover {
  transform: translateY(-4px);
}

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

.primary-btn.light {
  color: var(--pink);
}

.hero-poster {
  position: relative;
  overflow: hidden;
  width: min(360px, 100%);
  aspect-ratio: 3 / 4;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.28);
  transform: rotate(2deg);
}

.hero-poster::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 26px;
  z-index: 2;
  pointer-events: none;
}

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

.hero-bottom {
  position: absolute;
  left: 50%;
  bottom: 56px;
  z-index: 3;
  width: min(1140px, calc(100% - 40px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.hero-search {
  width: min(560px, 100%);
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
}

.hero-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 0 18px;
  color: var(--text);
}

.hero-search button {
  border: 0;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(90deg, var(--pink), var(--blue));
  cursor: pointer;
}

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

.hero-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

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

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 86px;
}

.category-strip,
.section-shell,
.double-column,
.filter-panel,
.page-hero,
.detail-page,
.footer-grid,
.footer-bottom {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.category-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding-top: 64px;
  padding-bottom: 30px;
}

.category-strip.category-full {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding-top: 26px;
}

.category-card {
  min-height: 146px;
  padding: 24px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(148, 163, 184, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
  box-shadow: var(--shadow);
}

.category-card span {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 18px;
  font-size: 22px;
  background: rgba(255, 255, 255, 0.6);
}

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

.category-card em {
  display: block;
  color: var(--muted);
  font-style: normal;
  line-height: 1.65;
}

.tone-pink,
.category-card.tone-pink {
  background: linear-gradient(135deg, #fff1f7, #fbcfe8);
}

.tone-blue,
.category-card.tone-blue {
  background: linear-gradient(135deg, #eff6ff, #bfdbfe);
}

.tone-purple,
.category-card.tone-purple {
  background: linear-gradient(135deg, #f5f3ff, #ddd6fe);
}

.tone-rose,
.category-card.tone-rose {
  background: linear-gradient(135deg, #fff1f2, #fecdd3);
}

.tone-amber,
.category-card.tone-amber {
  background: linear-gradient(135deg, #fffbeb, #fde68a);
}

.tone-cyan,
.category-card.tone-cyan {
  background: linear-gradient(135deg, #ecfeff, #a5f3fc);
}

.tone-green,
.category-card.tone-green {
  background: linear-gradient(135deg, #f0fdf4, #bbf7d0);
}

.section-shell {
  padding-top: 48px;
  padding-bottom: 48px;
}

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

.section-title.slim {
  margin-bottom: 18px;
}

.section-title h2 {
  display: inline-flex;
  align-items: center;
  margin: 0;
  font-size: clamp(26px, 4vw, 36px);
  letter-spacing: -0.05em;
}

.section-title p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.section-icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--blue));
  box-shadow: 0 10px 18px rgba(236, 72, 153, 0.2);
}

.section-more {
  color: var(--pink);
  font-weight: 800;
}

.movie-grid {
  display: grid;
  gap: 20px;
}

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

.large-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding-bottom: 70px;
}

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

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

.movie-card {
  min-width: 0;
}

.movie-link {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(148, 163, 184, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.movie-link:hover {
  box-shadow: var(--shadow);
}

.poster-box {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, #fdf2f8, #dbeafe);
}

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.76));
  opacity: 0.88;
}

.play-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--pink);
  transform: translate(-50%, -50%) scale(0.86);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.region-badge,
.rank-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.region-badge {
  left: 10px;
  top: 10px;
  background: rgba(236, 72, 153, 0.9);
}

.rank-badge {
  right: 10px;
  top: 10px;
  background: rgba(15, 23, 42, 0.78);
}

.card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 9px;
  padding: 16px;
}

.card-content .tag-row span,
.detail-tags span {
  background: var(--pink-soft);
  color: #be185d;
}

.card-content strong {
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.card-content em {
  color: var(--muted);
  font-style: normal;
  font-size: 14px;
  line-height: 1.6;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  color: #9ca3af;
  font-size: 13px;
  font-weight: 700;
}

.movie-card-wide .movie-link {
  display: grid;
  grid-template-columns: 42% 1fr;
  align-items: stretch;
}

.movie-card-wide .poster-box {
  aspect-ratio: auto;
  min-height: 210px;
}

.feature-band {
  margin: 54px 0;
  padding: 58px max(20px, calc((100vw - 1180px) / 2 + 20px));
  background: linear-gradient(90deg, #faf5ff 0%, #fdf2f8 48%, #eff6ff 100%);
}

.double-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  padding-top: 20px;
  padding-bottom: 60px;
}

.double-column .section-shell {
  padding: 0;
}

.ranking-card {
  align-self: start;
  position: sticky;
  top: 92px;
  padding: 26px;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

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

.rank-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 8px 12px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: #f9fafb;
  transition: background 0.2s ease, transform 0.2s ease;
}

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

.rank-row span {
  grid-row: span 2;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--blue));
  font-weight: 900;
}

.rank-row strong {
  font-size: 15px;
}

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

.cta-band {
  margin-top: 20px;
  padding: 78px 20px;
  text-align: center;
  color: #fff;
  background: linear-gradient(90deg, var(--pink), var(--purple), var(--blue));
}

.cta-band h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 5vw, 48px);
  letter-spacing: -0.06em;
}

.cta-band p {
  margin: 0 auto 28px;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.75;
}

.inner-page {
  min-height: 60vh;
}

.page-hero {
  margin-top: 34px;
  margin-bottom: 24px;
  padding-top: 58px;
  padding-bottom: 58px;
  border-radius: 36px;
  color: #fff;
  background: linear-gradient(120deg, #f472b6, #a78bfa, #60a5fa);
  box-shadow: var(--shadow);
}

.page-hero h1 {
  max-width: 860px;
  margin: 0 0 16px;
  font-size: clamp(36px, 6vw, 62px);
  letter-spacing: -0.07em;
  line-height: 1.06;
}

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

.soft-hero {
  background: linear-gradient(120deg, #fb7185, #c084fc, #38bdf8);
}

.rank-hero {
  background: linear-gradient(120deg, #ef4444, #ec4899, #6366f1);
}

.search-hero {
  background: linear-gradient(120deg, #06b6d4, #60a5fa, #a78bfa);
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px 200px;
  gap: 14px;
  margin-top: 28px;
  margin-bottom: 28px;
  padding-top: 0;
  padding-bottom: 0;
}

.filter-panel label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 16px;
  outline: 0;
  background: #fff;
  padding: 0 14px;
  color: var(--text);
  box-shadow: 0 8px 20px rgba(148, 163, 184, 0.1);
}

.filter-panel input:focus,
.filter-panel select:focus {
  border-color: rgba(236, 72, 153, 0.55);
  box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.08);
}

.breadcrumb {
  max-width: 1180px;
  margin: 28px auto 20px;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--pink);
  font-weight: 800;
}

.detail-layout {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: start;
}

.watch-panel {
  overflow: hidden;
  border-radius: 30px;
  background: #0f172a;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.26);
}

.watch-player {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #020617;
}

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

.watch-overlay {
  position: absolute;
  inset: 0;
  border: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #fff;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.16), rgba(15, 23, 42, 0.7));
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.big-play {
  width: 82px;
  height: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink), var(--blue));
  box-shadow: 0 20px 45px rgba(236, 72, 153, 0.3);
  font-size: 28px;
}

.story-card,
.movie-info-card,
.cover-card {
  margin-top: 24px;
  padding: 26px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(148, 163, 184, 0.16);
}

.story-card h2 {
  margin: 0 0 12px;
  font-size: 26px;
}

.story-card p {
  margin: 0;
  color: #4b5563;
  line-height: 2;
}

.cover-card {
  overflow: hidden;
  padding: 0;
}

.cover-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: linear-gradient(135deg, #fdf2f8, #dbeafe);
}

.movie-info-card h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.16;
  letter-spacing: -0.06em;
}

.movie-info-card p {
  color: #4b5563;
  line-height: 1.8;
}

.score-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 18px 0;
}

.score-line strong {
  font-size: 36px;
  color: var(--pink);
}

.score-line span {
  color: var(--muted);
  font-weight: 800;
}

.meta-list {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}

.meta-list div {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.meta-list dt {
  color: #9ca3af;
  font-weight: 800;
}

.meta-list dd {
  margin: 0;
  color: #374151;
  font-weight: 700;
}

.related-section {
  padding-top: 22px;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 36px;
  padding-top: 46px;
  padding-bottom: 34px;
}

.footer-grid p {
  color: var(--muted);
  line-height: 1.8;
}

.footer-grid h2 {
  margin: 0 0 14px;
  font-size: 17px;
}

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

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

.footer-bottom {
  padding-top: 18px;
  padding-bottom: 28px;
  color: #9ca3af;
  font-size: 14px;
  border-top: 1px solid var(--line);
}

.is-hidden {
  display: none !important;
}

@media (max-width: 1120px) {
  .compact-grid,
  .large-grid,
  .ranking-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .hero-slide {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 13px 14px;
    border-radius: 14px;
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav a:hover,
  .site-nav a.active {
    background: #fdf2f8;
  }

  .hero-shell {
    min-height: 720px;
  }

  .hero-slider {
    min-height: 650px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 24px;
  }

  .hero-poster {
    width: min(280px, 80vw);
    justify-self: center;
  }

  .hero-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-dots {
    justify-content: center;
  }

  .double-column,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .ranking-card {
    position: static;
  }

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

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

@media (max-width: 680px) {
  .nav-wrap {
    height: 62px;
  }

  .brand,
  .footer-brand {
    font-size: 20px;
  }

  .category-strip,
  .category-strip.category-full,
  .compact-grid,
  .large-grid,
  .feature-grid,
  .ranking-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-card {
    min-height: 134px;
    padding: 18px;
  }

  .movie-card-wide .movie-link {
    grid-template-columns: 1fr;
  }

  .movie-card-wide .poster-box {
    aspect-ratio: 3 / 4;
  }

  .section-title {
    display: block;
  }

  .section-more {
    display: inline-flex;
    margin-top: 12px;
  }

  .page-hero {
    border-radius: 26px;
    padding-top: 38px;
    padding-bottom: 38px;
  }

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

@media (max-width: 430px) {
  .compact-grid,
  .large-grid,
  .feature-grid,
  .ranking-grid,
  .category-strip,
  .category-strip.category-full {
    grid-template-columns: 1fr;
  }

  .hero-search {
    border-radius: 22px;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-search input {
    min-height: 42px;
  }
}
