* {
  box-sizing: border-box;
}

:root {
  --blue-900: #0f2d67;
  --blue-800: #1e3a8a;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --cyan-600: #0891b2;
  --cyan-400: #22d3ee;
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-100: #f1f5f9;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-600: #4b5563;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
  --radius: 18px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gray-900);
  background: var(--gray-50);
  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,
video {
  display: block;
  max-width: 100%;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: var(--white);
  background: linear-gradient(90deg, var(--blue-600), var(--blue-700), var(--cyan-600));
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.28);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 68px;
}

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

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--blue-600);
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.2);
  transition: transform 0.2s ease;
}

.logo-mark.small {
  width: 32px;
  height: 32px;
  color: var(--white);
  background: var(--blue-600);
}

.site-logo:hover .logo-mark {
  transform: scale(1.08);
}

.logo-text {
  font-size: 1.2rem;
  white-space: nowrap;
}

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

.nav-link {
  padding: 10px 14px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.9);
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
}

.header-search,
.mobile-search,
.search-page-form {
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

.header-search input,
.mobile-search input,
.search-page-form input {
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--white);
  background: transparent;
  padding: 10px 14px;
}

.header-search input::placeholder,
.mobile-search input::placeholder,
.search-page-form input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.header-search button,
.mobile-search button,
.search-page-form button {
  border: 0;
  color: var(--blue-700);
  background: var(--white);
  padding: 10px 16px;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
  border-radius: 2px;
}

.mobile-panel {
  display: none;
  padding: 0 16px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.mobile-panel.open {
  display: block;
}

.mobile-search {
  margin: 16px auto;
  max-width: 560px;
}

.mobile-search input {
  flex: 1;
}

.mobile-nav {
  display: grid;
  gap: 8px;
  max-width: 560px;
  margin: 0 auto;
}

.mobile-link {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
}

.hero-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: radial-gradient(circle at 78% 20%, rgba(34, 211, 238, 0.28), transparent 32%), linear-gradient(135deg, #0a1e49 0%, #1e3a8a 52%, #164e63 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 58px 58px;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 560px);
  gap: 56px;
  align-items: center;
  padding: 76px 0 88px;
}

.eyebrow {
  display: inline-flex;
  padding: 8px 14px;
  color: #dff9ff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
}

.hero-copy h1 {
  margin: 22px 0 18px;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.hero-copy h1 span {
  display: block;
  color: var(--cyan-400);
}

.hero-desc {
  max-width: 680px;
  margin: 0 0 28px;
  color: #dbeafe;
  font-size: clamp(1rem, 2vw, 1.25rem);
}

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

.hero-tags {
  margin-top: 22px;
}

.hero-tags a {
  padding: 8px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 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) scale(1.02);
}

.btn-light {
  color: var(--blue-900);
  background: var(--white);
  box-shadow: 0 15px 28px rgba(15, 23, 42, 0.18);
}

.btn-ghost {
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.hero-stage {
  position: relative;
  min-height: 360px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  border-radius: 28px;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.32);
  transform: translateY(18px) scale(0.98);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

.hero-slide img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  background: linear-gradient(135deg, #1d4ed8, #06b6d4);
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.7), transparent 62%);
}

.hero-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 82px;
  color: var(--blue-600);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.hero-caption {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  z-index: 2;
  display: grid;
  gap: 8px;
}

.hero-caption strong {
  font-size: 1.45rem;
}

.hero-caption em,
.hero-caption small {
  color: rgba(255, 255, 255, 0.86);
  font-style: normal;
}

.hero-dots {
  position: absolute;
  right: 22px;
  bottom: -34px;
  left: 22px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.hero-dot {
  width: 34px;
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.active {
  width: 54px;
  background: var(--white);
}

.section {
  padding: 62px 0;
}

.white-section {
  background: var(--white);
}

.soft-section {
  background: linear-gradient(135deg, #f8fafc, #eff6ff);
}

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.2;
}

.section-heading a {
  color: var(--blue-600);
  font-weight: 800;
}

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

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

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

.movie-card {
  min-width: 0;
}

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(135deg, #dbeafe, #cffafe);
  box-shadow: 0 12px 25px rgba(15, 23, 42, 0.13);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.poster-link img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.movie-card:hover .poster-link {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow);
}

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

.year-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 4px 8px;
  color: var(--white);
  background: #dc2626;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 800;
}

.play-mask {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.05));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.play-mask span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.movie-card:hover .play-mask {
  opacity: 1;
}

.movie-card h3 {
  margin: 12px 0 4px;
  color: var(--gray-900);
  font-size: 0.98rem;
  line-height: 1.35;
}

.movie-card h3 a {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-card:hover h3 a {
  color: var(--blue-600);
}

.movie-card p {
  margin: 0;
  color: var(--gray-600);
  font-size: 0.86rem;
}

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

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

.category-tile {
  display: grid;
  gap: 10px;
  min-height: 188px;
  padding: 24px;
  overflow: hidden;
  position: relative;
  color: var(--white);
  border-radius: 20px;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tile::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  right: -36px;
  bottom: -36px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.category-tile:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow);
}

.category-icon {
  font-size: 2.4rem;
}

.category-tile strong {
  font-size: 1.25rem;
}

.category-tile p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.category-samples {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.category-samples span {
  padding: 3px 8px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 0.78rem;
}

.cat-red {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
}

.cat-blue {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.cat-purple {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}

.cat-slate {
  background: linear-gradient(135deg, #334155, #020617);
}

.cat-orange {
  background: linear-gradient(135deg, #f97316, #c2410c);
}

.cat-pink {
  background: linear-gradient(135deg, #ec4899, #be185d);
}

.cat-green {
  background: linear-gradient(135deg, #22c55e, #15803d);
}

.cat-cyan {
  background: linear-gradient(135deg, #06b6d4, #0e7490);
}

.cat-teal {
  background: linear-gradient(135deg, #14b8a6, #0f766e);
}

.cat-indigo {
  background: linear-gradient(135deg, #6366f1, #4338ca);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 36px;
  align-items: start;
}

.rank-panel,
.side-panel,
.poster-panel,
.prose-card,
.player-card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.1);
}

.rank-panel {
  padding: 24px;
}

.rank-panel h2,
.side-panel h2 {
  margin: 0 0 18px;
}

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

.rank-list.tall {
  max-height: 920px;
  overflow: auto;
  padding-right: 4px;
}

.rank-item {
  display: grid;
  grid-template-columns: 42px 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 14px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.rank-item:hover {
  background: var(--gray-100);
  transform: translateX(2px);
}

.rank-num {
  color: var(--blue-600);
  font-weight: 900;
  font-size: 1.15rem;
}

.rank-item.top .rank-num {
  color: #dc2626;
}

.rank-item img {
  width: 58px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 10px;
  background: linear-gradient(135deg, #dbeafe, #cffafe);
}

.rank-info {
  display: grid;
  min-width: 0;
}

.rank-info strong {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-info em {
  overflow: hidden;
  color: var(--gray-600);
  font-size: 0.82rem;
  font-style: normal;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.cta-section {
  color: var(--white);
  background: linear-gradient(90deg, var(--blue-600), var(--cyan-600));
}

.cta-inner {
  text-align: center;
}

.cta-inner h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.cta-inner p {
  max-width: 720px;
  margin: 0 auto 26px;
  color: rgba(255, 255, 255, 0.84);
}

.page-hero,
.detail-hero {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-600));
}

.page-hero .container {
  padding: 48px 0;
}

.page-hero h1 {
  margin: 18px 0 12px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
}

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

.breadcrumb strong {
  color: var(--white);
}

.category-preview-list {
  display: grid;
  gap: 44px;
}

.category-preview {
  padding-bottom: 34px;
  border-bottom: 1px solid var(--gray-200);
}

.category-preview > p {
  margin: -14px 0 24px;
  color: var(--gray-600);
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px 200px;
  gap: 14px;
  margin-bottom: 30px;
}

.filter-bar input,
.filter-bar select,
.search-page-form input {
  min-height: 48px;
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  color: var(--gray-900);
  background: var(--white);
  padding: 0 14px;
  outline: 0;
}

.filter-bar input:focus,
.filter-bar select:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.search-page-form {
  max-width: 680px;
  margin-top: 28px;
}

.search-page-form input {
  flex: 1;
  color: var(--white);
}

.search-status {
  margin-bottom: 24px;
  color: var(--gray-600);
  font-weight: 700;
}

.detail-hero .container {
  padding: 20px 0;
}

.detail-section {
  background: var(--gray-50);
}

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

.detail-main {
  min-width: 0;
}

.player-card {
  overflow: hidden;
}

.player-shell {
  position: relative;
  overflow: hidden;
  background: #000;
}

.movie-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: var(--blue-600);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.08));
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.player-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  color: var(--blue-600);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
  font-size: 2rem;
  transition: transform 0.2s ease;
}

.player-overlay:hover .player-button {
  transform: scale(1.08);
}

.detail-body {
  padding: 28px;
}

.detail-body h1 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.22;
}

.detail-body h2 {
  margin: 28px 0 12px;
  font-size: 1.25rem;
}

.detail-body p {
  color: var(--slate-700);
  margin: 0 0 12px;
}

.lead-text {
  color: var(--gray-900) !important;
  font-weight: 700;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--gray-200);
}

.meta-row span,
.meta-row a {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--slate-700);
  background: var(--gray-100);
  font-size: 0.88rem;
  font-weight: 700;
}

.meta-row a {
  color: var(--white);
  background: linear-gradient(90deg, var(--blue-600), var(--cyan-600));
}

.review-box {
  color: var(--slate-700);
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, #eff6ff, #ecfeff);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-list a {
  padding: 7px 12px;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  color: var(--slate-700);
  background: var(--white);
  font-size: 0.9rem;
  transition: color 0.2s ease, background 0.2s ease, border 0.2s ease;
}

.tag-list a:hover {
  color: var(--white);
  border-color: var(--blue-600);
  background: var(--blue-600);
}

.related-section {
  margin-top: 34px;
}

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

.poster-panel {
  overflow: hidden;
  padding-bottom: 22px;
  text-align: center;
}

.poster-panel img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  background: linear-gradient(135deg, #dbeafe, #cffafe);
}

.poster-panel strong {
  display: block;
  padding: 18px 18px 4px;
  font-size: 1.2rem;
}

.poster-panel span {
  color: var(--gray-600);
}

.side-panel {
  padding: 22px;
}

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

.compact-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: 14px;
  transition: background 0.2s ease;
}

.compact-card:hover {
  background: var(--gray-100);
}

.compact-card img {
  width: 72px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 10px;
  background: linear-gradient(135deg, #dbeafe, #cffafe);
}

.compact-card span {
  display: grid;
  min-width: 0;
}

.compact-card strong {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.compact-card em {
  color: var(--gray-600);
  font-style: normal;
  font-size: 0.86rem;
}

.prose-card {
  padding: 32px;
}

.prose-card h2 {
  margin: 26px 0 10px;
}

.prose-card h2:first-child {
  margin-top: 0;
}

.prose-card p {
  color: var(--slate-700);
}

.site-footer {
  color: #d1d5db;
  background: var(--gray-900);
}

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

.footer-grid h2 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 1rem;
}

.footer-grid p {
  margin: 0 0 8px;
  color: #9ca3af;
}

.footer-grid a {
  display: block;
  margin: 8px 0;
  color: #d1d5db;
}

.footer-grid a:hover {
  color: var(--cyan-400);
}

.footer-bottom {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 18px;
  color: #9ca3af;
  border-top: 1px solid #1f2937;
}

.sticky-panel {
  position: sticky;
  top: 92px;
}

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

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

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

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

  .sticky-panel {
    position: static;
  }
}

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

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

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 54px 0 78px;
  }

  .hero-stage,
  .hero-slide img {
    min-height: 320px;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1280px);
  }

  .section {
    padding: 42px 0;
  }

  .logo-text {
    font-size: 1rem;
  }

  .hero-copy h1 {
    font-size: 2.55rem;
  }

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

  .btn,
  .hero-tags a {
    width: 100%;
  }

  .hero-stage,
  .hero-slide img {
    min-height: 260px;
  }

  .hero-caption {
    right: 18px;
    bottom: 18px;
    left: 18px;
  }

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

  .category-grid,
  .category-grid.large {
    grid-template-columns: 1fr;
  }

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

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

  .detail-body {
    padding: 20px;
  }

  .player-button {
    width: 66px;
    height: 66px;
  }

  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
    flex-direction: column;
    text-align: center;
  }
}
