:root {
  --cyan: #0891b2;
  --cyan-dark: #0e7490;
  --teal: #0d9488;
  --blue: #2563eb;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #cffafe;
  --soft: #ecfeff;
  --white: #ffffff;
  --shadow: 0 22px 65px rgba(15, 118, 110, 0.16);
  --shadow-soft: 0 14px 36px rgba(15, 118, 110, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #f8feff 0%, #ffffff 34%, #ecfeff 100%);
  font-family: Inter, "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(103, 232, 249, 0.55);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 32px rgba(8, 145, 178, 0.08);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--cyan), var(--teal));
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(8, 145, 178, 0.26);
}

.brand-text {
  font-size: 24px;
  background: linear-gradient(90deg, var(--cyan-dark), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

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

.desktop-nav a,
.desktop-nav button {
  border: 0;
  background: transparent;
  padding: 8px 0;
  color: #334155;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav button:hover,
.desktop-nav .is-active {
  color: var(--cyan-dark);
}

.nav-dropdown {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  width: 210px;
  transform: translateX(-50%) translateY(8px);
  visibility: hidden;
  opacity: 0;
  display: grid;
  padding: 10px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  transition: all 0.22s ease;
}

.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.dropdown-panel a {
  padding: 10px 12px;
  border-radius: 12px;
}

.dropdown-panel a:hover {
  background: var(--soft);
}

.header-search {
  display: flex;
  align-items: center;
  width: 220px;
  border: 1px solid #bae6fd;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
}

.header-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 10px 12px;
  background: transparent;
}

.header-search button {
  border: 0;
  color: #ffffff;
  background: linear-gradient(135deg, var(--cyan), var(--teal));
  padding: 10px 14px;
  cursor: pointer;
}

.mobile-nav-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--soft);
  cursor: pointer;
}

.mobile-nav-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--cyan-dark);
  border-radius: 99px;
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.mobile-nav a {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(236, 254, 255, 0.88);
  color: #155e75;
  font-weight: 700;
}

.mobile-nav.is-open {
  display: grid;
}

.hero-slider {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: #06242d;
}

.hero-track,
.hero-slide {
  min-height: 680px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}

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

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

.hero-bg {
  background-position: center;
  background-size: cover;
  filter: saturate(1.05) blur(1px);
  transform: scale(1.04);
}

.hero-overlay {
  background:
    radial-gradient(circle at 70% 30%, rgba(45, 212, 191, 0.32), transparent 36%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.92), rgba(8, 47, 73, 0.68) 54%, rgba(15, 118, 110, 0.38)),
    linear-gradient(0deg, rgba(2, 6, 23, 0.72), transparent 46%);
}

.hero-content {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  min-height: 680px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 420px);
  gap: 60px;
  align-items: center;
  padding: 80px 0 90px;
  color: #ffffff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 16px;
  padding: 8px 14px;
  border: 1px solid rgba(125, 211, 252, 0.55);
  border-radius: 999px;
  color: #a5f3fc;
  background: rgba(255, 255, 255, 0.12);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  backdrop-filter: blur(10px);
}

.hero-copy h1,
.hero-copy h2 {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero-copy p {
  max-width: 680px;
  margin: 0 0 30px;
  color: #dffcff;
  font-size: 18px;
}

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

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

.primary-button {
  color: #ffffff;
  background: linear-gradient(135deg, #06b6d4, #14b8a6);
  box-shadow: 0 18px 38px rgba(20, 184, 166, 0.32);
}

.primary-button:hover,
.ghost-button:hover {
  transform: translateY(-2px);
}

.ghost-button {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.hero-poster {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 32px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.42);
  transform: rotate(2deg);
}

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

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 52px;
  height: 52px;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
  font-size: 38px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.hero-prev {
  left: 28px;
}

.hero-next {
  right: 28px;
}

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

.hero-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

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

.home-search-band,
.section-block,
.page-shell,
.detail-page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.home-search-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  gap: 24px;
  align-items: center;
  margin-top: -52px;
  padding: 28px;
  position: relative;
  z-index: 6;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(186, 230, 253, 0.88);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.home-search-band h2 {
  margin: 0 0 6px;
  font-size: clamp(28px, 4vw, 42px);
}

.home-search-band p,
.filter-title p,
.page-hero p,
.footer-brand p {
  margin: 0;
  color: var(--muted);
}

.large-search {
  display: flex;
  border: 1px solid #bae6fd;
  border-radius: 999px;
  overflow: hidden;
  background: #ffffff;
}

.large-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 16px 18px;
  font-size: 15px;
}

.large-search button {
  border: 0;
  padding: 0 22px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--cyan), var(--teal));
  font-weight: 800;
  cursor: pointer;
}

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

.soft-section {
  width: 100%;
  max-width: none;
  padding: 72px max(16px, calc((100vw - 1180px) / 2)) 68px;
  background: linear-gradient(135deg, #ecfeff, #eff6ff);
}

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

.section-heading-left {
  display: block;
}

.section-heading span {
  display: block;
  margin-bottom: 4px;
  color: var(--cyan-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.04em;
}

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

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

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

.movie-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(186, 230, 253, 0.85);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.card-poster {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, #cffafe, #ccfbf1);
}

.card-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.poster-glow {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(0deg, rgba(8, 47, 73, 0.74), transparent);
}

.rank-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  border-radius: 14px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(239, 68, 68, 0.32);
}

.movie-card-body {
  padding: 18px;
}

.movie-line,
.card-extra {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.movie-line span:first-child {
  color: var(--cyan-dark);
}

.movie-card h3 {
  min-height: 48px;
  margin: 10px 0 8px;
  font-size: 18px;
  line-height: 1.32;
}

.movie-card h3 a:hover {
  color: var(--cyan-dark);
}

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

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

.tag-row span {
  padding: 5px 9px;
  border-radius: 999px;
  color: #0e7490;
  background: #ecfeff;
  font-size: 12px;
  font-weight: 800;
}

.card-extra {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #e0f2fe;
}

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

.category-card {
  position: relative;
  overflow: hidden;
  min-height: 150px;
  padding: 24px;
  color: #ffffff;
  background: linear-gradient(135deg, #06b6d4, #14b8a6);
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
}

.category-card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 118px;
  height: 118px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  transition: transform 0.35s ease;
}

.category-card:hover::after {
  transform: scale(1.8);
}

.category-card span,
.category-card strong {
  position: relative;
  z-index: 1;
  display: block;
}

.category-card span {
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 900;
}

.category-card strong {
  color: #ecfeff;
  font-size: 14px;
  font-weight: 600;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 30px;
  padding-bottom: 72px;
}

.ranking-panel,
.wide-card-list,
.filter-panel,
.detail-content,
.player-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(186, 230, 253, 0.9);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.ranking-panel {
  overflow: hidden;
}

.ranking-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid #e0f2fe;
}

.ranking-row:last-child {
  border-bottom: 0;
}

.ranking-number {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--cyan), var(--teal));
  font-weight: 900;
}

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

.ranking-meta {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.wide-card-list {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.wide-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 12px;
  border-radius: 20px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.wide-card:hover {
  background: #ecfeff;
  transform: translateX(4px);
}

.wide-card img {
  grid-row: span 3;
  width: 120px;
  height: 84px;
  border-radius: 16px;
  object-fit: cover;
}

.wide-card span {
  color: var(--cyan-dark);
  font-size: 12px;
  font-weight: 900;
}

.wide-card strong {
  overflow: hidden;
  font-size: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wide-card em {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.page-shell,
.detail-page {
  padding: 36px 0 78px;
}

.page-hero {
  overflow: hidden;
  padding: 52px;
  color: #ffffff;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.35), transparent 30%),
    linear-gradient(135deg, #0891b2, #0f766e);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

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

.category-hero {
  min-height: 300px;
}

.page-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(38px, 6vw, 62px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.page-hero p {
  max-width: 760px;
  color: #ecfeff;
  font-size: 18px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.breadcrumbs a {
  color: var(--cyan-dark);
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 500px);
  gap: 20px;
  align-items: center;
  margin-top: 24px;
  padding: 24px;
}

.filter-title h2 {
  margin: 0 0 6px;
  font-size: 26px;
}

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

.filter-controls input,
.filter-controls select {
  width: 100%;
  border: 1px solid #bae6fd;
  border-radius: 16px;
  outline: 0;
  padding: 13px 14px;
  color: #0f172a;
  background: #ffffff;
}

.empty-result {
  display: none;
  grid-column: 1 / -1;
  margin: 0;
  padding: 16px;
  color: #0f766e;
  background: #ecfeff;
  border-radius: 16px;
  font-weight: 800;
}

.empty-result.is-visible {
  display: block;
}

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

.overview-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #bae6fd;
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.overview-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.overview-card span,
.overview-card p {
  display: block;
  padding: 0 22px;
}

.overview-card span {
  margin-top: 20px;
  font-size: 22px;
  font-weight: 900;
}

.overview-card p {
  margin: 8px 0 22px;
  color: var(--muted);
}

.detail-hero {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
  padding: 36px;
  color: #ffffff;
  background:
    radial-gradient(circle at top right, rgba(103, 232, 249, 0.42), transparent 34%),
    linear-gradient(135deg, #0f172a, #0e7490 52%, #0f766e);
  border-radius: 36px;
  box-shadow: var(--shadow);
}

.detail-poster {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 30px 65px rgba(0, 0, 0, 0.32);
}

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

.detail-info h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.lead-text {
  max-width: 780px;
  margin: 0 0 24px;
  color: #dffcff;
  font-size: 18px;
}

.detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 22px;
}

.detail-meta-grid span {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  color: #e0f2fe;
  font-weight: 700;
}

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

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

.player-card {
  padding: 18px;
}

.video-frame {
  position: relative;
  overflow: hidden;
  background: #020617;
  border-radius: 26px;
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.68), rgba(8, 47, 73, 0.22));
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.play-circle {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  padding-left: 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--teal));
  box-shadow: 0 24px 50px rgba(20, 184, 166, 0.35);
  font-size: 34px;
}

.player-overlay strong {
  font-size: 20px;
}

.detail-content {
  display: grid;
  gap: 24px;
  margin-top: 34px;
  padding: 34px;
}

.detail-content h2 {
  margin: 0 0 12px;
  font-size: 28px;
}

.detail-content p {
  margin: 0;
  color: #334155;
  font-size: 17px;
}

.genre-tags span {
  background: #f0fdfa;
  color: #0f766e;
}

.site-footer {
  margin-top: 20px;
  background: linear-gradient(180deg, #ffffff, #ecfeff);
  border-top: 1px solid #bae6fd;
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(180px, 0.5fr));
  gap: 38px;
}

.brand-footer {
  margin-bottom: 16px;
}

.footer-brand p {
  max-width: 420px;
}

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

.footer-links h2 {
  margin: 0 0 8px;
  font-size: 16px;
}

.footer-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 34px;
  color: var(--muted);
  border-top: 1px solid #bae6fd;
  font-size: 14px;
}

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

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

  .mobile-nav-button {
    display: block;
    margin-left: auto;
  }

  .hero-content,
  .home-search-band,
  .split-layout,
  .filter-panel,
  .detail-hero,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-content {
    gap: 34px;
    padding-top: 58px;
  }

  .hero-poster {
    width: min(330px, 78vw);
    transform: rotate(0);
  }

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

  .hero-arrow {
    display: none;
  }
}

@media (max-width: 640px) {
  .header-inner {
    height: 64px;
  }

  .brand-text {
    font-size: 20px;
  }

  .hero-slider,
  .hero-track,
  .hero-slide,
  .hero-content {
    min-height: 720px;
  }

  .hero-copy h1,
  .hero-copy h2 {
    font-size: 42px;
  }

  .hero-copy p,
  .lead-text,
  .page-hero p {
    font-size: 16px;
  }

  .home-search-band,
  .page-hero,
  .detail-hero,
  .filter-panel,
  .detail-content {
    padding: 24px;
    border-radius: 24px;
  }

  .large-search,
  .filter-controls {
    flex-direction: column;
    border-radius: 22px;
  }

  .large-search button {
    min-height: 48px;
  }

  .movie-grid,
  .category-grid,
  .overview-grid,
  .page-grid {
    grid-template-columns: 1fr;
  }

  .ranking-row {
    grid-template-columns: 36px minmax(0, 1fr);
  }

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

  .wide-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .wide-card img {
    width: 96px;
    height: 72px;
  }

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

  .play-circle {
    width: 70px;
    height: 70px;
  }
}
