:root {
  --bg: #05070d;
  --panel: rgba(14, 18, 30, 0.82);
  --panel-strong: #0d111d;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f8fafc;
  --muted: #a7b0c0;
  --subtle: #6f7b91;
  --brand: #ff3d71;
  --brand-2: #7c3aed;
  --brand-3: #06b6d4;
  --radius: 22px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 8%, rgba(124, 58, 237, 0.2), transparent 34rem),
    radial-gradient(circle at 80% 0%, rgba(255, 61, 113, 0.16), transparent 30rem),
    linear-gradient(180deg, #0a0d16 0%, #05070d 44%, #070914 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 7, 13, 0.78);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0;
}

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

.logo-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 14px;
  color: white;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 30px rgba(255, 61, 113, 0.35);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  transition: 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: white;
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: white;
  background: rgba(255, 255, 255, 0.06);
}

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

.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

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

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

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

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

.hero-bg::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 7, 13, 0.94) 0%, rgba(5, 7, 13, 0.76) 44%, rgba(5, 7, 13, 0.28) 100%),
    linear-gradient(0deg, #05070d 0%, rgba(5, 7, 13, 0.12) 48%, rgba(5, 7, 13, 0.65) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 360px;
  align-items: center;
  gap: 56px;
  width: min(1180px, calc(100% - 32px));
  min-height: 680px;
  margin: 0 auto;
  padding: 84px 0 160px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #ff8bb0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.detail-copy h1 {
  margin: 0;
  font-weight: 950;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(46px, 8vw, 92px);
}

.hero p {
  max-width: 690px;
  margin: 24px 0 0;
  color: #d5d9e3;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.85;
}

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

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

.hero-tags span,
.detail-tags span,
.tag-row span {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: #e9edf7;
  background: rgba(255, 255, 255, 0.08);
}

.hero-tags span,
.detail-tags span {
  padding: 8px 12px;
}

.tag-row span {
  padding: 5px 9px;
  color: var(--muted);
  font-size: 12px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-weight: 850;
  transition: 0.22s ease;
}

.btn.primary {
  border-color: transparent;
  color: white;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 18px 38px rgba(255, 61, 113, 0.28);
}

.btn.glass {
  color: white;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.btn:hover,
.text-link:hover,
.pill-links a:hover {
  transform: translateY(-2px);
}

.hero-poster {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

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

.hero-poster::after {
  position: absolute;
  inset: 0;
  content: "";
  box-shadow: inset 0 0 80px rgba(255, 255, 255, 0.1);
}

.hero-control-panel {
  position: absolute;
  right: max(16px, calc((100% - 1180px) / 2));
  bottom: 34px;
  left: max(16px, calc((100% - 1180px) / 2));
  z-index: 3;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

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

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  cursor: pointer;
}

.hero-dot.is-active {
  width: 32px;
  background: white;
}

.hero-thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  width: min(620px, 58vw);
}

.hero-thumb {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--muted);
  background: rgba(10, 13, 22, 0.74);
  cursor: pointer;
  text-align: left;
}

.hero-thumb.is-active {
  color: white;
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.12);
}

.hero-thumb img {
  width: 46px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
}

.hero-thumb span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

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

.section-tight {
  padding-top: 46px;
}

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

.section h2,
.catalog-info h2,
.content-card h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: #ff8bb0;
  font-weight: 850;
  transition: 0.2s ease;
}

.filter-panel {
  padding: 16px;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
}

.search-box input,
.select-row select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: white;
  outline: none;
  background: rgba(6, 8, 15, 0.84);
}

.search-box input {
  height: 52px;
  padding: 0 18px;
}

.select-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.select-row select {
  height: 46px;
  padding: 0 14px;
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  transition: 0.24s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.32);
}

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  background: #111827;
}

.poster-link img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 0.28s ease;
}

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

.poster-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  color: white;
  font-size: 12px;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(10px);
}

.card-body {
  padding: 14px;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--subtle);
  font-size: 12px;
}

.card-body h3 {
  display: -webkit-box;
  min-height: 48px;
  margin: 0 0 8px;
  overflow: hidden;
  color: white;
  font-size: 16px;
  font-weight: 850;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card-body p {
  display: -webkit-box;
  min-height: 60px;
  margin: 0 0 12px;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

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

.category-tile,
.catalog-tile {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 61, 113, 0.18), transparent 18rem),
    rgba(255, 255, 255, 0.055);
  transition: 0.22s ease;
}

.category-tile:hover,
.catalog-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.24);
}

.category-tile {
  min-height: 180px;
  padding: 22px;
}

.category-title {
  display: block;
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: 900;
}

.category-desc {
  display: block;
  max-width: 300px;
  color: var(--muted);
  line-height: 1.7;
}

.category-thumbs {
  position: absolute;
  right: 18px;
  bottom: -16px;
  display: flex;
  gap: 8px;
}

.category-thumbs img {
  width: 72px;
  height: 104px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.35);
}

.category-thumbs img:nth-child(2) {
  transform: translateY(-14px);
}

.category-thumbs img:nth-child(3) {
  transform: translateY(-5px);
}

.ranking-section {
  width: 100%;
  max-width: none;
  padding-right: max(16px, calc((100% - 1180px) / 2));
  padding-left: max(16px, calc((100% - 1180px) / 2));
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
}

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

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

.rank-card {
  display: grid;
  grid-template-columns: auto 78px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.055);
}

.rank-num {
  display: grid;
  min-width: 34px;
  min-height: 34px;
  place-items: center;
  border-radius: 12px;
  color: white;
  font-weight: 950;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.rank-poster img {
  width: 78px;
  height: 108px;
  border-radius: 14px;
  object-fit: cover;
}

.rank-card h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 850;
}

.rank-card p,
.rank-card span:not(.rank-num) {
  display: block;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.pill-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.pill-links a {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  transition: 0.2s ease;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.page-hero {
  min-height: 360px;
  padding: 92px max(16px, calc((100% - 1180px) / 2)) 70px;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 61, 113, 0.22), transparent 22rem),
    radial-gradient(circle at 20% 10%, rgba(6, 182, 212, 0.12), transparent 20rem),
    rgba(255, 255, 255, 0.03);
}

.page-hero h1 {
  font-size: clamp(42px, 7vw, 78px);
}

.page-hero p {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs a:hover {
  color: white;
}

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

.catalog-tile {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 220px;
}

.catalog-art {
  position: relative;
  min-height: 220px;
}

.catalog-art img {
  position: absolute;
  width: 96px;
  height: 142px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.35);
}

.catalog-art img:nth-child(1) {
  top: 32px;
  left: 28px;
  z-index: 4;
}

.catalog-art img:nth-child(2) {
  top: 22px;
  left: 88px;
  z-index: 3;
}

.catalog-art img:nth-child(3) {
  top: 58px;
  left: 120px;
  z-index: 2;
}

.catalog-art img:nth-child(4) {
  top: 82px;
  left: 58px;
  z-index: 1;
}

.catalog-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px;
}

.catalog-info p {
  color: var(--muted);
  line-height: 1.75;
}

.catalog-info span {
  width: fit-content;
  margin-top: 8px;
  padding: 9px 13px;
  border-radius: 999px;
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

.detail-hero {
  min-height: 560px;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  filter: blur(2px) saturate(1.08);
  transform: scale(1.04);
}

.detail-backdrop::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 7, 13, 0.94), rgba(5, 7, 13, 0.7), rgba(5, 7, 13, 0.84)),
    linear-gradient(0deg, #05070d, rgba(5, 7, 13, 0.12));
}

.detail-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 74px 0 70px;
}

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

.detail-poster {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

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

.detail-copy h1 {
  font-size: clamp(42px, 6vw, 76px);
}

.detail-copy p {
  max-width: 760px;
  margin: 22px 0 0;
  color: #d9deea;
  font-size: 19px;
  line-height: 1.85;
}

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

.detail-section {
  padding-bottom: 36px;
}

.player-shell {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 30px;
  background: #000;
  box-shadow: var(--shadow);
}

.movie-player {
  position: relative;
  aspect-ratio: 16 / 9;
  background: black;
}

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

.player-cover {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  color: white;
  background: #000;
  cursor: pointer;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

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

.player-cover-bg,
.player-cover-shade {
  position: absolute;
  inset: 0;
}

.player-cover-bg {
  background-position: center;
  background-size: cover;
  filter: saturate(1.05);
}

.player-cover-shade {
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 61, 113, 0.2), rgba(0, 0, 0, 0.4) 38%, rgba(0, 0, 0, 0.72) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.72));
}

.play-button {
  position: relative;
  z-index: 2;
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.play-button span {
  width: 0;
  height: 0;
  margin-left: 8px;
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
  border-left: 28px solid white;
}

.two-column-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  padding-top: 28px;
}

.content-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.prose-card {
  padding: 30px;
}

.prose-card h2 + p {
  margin-top: 14px;
}

.prose-card p {
  margin: 0 0 28px;
  color: #d6dce8;
  font-size: 17px;
  line-height: 1.95;
}

.info-card {
  height: fit-content;
  padding: 26px;
}

.info-card dl {
  margin: 18px 0 0;
}

.info-card dt {
  margin-top: 16px;
  color: var(--subtle);
  font-size: 13px;
}

.info-card dd {
  margin: 4px 0 0;
  color: white;
  font-weight: 750;
  line-height: 1.6;
}

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

.empty-state {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  color: var(--muted);
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

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

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

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

.footer-links a {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
}

.footer-bottom {
  padding: 18px;
  border-top: 1px solid var(--line);
  color: var(--subtle);
  text-align: center;
}

@media (max-width: 1120px) {
  .cards-grid,
  .home-grid,
  .related-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

  .site-nav {
    position: absolute;
    top: 68px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(6, 8, 15, 0.96);
    box-shadow: var(--shadow);
  }

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

  .nav-link {
    border-radius: 14px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: 760px;
    padding: 54px 0 170px;
  }

  .hero-poster {
    width: min(260px, 72vw);
    transform: none;
  }

  .hero-thumbs {
    display: none;
  }

  .hero-control-panel {
    align-items: center;
    justify-content: center;
  }

  .section-head,
  .footer-inner {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

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

  .category-grid,
  .catalog-grid,
  .catalog-tile,
  .two-column-section,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .catalog-art {
    min-height: 190px;
  }

  .detail-poster {
    width: min(260px, 70vw);
  }
}

@media (max-width: 620px) {
  .header-inner,
  .section,
  .detail-inner {
    width: min(100% - 24px, 1180px);
  }

  .hero-content {
    width: min(100% - 24px, 1180px);
  }

  .cards-grid,
  .home-grid,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .rank-grid,
  .rank-list,
  .full-rank-list {
    grid-template-columns: 1fr;
  }

  .rank-card {
    grid-template-columns: auto 66px minmax(0, 1fr);
  }

  .rank-poster img {
    width: 66px;
    height: 92px;
  }

  .select-row {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .page-hero h1,
  .detail-copy h1 {
    letter-spacing: -0.04em;
  }

  .category-tile {
    min-height: 220px;
  }

  .category-thumbs img {
    width: 60px;
    height: 88px;
  }

  .play-button {
    width: 76px;
    height: 76px;
  }

  .play-button span {
    border-top-width: 14px;
    border-bottom-width: 14px;
    border-left-width: 22px;
  }

  .card-body {
    padding: 12px;
  }

  .card-body h3 {
    min-height: 44px;
    font-size: 14px;
  }

  .card-body p {
    min-height: 58px;
    font-size: 12px;
  }
}
