:root {
  color-scheme: dark;
  --bg: #020617;
  --bg-soft: #0f172a;
  --bg-card: rgba(15, 23, 42, 0.72);
  --bg-card-strong: rgba(15, 23, 42, 0.94);
  --line: rgba(148, 163, 184, 0.18);
  --text: #f8fafc;
  --muted: #94a3b8;
  --muted-strong: #cbd5e1;
  --amber: #f59e0b;
  --amber-soft: rgba(245, 158, 11, 0.16);
  --orange: #f97316;
  --shadow: 0 24px 80px rgba(2, 6, 23, 0.55);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(245, 158, 11, 0.18), transparent 34rem),
    linear-gradient(180deg, #020617 0%, #0f172a 46%, #020617 100%);
}

body.no-scroll {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

main {
  min-height: 72vh;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.86), rgba(15, 23, 42, 0.76));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-nav.is-scrolled {
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.98), rgba(15, 23, 42, 0.96));
  box-shadow: 0 12px 40px rgba(2, 6, 23, 0.48);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  border-radius: 16px;
  box-shadow: 0 0 32px rgba(245, 158, 11, 0.42);
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy strong,
.footer-logo {
  font-size: 22px;
  line-height: 1;
  font-weight: 800;
  background: linear-gradient(90deg, #fcd34d, #f59e0b, #fb923c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-copy small {
  color: var(--muted);
  font-size: 12px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  color: var(--muted-strong);
  padding: 10px 16px;
  border-radius: 999px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #fff;
  background: rgba(245, 158, 11, 0.18);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 78vh;
  overflow: hidden;
  background: #020617;
}

.hero-slider,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
}

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 6s ease;
}

.hero-slide.is-active img {
  transform: scale(1);
}

.hero-shade,
.detail-bg-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.98), rgba(2, 6, 23, 0.72) 42%, rgba(2, 6, 23, 0.1)),
    linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.32) 42%, rgba(2, 6, 23, 0.72) 100%);
}

.hero-copy {
  position: absolute;
  left: max(24px, calc((100vw - 1240px) / 2));
  bottom: 11vh;
  width: min(720px, calc(100% - 48px));
  z-index: 2;
}

.section-kicker,
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fbbf24;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
}

.hero-copy h1 {
  margin: 16px 0 18px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero-copy p {
  max-width: 680px;
  color: #dbeafe;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.8;
}

.hero-tags,
.card-stats,
.card-meta,
.detail-actions,
.hero-actions,
.site-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-tags span,
.card-meta span,
.tag-list span,
.detail-meta-list strong,
.category-chip,
.filter-link {
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid var(--line);
  color: var(--muted-strong);
  border-radius: 999px;
  padding: 7px 12px;
}

.hero-actions,
.detail-actions {
  margin-top: 28px;
}

.btn-primary,
.btn-secondary,
.btn-ghost,
.search-panel button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary,
.search-panel button {
  color: #fff;
  background: linear-gradient(90deg, var(--amber), var(--orange));
  padding: 14px 24px;
  box-shadow: 0 14px 34px rgba(245, 158, 11, 0.32);
}

.btn-primary:hover,
.search-panel button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(245, 158, 11, 0.46);
}

.btn-secondary,
.btn-ghost {
  padding: 13px 22px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.btn-secondary.full {
  width: 100%;
  margin-top: 22px;
}

.hero-dots {
  position: absolute;
  left: max(24px, calc((100vw - 1240px) / 2));
  bottom: 6vh;
  z-index: 3;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 34px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.45);
  transition: width 0.3s ease, background 0.3s ease;
}

.hero-dot.is-active {
  width: 54px;
  background: #fbbf24;
}

.quick-search-wrap,
.content-section,
.detail-layout {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.quick-search-wrap {
  position: relative;
  margin-top: -54px;
  z-index: 5;
}

.quick-search-card,
.info-panel,
.side-panel,
.article-panel,
.player-card,
.prose-panel {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.quick-search-card {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr;
  gap: 28px;
  align-items: center;
  padding: 28px;
}

.quick-search-card h2,
.page-hero h1,
.section-heading h2,
.side-panel h2,
.info-panel h2,
.article-panel h2,
.prose-panel h2 {
  margin: 10px 0;
  color: #fff;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.quick-search-card p,
.section-heading p,
.page-hero p,
.info-panel p,
.prose-panel p,
.article-panel p {
  color: var(--muted-strong);
  line-height: 1.85;
}

.search-panel {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(2, 6, 23, 0.72);
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.search-panel input {
  flex: 1;
  min-width: 0;
  color: #fff;
  background: transparent;
  border: 0;
  outline: none;
  padding: 0 14px;
}

.site-stats {
  grid-column: 1 / -1;
  justify-content: space-between;
  padding-top: 6px;
}

.site-stats span {
  color: var(--muted);
}

.site-stats strong {
  color: #fbbf24;
  font-size: 24px;
}

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

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 28px;
}

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

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

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

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

.movie-card > a {
  display: block;
  height: 100%;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.32);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.movie-card > a:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.52);
  background: rgba(15, 23, 42, 0.92);
}

.card-poster {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(15, 23, 42, 0.92));
}

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

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

.card-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.78), transparent 58%);
  opacity: 0.86;
}

.duration-badge,
.rank-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  padding: 6px 10px;
  color: #fff;
  background: rgba(2, 6, 23, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 12px;
  backdrop-filter: blur(10px);
}

.duration-badge {
  right: 12px;
}

.rank-badge {
  left: 12px;
  background: linear-gradient(90deg, var(--amber), var(--orange));
}

.card-play {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 32px;
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card > a:hover .card-play {
  opacity: 1;
  transform: scale(1);
}

.card-content {
  padding: 18px;
}

.card-meta {
  gap: 8px;
  margin-bottom: 12px;
}

.card-meta span {
  padding: 5px 9px;
  font-size: 12px;
}

.card-content h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 18px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-content p {
  min-height: 48px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-stats {
  justify-content: space-between;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

.card-stats span:first-child {
  color: #fbbf24;
  font-weight: 800;
}

.split-section {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 28px;
}

.align-start {
  align-items: start;
}

.side-panel,
.info-panel,
.prose-panel,
.article-panel,
.player-card {
  padding: 26px;
}

.category-cloud,
.tag-list,
.subnav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category-chip {
  display: inline-flex;
  flex-direction: column;
  min-width: 118px;
  border-radius: 18px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.category-chip:hover,
.filter-link:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 158, 11, 0.52);
}

.category-chip strong {
  color: #fff;
}

.category-chip span {
  color: var(--muted);
  font-size: 13px;
}

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

.movie-row a {
  display: grid;
  grid-template-columns: auto 112px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.movie-row a:hover {
  transform: translateX(4px);
  border-color: rgba(245, 158, 11, 0.5);
  background: rgba(15, 23, 42, 0.94);
}

.row-rank {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  border-radius: 14px;
  font-weight: 900;
}

.movie-row img {
  width: 112px;
  height: 70px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--bg-soft);
}

.row-main {
  display: grid;
  min-width: 0;
  gap: 6px;
}

.row-main strong {
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.row-main small,
.row-side small {
  color: var(--muted);
}

.row-side {
  display: grid;
  justify-items: end;
  gap: 4px;
}

.row-side em {
  color: #fbbf24;
  font-style: normal;
  font-weight: 900;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 72px;
  background:
    radial-gradient(circle at 18% 10%, rgba(245, 158, 11, 0.24), transparent 28rem),
    linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(2, 6, 23, 0.98));
}

.page-hero-inner {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
}

.compact-hero h1 {
  max-width: 880px;
}

.compact-hero p {
  max-width: 720px;
}

.filter-toolbar,
.rank-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.filter-btn,
.rank-tab {
  color: var(--muted-strong);
  padding: 10px 16px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.filter-btn:hover,
.filter-btn.is-active,
.rank-tab:hover,
.rank-tab.is-active {
  color: #fff;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.86), rgba(249, 115, 22, 0.86));
  border-color: transparent;
}

.result-count {
  margin-bottom: 18px;
  color: var(--muted);
}

.empty-state {
  margin-top: 24px;
  padding: 28px;
  text-align: center;
  color: var(--muted-strong);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

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

.category-card {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 190px;
  overflow: hidden;
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg-card);
}

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

.category-card img {
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.category-card-shade {
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.9), rgba(2, 6, 23, 0.12));
  z-index: 1;
}

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

.category-card strong {
  font-size: 24px;
  color: #fff;
}

.category-card small {
  color: var(--muted-strong);
}

.tag-list span {
  display: inline-flex;
}

.rank-panel {
  display: none;
}

.rank-panel.is-active {
  display: block;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  padding: 142px 0 72px;
  background: #020617;
}

.detail-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(2px);
  transform: scale(1.04);
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 40px;
  align-items: end;
}

.detail-poster {
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow);
  background: var(--bg-soft);
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.detail-copy h1 {
  margin: 14px 0 18px;
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.detail-copy p {
  max-width: 760px;
  color: var(--muted-strong);
  font-size: 18px;
  line-height: 1.9;
}

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

.detail-main,
.detail-side {
  display: grid;
  align-content: start;
  gap: 24px;
}

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

.video-player {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  background: #000;
}

.video-player video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  color: #fff;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.18), rgba(2, 6, 23, 0.64));
  border: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  padding-left: 5px;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  border-radius: 999px;
  box-shadow: 0 16px 40px rgba(245, 158, 11, 0.42);
  font-size: 28px;
}

.player-message {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  color: #fff;
  background: rgba(2, 6, 23, 0.72);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.player-message:not(:empty) {
  opacity: 1;
}

.detail-meta-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.detail-meta-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
}

.detail-meta-list strong {
  max-width: 210px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #fff;
}

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

.movie-card-compact .card-content {
  padding: 14px;
}

.movie-card-compact .card-content p,
.movie-card-compact .card-stats {
  display: none;
}

.movie-card-compact .card-content h3 {
  font-size: 15px;
}

.prose-panel {
  max-width: 960px;
}

.sitemap-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  max-height: 720px;
  overflow: auto;
  padding: 0;
  margin: 0;
  list-style: none;
}

.sitemap-list.compact-list {
  grid-template-columns: 1fr;
  max-height: none;
}

.sitemap-list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  color: var(--muted-strong);
  background: rgba(2, 6, 23, 0.36);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.sitemap-list a:hover {
  color: #fff;
  border-color: rgba(245, 158, 11, 0.52);
}

.sitemap-list span {
  color: var(--muted);
  white-space: nowrap;
}

.large-panel {
  min-width: 0;
}

.site-footer {
  margin-top: 86px;
  padding: 42px 0 28px;
  background: rgba(2, 6, 23, 0.86);
  border-top: 1px solid var(--line);
}

.footer-inner,
.footer-bottom {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 28px;
}

.footer-brand p {
  max-width: 520px;
  color: var(--muted);
  line-height: 1.8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-content: start;
  gap: 12px;
}

.footer-links a {
  color: var(--muted-strong);
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
}

.footer-links a:hover {
  color: #fff;
  background: rgba(245, 158, 11, 0.18);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 20px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

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

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

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

  .sticky-panel {
    position: static;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 76px;
    right: 16px;
    left: 16px;
    display: grid;
    padding: 16px;
    background: rgba(2, 6, 23, 0.96);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s ease;
  }

  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    width: 100%;
  }

  .hero {
    min-height: 86vh;
  }

  .hero-copy {
    bottom: 14vh;
  }

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

  .movie-grid-four,
  .movie-grid-three,
  .category-grid,
  .detail-side,
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

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

  .search-panel {
    border-radius: 24px;
    align-items: stretch;
    flex-direction: column;
  }

  .search-panel input {
    min-height: 44px;
  }
}

@media (max-width: 620px) {
  .brand-copy small {
    display: none;
  }

  .hero-copy,
  .hero-dots {
    left: 16px;
  }

  .hero-copy p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .quick-search-wrap,
  .content-section,
  .detail-layout,
  .footer-inner,
  .footer-bottom,
  .detail-hero-inner,
  .page-hero-inner {
    width: calc(100% - 24px);
  }

  .movie-grid-four,
  .movie-grid-three,
  .category-grid,
  .detail-side,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .movie-row a {
    grid-template-columns: auto 86px minmax(0, 1fr);
  }

  .movie-row img {
    width: 86px;
    height: 58px;
  }

  .row-side {
    grid-column: 3;
    justify-items: start;
  }

  .detail-hero {
    padding-top: 116px;
  }

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

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

  .sitemap-list {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
