:root {
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --yellow-100: #fef9c3;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow-md: 0 12px 30px rgba(17, 24, 39, 0.10);
  --shadow-xl: 0 22px 55px rgba(17, 24, 39, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gray-900);
  background: linear-gradient(135deg, var(--amber-50), #fff7ed 45%, var(--yellow-100));
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

img {
  display: block;
  max-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: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 20px;
}

.brand,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-icon,
.footer-logo span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: white;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.32);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 21px;
  font-weight: 800;
  background: linear-gradient(90deg, var(--amber-600), var(--orange-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-text em {
  color: var(--gray-500);
  font-style: normal;
  font-size: 12px;
}

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

.nav-link {
  padding: 10px 16px;
  border-radius: 12px;
  color: var(--gray-700);
  font-weight: 600;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: white;
  background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
  transform: translateY(-1px);
}

.watch-link,
.mobile-watch {
  padding: 10px 18px;
  color: white;
  font-weight: 700;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.24);
}

.menu-toggle {
  display: none;
  border: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: var(--gray-700);
  background: var(--amber-50);
  cursor: pointer;
}

.mobile-panel {
  display: none;
  padding: 0 16px 18px;
  border-top: 1px solid var(--gray-100);
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 42px 0 58px;
  background: radial-gradient(circle at 20% 20%, rgba(245, 158, 11, 0.24), transparent 32%), linear-gradient(135deg, var(--amber-100), #ffedd5 46%, #fef3c7);
}

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

.hero-glow-one {
  left: -140px;
  top: -120px;
  background: rgba(249, 115, 22, 0.38);
}

.hero-glow-two {
  right: -120px;
  bottom: -130px;
  background: rgba(217, 119, 6, 0.28);
}

.hero-shell {
  position: relative;
  z-index: 1;
}

.hero-stage {
  position: relative;
  min-height: 520px;
  border-radius: 34px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 30px;
  padding: 58px;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
}

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

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

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 7px 14px;
  border-radius: 999px;
  color: var(--amber-600);
  background: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-copy p {
  margin: 0 0 22px;
  color: var(--gray-700);
  font-size: clamp(17px, 2vw, 21px);
}

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

.hero-tags a,
.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--amber-700, #b45309);
  background: rgba(254, 243, 199, 0.88);
  font-size: 12px;
  font-weight: 700;
}

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

.primary-btn,
.ghost-btn,
.section-link,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 800;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.primary-btn {
  color: white;
  background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
  box-shadow: 0 18px 35px rgba(249, 115, 22, 0.27);
}

.ghost-btn {
  color: var(--amber-600);
  background: white;
  border: 2px solid var(--amber-200);
}

.primary-btn:hover,
.ghost-btn:hover,
.section-link:hover,
.text-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.hero-visual {
  position: relative;
  display: block;
  height: min(440px, 58vw);
  min-height: 320px;
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--amber-200), var(--orange-500));
  box-shadow: 0 24px 60px rgba(17, 24, 39, 0.22);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

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

.hero-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.42));
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  color: var(--gray-900);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-md);
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 32px;
  line-height: 1;
}

.hero-prev {
  left: 18px;
}

.hero-next {
  right: 18px;
}

.hero-controls {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 18px;
}

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

.hero-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(217, 119, 6, 0.28);
  cursor: pointer;
}

.hero-dot.is-active {
  width: 32px;
  background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
}

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

.hero-thumb {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  border: 0;
  border-radius: 18px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.62);
  cursor: pointer;
  text-align: left;
  box-shadow: 0 10px 20px rgba(17, 24, 39, 0.08);
}

.hero-thumb.is-active {
  background: white;
  outline: 2px solid rgba(245, 158, 11, 0.5);
}

.hero-thumb img {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  object-fit: cover;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--amber-200), var(--orange-500));
}

.hero-thumb span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--gray-800);
  font-size: 13px;
  font-weight: 800;
}

.hero-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  max-width: 720px;
  margin: 26px auto 0;
  padding: 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-md);
}

.hero-search input,
.search-box input,
.filter-select {
  width: 100%;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  outline: none;
  color: var(--gray-800);
  background: white;
}

.hero-search input {
  padding: 0 18px;
  min-height: 48px;
}

.hero-search button {
  border: 0;
  border-radius: 14px;
  color: white;
  background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
  font-weight: 800;
  padding: 0 26px;
  cursor: pointer;
}

.section {
  padding: 68px 0;
}

.white-section {
  background: white;
}

.soft-section {
  background: linear-gradient(135deg, var(--gray-50), var(--amber-50));
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading.centered {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
}

.section-heading.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.section-heading h2,
.page-hero h1,
.detail-copy h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.section-heading p,
.page-hero p,
.catalog-body p,
.content-card p {
  color: var(--gray-600);
}

.section-link,
.text-link {
  color: var(--amber-600);
  background: white;
  border: 1px solid var(--amber-200);
}

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

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

.movie-card {
  overflow: hidden;
  border-radius: 24px;
  background: white;
  box-shadow: var(--shadow-md);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

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

.poster-wrap {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, var(--amber-200), var(--orange-500));
}

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

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

.play-badge,
.score-badge,
.rank-crown {
  position: absolute;
  display: inline-grid;
  place-items: center;
  color: white;
  font-weight: 900;
}

.play-badge {
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.82);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.score-badge {
  right: 12px;
  top: 12px;
  min-width: 44px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--amber-500);
}

.rank-crown {
  left: 12px;
  top: 12px;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
}

.movie-body {
  padding: 18px;
}

.movie-title {
  display: block;
  overflow: hidden;
  color: var(--gray-900);
  font-weight: 900;
  font-size: 18px;
  line-height: 1.3;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: color 0.25s ease;
}

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

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

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  color: var(--gray-500);
  font-size: 13px;
}

.meta-row span:not(:last-child)::after {
  content: "·";
  margin-left: 8px;
}

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

.category-card {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--amber-200), var(--orange-500));
  box-shadow: var(--shadow-md);
}

.category-cover,
.category-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.category-cover img {
  object-fit: cover;
  opacity: 0.82;
  transition: transform 0.55s ease;
}

.category-card:hover .category-cover img {
  transform: scale(1.08);
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.78));
}

.category-content {
  position: relative;
  z-index: 1;
  padding: 18px;
  color: white;
}

.category-content strong {
  display: block;
  margin-bottom: 6px;
  font-size: 20px;
}

.category-content em {
  display: -webkit-box;
  overflow: hidden;
  font-style: normal;
  font-size: 13px;
  opacity: 0.9;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.two-column-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: start;
}

.rank-panel {
  position: sticky;
  top: 92px;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--gray-900), var(--gray-800));
  color: white;
  box-shadow: var(--shadow-xl);
}

.rank-head {
  padding: 24px 24px 10px;
}

.rank-head span {
  color: var(--amber-200);
  font-weight: 800;
}

.rank-head h2 {
  margin: 4px 0 10px;
  font-size: 26px;
}

.rank-head a {
  color: var(--amber-200);
  font-weight: 700;
}

.rank-list {
  padding: 12px;
}

.rank-row {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 10px 12px;
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.88);
  transition: background 0.25s ease;
}

.rank-row:hover {
  background: rgba(255, 255, 255, 0.1);
}

.rank-num {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
  color: white;
  font-weight: 900;
}

.rank-title {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 800;
}

.rank-meta {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.page-hero {
  padding: 74px 0;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
  color: white;
}

.page-hero .section-kicker {
  color: white;
  background: rgba(255, 255, 255, 0.18);
}

.page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.breadcrumb a:hover {
  color: white;
}

.catalog-grid {
  display: grid;
  gap: 22px;
}

.catalog-card {
  display: grid;
  grid-template-columns: 270px 1fr;
  overflow: hidden;
  border-radius: 28px;
  background: white;
  box-shadow: var(--shadow-md);
}

.catalog-cover {
  min-height: 270px;
  background: linear-gradient(135deg, var(--amber-200), var(--orange-500));
}

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

.catalog-body {
  padding: 24px;
}

.catalog-title {
  font-size: 26px;
  font-weight: 900;
}

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

.mini-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 8px;
  border-radius: 16px;
  background: var(--gray-50);
  transition: background 0.25s ease;
}

.mini-card:hover {
  background: var(--amber-50);
}

.mini-poster {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--amber-200), var(--orange-500));
}

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

.mini-info {
  min-width: 0;
}

.mini-info strong,
.mini-info em {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mini-info strong {
  color: var(--gray-900);
  font-size: 14px;
}

.mini-info em {
  color: var(--gray-500);
  font-size: 12px;
  font-style: normal;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin-bottom: 28px;
  padding: 14px;
  border-radius: 22px;
  background: white;
  box-shadow: var(--shadow-md);
}

.search-box {
  position: relative;
}

.search-box span {
  position: absolute;
  left: 16px;
  top: 50%;
  color: var(--amber-600);
  transform: translateY(-50%);
}

.search-box input {
  min-height: 48px;
  padding: 0 16px 0 42px;
}

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

.filter-select {
  min-height: 48px;
  padding: 0 36px 0 14px;
  color: var(--gray-700);
}

.filter-hidden {
  display: none !important;
}

.detail-hero {
  padding: 52px 0 64px;
  color: white;
  background: radial-gradient(circle at 78% 12%, rgba(245, 158, 11, 0.35), transparent 34%), linear-gradient(135deg, var(--gray-900), var(--gray-800));
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(260px, 340px) 1fr;
  gap: 40px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--amber-200), var(--orange-500));
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.32);
}

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

.detail-copy .eyebrow {
  color: var(--amber-200);
  background: rgba(255, 255, 255, 0.12);
}

.detail-copy h1 {
  margin-bottom: 20px;
  font-size: clamp(38px, 6vw, 66px);
}

.lead-text {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
}

.player-section {
  padding-top: 0;
  margin-top: -48px;
  background: linear-gradient(180deg, transparent, white 48px);
}

.player-card {
  overflow: hidden;
  border-radius: 30px;
  background: var(--gray-900);
  box-shadow: var(--shadow-xl);
}

.video-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  background: black;
}

.video-shell video {
  width: 100%;
  height: 100%;
  display: block;
  background: black;
}

.player-layer {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 14px;
  border: 0;
  color: white;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.62));
  cursor: pointer;
  text-align: center;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-circle {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
  box-shadow: 0 18px 45px rgba(249, 115, 22, 0.35);
  font-size: 30px;
}

.player-layer strong {
  max-width: 86%;
  font-size: clamp(20px, 3vw, 34px);
}

.detail-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.content-card {
  padding: 28px;
  border-radius: 24px;
  background: white;
  box-shadow: var(--shadow-md);
}

.content-card h2 {
  margin: 0 0 12px;
  font-size: 26px;
}

.content-card p {
  margin: 0;
  font-size: 17px;
}

.meta-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

.meta-card div {
  padding: 14px;
  border-radius: 16px;
  background: var(--gray-50);
}

.meta-card dt {
  color: var(--gray-500);
  font-size: 13px;
}

.meta-card dd {
  margin: 4px 0 0;
  color: var(--gray-900);
  font-weight: 800;
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: linear-gradient(135deg, var(--gray-900), var(--gray-800));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 34px;
  padding: 46px 0;
}

.footer-brand p {
  max-width: 440px;
  color: rgba(255, 255, 255, 0.68);
}

.footer-logo strong {
  color: white;
  font-size: 20px;
}

.footer-column {
  display: grid;
  gap: 8px;
  align-content: start;
}

.footer-column h2 {
  margin: 0 0 8px;
  color: white;
  font-size: 18px;
}

.footer-column a:hover {
  color: var(--amber-200);
}

.footer-bottom {
  padding: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.56);
}

@media (max-width: 1024px) {
  .hero-slide,
  .detail-grid,
  .catalog-card,
  .two-column-section {
    grid-template-columns: 1fr;
  }

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

  .hero-slide {
    align-content: center;
    padding: 38px;
  }

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

  .rank-panel {
    position: static;
  }

  .filter-panel {
    grid-template-columns: 1fr;
  }
}

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

  .menu-toggle {
    display: grid;
    place-items: center;
  }

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

  .mobile-panel .nav-link,
  .mobile-watch {
    display: block;
    text-align: center;
  }

  .hero-section {
    padding-top: 22px;
  }

  .hero-stage {
    min-height: 760px;
    border-radius: 24px;
  }

  .hero-slide {
    padding: 26px;
  }

  .hero-visual {
    min-height: 260px;
  }

  .hero-controls,
  .hero-search,
  .section-heading.split,
  .footer-grid,
  .meta-card dl {
    grid-template-columns: 1fr;
  }

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

  .hero-thumb:nth-child(n + 4) {
    display: none;
  }

  .movie-grid,
  .compact-grid,
  .listing-grid,
  .category-grid,
  .mini-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .movie-body {
    padding: 14px;
  }

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

  .catalog-cover {
    min-height: 220px;
  }

  .detail-grid {
    gap: 24px;
  }

  .detail-poster {
    max-width: 320px;
    margin: 0 auto;
  }

  .filter-selects {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 22px, 1180px);
  }

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

  .brand-text em {
    display: none;
  }

  .hero-copy h1,
  .detail-copy h1 {
    font-size: 34px;
  }

  .hero-stage {
    min-height: 700px;
  }

  .movie-grid,
  .compact-grid,
  .listing-grid,
  .category-grid,
  .mini-list {
    grid-template-columns: 1fr;
  }

  .rank-row {
    grid-template-columns: 38px 1fr;
  }

  .rank-meta {
    grid-column: 2;
  }
}
