/*
  看剧吧静态电影网站样式
  视觉基调提取自上传素材：白底卡片、粉橙渐变、圆角阴影、移动端响应式、播放器卡片。
*/
:root {
  --pink: #ec4899;
  --pink-dark: #db2777;
  --orange: #f97316;
  --orange-dark: #ea580c;
  --yellow: #facc15;
  --text: #1f2937;
  --muted: #6b7280;
  --soft: #fff7ed;
  --border: #f3e7df;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(244, 114, 182, 0.16);
  --shadow-strong: 0 26px 65px rgba(249, 115, 22, 0.22);
  --radius: 24px;
  --max-width: 1180px;
}

* {
  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(135deg, #fff7ed 0%, #fdf2f8 45%, #fefce8 100%);
  min-height: 100vh;
}

body.menu-open {
  overflow: hidden;
}

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: 100;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(249, 115, 22, 0.12);
  box-shadow: 0 12px 30px rgba(31, 41, 55, 0.06);
  backdrop-filter: blur(16px);
}

.top-nav {
  max-width: var(--max-width);
  height: 76px;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

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

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 25px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  box-shadow: 0 12px 26px rgba(236, 72, 153, 0.28);
  transition: transform 0.25s ease;
}

.brand:hover .brand-mark {
  transform: scale(1.08) rotate(-3deg);
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-text strong {
  font-size: 24px;
  line-height: 1;
  background: linear-gradient(90deg, var(--pink), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link,
.mobile-nav-link {
  padding: 10px 16px;
  border-radius: 999px;
  color: #4b5563;
  font-weight: 700;
  transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-nav-link:hover {
  color: var(--pink-dark);
  background: #fdf2f8;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: #fff1f2;
  border-radius: 14px;
  padding: 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--pink-dark);
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  padding: 12px 22px 18px;
  border-top: 1px solid var(--border);
  background: #ffffff;
}

.mobile-nav.is-open {
  display: grid;
  gap: 8px;
}

.hero {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  background: linear-gradient(135deg, #f472b6 0%, #fb923c 56%, #facc15 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.8) 0 9px, transparent 10px),
    radial-gradient(circle at 80% 35%, rgba(255, 255, 255, 0.7) 0 6px, transparent 7px),
    linear-gradient(45deg, transparent 48%, rgba(255, 255, 255, 0.3) 49%, rgba(255, 255, 255, 0.3) 51%, transparent 52%);
  background-size: 76px 76px, 92px 92px, 54px 54px;
}

.hero-inner {
  position: relative;
  max-width: var(--max-width);
  min-height: 700px;
  margin: 0 auto;
  padding: 72px 22px 92px;
  display: grid;
  align-items: center;
}

.hero-slide {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 430px);
  gap: 48px;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  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 {
  color: #ffffff;
  max-width: 680px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(10px);
  font-weight: 800;
  font-size: 14px;
}

.hero h1 {
  margin: 24px 0 18px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero h1 span {
  display: block;
  margin-top: 12px;
  background: linear-gradient(90deg, #ffffff, #fff7ad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  line-height: 1.85;
}

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

.hero-tags span,
.detail-meta span {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-weight: 700;
  font-size: 13px;
}

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

.primary-button,
.ghost-button,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.primary-button {
  color: #ffffff;
  background: linear-gradient(90deg, var(--pink), var(--orange));
  box-shadow: 0 14px 30px rgba(236, 72, 153, 0.26);
}

.hero .primary-button {
  color: var(--pink-dark);
  background: #ffffff;
}

.ghost-button {
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.primary-button:hover,
.ghost-button:hover,
.text-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-strong);
}

.hero-poster {
  position: relative;
  justify-self: end;
  width: min(100%, 410px);
  border-radius: 34px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: 0 34px 85px rgba(127, 29, 29, 0.28);
  backdrop-filter: blur(14px);
}

.hero-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.2);
}

.hero-poster span {
  position: absolute;
  top: 28px;
  right: 28px;
  padding: 9px 13px;
  color: #ffffff;
  background: linear-gradient(90deg, var(--pink), var(--orange));
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.hero-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 130px;
  background: linear-gradient(0deg, #fff7ed 0%, rgba(255, 247, 237, 0) 100%);
}

.carousel-controls {
  position: absolute;
  left: 22px;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 4;
}

.carousel-arrow,
.carousel-dot {
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.carousel-arrow {
  width: 44px;
  height: 44px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 30px;
  line-height: 1;
}

.carousel-arrow:hover {
  transform: scale(1.08);
  background: rgba(255, 255, 255, 0.34);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
}

.carousel-dot.is-active {
  width: 30px;
  background: #ffffff;
}

.stats-strip {
  max-width: var(--max-width);
  margin: -42px auto 0;
  padding: 0 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  position: relative;
  z-index: 5;
}

.stat-card {
  min-height: 118px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.stat-card strong {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1;
  background: linear-gradient(90deg, var(--pink), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-card span {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
}

.page-main,
.content-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 58px 22px;
}

.content-section.light-panel,
.category-preview,
.rank-section {
  max-width: none;
  padding-left: max(22px, calc((100vw - var(--max-width)) / 2 + 22px));
  padding-right: max(22px, calc((100vw - var(--max-width)) / 2 + 22px));
}

.content-section.light-panel {
  background: rgba(255, 255, 255, 0.48);
}

.category-preview:nth-of-type(even) {
  background: rgba(255, 255, 255, 0.62);
}

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

.section-heading h2,
.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.12;
  background: linear-gradient(90deg, var(--pink-dark), var(--orange-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-heading p,
.page-hero p {
  margin: 0 auto;
  max-width: 780px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.section-topline {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.section-topline .section-heading {
  text-align: left;
  margin-bottom: 28px;
}

.text-button {
  color: var(--pink-dark);
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(236, 72, 153, 0.12);
  white-space: nowrap;
  margin-bottom: 34px;
}

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

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

.compact-grid,
.rank-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.movie-card {
  background: #ffffff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(31, 41, 55, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.poster-wrap {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #ffe4e6, #ffedd5);
}

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

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

.type-badge,
.score-badge,
.rank-badge {
  position: absolute;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 10px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.type-badge {
  top: 10px;
  left: 10px;
  background: linear-gradient(90deg, var(--pink), var(--orange));
}

.score-badge {
  top: 10px;
  right: 10px;
  background: rgba(17, 24, 39, 0.72);
  backdrop-filter: blur(10px);
}

.rank-badge {
  left: 10px;
  bottom: 10px;
  background: #eab308;
}

.play-float {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 42px;
  background: rgba(0, 0, 0, 0.34);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.movie-card:hover .play-float {
  opacity: 1;
}

.card-body {
  padding: 14px;
}

.card-body h3 {
  min-height: 44px;
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.card-meta {
  justify-content: space-between;
  color: #9ca3af;
  font-size: 12px;
  font-weight: 700;
}

.category-tile-grid,
.category-directory {
  display: grid;
  gap: 20px;
}

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

.category-tile {
  position: relative;
  min-height: 174px;
  border-radius: 26px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 20px;
  color: #ffffff;
  box-shadow: var(--shadow);
  background: #111827;
}

.category-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.12));
  z-index: 1;
}

.category-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
  transition: transform 0.35s ease;
}

.category-tile:hover img {
  transform: scale(1.08);
}

.category-tile span,
.category-tile small {
  position: relative;
  z-index: 2;
}

.category-tile span {
  font-size: 22px;
  font-weight: 900;
}

.category-tile small {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.page-hero {
  text-align: center;
  border-radius: 34px;
  padding: 66px 28px;
  margin-top: 20px;
  color: #ffffff;
  background: linear-gradient(135deg, #f472b6 0%, #fb923c 62%, #facc15 100%);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.32), transparent 28%), radial-gradient(circle at 80% 40%, rgba(255, 255, 255, 0.2), transparent 24%);
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: #ffffff;
  background: none;
  -webkit-text-fill-color: currentColor;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.92);
}

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

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

.filter-panel {
  margin-top: 30px;
}

.filter-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(130px, 0.65fr));
  gap: 14px;
  padding: 20px;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 18px;
}

.filter-row label {
  display: grid;
  gap: 7px;
  color: #6b7280;
  font-size: 13px;
  font-weight: 900;
}

.filter-row input,
.filter-row select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #f3d5d9;
  border-radius: 14px;
  padding: 0 14px;
  color: var(--text);
  background: #fffafa;
  outline: none;
  transition: box-shadow 0.2s ease, border 0.2s ease;
}

.filter-row input:focus,
.filter-row select:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.12);
}

.result-count {
  margin: 0 0 22px;
  color: var(--muted);
  font-weight: 800;
}

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

.category-directory-card {
  background: #ffffff;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-directory-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
}

.directory-posters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 8px;
  background: linear-gradient(135deg, #fdf2f8, #ffedd5);
}

.directory-posters img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 16px;
}

.directory-copy {
  padding: 20px;
}

.directory-copy h2 {
  margin: 0 0 8px;
  font-size: 23px;
}

.directory-copy p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.7;
}

.directory-copy strong {
  color: var(--pink-dark);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 0.85fr);
  gap: 26px;
  align-items: start;
}

.detail-main-card,
.poster-panel,
.info-panel {
  background: #ffffff;
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

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

.movie-video {
  width: 100%;
  height: 100%;
  display: block;
  background: #111827;
}

.video-start {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 8px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.62), rgba(17, 24, 39, 0.18));
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.video-start.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.video-start span {
  width: 82px;
  height: 82px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  padding-left: 6px;
  color: var(--pink-dark);
  background: #ffffff;
  font-size: 38px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.26);
}

.video-start strong {
  font-size: 18px;
}

.player-message {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 14px;
  margin: 0;
  color: #ffffff;
  font-size: 13px;
  text-align: center;
  pointer-events: none;
}

.detail-copy {
  padding: 28px;
}

.detail-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(30px, 5vw, 45px);
  line-height: 1.18;
}

.detail-copy .detail-meta span {
  color: #4b5563;
  background: #fff7ed;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 26px;
}

.tag-list span {
  padding: 7px 12px;
  color: var(--pink-dark);
  font-weight: 800;
  background: #fdf2f8;
  border-radius: 999px;
}

.detail-copy section {
  margin-top: 24px;
}

.detail-copy h2,
.info-panel h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.detail-copy p {
  margin: 0;
  color: #4b5563;
  line-height: 1.95;
}

.poster-panel {
  padding: 16px;
}

.poster-panel img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 20px;
}

.full-button {
  width: 100%;
  margin-top: 16px;
}

.info-panel {
  padding: 22px;
  margin-top: 20px;
}

.info-panel dl {
  margin: 0;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 12px;
  font-size: 14px;
}

.info-panel dt {
  color: #9ca3af;
  font-weight: 900;
}

.info-panel dd {
  margin: 0;
  color: #374151;
  line-height: 1.6;
}

.info-panel a {
  color: var(--pink-dark);
  font-weight: 900;
}

.related-section {
  padding-left: 0;
  padding-right: 0;
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.site-footer {
  margin-top: 50px;
  padding: 52px 22px 26px;
  color: #d1d5db;
  background: #111827;
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 34px;
}

.footer-brand {
  color: #ffffff;
  font-size: 24px;
}

.site-footer p {
  color: #9ca3af;
  line-height: 1.8;
}

.site-footer h2 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 18px;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-links a,
.footer-bottom button {
  color: #d1d5db;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-bottom button:hover {
  color: #f9a8d4;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 34px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.footer-bottom button {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

[hidden],
.movie-card.is-hidden {
  display: none !important;
}

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

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

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

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

  .detail-sidebar {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 20px;
  }

  .info-panel {
    margin-top: 0;
  }
}

@media (max-width: 820px) {
  .top-nav {
    height: 68px;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    font-size: 22px;
  }

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

  .hero,
  .hero-inner {
    min-height: auto;
  }

  .hero-inner {
    padding-top: 48px;
    padding-bottom: 100px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .hero-poster {
    width: min(72vw, 310px);
    justify-self: start;
  }

  .stats-strip {
    margin-top: -28px;
    grid-template-columns: 1fr;
  }

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

  .search-field {
    grid-column: 1 / -1;
  }

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

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

@media (max-width: 620px) {
  .page-main,
  .content-section {
    padding: 42px 16px;
  }

  .hero-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

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

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

  .carousel-controls {
    left: 16px;
  }

  .movie-grid,
  .full-grid,
  .compact-grid,
  .rank-grid,
  .category-tile-grid,
  .category-directory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .card-body {
    padding: 12px;
  }

  .card-body h3 {
    font-size: 14px;
  }

  .card-body p {
    display: none;
  }

  .section-topline {
    display: block;
  }

  .text-button {
    margin-bottom: 22px;
  }

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

  .detail-copy {
    padding: 20px;
  }

  .detail-sidebar {
    display: block;
  }

  .info-panel {
    margin-top: 18px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
