:root {
  --site-red: #dc2626;
  --site-red-dark: #b91c1c;
  --site-orange: #f97316;
  --site-black: #0f172a;
  --site-dark: #111827;
  --site-muted: #64748b;
  --site-line: #e5e7eb;
  --site-bg: #f8fafc;
  --site-card: #ffffff;
  --site-radius: 18px;
  --site-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #111827;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.site-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: #111827;
  white-space: nowrap;
}

.logo-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--site-red), var(--site-orange));
  color: #ffffff;
  box-shadow: 0 12px 25px rgba(220, 38, 38, 0.32);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link,
.mobile-nav-link {
  padding: 9px 12px;
  border-radius: 999px;
  color: #334155;
  font-size: 15px;
  font-weight: 600;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--site-red);
  background: #fee2e2;
}

.header-search,
.mobile-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search input,
.mobile-search input,
.band-search input,
.filter-grid input,
.filter-grid select {
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 11px 16px;
  background: #ffffff;
  color: #111827;
  outline: none;
  min-width: 220px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input:focus,
.mobile-search input:focus,
.band-search input:focus,
.filter-grid input:focus,
.filter-grid select:focus {
  border-color: #f87171;
  box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.16);
}

.header-search button,
.mobile-search button,
.band-search button,
.primary-btn,
.ghost-btn {
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search button,
.mobile-search button,
.band-search button,
.primary-btn {
  background: linear-gradient(135deg, var(--site-red), var(--site-orange));
  color: #ffffff;
  box-shadow: 0 14px 32px rgba(220, 38, 38, 0.25);
}

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

.primary-btn:hover,
.ghost-btn:hover,
.header-search button:hover,
.mobile-search button:hover,
.band-search button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(220, 38, 38, 0.32);
}

.small-btn {
  padding: 9px 14px;
  font-size: 14px;
}

.mobile-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: #fee2e2;
  color: var(--site-red);
  font-size: 22px;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  padding: 0 20px 16px;
  border-top: 1px solid #e2e8f0;
}

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

.hero-carousel {
  position: relative;
  height: 590px;
  background: #111827;
  overflow: hidden;
}

.hero-slides,
.hero-slide,
.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

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

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

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.48;
  transform: scale(1.03);
}

.hero-shade {
  background:
    radial-gradient(circle at 22% 24%, rgba(248, 113, 113, 0.36), transparent 32%),
    linear-gradient(90deg, rgba(17, 24, 39, 0.98) 0%, rgba(17, 24, 39, 0.72) 43%, rgba(17, 24, 39, 0.18) 100%),
    linear-gradient(0deg, rgba(17, 24, 39, 1) 0%, rgba(17, 24, 39, 0.15) 42%, rgba(17, 24, 39, 0.1) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  padding: 70px 20px 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #ffffff;
}

.hero-kicker,
.detail-kicker,
.page-hero span,
.section-heading span {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(220, 38, 38, 0.95);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero-content h1 {
  max-width: 760px;
  margin: 18px 0 16px;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero-content p {
  max-width: 700px;
  margin: 0 0 24px;
  color: #d1d5db;
  font-size: 19px;
  line-height: 1.8;
}

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

.hero-meta span,
.detail-meta span,
.movie-card-tags span,
.tag-row span {
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.13);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

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

.hero-controls {
  position: absolute;
  right: 34px;
  bottom: 34px;
  z-index: 4;
  display: flex;
  gap: 10px;
}

.hero-arrow {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.17);
  color: #ffffff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-arrow:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.28);
}

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

.hero-dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.active {
  width: 34px;
  background: var(--site-red);
}

.hero-thumbs {
  position: absolute;
  right: 30px;
  top: 90px;
  z-index: 3;
  display: grid;
  gap: 10px;
  width: 230px;
}

.hero-thumb {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.42);
  color: #ffffff;
  text-align: left;
  cursor: pointer;
  backdrop-filter: blur(14px);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.hero-thumb.active,
.hero-thumb:hover {
  border-color: rgba(248, 113, 113, 0.85);
  background: rgba(127, 29, 29, 0.48);
}

.hero-thumb img {
  width: 56px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  background: #1f2937;
}

.hero-thumb span {
  display: -webkit-box;
  overflow: hidden;
  color: #f9fafb;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.home-search-band,
.content-section,
.split-showcase,
.detail-layout,
.breadcrumb {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.home-search-band {
  margin-top: -48px;
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: 1fr minmax(340px, 520px);
  gap: 24px;
  align-items: center;
  padding-top: 28px;
  padding-bottom: 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--site-shadow);
  backdrop-filter: blur(16px);
}

.home-search-band h2 {
  margin: 0 0 8px;
  font-size: 28px;
}

.home-search-band p {
  margin: 0;
  color: var(--site-muted);
  line-height: 1.7;
}

.band-search {
  display: flex;
  gap: 10px;
}

.band-search input {
  flex: 1;
  min-width: 0;
}

.content-section {
  padding-top: 64px;
  padding-bottom: 4px;
}

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

.section-heading h2 {
  margin: 8px 0 0;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.section-heading a,
.text-link,
.mini-links a {
  color: var(--site-red);
  font-weight: 800;
}

.compact-heading {
  align-items: center;
}

.compact-heading h2 {
  font-size: 30px;
}

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

.movie-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--site-radius);
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(248, 113, 113, 0.65);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.16);
}

.movie-card.is-hidden {
  display: none;
}

.movie-poster-link {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4.15;
  overflow: hidden;
  background: linear-gradient(135deg, #111827, #7f1d1d);
}

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

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

.poster-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 34%, rgba(15, 23, 42, 0.72) 100%);
}

.movie-year,
.rank-mark {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.movie-year {
  right: 10px;
  bottom: 10px;
  padding: 5px 9px;
  background: rgba(220, 38, 38, 0.92);
}

.rank-mark {
  left: 10px;
  top: 10px;
  min-width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f97316, #dc2626);
  box-shadow: 0 10px 20px rgba(220, 38, 38, 0.34);
}

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

.movie-card-title {
  display: -webkit-box;
  overflow: hidden;
  color: #111827;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
  min-height: 43px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-card-title:hover {
  color: var(--site-red);
}

.movie-card-desc {
  display: -webkit-box;
  overflow: hidden;
  min-height: 42px;
  margin: 8px 0 10px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.58;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-card-meta {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.movie-card-meta span + span::before {
  content: "·";
  margin-right: 9px;
  color: #cbd5e1;
}

.movie-card-tags {
  margin-top: 10px;
}

.movie-card-tags span {
  background: #f1f5f9;
  color: #475569;
}

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

.movie-card.compact .movie-card-desc,
.movie-card.compact .movie-card-tags {
  display: none;
}

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

.category-tile {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  overflow: hidden;
  position: relative;
  border-radius: 24px;
  padding: 22px;
  background: linear-gradient(135deg, #111827, #7f1d1d);
  color: #ffffff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.15);
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.06), rgba(17, 24, 39, 0.92));
}

.tile-covers {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  opacity: 0.58;
}

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

.category-tile strong,
.category-tile em {
  position: relative;
  z-index: 2;
}

.category-tile strong {
  font-size: 23px;
  font-weight: 900;
}

.category-tile em {
  display: block;
  margin-top: 10px;
  color: #e5e7eb;
  font-style: normal;
  line-height: 1.6;
}

.split-showcase {
  padding-top: 64px;
  padding-bottom: 70px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
}

.rank-panel,
.latest-panel,
.filter-panel,
.category-overview-card,
.detail-card,
.side-panel {
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.08);
}

.rank-panel,
.latest-panel {
  padding: 24px;
}

.rank-list,
.side-list {
  display: grid;
  gap: 14px;
}

.side-link-card {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  background: #f8fafc;
  transition: background 0.2s ease, transform 0.2s ease;
}

.side-link-card:hover {
  background: #fee2e2;
  transform: translateX(3px);
}

.side-link-card img {
  width: 76px;
  height: 100px;
  border-radius: 12px;
  object-fit: cover;
  background: #111827;
}

.side-link-card strong,
.side-link-card em {
  display: block;
}

.side-link-card strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.side-link-card em {
  margin-top: 8px;
  color: #64748b;
  font-size: 12px;
  font-style: normal;
}

.page-hero {
  background:
    radial-gradient(circle at 20% 20%, rgba(248, 113, 113, 0.32), transparent 34%),
    linear-gradient(135deg, #111827 0%, #7f1d1d 100%);
  color: #ffffff;
  padding: 92px 20px 82px;
}

.page-hero > div {
  max-width: 1280px;
  margin: 0 auto;
}

.page-hero h1 {
  max-width: 820px;
  margin: 18px 0 14px;
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.page-hero p {
  max-width: 720px;
  margin: 0;
  color: #e5e7eb;
  font-size: 18px;
  line-height: 1.8;
}

.slim-hero {
  padding-top: 76px;
  padding-bottom: 76px;
}

.breadcrumb {
  padding-top: 24px;
  padding-bottom: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #64748b;
  font-size: 14px;
}

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

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

.category-overview-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  padding: 18px;
}

.category-overview-covers {
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-radius: 18px;
  min-height: 210px;
  background: #111827;
}

.category-overview-covers img {
  width: 100%;
  height: 105px;
  object-fit: cover;
}

.category-overview-card h2 {
  margin: 12px 0 10px;
  font-size: 25px;
}

.category-overview-card p {
  color: #64748b;
  line-height: 1.7;
}

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

.filter-panel-title {
  margin-bottom: 12px;
  font-weight: 900;
}

.filter-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) repeat(3, minmax(140px, 190px));
  gap: 12px;
}

.filter-grid input,
.filter-grid select {
  width: 100%;
  min-width: 0;
  border-radius: 14px;
}

.filter-result {
  min-height: 20px;
  margin: 10px 0 0;
  color: #64748b;
  font-size: 14px;
}

.mini-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
}

.inline-actions {
  margin-top: 24px;
}

.player-section {
  margin-top: 24px;
  background: #020617;
}

.player-shell {
  position: relative;
  max-width: 1280px;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  background: #000000;
}

.movie-player {
  width: 100%;
  height: 100%;
  display: block;
  background: #000000;
}

.player-start {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 0;
  background: radial-gradient(circle at 50% 42%, rgba(220, 38, 38, 0.36), rgba(2, 6, 23, 0.54) 35%, rgba(2, 6, 23, 0.78));
  color: #ffffff;
  cursor: pointer;
}

.player-start.is-hidden {
  display: none;
}

.play-circle {
  width: 86px;
  height: 86px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--site-red), var(--site-orange));
  box-shadow: 0 22px 60px rgba(220, 38, 38, 0.45);
  font-size: 34px;
  padding-left: 5px;
}

.player-start strong {
  max-width: 80%;
  font-size: clamp(22px, 4vw, 38px);
  text-align: center;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.65);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 28px;
  padding-top: 34px;
  padding-bottom: 72px;
}

.detail-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.detail-title-row h1 {
  margin: 12px 0 10px;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.detail-kicker {
  background: #fee2e2;
  color: var(--site-red);
}

.detail-meta {
  margin-bottom: 20px;
}

.detail-meta span {
  background: #f1f5f9;
  color: #475569;
}

.detail-card {
  margin-bottom: 18px;
  padding: 24px;
}

.detail-card h2,
.side-panel h2 {
  margin: 0 0 14px;
  font-size: 21px;
}

.detail-card p {
  margin: 0;
  color: #334155;
  font-size: 17px;
  line-height: 1.88;
  white-space: pre-wrap;
}

.intro-card {
  border-color: rgba(248, 113, 113, 0.35);
  background: linear-gradient(135deg, #fff7ed, #ffffff);
}

.intro-card p {
  font-size: 19px;
  color: #7f1d1d;
  font-weight: 700;
}

.review-card {
  background: linear-gradient(135deg, #fff1f2, #fff7ed);
}

.tag-row span {
  background: #fee2e2;
  color: #991b1b;
}

.detail-side {
  display: grid;
  align-content: start;
  gap: 18px;
}

.side-panel {
  padding: 18px;
}

.poster-panel {
  overflow: hidden;
  padding: 0;
}

.poster-panel img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #111827;
}

.poster-panel div {
  padding: 18px;
}

.poster-panel strong,
.poster-panel span {
  display: block;
}

.poster-panel strong {
  font-size: 22px;
  line-height: 1.3;
}

.poster-panel span {
  margin-top: 8px;
  color: #64748b;
}

.prev-next {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.prev-next a {
  padding: 16px;
  border-radius: 18px;
  background: #ffffff;
  color: #334155;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.prev-next a:last-child {
  text-align: right;
}

.site-footer {
  background: #111827;
  color: #cbd5e1;
  margin-top: 70px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 42px 20px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
}

.footer-logo {
  color: #ffffff;
}

.footer-inner p {
  max-width: 520px;
  color: #94a3b8;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  align-content: center;
}

.footer-links a {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #e5e7eb;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 20px;
  text-align: center;
  color: #94a3b8;
}

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

  .hero-thumbs {
    display: none;
  }
}

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

  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-header-inner {
    gap: 12px;
  }

  .hero-carousel {
    height: 540px;
  }

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

  .home-search-band,
  .split-showcase,
  .detail-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

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

  .category-overview-card {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 720px) {
  .site-logo {
    font-size: 19px;
  }

  .hero-carousel {
    height: 610px;
  }

  .hero-content {
    padding-top: 48px;
    padding-bottom: 108px;
  }

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

  .hero-controls {
    right: 20px;
    bottom: 24px;
  }

  .hero-dots {
    left: 20px;
    right: auto;
    bottom: 36px;
    transform: none;
  }

  .home-search-band {
    margin-top: 0;
    border-radius: 0;
  }

  .band-search,
  .mobile-search {
    flex-direction: column;
    align-items: stretch;
  }

  .movie-grid,
  .small-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .category-grid,
  .category-overview-grid,
  .filter-grid,
  .detail-side,
  .prev-next {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .detail-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-hero {
    padding-top: 62px;
    padding-bottom: 58px;
  }

  .detail-layout {
    padding-top: 24px;
  }

  .player-shell {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 420px) {
  .movie-grid,
  .small-grid {
    grid-template-columns: 1fr;
  }
}
