:root {
  --color-frosting: #f06c25;
  --color-frosting-dark: #d95a1b;
  --color-dawn: #f97316;
  --color-cream: #fef8f3;
  --color-cream-2: #fff7ed;
  --color-ink: #111827;
  --color-muted: #6b7280;
  --color-line: #f0e1d4;
  --shadow-soft: 0 18px 50px rgba(217, 90, 27, 0.16);
  --shadow-card: 0 12px 32px rgba(17, 24, 39, 0.08);
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--color-ink);
  background: linear-gradient(180deg, #fefefe 0%, #fff7ed 45%, #fef8f3 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.is-menu-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.70));
  backdrop-filter: blur(14px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
}

.site-header__inner {
  width: min(100% - 32px, var(--container));
  min-height: 76px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.site-logo__mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-frosting), var(--color-dawn));
  box-shadow: 0 12px 28px rgba(240, 108, 37, 0.30);
}

.site-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.site-logo__text strong {
  font-size: 20px;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--color-frosting-dark), var(--color-dawn));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link {
  position: relative;
  color: #374151;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-frosting), var(--color-dawn));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--color-frosting-dark);
}

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

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 0;
  border-radius: 12px;
  background: rgba(254, 248, 243, 0.90);
}

.mobile-menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 999px;
  background: #374151;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-nav {
  display: none;
  padding: 8px 16px 18px;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid rgba(240, 108, 37, 0.12);
  box-shadow: 0 18px 32px rgba(17, 24, 39, 0.08);
}

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

.mobile-nav-link {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  color: #374151;
  font-weight: 700;
}

.mobile-nav-link:hover,
.mobile-nav-link.is-active {
  color: var(--color-frosting-dark);
  background: linear-gradient(135deg, #fef8f3, #ffedd5);
}

main {
  padding-top: 76px;
}

.hero {
  position: relative;
  min-height: 74vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #fdf0e6 0%, #fffaf5 46%, #fed7aa 100%);
}

.hero__blobs {
  position: absolute;
  inset: 0;
  opacity: 0.38;
  pointer-events: none;
}

.blob {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  filter: blur(42px);
  mix-blend-mode: multiply;
  animation: blobMove 12s infinite ease-in-out;
}

.blob--one {
  top: 16%;
  left: 8%;
  background: #f9c29a;
}

.blob--two {
  top: 26%;
  right: 10%;
  background: #fed7aa;
  animation-delay: 2s;
}

.blob--three {
  bottom: 7%;
  left: 42%;
  background: #fbf0e5;
  animation-delay: 4s;
}

@keyframes blobMove {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(24px, -30px) scale(1.08);
  }
  66% {
    transform: translate(-18px, 20px) scale(0.94);
  }
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
  align-items: center;
  gap: 56px;
  padding: 72px 0;
}

.hero__copy {
  max-width: 650px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  margin-bottom: 22px;
  border: 1px solid rgba(240, 108, 37, 0.16);
  border-radius: 999px;
  color: #6b3e22;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  font-size: 14px;
  font-weight: 700;
}

.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1.02;
  letter-spacing: -0.07em;
}

.hero h1 span {
  background: linear-gradient(90deg, var(--color-frosting-dark), var(--color-dawn), var(--color-frosting));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__copy p {
  max-width: 590px;
  margin: 0 0 30px;
  color: #4b5563;
  font-size: clamp(17px, 2vw, 20px);
}

.hero-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

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

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

.btn-primary {
  color: #fff;
  background: linear-gradient(90deg, var(--color-frosting), var(--color-dawn));
  box-shadow: 0 15px 34px rgba(240, 108, 37, 0.28);
}

.btn-light {
  color: #374151;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
}

.hero-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-quick-links a {
  padding: 8px 13px;
  border: 1px solid rgba(240, 108, 37, 0.18);
  border-radius: 999px;
  color: #7c3f19;
  background: rgba(255, 255, 255, 0.54);
  font-size: 14px;
  font-weight: 700;
}

.hero__visual {
  min-width: 0;
}

.hero-slider {
  position: relative;
  min-height: 500px;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: #111827;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

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

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

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.84));
}

.hero-slide__content {
  position: relative;
  z-index: 1;
  align-self: end;
  padding: 32px;
  color: #fff;
}

.hero-slide__kicker {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(240, 108, 37, 0.92);
  font-size: 12px;
  font-weight: 800;
}

.hero-slide h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
}

.hero-slide p {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.86);
}

.hero-slide__link {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(90deg, var(--color-frosting), var(--color-dawn));
  font-weight: 800;
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 18px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(240, 108, 37, 0.28);
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
  width: 28px;
  background: var(--color-frosting);
}

.section {
  padding: 72px 0;
}

.section-soft {
  background: linear-gradient(90deg, #fef8f3, #fff7ed);
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.section-heading__title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-heading__bar {
  width: 5px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--color-frosting), var(--color-dawn));
}

.section-heading__icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--color-frosting), var(--color-dawn));
  font-weight: 900;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.1;
}

.section-more,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-frosting-dark);
  font-weight: 800;
}

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

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(240, 108, 37, 0.10);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  border-color: rgba(240, 108, 37, 0.28);
  box-shadow: 0 22px 48px rgba(17, 24, 39, 0.12);
}

.movie-card[hidden] {
  display: none;
}

.movie-card__poster {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #fdf0e6, #fed7aa);
}

.movie-card--featured .movie-card__poster {
  aspect-ratio: 4 / 3;
}

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

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

.movie-card__poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.38));
}

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

.movie-card__label {
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  color: #fff;
  background: rgba(240, 108, 37, 0.92);
  font-size: 12px;
}

.rank-badge {
  right: 12px;
  top: 12px;
  min-width: 36px;
  height: 36px;
  color: #fff;
  background: rgba(17, 24, 39, 0.82);
}

.movie-card__body {
  padding: 18px;
}

.movie-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 700;
}

.movie-card h3 {
  margin: 9px 0 8px;
  font-size: 19px;
  line-height: 1.28;
}

.movie-card h3 a:hover {
  color: var(--color-frosting-dark);
}

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

.movie-card__tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.movie-card__tags span,
.detail-tags span {
  padding: 4px 8px;
  border-radius: 999px;
  color: #92400e;
  background: #ffedd5;
  font-size: 12px;
  font-weight: 800;
}

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

.category-card,
.category-overview-card {
  overflow: hidden;
  border: 1px solid rgba(240, 108, 37, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-card);
}

.category-card {
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.category-card__thumbs,
.category-overview-card__media {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 8px;
  background: linear-gradient(135deg, #fef8f3, #ffedd5);
}

.category-card__thumbs img,
.category-overview-card__media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
}

.category-card__body,
.category-overview-card__body {
  padding: 20px;
}

.category-card h3,
.category-overview-card h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.category-card p,
.category-overview-card p {
  margin: 0;
  color: #4b5563;
}

.category-overview-grid {
  display: grid;
  gap: 24px;
}

.category-overview-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1fr);
}

.category-overview-card__media {
  grid-template-columns: repeat(5, 1fr);
  min-height: 230px;
}

.category-overview-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.toolbar {
  display: grid;
  gap: 16px;
  margin-bottom: 26px;
  padding: 18px;
  border: 1px solid rgba(240, 108, 37, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.05);
}

.toolbar--page {
  margin-top: -12px;
}

.search-box {
  display: grid;
  gap: 8px;
  color: #4b5563;
  font-weight: 800;
}

.search-box input {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid rgba(240, 108, 37, 0.18);
  border-radius: 16px;
  color: var(--color-ink);
  outline: none;
  background: #fff;
}

.search-box input:focus {
  border-color: var(--color-frosting);
  box-shadow: 0 0 0 4px rgba(240, 108, 37, 0.10);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-chip {
  min-height: 38px;
  padding: 7px 14px;
  border: 1px solid rgba(240, 108, 37, 0.15);
  border-radius: 999px;
  color: #4b5563;
  background: #fff;
  font-weight: 800;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-chip:hover,
.filter-chip.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(90deg, var(--color-frosting), var(--color-dawn));
}

.empty-state {
  display: none;
  padding: 22px;
  border-radius: var(--radius-md);
  color: #6b3e22;
  background: #ffedd5;
  font-weight: 800;
  text-align: center;
}

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

.page-hero,
.detail-hero {
  position: relative;
  padding: 68px 0 52px;
  background: linear-gradient(135deg, #fdf0e6, #fffaf5 52%, #fed7aa);
  overflow: hidden;
}

.page-hero::before,
.detail-hero::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -120px;
  top: -160px;
  border-radius: 999px;
  background: rgba(240, 108, 37, 0.16);
  filter: blur(20px);
}

.page-hero .container,
.detail-hero .container {
  position: relative;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 20px;
  color: #6b7280;
  font-size: 14px;
  font-weight: 800;
}

.breadcrumb a {
  color: var(--color-frosting-dark);
}

.breadcrumb span::before {
  content: "/";
  margin-right: 8px;
  color: #c07a4a;
}

.page-hero h1,
.detail-info h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.page-hero p {
  max-width: 780px;
  margin: 0;
  color: #4b5563;
  font-size: 18px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(280px, 410px) minmax(0, 1fr);
  gap: 38px;
  align-items: center;
}

.detail-cover {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: #111827;
}

.detail-cover img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.detail-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  color: #92400e;
  background: rgba(255, 237, 213, 0.88);
  font-weight: 900;
}

.detail-one-line {
  margin: 0 0 24px;
  color: #4b5563;
  font-size: 19px;
}

.detail-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}

.detail-meta div {
  padding: 12px;
  border: 1px solid rgba(240, 108, 37, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.70);
}

.detail-meta dt {
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 800;
}

.detail-meta dd {
  margin: 4px 0 0;
  color: var(--color-ink);
  font-weight: 900;
}

.detail-tags {
  margin-bottom: 24px;
}

.player-section {
  padding-bottom: 36px;
}

.player-card {
  overflow: hidden;
  border: 1px solid rgba(240, 108, 37, 0.14);
  border-radius: 28px;
  background: #111827;
  box-shadow: 0 24px 70px rgba(17, 24, 39, 0.24);
}

.player-card__head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 18px 22px;
  color: #fff;
  background: linear-gradient(90deg, rgba(240, 108, 37, 0.72), rgba(249, 115, 22, 0.40));
}

.player-card__head h2 {
  margin: 0;
  font-size: 20px;
}

.player-card__head span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 800;
}

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

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: #fff;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.68));
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.player-overlay__icon {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  padding-left: 5px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--color-frosting), var(--color-dawn));
  box-shadow: 0 16px 38px rgba(240, 108, 37, 0.40);
  font-size: 30px;
}

.player-overlay__text {
  font-size: 18px;
  font-weight: 900;
}

.detail-content {
  padding-top: 0;
}

.content-panel {
  padding: 32px;
  border: 1px solid rgba(240, 108, 37, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-card);
}

.content-panel h2 {
  margin: 0 0 14px;
  font-size: 26px;
}

.content-panel h2:not(:first-child) {
  margin-top: 30px;
}

.content-panel p {
  margin: 0 0 14px;
  color: #374151;
  font-size: 17px;
}

.site-footer {
  border-top: 1px solid rgba(240, 108, 37, 0.12);
  background: linear-gradient(180deg, #fffaf5, #fef8f3);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.8fr));
  gap: 34px;
  padding: 54px 0;
}

.footer-brand p,
.site-footer p,
.site-footer li {
  color: #5f6673;
}

.site-footer h3 {
  margin: 0 0 14px;
  font-size: 16px;
}

.site-footer ul {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-footer a:hover {
  color: var(--color-frosting-dark);
}

.footer-bottom {
  padding: 18px 16px;
  border-top: 1px solid rgba(240, 108, 37, 0.10);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 14px;
}

@media (max-width: 1024px) {
  .hero__inner,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .hero__copy {
    max-width: 780px;
    text-align: center;
    margin-inline: auto;
  }

  .hero-actions,
  .hero-quick-links {
    justify-content: center;
  }

  .hero-slider {
    max-width: 560px;
    margin-inline: auto;
  }

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

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

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

@media (max-width: 760px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu-button {
    display: block;
  }

  .site-header__inner {
    min-height: 66px;
  }

  main {
    padding-top: 66px;
  }

  .hero {
    min-height: auto;
  }

  .hero__inner {
    padding: 46px 0 56px;
    gap: 36px;
  }

  .hero-slider {
    min-height: 410px;
    border-radius: 24px;
  }

  .hero-slide__content {
    padding: 24px;
  }

  .section {
    padding: 48px 0;
  }

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

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

  .movie-card__body {
    padding: 14px;
  }

  .movie-card h3 {
    font-size: 17px;
  }

  .movie-card p {
    min-height: 0;
  }

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

  .category-overview-card__media {
    min-height: auto;
  }

  .page-hero,
  .detail-hero {
    padding: 44px 0 36px;
  }

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

  .content-panel {
    padding: 22px;
  }

  .player-card__head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .container,
  .site-header__inner {
    width: min(100% - 24px, var(--container));
  }

  .site-logo__text strong {
    font-size: 17px;
  }

  .site-logo__mark {
    width: 36px;
    height: 36px;
  }

  .movie-grid,
  .movie-grid--featured,
  .movie-grid--compact {
    grid-template-columns: 1fr;
  }

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

  .hero-actions,
  .detail-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .player-overlay__icon {
    width: 62px;
    height: 62px;
  }
}
