:root {
  --orange: #f97316;
  --orange-dark: #ea580c;
  --red: #ef4444;
  --pink: #ec4899;
  --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: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--gray-50);
  color: var(--gray-900);
  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(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(229, 231, 235, 0.72);
  backdrop-filter: blur(14px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

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

.logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.logo-mark {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), var(--red));
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.3);
  font-size: 14px;
  text-indent: 2px;
}

.logo-text {
  font-size: 24px;
  background: linear-gradient(135deg, var(--orange), var(--red));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 650;
  color: var(--gray-700);
}

.desktop-nav a,
.nav-dropdown button {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 8px 0;
}

.desktop-nav a:hover,
.desktop-nav a.active,
.nav-dropdown:hover button {
  color: var(--orange);
}

.nav-dropdown {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  top: 100%;
  left: -18px;
  width: 168px;
  padding: 10px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
}

.nav-dropdown:hover .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-panel a {
  display: block;
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--gray-700);
  font-size: 14px;
}

.dropdown-panel a:hover {
  background: #fff7ed;
  color: var(--orange);
}

.header-search {
  display: flex;
  align-items: center;
  width: 310px;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  background: #ffffff;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search:focus-within {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.header-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 10px 14px 10px 18px;
}

.header-search button {
  border: 0;
  background: var(--orange);
  color: #ffffff;
  padding: 10px 16px;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: var(--gray-100);
  color: var(--gray-700);
  font-size: 22px;
}

.mobile-panel {
  display: none;
  border-top: 1px solid var(--gray-200);
  background: #ffffff;
  padding: 12px 20px 20px;
}

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

.mobile-panel a {
  padding: 10px 4px;
  color: var(--gray-700);
  font-weight: 650;
}

.mobile-panel form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.mobile-panel input {
  min-width: 0;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  padding: 10px 14px;
  outline: 0;
}

.mobile-panel button {
  border: 0;
  border-radius: 999px;
  background: var(--orange);
  color: #ffffff;
  padding: 0 16px;
  font-weight: 700;
}

.page-main {
  padding-top: 64px;
}

.hero-slider {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--orange), var(--red), var(--pink));
}

.hero-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.16) 0 2px, transparent 2px), radial-gradient(circle at 80% 60%, rgba(255,255,255,0.12) 0 2px, transparent 2px);
  background-size: 42px 42px, 56px 56px;
  pointer-events: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.88) 0%, rgba(17, 24, 39, 0.62) 44%, rgba(249, 115, 22, 0.36) 100%);
}

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

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.55fr);
  align-items: center;
  gap: 54px;
}

.hero-copy {
  color: #ffffff;
  max-width: 760px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  font-weight: 750;
}

.hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(40px, 6vw, 70px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero-copy p {
  max-width: 720px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 2vw, 22px);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 780;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  background: #ffffff;
  color: var(--orange);
  box-shadow: 0 16px 32px rgba(255, 255, 255, 0.18);
}

.btn-primary:hover {
  background: #fff7ed;
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  backdrop-filter: blur(10px);
}

.btn-orange {
  background: var(--orange);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(249, 115, 22, 0.26);
}

.btn-orange:hover {
  background: var(--orange-dark);
}

.hero-feature {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 30px;
  background: rgba(17, 24, 39, 0.42);
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.hero-feature img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero-feature-copy {
  padding: 22px;
  color: #ffffff;
}

.hero-feature-copy strong {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
}

.hero-feature-copy span {
  color: rgba(255, 255, 255, 0.78);
}

.hero-dots {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 28px;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

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

.hero-dot.is-active {
  width: 34px;
  background: #ffffff;
}

.section {
  padding: 70px 0;
}

.section.compact {
  padding: 48px 0;
}

.section-dark {
  background: linear-gradient(135deg, #111827, #1f2937 58%, #111827);
  color: #ffffff;
}

.section-warm {
  background: #fff7ed;
}

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

.section-head h2,
.page-hero h1,
.detail-title h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.section-head p,
.page-hero p,
.category-intro,
.detail-title p {
  margin: 8px 0 0;
  color: var(--gray-600);
}

.section-dark .section-head p {
  color: #9ca3af;
}

.link-more {
  color: var(--orange);
  font-weight: 760;
}

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

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

.movie-link {
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.poster-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #fb923c, #ef4444);
}

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

.movie-link:hover .movie-poster,
.hot-item:hover img,
.category-card:hover img,
.feature-item:hover img {
  transform: scale(1.08);
}

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.54), transparent 56%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.movie-link:hover .poster-shade {
  opacity: 1;
}

.play-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--orange);
  color: #ffffff;
  transform: translate(-50%, -50%) scale(0.78);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
  box-shadow: 0 12px 28px rgba(249, 115, 22, 0.35);
  text-indent: 4px;
}

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

.duration,
.rank-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.68);
  color: #ffffff;
  font-size: 12px;
  font-weight: 760;
}

.rank-badge {
  top: 10px;
  bottom: auto;
  left: 10px;
  right: auto;
  background: var(--orange);
}

.movie-info {
  display: grid;
  gap: 9px;
  padding: 16px;
}

.meta-row,
.card-foot,
.detail-meta,
.breadcrumbs,
.filter-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.badge,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: #ffedd5;
  color: #ea580c;
  font-size: 12px;
  font-weight: 780;
}

.tag {
  background: var(--gray-100);
  color: var(--gray-700);
  transition: background 0.2s ease, color 0.2s ease;
}

.tag:hover {
  background: #ffedd5;
  color: var(--orange-dark);
}

.mini-text,
.card-foot {
  color: var(--gray-500);
  font-size: 13px;
}

.card-foot {
  justify-content: space-between;
}

.movie-title {
  font-size: 17px;
  color: var(--gray-900);
  transition: color 0.2s ease;
}

.movie-link:hover .movie-title {
  color: var(--orange);
}

.movie-desc {
  color: var(--gray-600);
  font-size: 14px;
}

.line-1,
.line-2,
.line-3 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.line-1 {
  -webkit-line-clamp: 1;
}

.line-2 {
  -webkit-line-clamp: 2;
}

.line-3 {
  -webkit-line-clamp: 3;
}

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

.hot-item {
  display: flex;
  gap: 16px;
  min-width: 0;
  padding: 14px;
  border-radius: 18px;
  background: rgba(31, 41, 55, 0.9);
  transition: transform 0.25s ease, background 0.25s ease;
}

.hot-item:hover {
  transform: translateY(-4px);
  background: rgba(55, 65, 81, 0.95);
}

.hot-poster {
  position: relative;
  width: 180px;
  flex: 0 0 180px;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--orange), var(--red));
}

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

.hot-rank {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 28px;
  border-radius: 9px;
  background: var(--orange);
  color: #ffffff;
  font-weight: 850;
}

.hot-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  color: #ffffff;
}

.hot-copy span {
  color: #d1d5db;
  font-size: 14px;
}

.hot-copy em {
  color: #9ca3af;
  font-style: normal;
  font-size: 13px;
}

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

.category-card {
  position: relative;
  min-height: 160px;
  overflow: hidden;
  border-radius: 22px;
  background: var(--gray-900);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  transition: transform 0.5s ease;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.88), rgba(17, 24, 39, 0.2));
}

.category-card span,
.category-card strong {
  position: relative;
  z-index: 2;
}

.category-card strong {
  display: block;
  padding: 84px 20px 4px;
  color: #ffffff;
  font-size: 22px;
}

.category-card span {
  display: block;
  padding: 0 20px 20px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

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

.feature-item {
  display: grid;
  grid-template-columns: 42% 1fr;
  overflow: hidden;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.feature-poster {
  overflow: hidden;
  background: linear-gradient(135deg, var(--orange), var(--red));
}

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

.feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
  padding: 22px;
}

.feature-copy strong {
  font-size: 22px;
}

.cta-panel {
  padding: 54px;
  border-radius: 34px;
  background: linear-gradient(135deg, var(--orange), var(--red));
  color: #ffffff;
  text-align: center;
  box-shadow: 0 18px 45px rgba(249, 115, 22, 0.26);
}

.cta-panel h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 46px);
}

.cta-panel p {
  margin: 0 auto 26px;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.page-hero {
  padding: 120px 0 58px;
  background: linear-gradient(135deg, var(--orange), var(--red));
  color: #ffffff;
}

.page-hero p,
.page-hero .breadcrumbs {
  color: rgba(255, 255, 255, 0.88);
}

.breadcrumbs {
  margin-bottom: 16px;
  font-size: 14px;
}

.breadcrumbs a:hover {
  color: #ffffff;
}

.filter-panel {
  margin-bottom: 28px;
  padding: 20px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.filter-grid {
  gap: 14px;
}

.filter-grid input,
.filter-grid select {
  min-height: 44px;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  background: #ffffff;
  color: var(--gray-700);
  padding: 0 16px;
  outline: 0;
}

.filter-grid input {
  flex: 1 1 260px;
}

.filter-grid input:focus,
.filter-grid select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.empty-state {
  padding: 48px 24px;
  border-radius: 22px;
  background: #ffffff;
  color: var(--gray-600);
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.empty-state[hidden],
.filter-item[hidden] {
  display: none;
}

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

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

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #000000;
  box-shadow: var(--shadow);
}

.player-shell video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.player-cover {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.28);
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
}

.player-start {
  position: relative;
  z-index: 4;
  width: 88px;
  height: 88px;
  border: 0;
  border-radius: 999px;
  background: var(--orange);
  color: #ffffff;
  font-size: 34px;
  text-indent: 6px;
  box-shadow: 0 18px 40px rgba(249, 115, 22, 0.38);
  transition: transform 0.2s ease, background 0.2s ease;
}

.player-start:hover {
  transform: scale(1.06);
  background: var(--orange-dark);
}

.detail-card {
  padding: 28px;
}

.detail-title h1 {
  margin-bottom: 12px;
}

.detail-meta {
  color: var(--gray-600);
  font-size: 14px;
}

.detail-section {
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--gray-200);
}

.detail-section h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.detail-section p {
  margin: 0 0 14px;
  color: var(--gray-700);
  white-space: pre-line;
}

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

.side-list {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.side-list h2 {
  margin: 0 0 4px;
  font-size: 22px;
}

.side-movie {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.side-movie img {
  width: 112px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
}

.side-movie strong {
  display: block;
  color: var(--gray-900);
}

.side-movie span {
  color: var(--gray-500);
  font-size: 13px;
}

.prev-next {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.prev-next a {
  padding: 16px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  color: var(--gray-700);
}

.prev-next span {
  display: block;
  color: var(--gray-500);
  font-size: 12px;
}

.search-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  max-width: 760px;
  margin-top: 26px;
}

.search-box input {
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  padding: 0 20px;
  outline: 0;
}

.search-box button {
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: var(--orange);
  padding: 0 24px;
  font-weight: 800;
}

.site-footer {
  background: linear-gradient(135deg, #111827, #1f2937 58%, #111827);
  color: #d1d5db;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr;
  gap: 30px;
  padding: 48px 0;
}

.footer-logo {
  color: #ffffff;
  font-size: 20px;
}

.site-footer p {
  max-width: 520px;
  color: #9ca3af;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 18px;
}

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

.footer-links a {
  color: #d1d5db;
}

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

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #9ca3af;
  text-align: center;
}

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

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

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

  .hero-feature {
    display: none;
  }

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

@media (max-width: 820px) {
  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .movie-grid,
  .category-grid,
  .feature-grid,
  .hot-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-item {
    grid-template-columns: 1fr;
  }

  .hot-poster {
    width: 140px;
    flex-basis: 140px;
  }
}

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

  .hero-slider,
  .hero-inner {
    min-height: 610px;
  }

  .hero-copy h1 {
    font-size: 40px;
  }

  .movie-grid,
  .category-grid,
  .feature-grid,
  .hot-grid,
  .footer-grid,
  .prev-next {
    grid-template-columns: 1fr;
  }

  .hot-item,
  .side-movie {
    grid-template-columns: 112px 1fr;
  }

  .hot-poster {
    width: 112px;
    flex-basis: 112px;
  }

  .section {
    padding: 48px 0;
  }

  .page-hero {
    padding-top: 104px;
  }

  .search-box {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    padding: 36px 22px;
  }

  .detail-card {
    padding: 22px;
  }
}
