:root {
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-850: #111c32;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-100: #f1f5f9;
  --cyan-600: #0891b2;
  --cyan-500: #06b6d4;
  --cyan-400: #22d3ee;
  --blue-500: #3b82f6;
  --rose-600: #e11d48;
  --white: #ffffff;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.14);
  --shadow-strong: 0 28px 80px rgba(15, 23, 42, 0.32);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--slate-900);
  background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: var(--white);
  background: linear-gradient(90deg, var(--slate-950), var(--slate-800), var(--slate-950));
  box-shadow: 0 16px 30px rgba(2, 6, 23, 0.2);
}

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

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

.brand span:last-child {
  font-size: 20px;
  background: linear-gradient(90deg, var(--cyan-400), var(--blue-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--slate-950);
  background: linear-gradient(135deg, var(--cyan-400), var(--blue-500));
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.45);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 15px;
  font-weight: 650;
}

.nav-link {
  position: relative;
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.86);
  transition: color 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan-400), var(--blue-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--cyan-400);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
}

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

.mobile-nav {
  display: none;
  padding: 12px 16px 20px;
  background: var(--slate-900);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 650;
}

.mobile-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--cyan-400);
}

.hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background: var(--slate-950);
}

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

.hero-slide {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

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

.hero-slide img {
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 18%, rgba(34, 211, 238, 0.25), transparent 28%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.96) 0%, rgba(15, 23, 42, 0.82) 38%, rgba(15, 23, 42, 0.38) 68%, rgba(2, 6, 23, 0.76) 100%),
    linear-gradient(0deg, rgba(2, 6, 23, 0.9), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 650px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
  padding: 80px 0 96px;
}

.hero-kicker,
.detail-kicker,
.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.hero-kicker span,
.detail-kicker span {
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(8, 145, 178, 0.86);
  box-shadow: 0 10px 20px rgba(8, 145, 178, 0.24);
  font-size: 13px;
  font-weight: 700;
}

.hero-content h1 {
  max-width: 760px;
  margin: 20px 0 14px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.hero-content p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(17px, 2.4vw, 23px);
  line-height: 1.7;
}

.hero-tags,
.detail-tags,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags {
  margin-top: 22px;
}

.hero-tags span,
.detail-tags span,
.tag-row span {
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--cyan-400);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(34, 211, 238, 0.25);
  backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 700;
}

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

.primary-btn,
.ghost-btn,
.section-more,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.primary-btn {
  min-height: 48px;
  padding: 0 24px;
  color: var(--slate-950);
  background: linear-gradient(135deg, var(--cyan-400), var(--blue-500));
  box-shadow: 0 18px 40px rgba(34, 211, 238, 0.28);
}

.ghost-btn {
  min-height: 48px;
  padding: 0 22px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(14px);
}

.primary-btn:hover,
.ghost-btn:hover,
.section-more:hover,
.text-link:hover {
  transform: translateY(-2px);
}

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

.hero-dot {
  width: 34px;
  height: 4px;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.32);
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
  width: 54px;
  background: var(--cyan-400);
}

.search-strip {
  position: relative;
  z-index: 5;
  margin-top: -38px;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(20px);
}

.filter-input {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(100, 116, 139, 0.18);
  border-radius: 16px;
  background: #f8fafc;
}

.filter-input span {
  color: var(--cyan-600);
  font-size: 22px;
  line-height: 1;
}

.filter-input input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--slate-900);
  background: transparent;
}

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

.filter-selects select {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(100, 116, 139, 0.18);
  border-radius: 16px;
  color: var(--slate-700);
  background: #f8fafc;
  outline: 0;
}

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

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

.section-title > div {
  position: relative;
}

.section-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  border-radius: 14px;
  color: var(--white);
  background: linear-gradient(135deg, var(--cyan-500), var(--blue-500));
  box-shadow: 0 14px 30px rgba(8, 145, 178, 0.22);
}

.section-title h2 {
  margin: 0;
  color: var(--slate-900);
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.03em;
}

.section-title p {
  max-width: 680px;
  margin: 8px 0 0;
  color: var(--slate-500);
  line-height: 1.7;
}

.section-more,
.text-link {
  min-height: 40px;
  padding: 0 18px;
  color: var(--cyan-600);
  background: #ecfeff;
}

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

.feature-card {
  position: relative;
  display: grid;
  grid-template-columns: 46% 1fr;
  overflow: hidden;
  min-height: 260px;
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.feature-card:first-child {
  grid-column: 1 / -1;
  grid-template-columns: 58% 1fr;
  min-height: 390px;
  background: var(--slate-900);
  color: var(--white);
}

.feature-card:hover,
.poster-card:hover,
.category-overview-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
}

.feature-image {
  position: relative;
  overflow: hidden;
  min-height: 100%;
}

.feature-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.feature-card:hover .feature-image img,
.poster-card:hover img,
.category-cover:hover img {
  transform: scale(1.07);
}

.badge,
.poster-type,
.rank-num {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(2, 6, 23, 0.76);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 800;
}

.rank-num {
  left: auto;
  right: 14px;
  background: linear-gradient(135deg, var(--rose-600), #f97316);
}

.feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
}

.meta-line {
  color: var(--cyan-600);
  font-size: 13px;
  font-weight: 800;
}

.feature-card:first-child .meta-line,
.feature-card:first-child .feature-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.feature-copy h3,
.poster-copy h3 {
  margin: 12px 0 10px;
  font-size: 24px;
  line-height: 1.25;
}

.feature-card:first-child .feature-copy h3 {
  font-size: clamp(34px, 5vw, 54px);
  letter-spacing: -0.04em;
}

.feature-copy p,
.poster-copy p {
  margin: 0;
  color: var(--slate-500);
  line-height: 1.7;
}

.tag-row {
  margin-top: 18px;
}

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

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

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

.poster-card {
  display: block;
  overflow: hidden;
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.09);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.poster-copy {
  padding: 15px;
}

.poster-copy h3 {
  display: -webkit-box;
  min-height: 2.5em;
  margin: 0 0 8px;
  overflow: hidden;
  color: var(--slate-900);
  font-size: 17px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.poster-copy p {
  display: -webkit-box;
  min-height: 3.4em;
  overflow: hidden;
  font-size: 14px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.poster-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 13px;
  color: var(--slate-500);
  font-size: 13px;
}

.dark-band {
  color: var(--white);
  background: linear-gradient(135deg, var(--slate-950), var(--slate-800));
}

.dark-band .section-title h2,
.dark-band .poster-copy h3 {
  color: var(--white);
}

.dark-band .section-title p,
.dark-band .poster-copy p,
.dark-band .poster-meta {
  color: rgba(255, 255, 255, 0.68);
}

.dark-band .poster-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

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

.category-chip {
  display: block;
  min-height: 138px;
  padding: 22px;
  border-radius: 24px;
  color: var(--white);
  background:
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.34), transparent 35%),
    linear-gradient(135deg, var(--slate-900), var(--slate-800));
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-chip:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
}

.category-chip span {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
  font-weight: 850;
}

.category-chip small {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.6;
}

.page-hero {
  color: var(--white);
  background:
    radial-gradient(circle at 82% 10%, rgba(34, 211, 238, 0.28), transparent 34%),
    linear-gradient(135deg, var(--slate-950), var(--slate-800));
}

.small-hero {
  padding: 76px 0 48px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan-400);
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 6vw, 62px);
  letter-spacing: -0.04em;
}

.page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
}

.page-hero .filter-panel {
  margin-top: 30px;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  overflow: hidden;
  padding: 18px;
  border-radius: 26px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-cover {
  overflow: hidden;
  min-height: 220px;
  border-radius: 20px;
  background: var(--slate-800);
}

.category-cover img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.category-overview-card h2 {
  margin: 4px 0 10px;
  font-size: 26px;
}

.category-overview-card p {
  color: var(--slate-500);
  line-height: 1.7;
}

.category-overview-card ul {
  margin: 14px 0;
  padding-left: 18px;
  color: var(--slate-600);
  line-height: 1.9;
}

.detail-hero {
  padding: 40px 0 54px;
  color: var(--white);
  background:
    radial-gradient(circle at 70% 12%, rgba(34, 211, 238, 0.24), transparent 28%),
    linear-gradient(135deg, var(--slate-950), var(--slate-800));
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

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

.detail-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--shadow-strong);
  background: var(--slate-900);
}

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

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

.detail-one-line {
  max-width: 780px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
  line-height: 1.75;
}

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

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

.detail-meta div {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.detail-meta dt {
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

.detail-meta dd {
  margin: 0;
  font-weight: 800;
}

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

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #000;
  box-shadow: var(--shadow-strong);
  aspect-ratio: 16 / 9;
}

.player-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.player-cover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 0;
  color: var(--white);
  background:
    radial-gradient(circle at center, rgba(34, 211, 238, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.18), rgba(2, 6, 23, 0.76));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-circle {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  padding-left: 5px;
  border-radius: 999px;
  color: var(--slate-950);
  background: linear-gradient(135deg, var(--cyan-400), var(--blue-500));
  box-shadow: 0 20px 50px rgba(34, 211, 238, 0.36);
  font-size: 32px;
}

.player-cover strong {
  max-width: 80%;
  text-align: center;
  font-size: clamp(22px, 4vw, 38px);
}

.detail-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding-bottom: 20px;
}

.copy-card {
  padding: 28px;
  border-radius: 26px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.copy-card h2 {
  margin: 0 0 14px;
  font-size: 28px;
}

.copy-card p {
  margin: 0;
  color: var(--slate-600);
  line-height: 1.9;
  font-size: 16px;
}

.rank-list {
  overflow: hidden;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.rank-row {
  display: grid;
  grid-template-columns: 56px 72px minmax(0, 1fr) 90px 90px 120px;
  gap: 16px;
  align-items: center;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(100, 116, 139, 0.13);
  color: var(--slate-600);
  transition: background 0.2s ease;
}

.rank-row:hover {
  background: #f8fafc;
}

.rank-row img {
  width: 56px;
  height: 74px;
  border-radius: 12px;
  object-fit: cover;
}

.rank-index {
  color: var(--cyan-600);
  font-weight: 900;
  font-size: 20px;
}

.rank-title {
  color: var(--slate-900);
  font-weight: 800;
}

.site-footer {
  margin-top: 48px;
  color: var(--slate-300);
  background: linear-gradient(90deg, var(--slate-950), var(--slate-800), var(--slate-950));
}

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

.footer-brand {
  color: var(--white);
  font-size: 20px;
}

.site-footer p {
  max-width: 420px;
  color: rgba(203, 213, 225, 0.72);
  line-height: 1.7;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 18px;
}

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

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

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(203, 213, 225, 0.62);
  text-align: center;
}

.is-filtered-out {
  display: none !important;
}

@media (max-width: 1120px) {
  .desktop-nav {
    gap: 12px;
    font-size: 14px;
  }

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

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

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

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

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

  .hero,
  .hero-content {
    min-height: 580px;
  }

  .feature-grid,
  .feature-card,
  .feature-card:first-child,
  .category-overview-grid,
  .category-overview-card,
  .detail-grid,
  .detail-content,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .feature-card:first-child {
    min-height: auto;
  }

  .feature-image {
    aspect-ratio: 16 / 9;
  }

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

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

  .filter-panel {
    grid-template-columns: 1fr;
  }

  .filter-selects {
    flex-wrap: wrap;
  }

  .filter-selects select {
    flex: 1 1 180px;
  }
}

@media (max-width: 680px) {
  .container,
  .nav-shell,
  .footer-grid,
  .footer-bottom {
    width: min(100% - 24px, 1180px);
  }

  .hero,
  .hero-content {
    min-height: 540px;
  }

  .hero-content {
    padding-top: 64px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .primary-btn,
  .ghost-btn {
    width: 100%;
  }

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

  .section-title {
    display: block;
  }

  .section-more {
    margin-top: 16px;
  }

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

  .poster-copy {
    padding: 12px;
  }

  .poster-copy h3 {
    font-size: 15px;
  }

  .poster-copy p,
  .poster-meta {
    font-size: 12px;
  }

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

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

  .rank-row span:nth-child(n+4) {
    display: none;
  }

  .rank-row img {
    width: 48px;
    height: 64px;
  }

  .small-hero {
    padding: 54px 0 38px;
  }

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

  .copy-card {
    padding: 22px;
  }

  .play-circle {
    width: 66px;
    height: 66px;
    font-size: 26px;
  }
}
