:root {
  --page-bg: #f9fafb;
  --text: #111827;
  --muted: #6b7280;
  --soft: #f3f4f6;
  --line: #e5e7eb;
  --card: #ffffff;
  --accent: #ef4444;
  --accent-dark: #dc2626;
  --orange: #f97316;
  --warm: #fef3c7;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
  --shadow-soft: 0 10px 24px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  width: min(1180px, calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
}

.brand {
  font-size: 22px;
  white-space: nowrap;
}

.brand-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--accent), var(--orange));
  color: #ffffff;
  font-size: 13px;
  box-shadow: 0 10px 20px rgba(239, 68, 68, 0.25);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: #374151;
  font-weight: 600;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--accent);
  background: #fef2f2;
}

.nav-search {
  display: flex;
  align-items: center;
  width: 300px;
  height: 42px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
}

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

.nav-search button,
.hero-search button {
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  padding: 8px 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-search button:hover,
.hero-search button:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: #f3f4f6;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: #111827;
}

.hero-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fef2f2 0%, #fff7ed 52%, #fefce8 100%);
  padding: 70px 0 56px;
}

.hero-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  filter: blur(52px);
  opacity: 0.24;
  pointer-events: none;
}

.hero-glow-one {
  top: -120px;
  left: -80px;
  background: #fca5a5;
}

.hero-glow-two {
  right: -80px;
  bottom: -120px;
  background: #fdba74;
}

.hero-inner,
.content-section,
.tag-section,
.stat-strip,
.detail-shell,
.category-overview,
.footer-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-inner {
  position: relative;
  min-height: 520px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: 48px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-bottom: 16px;
  padding: 6px 13px;
  border-radius: 999px;
  background: #fee2e2;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 800;
}

.hero-copy h1,
.page-hero h1 {
  margin: 0 0 18px;
  color: #111827;
  font-size: clamp(40px, 6vw, 70px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.hero-copy p,
.page-hero p {
  margin: 0;
  color: #4b5563;
  font-size: 18px;
  line-height: 1.85;
}

.hero-tags,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.hero-tag,
.meta-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #ffffff;
  color: #374151;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

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

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

.primary-btn {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(239, 68, 68, 0.25);
}

.primary-btn:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(239, 68, 68, 0.32);
}

.secondary-btn {
  background: #ffffff;
  color: #374151;
  box-shadow: var(--shadow-soft);
}

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

.ghost-btn {
  background: rgba(255, 255, 255, 0.62);
  color: var(--accent-dark);
  border: 1px solid rgba(239, 68, 68, 0.18);
}

.hero-visual {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 26px;
  box-shadow: var(--shadow);
  background: #111827;
}

.hero-image-shell {
  position: relative;
  height: 420px;
  overflow: hidden;
  background: linear-gradient(135deg, #111827, #7f1d1d);
}

.hero-image-shell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.hero-visual:hover .hero-image-shell img {
  transform: scale(1.05);
}

.hero-image-shell::after,
.poster-frame::after,
.detail-poster::after,
.ranking-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.08) 56%, rgba(0, 0, 0, 0));
  pointer-events: none;
}

.hero-image-shell.is-empty,
.poster-frame.is-empty,
.detail-poster.is-empty,
.ranking-thumb.is-empty {
  display: grid;
  place-items: center;
}

.hero-image-shell.is-empty::before,
.poster-frame.is-empty::before,
.detail-poster.is-empty::before,
.ranking-thumb.is-empty::before {
  content: attr(data-title);
  position: relative;
  z-index: 2;
  padding: 16px;
  color: #ffffff;
  font-weight: 800;
  text-align: center;
}

img.is-hidden {
  display: none;
}

.hero-card {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 3;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(17, 24, 39, 0.72);
  color: #ffffff;
  backdrop-filter: blur(16px);
}

.hero-card span {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.hero-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 24px;
  line-height: 1.2;
}

.hero-card p {
  margin: 0;
  color: #e5e7eb;
}

.hero-controls {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  gap: 10px;
  z-index: 6;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: #fecaca;
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

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

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

.stat-card {
  padding: 24px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.stat-card strong {
  display: block;
  color: var(--accent);
  font-size: 25px;
  line-height: 1.2;
}

.stat-card span {
  color: var(--muted);
  font-weight: 600;
}

.content-section,
.tag-section {
  padding: 58px 0;
}

.section-soft {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100% - 1180px) / 2));
  padding-right: max(16px, calc((100% - 1180px) / 2));
  background: #ffffff;
}

.section-warm {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100% - 1180px) / 2));
  padding-right: max(16px, calc((100% - 1180px) / 2));
  background: linear-gradient(135deg, #fff7ed, #fef2f2);
}

.section-heading,
.category-overview-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 28px;
}

.section-heading h2,
.category-overview-head h2,
.tag-section h2 {
  margin: 0 0 6px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.section-heading p,
.category-overview-head p {
  margin: 0;
  color: var(--muted);
}

.section-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 800;
  white-space: nowrap;
}

.section-more span {
  font-size: 22px;
  transition: transform 0.2s ease;
}

.section-more:hover span {
  transform: translateX(4px);
}

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

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

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

.movie-card {
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

.movie-card-link {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.poster-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #111827, #991b1b);
}

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

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

.poster-chip {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.92);
  color: #ffffff;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 800;
}

.rank-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 3;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--orange));
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22);
}

.movie-card-body {
  display: flex;
  min-height: 188px;
  flex: 1;
  flex-direction: column;
  padding: 17px;
}

.movie-card-topline,
.movie-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.movie-card h3 {
  margin: 9px 0 8px;
  color: #111827;
  font-size: 18px;
  line-height: 1.3;
  transition: color 0.2s ease;
}

.movie-card:hover h3 {
  color: var(--accent);
}

.movie-card p {
  margin: 0 0 14px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.65;
}

.movie-card-meta {
  margin-top: auto;
}

.movie-card-list .movie-card-link {
  flex-direction: row;
}

.movie-card-list .poster-frame {
  width: 190px;
  min-height: 150px;
  flex: 0 0 190px;
  aspect-ratio: auto;
}

.movie-card-list .movie-card-body {
  min-height: 150px;
}

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

.category-card {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  padding: 22px;
  border-radius: 20px;
  background: linear-gradient(135deg, #ffffff, #f9fafb);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  background: linear-gradient(135deg, #fff7ed, #fef2f2);
  box-shadow: var(--shadow);
}

.category-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 16px;
  background: #fee2e2;
  color: var(--accent-dark);
  font-weight: 900;
}

.category-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.category-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.category-preview {
  display: grid;
  gap: 6px;
  margin-top: auto;
  padding-top: 16px;
  font-size: 13px;
  color: #374151;
}

.category-preview a:hover {
  color: var(--accent);
}

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

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

.ranking-row {
  display: grid;
  grid-template-columns: 44px 92px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-row:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.ranking-num {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 999px;
  background: #fef2f2;
  color: var(--accent);
  font-weight: 900;
}

.ranking-thumb {
  position: relative;
  height: 64px;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(135deg, #111827, #991b1b);
}

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

.ranking-main strong {
  display: block;
  overflow: hidden;
  color: #111827;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-main span,
.ranking-views {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.page-hero {
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #ffffff;
  padding: 64px 0;
}

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

.page-hero .eyebrow {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.page-hero h1 {
  color: #ffffff;
}

.page-hero p {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.9);
}

.category-overview {
  padding: 52px 0 70px;
}

.category-overview-block {
  margin-bottom: 34px;
  padding: 26px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.filter-panel {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, minmax(150px, 0.5fr));
  gap: 14px;
  margin-bottom: 28px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.filter-field {
  display: grid;
  gap: 7px;
}

.filter-field label {
  color: #374151;
  font-size: 13px;
  font-weight: 800;
}

.filter-field input,
.filter-field select,
.hero-search input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: 0;
  background: #ffffff;
  color: var(--text);
  padding: 12px 14px;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.filter-field input:focus,
.filter-field select:focus,
.hero-search input:focus,
.nav-search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
}

.empty-state {
  display: none;
  padding: 44px;
  border-radius: 22px;
  background: #ffffff;
  color: var(--muted);
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.empty-state.is-visible {
  display: block;
}

.tag-section {
  text-align: center;
}

.tag-cloud,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.tag-cloud a,
.detail-tags a {
  border-radius: 999px;
  background: #ffffff;
  color: #374151;
  padding: 9px 14px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.tag-cloud a:hover,
.detail-tags a:hover {
  background: var(--accent);
  color: #ffffff;
  transform: translateY(-2px);
}

.hero-search {
  display: flex;
  gap: 10px;
  max-width: 640px;
  margin-top: 28px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.hero-search input {
  border-radius: 999px;
}

.detail-shell {
  padding: 34px 0 70px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--muted);
  font-weight: 700;
}

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

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

.player-card,
.side-card {
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

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

.video-player {
  width: 100%;
  height: 100%;
  background: #000000;
}

.player-start {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  gap: 12px;
  border: 0;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.72));
  color: #ffffff;
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.play-circle {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--orange));
  color: #ffffff;
  font-size: 26px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

.player-start strong {
  font-size: 19px;
  letter-spacing: 0.04em;
}

.detail-body {
  padding: 26px;
}

.detail-body h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.lead-text {
  margin: 22px 0;
  color: #374151;
  font-size: 18px;
  font-weight: 700;
}

.detail-body section {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

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

.detail-body p {
  margin: 0;
  color: #374151;
  line-height: 1.9;
}

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

.detail-poster {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  border-radius: 24px;
  background: linear-gradient(135deg, #111827, #991b1b);
  box-shadow: var(--shadow-soft);
}

.detail-poster img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.side-card {
  padding: 22px;
}

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

.info-list div {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 10px;
}

.info-list dt {
  color: var(--muted);
  font-weight: 800;
}

.info-list dd {
  margin: 0;
  color: #111827;
  font-weight: 700;
}

.info-list a {
  color: var(--accent);
}

.full-btn {
  width: 100%;
  margin-top: 10px;
}

.related-section {
  width: 100%;
  padding-bottom: 0;
}

.site-footer {
  background: #111827;
  color: #d1d5db;
  padding: 42px 0;
}

.footer-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

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

.site-footer p {
  max-width: 620px;
  margin: 12px 0 0;
  color: #9ca3af;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  padding: 9px 14px;
  color: #ffffff;
  font-weight: 700;
}

.footer-links a:hover {
  background: var(--accent);
}

@media (max-width: 1024px) {
  .nav-wrap {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .nav-links {
    display: none;
    width: 100%;
    order: 3;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-link {
    background: #f9fafb;
  }

  .nav-search {
    width: 100%;
    order: 4;
  }

  .hero-inner {
    min-height: 820px;
  }

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

  .hero-visual {
    align-self: stretch;
  }

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

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

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

  .detail-poster {
    display: none;
  }

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

@media (max-width: 760px) {
  .hero-section {
    padding-top: 38px;
  }

  .hero-inner {
    min-height: 820px;
  }

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

  .hero-image-shell {
    height: 360px;
  }

  .hero-actions,
  .page-hero-actions,
  .hero-search {
    flex-direction: column;
  }

  .primary-btn,
  .secondary-btn,
  .ghost-btn,
  .hero-search button {
    width: 100%;
  }

  .stat-strip,
  .movie-grid,
  .compact-grid,
  .movie-list-grid,
  .category-grid,
  .ranking-panel,
  .filter-panel {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .category-overview-head,
  .footer-wrap {
    align-items: flex-start;
    flex-direction: column;
  }

  .movie-card-list .movie-card-link {
    flex-direction: column;
  }

  .movie-card-list .poster-frame {
    width: 100%;
    min-height: auto;
    flex-basis: auto;
    aspect-ratio: 16 / 10;
  }

  .ranking-row {
    grid-template-columns: 36px 72px minmax(0, 1fr);
  }

  .ranking-views {
    display: none;
  }

  .detail-body,
  .side-card,
  .category-overview-block {
    padding: 18px;
  }
}
