
:root {
  --brand-blue: #0096dc;
  --brand-blue-dark: #006fa8;
  --brand-blue-light: #7dd3fc;
  --brand-yellow: #ffd700;
  --brand-red: #ff3b30;
  --ink: #10233f;
  --muted: #64748b;
  --paper: #ffffff;
  --soft: #f3f8ff;
  --shadow: 0 24px 60px rgba(0, 42, 90, 0.16);
}

html {
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(180deg, #f9fcff 0%, #eef7ff 48%, #ffffff 100%);
  color: var(--ink);
}

img {
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  backdrop-filter: blur(16px);
}

.brand-link {
  min-width: max-content;
}

.brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--brand-yellow);
  color: var(--brand-blue-dark);
  font-weight: 900;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.08);
}

.brand-copy {
  display: grid;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 1.1rem;
}

.brand-copy small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
}

.nav-link {
  position: relative;
  font-weight: 700;
  opacity: 0.94;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 3px;
  border-radius: 99px;
  background: var(--brand-yellow);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.header-search {
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 0.35rem;
}

.header-search input,
.mobile-nav input,
.hero-search input {
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: inherit;
}

.header-search input {
  width: 220px;
  padding: 0 0.75rem;
}

.header-search input::placeholder,
.mobile-nav input::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.header-search button,
.hero-search button,
.mobile-nav button {
  border-radius: 999px;
  background: var(--brand-yellow);
  color: var(--brand-blue-dark);
  padding: 0.5rem 1rem;
  font-weight: 900;
  cursor: pointer;
}

.mobile-menu-button {
  font-size: 1.75rem;
  line-height: 1;
  padding: 0.5rem;
}

.mobile-nav {
  display: grid;
  gap: 1rem;
  padding: 0 1rem 1rem;
  background: rgba(0, 105, 168, 0.96);
}

.mobile-nav a {
  font-weight: 700;
}

.mobile-nav form {
  display: flex;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 0.4rem;
}

.mobile-nav input {
  flex: 1;
  padding-left: 0.8rem;
}

.hero-carousel {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background: #041927;
}

.hero-slides {
  position: relative;
  min-height: 720px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);
  transition: opacity 0.65s ease, transform 0.65s ease, visibility 0.65s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.06);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 74% 34%, rgba(255, 215, 0, 0.22), transparent 30%),
    linear-gradient(90deg, rgba(0, 23, 42, 0.92) 0%, rgba(0, 64, 108, 0.72) 44%, rgba(0, 0, 0, 0.32) 100%),
    linear-gradient(0deg, rgba(4, 25, 39, 0.96) 0%, rgba(4, 25, 39, 0.12) 52%, rgba(4, 25, 39, 0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 4rem;
  align-items: center;
  padding-top: 4rem;
  padding-bottom: 8rem;
  color: white;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--brand-yellow);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1,
.page-hero h1,
.detail-info h1 {
  margin: 0.7rem 0 1rem;
  font-size: clamp(2.5rem, 7vw, 5.8rem);
  line-height: 0.98;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.hero-summary {
  max-width: 720px;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.8;
}

.hero-tags,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.4rem 0;
}

.hero-tags span,
.detail-meta span {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.45rem 0.8rem;
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.primary-action,
.secondary-action,
.hero-mini-link,
.secondary-block-link,
.section-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.primary-action {
  background: var(--brand-yellow);
  color: var(--brand-blue-dark);
  padding: 0.9rem 1.45rem;
  box-shadow: 0 14px 30px rgba(255, 215, 0, 0.26);
}

.secondary-action,
.hero-mini-link {
  background: rgba(255, 255, 255, 0.16);
  color: white;
  padding: 0.9rem 1.45rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(12px);
}

.primary-action:hover,
.secondary-action:hover,
.section-link:hover,
.secondary-block-link:hover {
  transform: translateY(-2px);
}

.hero-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 500px;
  border-radius: 2rem;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
  background: linear-gradient(135deg, #0ea5e9, #facc15);
}

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

.hero-card span {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  border-radius: 999px;
  background: var(--brand-yellow);
  color: var(--brand-blue-dark);
  padding: 0.6rem 1rem;
  font-weight: 900;
}

.hero-controls {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 2rem;
  display: grid;
  gap: 1rem;
}

.hero-dots {
  display: flex;
  gap: 0.7rem;
}

.hero-dot {
  width: 36px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  cursor: pointer;
}

.hero-dot.is-active {
  background: var(--brand-yellow);
}

.hero-thumbs {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
}

.hero-thumb {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 180px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  padding: 0.5rem;
  backdrop-filter: blur(14px);
  cursor: pointer;
  opacity: 0.74;
}

.hero-thumb.is-active {
  opacity: 1;
  border-color: var(--brand-yellow);
}

.hero-thumb img {
  width: 44px;
  height: 58px;
  object-fit: cover;
  border-radius: 0.6rem;
}

.hero-thumb span {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 800;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 950;
  color: var(--ink);
}

.section-heading p {
  margin-top: 0.45rem;
  color: var(--muted);
}

.section-link,
.secondary-block-link {
  background: var(--brand-blue);
  color: white;
  padding: 0.75rem 1.1rem;
}

.movie-grid {
  display: grid;
  gap: 1.35rem;
}

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

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

.movie-card {
  overflow: hidden;
  border-radius: 1.4rem;
  background: var(--paper);
  box-shadow: 0 14px 34px rgba(15, 55, 95, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.movie-poster {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-yellow));
}

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

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

.poster-play,
.movie-rank {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
}

.poster-play {
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  color: var(--brand-blue-dark);
  background: var(--brand-yellow);
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.movie-rank {
  left: 0.75rem;
  top: 0.75rem;
  background: rgba(0, 0, 0, 0.68);
  color: white;
  padding: 0.4rem 0.65rem;
  font-size: 0.78rem;
}

.movie-card-body {
  padding: 1rem;
}

.movie-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.movie-card h3 {
  margin: 0.45rem 0;
  font-size: 1.05rem;
  font-weight: 950;
  line-height: 1.35;
}

.movie-card p {
  min-height: 3.3em;
  margin: 0 0 0.75rem;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.65;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tag-row,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tag-chip,
.detail-tag {
  display: inline-flex;
  border-radius: 999px;
  background: #e0f2fe;
  color: var(--brand-blue-dark);
  padding: 0.3rem 0.58rem;
  font-size: 0.75rem;
  font-weight: 800;
}

.category-ribbon {
  background: linear-gradient(135deg, var(--brand-blue-dark), var(--brand-blue));
  color: white;
}

.ribbon-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 520px);
  gap: 2rem;
  align-items: center;
  padding: 4rem 0;
}

.ribbon-panel h2 {
  margin: 0.5rem 0;
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  font-weight: 950;
}

.ribbon-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.ribbon-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.ribbon-links a,
.category-card {
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1rem;
  font-weight: 900;
  backdrop-filter: blur(12px);
  transition: transform 0.25s ease, background 0.25s ease;
}

.ribbon-links a:hover,
.category-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.22);
}

.ranking-band {
  background: #eaf6ff;
}

.ranking-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

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

.ranking-item {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  border-radius: 1.25rem;
  background: white;
  padding: 0.8rem;
  box-shadow: 0 12px 30px rgba(15, 55, 95, 0.08);
}

.ranking-cover {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-yellow));
}

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

.ranking-cover span {
  position: absolute;
  left: 0.45rem;
  top: 0.45rem;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--brand-yellow);
  color: var(--brand-blue-dark);
  font-weight: 950;
}

.ranking-copy h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  font-weight: 950;
}

.ranking-copy p {
  margin: 0 0 0.5rem;
  color: #475569;
  line-height: 1.7;
}

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

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

.page-hero p {
  max-width: 780px;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.8;
}

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

.category-card {
  display: grid;
  gap: 0.2rem;
  min-height: 130px;
  align-content: center;
  background: white;
  border: 1px solid #dbeafe;
  color: var(--ink);
  box-shadow: 0 14px 34px rgba(15, 55, 95, 0.08);
}

.category-card span {
  color: var(--brand-blue-dark);
  font-weight: 950;
  font-size: 1.1rem;
}

.category-card strong {
  font-size: 2.4rem;
  line-height: 1;
}

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

.filter-panel {
  display: grid;
  grid-template-columns: 190px 190px minmax(220px, 1fr) auto;
  gap: 0.8rem;
  align-items: end;
  margin-bottom: 1.5rem;
  border-radius: 1.5rem;
  background: white;
  box-shadow: 0 14px 34px rgba(15, 55, 95, 0.08);
  padding: 1rem;
}

.filter-panel label {
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.85rem;
}

.filter-panel select,
.filter-panel input {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: white;
  color: var(--ink);
  padding: 0.75rem 0.95rem;
  outline: none;
}

.filter-panel button {
  border-radius: 999px;
  background: var(--brand-blue);
  color: white;
  padding: 0.75rem 1rem;
  font-weight: 900;
  cursor: pointer;
}

.empty-state,
.search-status {
  border-radius: 1rem;
  background: #fff7d6;
  color: #7c5d00;
  padding: 1rem;
  font-weight: 800;
  margin: 1rem 0;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.pagination a,
.pagination span {
  min-width: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: white;
  color: var(--brand-blue-dark);
  padding: 0.7rem 0.85rem;
  font-weight: 900;
  box-shadow: 0 8px 22px rgba(15, 55, 95, 0.08);
}

.pagination .is-current {
  background: var(--brand-blue);
  color: white;
}

.hero-search {
  display: flex;
  max-width: 720px;
  gap: 0.6rem;
  margin-top: 1.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  padding: 0.55rem;
  backdrop-filter: blur(12px);
}

.hero-search input {
  flex: 1;
  padding-left: 1rem;
}

.hero-search input::placeholder {
  color: rgba(255, 255, 255, 0.76);
}

.detail-hero {
  position: relative;
  overflow: hidden;
  background: #041927;
  color: white;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
}

.detail-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(6px) saturate(1.1);
  transform: scale(1.05);
}

.detail-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.18), transparent 28%),
    linear-gradient(90deg, rgba(4, 25, 39, 0.96), rgba(4, 25, 39, 0.72)),
    linear-gradient(0deg, rgba(4, 25, 39, 1), transparent 70%);
}

.detail-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.detail-cover {
  overflow: hidden;
  border-radius: 1.6rem;
  aspect-ratio: 2 / 3;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-yellow));
  box-shadow: var(--shadow);
}

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

.detail-one-line {
  max-width: 850px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.2rem;
  line-height: 1.8;
}

.detail-tags {
  margin-bottom: 1.5rem;
}

.detail-tag {
  background: rgba(255, 255, 255, 0.14);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  aspect-ratio: 16 / 9;
  background: #000;
  box-shadow: var(--shadow);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.6rem;
  color: white;
  background:
    radial-gradient(circle at center, rgba(0, 150, 220, 0.32), transparent 34%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.22));
  cursor: pointer;
  transition: opacity 0.25s ease;
}

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

.player-button {
  width: 78px;
  height: 78px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--brand-yellow);
  color: var(--brand-blue-dark);
  font-size: 2rem;
  box-shadow: 0 20px 48px rgba(255, 215, 0, 0.32);
}

.player-overlay strong {
  font-size: 1.25rem;
}

.player-overlay small {
  color: rgba(255, 255, 255, 0.76);
}

.player-message {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  margin: 0;
  color: #fecaca;
  font-weight: 800;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1.5rem;
  padding-bottom: 3rem;
}

.content-card {
  border-radius: 1.5rem;
  background: white;
  box-shadow: 0 14px 34px rgba(15, 55, 95, 0.08);
  padding: 1.5rem;
}

.content-card h2 {
  margin: 0 0 1rem;
  color: var(--brand-blue-dark);
  font-size: 1.45rem;
  font-weight: 950;
}

.content-card p {
  color: #334155;
  line-height: 2;
  margin-bottom: 1.3rem;
}

.detail-list {
  display: grid;
  gap: 0.8rem;
  margin: 0 0 1.5rem;
}

.detail-list div {
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 0.7rem;
}

.detail-list dt {
  color: var(--muted);
  font-size: 0.8rem;
}

.detail-list dd {
  margin: 0.2rem 0 0;
  font-weight: 900;
}

.movie-card--compact .movie-card-body {
  padding: 0.8rem;
}

.movie-card--compact h3 {
  font-size: 0.95rem;
}

.movie-card--compact p,
.movie-card--compact .tag-row,
.movie-card--compact .movie-card-meta {
  display: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.stats-grid div {
  display: grid;
  gap: 0.2rem;
  border-radius: 1rem;
  background: #eff6ff;
  padding: 1rem;
}

.stats-grid strong {
  color: var(--brand-blue-dark);
  font-size: 2rem;
  font-weight: 950;
}

.stats-grid span {
  color: var(--muted);
  font-weight: 800;
}

.poster-missing::before {
  content: "影片封面";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 900;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-yellow));
}

.site-footer {
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.footer-logo strong {
  display: block;
  font-size: 1.2rem;
}

.footer-logo p,
.footer-muted {
  color: #94a3b8;
}

.footer-grid h2 {
  margin: 0 0 1rem;
  color: var(--brand-yellow);
  font-size: 1rem;
  font-weight: 950;
}

.footer-grid a {
  display: block;
  color: #cbd5e1;
  margin-bottom: 0.55rem;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
}

@media (max-width: 1100px) {
  .movie-grid--four {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .filter-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .hero-carousel,
  .hero-slides {
    min-height: 720px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-bottom: 11rem;
  }

  .hero-card {
    display: none;
  }

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

  .movie-grid--four,
  .movie-grid--six,
  .category-grid,
  .ranking-list,
  .ribbon-panel,
  .detail-layout,
  .footer-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

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

  .detail-cover {
    width: min(260px, 70vw);
  }
}

@media (max-width: 560px) {
  .hero-carousel,
  .hero-slides {
    min-height: 660px;
  }

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

  .movie-grid--four,
  .movie-grid--six {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .movie-card-body {
    padding: 0.75rem;
  }

  .movie-card p,
  .tag-row {
    display: none;
  }

  .filter-panel,
  .hero-search {
    grid-template-columns: 1fr;
    display: grid;
    border-radius: 1.25rem;
  }

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