:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #ecfdf5;
  --text: #0f172a;
  --muted: #64748b;
  --line: #d9e7e3;
  --primary: #059669;
  --primary-dark: #047857;
  --teal: #0f766e;
  --cyan: #0891b2;
  --gold: #f59e0b;
  --shadow: 0 20px 55px rgba(15, 23, 42, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

img,
video {
  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.88);
  border-bottom: 1px solid rgba(15, 118, 110, 0.12);
  backdrop-filter: blur(18px);
}

.nav-bar {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  white-space: nowrap;
}

.brand-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  box-shadow: 0 12px 28px rgba(5, 150, 105, 0.28);
}

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

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: #334155;
  font-size: 15px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-dark);
  background: #d1fae5;
}

.nav-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
}

.nav-search input {
  width: 160px;
  border: 0;
  outline: 0;
  padding: 8px 10px;
  background: transparent;
}

.nav-search button,
.hero-search button,
.primary-button {
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  box-shadow: 0 16px 32px rgba(5, 150, 105, 0.28);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-search button {
  padding: 8px 14px;
}

.nav-search button:hover,
.hero-search button:hover,
.primary-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 36px rgba(5, 150, 105, 0.34);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: #ecfdf5;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--primary-dark);
}

.hero-shell {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, #059669, #0f766e, #0891b2);
}

.hero-backgrounds,
.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  opacity: 0;
  transition: opacity 0.8s ease;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08);
  transform: scale(1.04);
}

.hero-overlay {
  background:
    radial-gradient(circle at 75% 30%, rgba(34, 211, 238, 0.28), transparent 28%),
    linear-gradient(90deg, rgba(6, 78, 59, 0.9), rgba(15, 118, 110, 0.72), rgba(8, 145, 178, 0.6)),
    linear-gradient(0deg, rgba(15, 23, 42, 0.35), rgba(15, 23, 42, 0.12));
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 470px);
  gap: 50px;
  align-items: center;
  padding: 80px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: #ccfbf1;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--primary-dark);
}

.hero-copy h1 {
  max-width: 780px;
  margin: 0 0 22px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.hero-copy p {
  max-width: 680px;
  margin: 0 0 30px;
  color: #e0f2fe;
  font-size: clamp(18px, 2vw, 23px);
}

.hero-search {
  width: min(620px, 100%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px);
}

.hero-search.small {
  max-width: 560px;
  margin: 26px auto 0;
  border-color: rgba(15, 118, 110, 0.18);
  background: #ffffff;
}

.hero-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  padding: 14px 18px;
  color: var(--text);
  border-radius: 999px;
  background: #ffffff;
}

.hero-search.small input {
  background: #f8fafc;
}

.hero-search button {
  padding: 14px 24px;
  font-weight: 700;
}

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

.hero-quick-links a,
.secondary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-quick-links a {
  padding: 10px 16px;
}

.secondary-button {
  padding: 12px 22px;
}

.hero-quick-links a:hover,
.secondary-button:hover,
.ghost-button:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.24);
}

.hero-panel {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 32px 80px rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(20px);
  overflow: hidden;
}

.hero-slides {
  min-height: 430px;
  position: relative;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-slide p {
  margin: 0 0 18px;
  color: #e0f2fe;
}

.hero-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.hero-meta span,
.detail-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  color: #ecfeff;
  background: rgba(15, 23, 42, 0.22);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  font-weight: 800;
}

.primary-button.full {
  width: 100%;
  margin-top: 22px;
}

.hero-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px 24px;
}

.hero-controls button {
  border: 0;
  cursor: pointer;
}

.hero-controls > button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  font-size: 28px;
}

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

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

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

.section-block {
  padding: 72px 0;
}

.section-block.soft {
  background: linear-gradient(180deg, #ecfdf5, #f8fafc);
}

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

.section-heading.compact {
  align-items: center;
}

.section-heading h2,
.page-hero h1,
.rank-card h2,
.content-card h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary-dark);
  font-weight: 800;
}

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

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

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

.movie-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid rgba(15, 118, 110, 0.10);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(5, 150, 105, 0.28);
  box-shadow: var(--shadow);
}

.movie-cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #064e3b, #0891b2);
}

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

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

.movie-cover::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 35%, rgba(15, 23, 42, 0.72));
}

.movie-year,
.movie-play {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

.movie-year {
  top: 14px;
  left: 14px;
  padding: 6px 10px;
  background: rgba(15, 23, 42, 0.58);
}

.movie-play {
  right: 14px;
  bottom: 14px;
  padding: 8px 12px;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
}

.movie-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.movie-body h3 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.3;
}

.movie-meta {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
}

.movie-desc {
  display: -webkit-box;
  min-height: 45px;
  margin: 0 0 16px;
  color: #475569;
  font-size: 14px;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.tag-row span {
  padding: 5px 9px;
  border-radius: 999px;
  color: #047857;
  background: #d1fae5;
  font-size: 12px;
  font-weight: 700;
}

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

.rank-card,
.content-card,
.search-panel {
  border: 1px solid rgba(15, 118, 110, 0.12);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.rank-card {
  position: sticky;
  top: 96px;
  padding: 26px;
}

.rank-card ol {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.rank-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid #e2e8f0;
}

.rank-item:last-child {
  border-bottom: 0;
}

.rank-num,
.rank-wide-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold), #ef4444);
}

.rank-num {
  width: 32px;
  height: 32px;
  border-radius: 12px;
}

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

.rank-item span:last-child {
  color: var(--muted);
  font-size: 13px;
}

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

.category-tile {
  min-height: 150px;
  padding: 24px;
  border: 1px solid rgba(5, 150, 105, 0.16);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 90% 15%, rgba(34, 211, 238, 0.18), transparent 32%),
    #ffffff;
  box-shadow: 0 15px 38px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.category-tile span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 800;
}

.category-tile strong {
  display: block;
  margin-bottom: 8px;
  font-size: 24px;
}

.category-tile p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.page-hero {
  position: relative;
  padding: 82px 0;
  text-align: center;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(16, 185, 129, 0.20), transparent 34%),
    radial-gradient(circle at 85% 30%, rgba(34, 211, 238, 0.22), transparent 32%),
    linear-gradient(180deg, #ecfdf5, #f8fafc);
  overflow: hidden;
}

.page-hero-inner p {
  max-width: 760px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 18px;
}

.filter-panel {
  display: flex;
  align-items: end;
  gap: 14px;
  margin-bottom: 28px;
  padding: 16px;
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.filter-field {
  min-width: 150px;
}

.filter-field.grow {
  flex: 1;
}

.filter-field label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.filter-field input,
.filter-field select {
  width: 100%;
  border: 1px solid #dbe8e5;
  border-radius: 14px;
  outline: 0;
  padding: 12px 14px;
  color: var(--text);
  background: #f8fafc;
}

.filter-field input:focus,
.filter-field select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.12);
}

.ghost-button {
  min-height: 48px;
  padding: 0 18px;
  color: var(--primary-dark);
  border-color: rgba(5, 150, 105, 0.2);
  background: #ecfdf5;
  cursor: pointer;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 28px;
}

.pagination > a,
.pagination > span,
.page-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: #ffffff;
  border: 1px solid rgba(5, 150, 105, 0.16);
  font-weight: 800;
}

.pagination > span {
  color: #94a3b8;
}

.page-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

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

.rank-wide {
  display: grid;
  grid-template-columns: 76px 160px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(15, 118, 110, 0.12);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.rank-wide-num {
  width: 54px;
  height: 54px;
  border-radius: 18px;
}

.rank-wide-cover {
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  overflow: hidden;
}

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

.rank-wide-body h3 {
  margin: 0 0 6px;
  font-size: 22px;
}

.rank-wide-body p {
  margin: 0 0 8px;
  color: var(--muted);
}

.search-panel {
  padding: 22px;
}

.detail-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #ffffff;
  background: #022c22;
}

.detail-backdrop,
.detail-mask {
  position: absolute;
  inset: 0;
}

.detail-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(2px) saturate(1.1);
  transform: scale(1.04);
}

.detail-mask {
  background:
    linear-gradient(90deg, rgba(2, 44, 34, 0.94), rgba(15, 118, 110, 0.72), rgba(2, 44, 34, 0.54)),
    linear-gradient(0deg, rgba(15, 23, 42, 0.75), transparent 45%);
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 36px;
  align-items: end;
  padding: 80px 0;
}

.detail-poster {
  aspect-ratio: 3 / 4;
  border: 6px solid rgba(255, 255, 255, 0.28);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.32);
}

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

.detail-info h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.detail-one-line {
  max-width: 820px;
  margin: 0 0 22px;
  color: #dffcf7;
  font-size: 20px;
}

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

.player-section {
  padding-top: 54px;
}

.player-card {
  position: relative;
  border-radius: 30px;
  background: #020617;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.22);
  overflow: hidden;
}

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

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.12), rgba(2, 6, 23, 0.62));
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.play-circle {
  width: 84px;
  height: 84px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 6px;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  box-shadow: 0 22px 50px rgba(5, 150, 105, 0.34);
  font-size: 30px;
}

.play-overlay strong {
  font-size: 22px;
}

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

.content-card {
  padding: 30px;
}

.content-card p {
  margin: 18px 0 0;
  color: #475569;
  font-size: 17px;
}

.site-footer {
  padding-top: 56px;
  color: #cbd5e1;
  background: #0f172a;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(180px, 1fr));
  gap: 36px;
  padding-bottom: 38px;
}

.footer-brand {
  color: #ffffff;
}

.site-footer p {
  max-width: 520px;
  color: #94a3b8;
}

.site-footer h3 {
  margin: 0 0 12px;
  color: #ffffff;
}

.site-footer a:not(.brand) {
  display: block;
  margin: 8px 0;
  color: #cbd5e1;
}

.site-footer a:hover {
  color: #6ee7b7;
}

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  text-align: center;
  color: #94a3b8;
}

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

@media (max-width: 1080px) {
  .hero-layout,
  .split-layout,
  .detail-hero-inner,
  .detail-grid {
    grid-template-columns: 1fr;
  }

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

  .rank-card {
    position: static;
  }

  .detail-poster {
    width: min(320px, 100%);
  }
}

@media (max-width: 820px) {
  .nav-bar {
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 0;
  }

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

  .nav-links {
    display: none;
    width: 100%;
    order: 3;
    flex-direction: column;
    align-items: stretch;
    margin-left: 0;
    padding: 10px 0;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    border-radius: 14px;
  }

  .nav-search {
    width: 100%;
    order: 4;
  }

  .nav-search input {
    flex: 1;
    width: auto;
  }

  .hero-shell {
    min-height: auto;
  }

  .hero-layout {
    gap: 28px;
    padding: 62px 0;
  }

  .hero-panel {
    border-radius: 24px;
  }

  .hero-slides {
    min-height: 360px;
  }

  .hero-slide {
    padding: 26px;
  }

  .hero-search,
  .filter-panel,
  .pagination,
  .rank-wide {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-search button {
    width: 100%;
  }

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

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

  .rank-wide {
    display: flex;
  }

  .rank-wide-cover {
    width: 100%;
  }

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

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

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

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

  .hero-meta span,
  .detail-meta span {
    width: 100%;
  }

  .detail-hero-inner {
    padding: 54px 0;
  }

  .section-block {
    padding: 50px 0;
  }
}
