:root {
  --rose-50: #fff1f2;
  --rose-100: #ffe4e6;
  --rose-500: #f43f5e;
  --rose-600: #e11d48;
  --rose-700: #be123c;
  --pink-500: #ec4899;
  --orange-100: #ffedd5;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow-sm: 0 8px 24px rgba(17, 24, 39, 0.08);
  --shadow-md: 0 18px 50px rgba(225, 29, 72, 0.16);
  --shadow-lg: 0 28px 80px rgba(17, 24, 39, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--gray-900);
  background: linear-gradient(180deg, #ffffff 0%, var(--rose-50) 100%);
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(244, 63, 94, 0.12);
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
}

.site-nav {
  width: min(1180px, calc(100% - 32px));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--rose-600);
  font-weight: 800;
}

.brand-text {
  font-size: clamp(18px, 2.4vw, 25px);
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--rose-600), var(--pink-500));
  box-shadow: 0 14px 30px rgba(225, 29, 72, 0.3);
  flex: 0 0 auto;
}

.brand-mark span {
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid #ffffff;
}

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

.nav-link,
.mobile-link {
  color: var(--gray-700);
  font-weight: 650;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link {
  padding: 10px 16px;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
  color: var(--rose-600);
  background: var(--rose-50);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: var(--rose-50);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--rose-600);
  border-radius: 4px;
}

.mobile-menu {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 14px;
  padding: 8px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.mobile-menu.is-open {
  display: grid;
  gap: 6px;
}

.mobile-link {
  padding: 12px 16px;
}

.hero-shell {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fff1f2 0%, #fdf2f8 46%, #fffbeb 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.48;
  background-image: radial-gradient(circle at 18px 18px, rgba(244, 63, 94, 0.16) 0, rgba(244, 63, 94, 0.16) 3px, transparent 4px);
  background-size: 64px 64px;
}

.hero-slider {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  min-height: 620px;
  margin: 0 auto;
  padding: 76px 0 70px;
}

.hero-slide {
  display: none;
  align-items: center;
  gap: 56px;
  min-height: 500px;
}

.hero-slide.is-active {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.82fr);
  animation: fadeUp 0.55s ease both;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--rose-600);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(244, 63, 94, 0.12);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 750;
}

.hero-content h1 {
  margin: 22px 0 10px;
  font-size: clamp(34px, 5.4vw, 66px);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.hero-content h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 4.5vw, 54px);
  line-height: 1.08;
  color: transparent;
  background: linear-gradient(90deg, var(--rose-600), var(--pink-500));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-content p,
.page-hero p,
.section-heading p {
  color: var(--gray-600);
  font-size: 18px;
  line-height: 1.85;
}

.hero-content p {
  max-width: 720px;
  margin: 0 0 20px;
}

.hero-tags,
.tag-list,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags span,
.tag-list span,
.detail-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  color: var(--rose-700);
  background: #fff5f7;
  border: 1px solid rgba(244, 63, 94, 0.14);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  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: #ffffff;
  background: linear-gradient(90deg, var(--rose-600), var(--pink-500));
  box-shadow: 0 18px 42px rgba(225, 29, 72, 0.28);
}

.btn-light,
.btn-soft {
  color: var(--rose-600);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.btn-soft {
  background: var(--rose-50);
  box-shadow: none;
}

.hero-media {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  max-width: 420px;
  justify-self: end;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(2deg);
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0) 42%, rgba(17, 24, 39, 0.45) 100%);
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.hero-media:hover img {
  transform: scale(1.06);
}

.hero-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
}

.hero-prev,
.hero-next,
.hero-dot {
  border: 0;
  cursor: pointer;
}

.hero-prev,
.hero-next {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--rose-600);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  font-size: 30px;
  line-height: 1;
}

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

.hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 999px;
  background: rgba(225, 29, 72, 0.22);
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
  width: 30px;
  background: var(--rose-600);
}

.section {
  padding: 70px 0;
}

.section-white {
  background: #ffffff;
}

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

.section-heading h2,
.page-hero h1,
.detail-copy h1 {
  margin: 12px 0 10px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.section-heading p {
  max-width: 720px;
  margin: 0;
}

.text-link {
  color: var(--rose-600);
  font-weight: 800;
  white-space: nowrap;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card,
.category-tile,
.content-card,
.category-overview-card {
  background: linear-gradient(135deg, #ffffff 0%, var(--rose-50) 100%);
  border: 1px solid rgba(244, 63, 94, 0.12);
  border-radius: 26px;
  box-shadow: var(--shadow-sm);
}

.feature-card {
  padding: 34px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover,
.category-tile:hover,
.movie-card:hover,
.category-overview-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--rose-600), var(--pink-500));
}

.feature-card h2,
.category-tile span,
.content-card h2,
.side-recommend h2,
.category-overview-card h2 {
  margin: 0 0 10px;
  font-size: 21px;
}

.feature-card p,
.category-tile p,
.content-card p,
.category-overview-card p {
  margin: 0;
  color: var(--gray-600);
  line-height: 1.8;
}

.search-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(4, minmax(140px, 0.8fr)) auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 28px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(244, 63, 94, 0.12);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.search-panel label {
  display: grid;
  gap: 7px;
  color: var(--gray-600);
  font-size: 13px;
  font-weight: 750;
}

.search-panel input,
.search-panel select {
  width: 100%;
  height: 44px;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 0 12px;
  color: var(--gray-900);
  background: #ffffff;
  outline: none;
}

.search-panel input:focus,
.search-panel select:focus {
  border-color: var(--rose-500);
  box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.1);
}

.catalog-reset {
  height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 14px;
  color: var(--rose-600);
  background: var(--rose-50);
  font-weight: 800;
  cursor: pointer;
}

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

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

.movie-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(244, 63, 94, 0.1);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.movie-poster {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--gray-100);
}

.movie-card-wide .movie-poster {
  aspect-ratio: 16 / 10;
}

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

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

.poster-hover {
  position: absolute;
  inset: auto 14px 14px;
  display: grid;
  place-items: center;
  height: 38px;
  color: #ffffff;
  background: linear-gradient(90deg, var(--rose-600), var(--pink-500));
  border-radius: 999px;
  font-weight: 800;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.movie-card:hover .poster-hover {
  opacity: 1;
  transform: translateY(0);
}

.movie-card-body {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.movie-title {
  min-height: 42px;
  color: var(--gray-900);
  font-size: 15px;
  line-height: 1.4;
  font-weight: 800;
}

.movie-title:hover {
  color: var(--rose-600);
}

.movie-desc {
  display: -webkit-box;
  min-height: 44px;
  margin: 0;
  overflow: hidden;
  color: var(--gray-600);
  font-size: 13px;
  line-height: 1.7;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-meta {
  color: var(--gray-500);
  font-size: 12px;
  font-weight: 700;
}

.tag-list {
  gap: 6px;
}

.tag-list span {
  min-height: 24px;
  padding: 3px 8px;
  font-size: 11px;
}

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

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

.category-tile {
  padding: 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tile span {
  display: block;
  color: var(--gray-900);
  font-weight: 850;
}

.page-hero,
.detail-hero {
  background: linear-gradient(135deg, var(--rose-50) 0%, #ffffff 54%, #fdf2f8 100%);
  padding: 72px 0;
}

.page-hero-compact {
  padding: 50px 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--gray-500);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--rose-600);
  font-weight: 750;
}

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

.inline-links a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--rose-700);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  font-weight: 700;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  padding: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-cover-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.category-cover-stack img {
  aspect-ratio: 2 / 3;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  background: var(--gray-100);
}

.category-samples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 20px;
}

.category-samples a {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--gray-700);
  background: #ffffff;
  border: 1px solid var(--gray-200);
  font-size: 13px;
}

.ranking-hero {
  background: radial-gradient(circle at 20% 10%, rgba(244, 63, 94, 0.18), transparent 32%), linear-gradient(135deg, #111827 0%, #4c0519 100%);
  color: #ffffff;
}

.ranking-hero p,
.ranking-hero .section-kicker {
  color: #fff1f2;
}

.ranking-hero .section-kicker {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}

.ranking-leads {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.ranking-lead-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
}

.ranking-lead-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 34%, rgba(17, 24, 39, 0.78));
}

.ranking-lead-card img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.ranking-lead-card span,
.ranking-lead-card strong,
.ranking-lead-card em {
  position: absolute;
  z-index: 2;
}

.ranking-lead-card span {
  top: 12px;
  left: 12px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: var(--rose-600);
  border-radius: 12px;
  font-weight: 900;
}

.ranking-lead-card strong {
  left: 14px;
  right: 14px;
  bottom: 44px;
  color: #ffffff;
  line-height: 1.35;
}

.ranking-lead-card em {
  left: 14px;
  right: 14px;
  bottom: 18px;
  color: #fecdd3;
  font-size: 12px;
  font-style: normal;
}

.rank-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  min-width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: var(--rose-600);
  border-radius: 12px;
  font-weight: 900;
}

.detail-hero-inner {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.detail-poster {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
  background: var(--gray-100);
}

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

.detail-poster span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  place-items: center;
  height: 46px;
  color: #ffffff;
  background: linear-gradient(90deg, var(--rose-600), var(--pink-500));
  border-radius: 999px;
  font-weight: 900;
}

.detail-one-line {
  margin: 0 0 20px;
  color: var(--gray-600);
  font-size: 19px;
  line-height: 1.85;
}

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

.detail-meta-grid span {
  display: grid;
  gap: 5px;
  padding: 14px;
  color: var(--gray-700);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(244, 63, 94, 0.12);
  border-radius: 18px;
}

.detail-meta-grid strong {
  color: var(--rose-600);
  font-size: 12px;
}

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

.player-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
}

.player-box {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 28px;
  background: #08090d;
  box-shadow: var(--shadow-lg);
}

.movie-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  border: 0;
  color: #ffffff;
  background: radial-gradient(circle, rgba(225, 29, 72, 0.2) 0%, rgba(17, 24, 39, 0.72) 62%);
  cursor: pointer;
}

.player-box.is-playing .player-overlay {
  display: none;
}

.play-icon {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--rose-600), var(--pink-500));
  box-shadow: 0 24px 50px rgba(225, 29, 72, 0.45);
}

.play-icon::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 6px;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 24px solid #ffffff;
}

.player-overlay strong {
  font-size: 20px;
}

.side-recommend {
  padding: 22px;
  background: #ffffff;
  border: 1px solid rgba(244, 63, 94, 0.1);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.compact-list {
  display: grid;
  gap: 12px;
}

.compact-card {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  color: var(--gray-900);
  font-weight: 800;
}

.compact-card img {
  height: 94px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--gray-100);
  transition: transform 0.25s ease;
}

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

.content-card {
  padding: 28px;
}

.detail-tags-large span {
  font-size: 14px;
  min-height: 34px;
  padding: 5px 14px;
}

.empty-state {
  display: none;
  margin-top: 20px;
  padding: 34px;
  text-align: center;
  color: var(--gray-600);
  background: #ffffff;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}

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

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-footer {
  background: linear-gradient(180deg, #ffffff 0%, var(--rose-50) 100%);
  border-top: 1px solid rgba(244, 63, 94, 0.12);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 34px;
  padding: 48px 0 32px;
}

.footer-inner p {
  color: var(--gray-600);
  line-height: 1.8;
}

.footer-inner h2 {
  margin: 0 0 14px;
  font-size: 18px;
}

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

.footer-links a {
  color: var(--gray-600);
  font-weight: 650;
}

.footer-links a:hover {
  color: var(--rose-600);
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 30px;
  color: var(--gray-500);
  border-top: 1px solid rgba(244, 63, 94, 0.12);
  font-size: 14px;
}

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

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

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

  .ranking-leads {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

  .menu-toggle {
    display: block;
  }

  .hero-slider {
    min-height: 0;
    padding: 48px 0 54px;
  }

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

  .hero-media {
    justify-self: start;
    max-width: 300px;
  }

  .section-heading {
    display: grid;
    gap: 12px;
  }

  .feature-grid,
  .footer-inner,
  .detail-hero-inner,
  .player-layout,
  .category-overview-card {
    grid-template-columns: 1fr;
  }

  .detail-poster {
    max-width: 280px;
  }

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

  .category-cover-stack {
    max-width: 240px;
  }
}

@media (max-width: 640px) {
  .container,
  .site-nav,
  .mobile-menu,
  .footer-inner,
  .footer-bottom {
    width: min(100% - 22px, 1180px);
  }

  .brand-text {
    font-size: 18px;
  }

  .hero-content h1 {
    font-size: 34px;
  }

  .hero-content h2,
  .section-heading h2,
  .page-hero h1,
  .detail-copy h1 {
    font-size: 28px;
  }

  .hero-content p,
  .page-hero p,
  .section-heading p,
  .detail-one-line {
    font-size: 16px;
  }

  .section,
  .page-hero,
  .detail-hero {
    padding: 46px 0;
  }

  .movie-grid,
  .catalog-grid,
  .wide-grid,
  .category-grid,
  .ranking-leads {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .search-panel {
    grid-template-columns: 1fr;
    padding: 14px;
  }

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

  .movie-title {
    font-size: 14px;
  }

  .movie-desc {
    font-size: 12px;
  }

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

  .player-box {
    border-radius: 18px;
  }

  .play-icon {
    width: 64px;
    height: 64px;
  }
}
