:root {
  --night-950: #0a1929;
  --night-900: #102a43;
  --night-850: #17334f;
  --night-800: #243b53;
  --night-700: #334e68;
  --night-500: #627d98;
  --night-300: #9fb3c8;
  --night-200: #bcccdc;
  --white: #ffffff;
  --ocean-700: #0f79cc;
  --ocean-600: #1a92e6;
  --ocean-500: #2eabff;
  --ocean-400: #53bbff;
  --moon-600: #d89320;
  --moon-500: #f0b429;
  --shadow: 0 24px 70px rgba(2, 12, 27, 0.45);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--night-950), var(--night-900) 42%, var(--night-950));
  color: var(--white);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

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

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(10, 25, 41, 0.92), rgba(10, 25, 41, 0.08));
  transition: background 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(16, 42, 67, 0.96);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 40px rgba(2, 12, 27, 0.35);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--ocean-400), var(--ocean-700));
  box-shadow: 0 12px 28px rgba(46, 171, 255, 0.24);
  font-weight: 800;
  font-size: 22px;
}

.brand-text strong {
  display: block;
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: 0.03em;
}

.brand-text small {
  display: block;
  color: var(--night-300);
  font-size: 12px;
  margin-top: 4px;
}

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

.site-nav a {
  color: var(--night-200);
  font-weight: 600;
  font-size: 15px;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--white);
}

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

.nav-search input,
.wide-search input,
.filter-bar input,
.filter-bar select {
  border: 1px solid rgba(159, 179, 200, 0.18);
  background: rgba(36, 59, 83, 0.56);
  color: var(--white);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-search input {
  width: 210px;
  padding: 11px 14px;
}

.nav-search input:focus,
.wide-search input:focus,
.filter-bar input:focus,
.filter-bar select:focus {
  border-color: var(--ocean-500);
  box-shadow: 0 0 0 4px rgba(46, 171, 255, 0.14);
  background: rgba(36, 59, 83, 0.86);
}

.nav-search button,
.wide-search button,
.primary-btn,
.ghost-btn {
  border: 0;
  cursor: pointer;
  border-radius: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.nav-search button,
.wide-search button,
.primary-btn {
  background: linear-gradient(135deg, var(--ocean-500), var(--ocean-700));
  color: var(--white);
  box-shadow: 0 16px 38px rgba(46, 171, 255, 0.24);
}

.nav-search button {
  padding: 11px 16px;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid rgba(159, 179, 200, 0.16);
  color: var(--white);
  background: rgba(36, 59, 83, 0.6);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 22px;
}

.hero-carousel {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  background: var(--night-950);
}

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

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

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

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.08);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 48%, rgba(46, 171, 255, 0.2), transparent 34%),
    linear-gradient(90deg, rgba(10, 25, 41, 0.96) 0%, rgba(16, 42, 67, 0.84) 45%, rgba(10, 25, 41, 0.44) 100%),
    linear-gradient(0deg, var(--night-950) 0%, rgba(10, 25, 41, 0.3) 44%, rgba(10, 25, 41, 0.08) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 660px;
  padding-top: 118px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 54px;
  align-items: center;
}

.hero-copy {
  max-width: 760px;
  animation: fadeIn 0.55s ease both;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--ocean-400);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 13px;
}

.hero-copy h1,
.page-hero h1,
.detail-info h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero-copy h2 {
  margin: 20px 0 12px;
  font-size: clamp(24px, 3.2vw, 40px);
  line-height: 1.15;
  color: var(--white);
}

.hero-copy p:not(.eyebrow),
.page-hero p,
.one-line {
  color: var(--night-200);
  line-height: 1.8;
  font-size: 17px;
}

.hero-tags,
.tag-cloud,
.detail-meta,
.card-meta,
.tag-row,
.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span,
.tag-cloud span,
.detail-meta span,
.card-meta span,
.tag-row span,
.quick-links a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 11px;
  color: var(--night-200);
  background: rgba(36, 59, 83, 0.72);
  border: 1px solid rgba(159, 179, 200, 0.16);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease;
}

.primary-btn:hover,
.ghost-btn:hover,
.nav-search button:hover,
.wide-search button:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.ghost-btn {
  color: var(--white);
  background: rgba(36, 59, 83, 0.58);
  border: 1px solid rgba(159, 179, 200, 0.2);
  box-shadow: none;
}

.ghost-btn.compact {
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
}

.hero-poster {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow);
  transform: perspective(900px) rotateY(-7deg);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

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

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: rgba(16, 42, 67, 0.76);
  backdrop-filter: blur(14px);
  cursor: pointer;
  font-size: 36px;
  line-height: 1;
}

.hero-arrow.left {
  left: 18px;
}

.hero-arrow.right {
  right: 18px;
}

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

.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: rgba(188, 204, 220, 0.48);
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dots button.active {
  width: 28px;
  background: var(--ocean-500);
}

.search-panel {
  position: relative;
  z-index: 6;
  margin-top: -34px;
  padding: 22px;
  background: rgba(16, 42, 67, 0.8);
  border: 1px solid rgba(159, 179, 200, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.wide-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.wide-search input {
  width: 100%;
  padding: 16px 18px;
  font-size: 16px;
}

.wide-search button {
  padding: 0 26px;
  min-height: 52px;
}

.quick-links {
  margin-top: 14px;
}

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

.section-title {
  margin-bottom: 26px;
}

.section-title.with-link {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.section-title p {
  margin: 0 0 8px;
  color: var(--ocean-400);
  font-weight: 800;
  letter-spacing: 0.12em;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -0.03em;
}

.section-title a {
  color: var(--ocean-400);
  font-weight: 800;
}

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

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

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

.movie-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: rgba(36, 59, 83, 0.48);
  border: 1px solid rgba(159, 179, 200, 0.1);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  background: rgba(36, 59, 83, 0.72);
  border-color: rgba(46, 171, 255, 0.28);
  box-shadow: 0 20px 50px rgba(2, 12, 27, 0.34);
}

.poster {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--night-800);
}

.poster.landscape {
  aspect-ratio: 16 / 9;
  width: 320px;
  flex-shrink: 0;
}

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

.movie-card:hover .poster img,
.mini-card:hover img,
.hero-poster:hover img {
  transform: scale(1.08);
}

.poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(10, 25, 41, 0.86));
  opacity: 0.78;
  pointer-events: none;
}

.play-symbol {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.82);
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  background: rgba(26, 146, 230, 0.88);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 14px 34px rgba(46, 171, 255, 0.3);
}

.movie-card:hover .play-symbol,
.mini-card:hover .play-symbol {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.badge.type {
  position: absolute;
  z-index: 3;
  right: 10px;
  top: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(16, 42, 67, 0.82);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.card-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  min-width: 0;
}

.card-copy strong {
  color: var(--white);
  line-height: 1.35;
  font-size: 17px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-copy em {
  color: var(--night-300);
  font-style: normal;
  font-size: 13px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  justify-content: space-between;
  margin-top: auto;
}

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

.list-card {
  flex-direction: row;
}

.list-card:hover {
  transform: translateY(-3px);
}

.list-card .card-copy {
  flex: 1;
  justify-content: center;
}

.tag-row span {
  border-radius: 8px;
}

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

.category-tile,
.category-overview-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 180px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(46, 171, 255, 0.12), rgba(240, 180, 41, 0.05)),
    rgba(36, 59, 83, 0.42);
  border: 1px solid rgba(159, 179, 200, 0.12);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.category-tile:hover,
.category-overview-card:hover {
  transform: translateY(-5px);
  border-color: rgba(46, 171, 255, 0.32);
  background:
    linear-gradient(135deg, rgba(46, 171, 255, 0.18), rgba(240, 180, 41, 0.08)),
    rgba(36, 59, 83, 0.56);
}

.category-tile strong,
.category-overview-head h2 {
  color: var(--white);
  font-size: 22px;
  line-height: 1.2;
}

.category-tile span,
.category-overview-head p {
  color: var(--night-300);
  line-height: 1.7;
}

.category-tile small {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.category-tile small a {
  color: var(--ocean-400);
  font-size: 12px;
}

.page-hero {
  padding: 150px 0 78px;
  background:
    radial-gradient(circle at 72% 26%, rgba(46, 171, 255, 0.2), transparent 30%),
    linear-gradient(135deg, rgba(16, 42, 67, 0.92), rgba(10, 25, 41, 0.96));
  border-bottom: 1px solid rgba(159, 179, 200, 0.12);
}

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

.compact-hero p:not(.eyebrow) {
  max-width: 760px;
}

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

.category-overview-head h2 {
  margin: 0 0 10px;
}

.category-overview-head p {
  margin: 0;
}

.mini-card-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.mini-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--night-200);
  font-size: 12px;
  font-weight: 700;
}

.mini-card img {
  aspect-ratio: 3 / 4;
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
  background: var(--night-800);
  transition: transform 0.25s ease;
}

.mini-card span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 12px;
  padding: 18px;
  margin-bottom: 28px;
  border-radius: var(--radius-md);
  background: rgba(16, 42, 67, 0.68);
  border: 1px solid rgba(159, 179, 200, 0.1);
}

.search-filter {
  grid-template-columns: minmax(0, 1fr) 170px 170px;
}

.filter-bar input,
.filter-bar select {
  min-height: 48px;
  padding: 0 15px;
}

.empty-state {
  padding: 42px;
  text-align: center;
  color: var(--night-300);
  background: rgba(16, 42, 67, 0.55);
  border-radius: var(--radius-md);
  border: 1px solid rgba(159, 179, 200, 0.12);
}

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

.rank-row {
  display: grid;
  grid-template-columns: 58px 82px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 14px;
  border-radius: var(--radius-md);
  background: rgba(36, 59, 83, 0.46);
  border: 1px solid rgba(159, 179, 200, 0.1);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.rank-row:hover {
  transform: translateX(4px);
  border-color: rgba(46, 171, 255, 0.28);
  background: rgba(36, 59, 83, 0.66);
}

.rank-number {
  color: var(--ocean-400);
  font-size: 26px;
  font-weight: 900;
  text-align: center;
}

.rank-row img {
  width: 82px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
  background: var(--night-800);
}

.rank-copy strong,
.rank-copy em {
  display: block;
}

.rank-copy strong {
  font-size: 18px;
  margin-bottom: 8px;
}

.rank-copy em {
  color: var(--night-300);
  font-style: normal;
  line-height: 1.6;
}

.rank-meta {
  color: var(--night-300);
  white-space: nowrap;
}

.detail-hero {
  padding: 114px 0 0;
  background:
    radial-gradient(circle at 80% 18%, rgba(46, 171, 255, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(16, 42, 67, 0.9), rgba(10, 25, 41, 0));
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--night-300);
  font-size: 14px;
}

.breadcrumbs a {
  color: var(--ocean-400);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 26px;
  align-items: start;
}

.player-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #000000;
  box-shadow: var(--shadow);
  border: 1px solid rgba(159, 179, 200, 0.14);
}

.movie-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  cursor: pointer;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  cursor: pointer;
  background: linear-gradient(180deg, rgba(10, 25, 41, 0.25), rgba(10, 25, 41, 0.62));
  color: var(--white);
  transition: opacity 0.22s ease;
}

.play-overlay span {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(26, 146, 230, 0.92);
  box-shadow: 0 18px 42px rgba(46, 171, 255, 0.34);
  font-size: 40px;
  padding-left: 6px;
}

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

.detail-info {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 18px;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: rgba(36, 59, 83, 0.48);
  border: 1px solid rgba(159, 179, 200, 0.12);
}

.detail-cover {
  width: 130px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 16px;
  background: var(--night-800);
}

.detail-info h1 {
  font-size: clamp(28px, 4vw, 42px);
}

.detail-meta,
.tag-cloud {
  margin-top: 14px;
}

.article-block {
  padding: 42px 0 0;
}

.article-block h2 {
  font-size: 26px;
  margin: 28px 0 12px;
}

.article-block p {
  margin: 0;
  color: var(--night-200);
  line-height: 1.95;
  font-size: 17px;
  background: rgba(36, 59, 83, 0.34);
  border: 1px solid rgba(159, 179, 200, 0.08);
  border-radius: var(--radius-md);
  padding: 22px;
}

.site-footer {
  margin-top: 90px;
  padding: 42px 0 26px;
  border-top: 1px solid rgba(159, 179, 200, 0.12);
  background: rgba(10, 25, 41, 0.9);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 36px;
}

.footer-brand {
  font-weight: 900;
  font-size: 24px;
  margin-bottom: 10px;
}

.site-footer p,
.footer-bottom {
  color: var(--night-300);
  line-height: 1.8;
}

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

.footer-links a {
  color: var(--night-200);
}

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

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(159, 179, 200, 0.1);
  font-size: 14px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav,
  .nav-search {
    display: none;
  }

  .site-header.is-open .site-nav,
  .site-header.is-open .nav-search {
    display: flex;
  }

  .site-header.is-open .nav-inner {
    align-items: stretch;
    flex-wrap: wrap;
    padding: 14px 0 18px;
  }

  .site-header.is-open .site-nav {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-top: 10px;
  }

  .site-header.is-open .nav-search {
    width: 100%;
  }

  .site-header.is-open .nav-search input {
    width: 100%;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 98px;
  }

  .hero-poster {
    display: none;
  }

  .detail-layout,
  .footer-inner,
  .category-overview {
    grid-template-columns: 1fr;
  }

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

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

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

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .nav-inner {
    min-height: 66px;
  }

  .brand-text strong {
    font-size: 17px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero-carousel,
  .hero-track,
  .hero-slide,
  .hero-content {
    min-height: 620px;
  }

  .hero-arrow {
    display: none;
  }

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

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

  .category-grid,
  .featured-grid,
  .poster-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .card-copy {
    padding: 12px;
  }

  .card-copy strong {
    font-size: 15px;
  }

  .card-copy em {
    display: none;
  }

  .list-card {
    flex-direction: column;
  }

  .poster.landscape {
    width: 100%;
  }

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

  .rank-row {
    grid-template-columns: 40px 62px minmax(0, 1fr);
  }

  .rank-meta {
    display: none;
  }

  .detail-info {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .detail-cover {
    width: 92px;
  }

  .play-overlay span {
    width: 68px;
    height: 68px;
    font-size: 30px;
  }
}
