:root {
  --red: #ef4444;
  --pink: #ec4899;
  --orange: #f97316;
  --purple: #7c3aed;
  --indigo: #4338ca;
  --blue: #2563eb;
  --slate: #0f172a;
  --text: #1f2937;
  --muted: #6b7280;
  --soft: #f8fafc;
  --line: rgba(148, 163, 184, 0.28);
  --shadow: 0 22px 70px rgba(15, 23, 42, 0.14);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(236, 72, 153, 0.16), transparent 32rem),
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.16), transparent 34rem),
    linear-gradient(180deg, #fff7fb 0%, #eef2ff 42%, #ffffff 100%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, var(--red), var(--pink), var(--orange));
  box-shadow: 0 14px 35px rgba(219, 39, 119, 0.24);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.03em;
  white-space: nowrap;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fef3c7;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #fff;
  font-weight: 700;
}

.desktop-nav a {
  opacity: 0.94;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.nav-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  width: min(310px, 34vw);
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
}

.nav-search input,
.hero-search input,
.filter-panel input,
.filter-panel select {
  width: 100%;
  border: 0;
  outline: 0;
  font: inherit;
}

.nav-search input {
  padding: 9px 10px 9px 16px;
  background: transparent;
}

.nav-search button,
.hero-search button {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(90deg, var(--purple), var(--pink));
  font-weight: 800;
  white-space: nowrap;
}

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

.menu-toggle {
  display: none;
  border: 0;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  font-size: 24px;
}

.mobile-nav {
  display: none;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 16px;
}

.mobile-nav a {
  display: block;
  padding: 12px 14px;
  color: #fff;
  font-weight: 800;
  border-radius: 14px;
}

.mobile-nav a:hover {
  background: rgba(255, 255, 255, 0.16);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 690px;
  color: #fff;
  background:
    linear-gradient(130deg, rgba(88, 28, 135, 0.96), rgba(30, 64, 175, 0.94) 52%, rgba(15, 23, 42, 0.98)),
    radial-gradient(circle at 70% 10%, rgba(244, 114, 182, 0.42), transparent 32rem);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(251, 191, 36, 0.22), transparent 28rem),
    radial-gradient(circle at 88% 38%, rgba(236, 72, 153, 0.30), transparent 32rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 56%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 86px 0 64px;
}

.hero-slides {
  position: relative;
  min-height: 470px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  align-items: center;
  gap: 48px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(0.985);
  transition: opacity 0.55s ease, transform 0.55s ease, visibility 0.55s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.eyebrow {
  margin: 0 0 12px;
  color: #fde68a;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy h1,
.hero-copy h2,
.page-hero h1,
.detail-copy h1 {
  margin: 0;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.hero-copy h1,
.hero-copy h2 {
  max-width: 760px;
  font-size: clamp(46px, 7vw, 92px);
  text-shadow: 0 22px 60px rgba(0, 0, 0, 0.30);
}

.hero-copy p:not(.eyebrow) {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.9;
}

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

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

.hero-tags span,
.detail-meta span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.hero-tags span {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

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

.primary-btn,
.ghost-btn,
.text-link,
.card-link,
.hero-mini-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn {
  padding: 13px 24px;
  color: #7c2d12;
  background: linear-gradient(90deg, #fde68a, #fbbf24);
  box-shadow: 0 14px 35px rgba(251, 191, 36, 0.30);
}

.ghost-btn {
  padding: 12px 22px;
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.primary-btn:hover,
.ghost-btn:hover,
.text-link:hover,
.card-link:hover,
.hero-mini-link:hover {
  transform: translateY(-2px);
}

.hero-poster {
  position: relative;
  display: block;
  border-radius: 34px;
  overflow: hidden;
  min-height: 430px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.hero-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 46%, rgba(15, 23, 42, 0.45));
  pointer-events: none;
}

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

.hero-control-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
}

.hero-dots,
.hero-arrows {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-dot,
.hero-arrows button {
  border: 0;
  cursor: pointer;
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border-radius: 999px;
}

.hero-dot.is-active {
  width: 38px;
  background: #fde68a;
}

.hero-arrows button {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  font-size: 28px;
}

.hero-arrows button:hover,
.hero-dot:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.34);
}

.hero-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(760px, 100%);
  margin-top: 30px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(20px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.hero-search input {
  padding: 14px 18px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.hero-search input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.hero-search button {
  padding: 14px 24px;
  color: #7c2d12;
  background: linear-gradient(90deg, #fef3c7, #fbbf24);
}

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

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

.section-heading p {
  margin: 0 0 6px;
  color: var(--pink);
  font-weight: 900;
}

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

.section-heading a,
.text-link {
  color: var(--purple);
  font-weight: 900;
}

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

.category-tile,
.category-overview-card,
.content-card,
.filter-panel,
.rank-entry,
.movie-card {
  border: 1px solid rgba(148, 163, 184, 0.20);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.category-tile {
  min-height: 188px;
  padding: 22px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}

.category-tile::after {
  content: "";
  position: absolute;
  right: -32px;
  bottom: -42px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.18), rgba(37, 99, 235, 0.18));
}

.category-tile span,
.category-overview-card > div > p:first-child {
  color: var(--pink);
  font-size: 13px;
  font-weight: 900;
}

.category-tile strong {
  display: block;
  margin-top: 9px;
  font-size: 22px;
  color: var(--slate);
}

.category-tile p {
  position: relative;
  z-index: 1;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

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

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

.movie-card {
  overflow: hidden;
  border-radius: 26px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 26px 80px rgba(15, 23, 42, 0.22);
}

.poster {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.18), rgba(79, 70, 229, 0.20));
}

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

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

.score,
.rank-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.20);
}

.score {
  right: 12px;
  bottom: 12px;
  min-width: 46px;
  min-height: 32px;
  padding: 6px 10px;
  background: linear-gradient(90deg, var(--pink), var(--orange));
}

.rank-badge {
  left: 12px;
  top: 12px;
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #fbbf24, #ef4444);
}

.card-body {
  padding: 18px;
}

.card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.card-meta a {
  color: var(--pink);
}

.card-body h3 {
  margin: 11px 0 9px;
  font-size: 20px;
  line-height: 1.35;
  color: var(--slate);
}

.card-body p {
  min-height: 62px;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 14px;
}

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

.tag-row span {
  color: #7c2d12;
  background: #ffedd5;
}

.card-link {
  margin-top: 16px;
  color: var(--purple);
}

.hot-section {
  width: min(1240px, calc(100% - 32px));
}

.rank-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

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

.rank-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 24px;
}

.rank-main {
  display: grid;
  grid-template-columns: 48px 74px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.rank-num {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--purple), var(--pink));
}

.rank-main img {
  width: 74px;
  height: 94px;
  object-fit: cover;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.18), rgba(79, 70, 229, 0.20));
}

.rank-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.rank-copy strong {
  color: var(--slate);
  font-size: 18px;
}

.rank-copy em,
.rank-copy small {
  color: var(--muted);
  font-style: normal;
  line-height: 1.6;
}

.rank-cat {
  color: var(--pink);
  font-weight: 900;
}

.rank-score,
.rank-hot {
  font-weight: 900;
}

.rank-score {
  color: var(--orange);
}

.rank-hot {
  color: var(--purple);
}

.page-main {
  padding-top: 0;
}

.page-hero {
  width: min(1240px, calc(100% - 32px));
  margin: 38px auto 0;
  padding: 54px;
  color: #fff;
  border-radius: 34px;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at 80% 10%, rgba(253, 230, 138, 0.24), transparent 25rem),
    linear-gradient(130deg, #581c87, #3730a3 54%, #111827);
  box-shadow: var(--shadow);
}

.page-hero h1 {
  font-size: clamp(38px, 6vw, 70px);
}

.page-hero p:not(.eyebrow) {
  max-width: 820px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.9;
}

.category-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.hero-mini-link {
  padding: 12px 20px;
  color: #7c2d12;
  background: linear-gradient(90deg, #fde68a, #fbbf24);
}

.breadcrumb {
  width: min(1240px, calc(100% - 32px));
  margin: 24px auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-weight: 800;
}

.breadcrumb a {
  color: var(--purple);
}

.list-section {
  padding-top: 30px;
}

.filter-panel {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr;
  gap: 14px;
  padding: 16px;
  border-radius: 24px;
  margin-bottom: 24px;
}

.filter-panel label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.filter-panel input,
.filter-panel select {
  min-height: 48px;
  padding: 0 14px;
  border-radius: 16px;
  color: var(--text);
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.24);
}

.empty-state {
  display: none;
  padding: 34px;
  text-align: center;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.8);
  border-radius: 24px;
}

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

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

.category-overview-card {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 22px;
  padding: 18px;
  border-radius: 28px;
}

.category-cover-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.category-cover-row img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.18), rgba(79, 70, 229, 0.20));
}

.category-overview-card h2 {
  margin: 4px 0 10px;
  color: var(--slate);
  font-size: 28px;
}

.category-overview-card p {
  color: var(--muted);
  line-height: 1.8;
}

.detail-hero {
  width: min(1240px, calc(100% - 32px));
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  padding: 34px;
  border-radius: 34px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 20%, rgba(251, 191, 36, 0.22), transparent 26rem),
    linear-gradient(130deg, #581c87, #1e3a8a 56%, #111827);
  box-shadow: var(--shadow);
}

.detail-poster {
  overflow: hidden;
  border-radius: 28px;
  min-height: 430px;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.18), rgba(79, 70, 229, 0.20));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.30);
}

.detail-poster img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

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

.detail-copy p:not(.eyebrow) {
  max-width: 850px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.9;
  font-size: 18px;
}

.detail-meta {
  margin-top: 22px;
}

.detail-meta span {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

.detail-tags span {
  color: #fef3c7;
  background: rgba(255, 255, 255, 0.12);
}

.player-section {
  width: min(1240px, calc(100% - 32px));
  margin: 28px auto 0;
}

.video-shell {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #020617;
  box-shadow: 0 28px 85px rgba(15, 23, 42, 0.28);
}

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

.play-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 0;
  cursor: pointer;
  color: #fff;
  display: grid;
  place-items: center;
  gap: 14px;
  background: radial-gradient(circle at center, rgba(15, 23, 42, 0.18), rgba(15, 23, 42, 0.62));
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.play-layer span {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #7c2d12;
  background: linear-gradient(135deg, #fef3c7, #fbbf24);
  box-shadow: 0 18px 55px rgba(251, 191, 36, 0.32);
  font-size: 34px;
  padding-left: 5px;
}

.play-layer strong {
  font-size: 22px;
  letter-spacing: 0.04em;
}

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

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

.content-card {
  padding: 28px;
  border-radius: 28px;
}

.content-card h2 {
  margin: 0 0 14px;
  color: var(--slate);
  font-size: 28px;
}

.content-card p {
  margin: 0;
  color: var(--text);
  line-height: 2;
}

.site-footer {
  margin-top: 44px;
  color: #dbeafe;
  background: linear-gradient(120deg, #581c87, #1e3a8a, #111827);
}

.footer-grid {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr;
  gap: 40px;
}

.footer-grid h2,
.footer-grid h3 {
  color: #fde68a;
  margin: 0 0 16px;
}

.footer-grid p {
  max-width: 520px;
  margin: 0;
  line-height: 1.9;
}

.footer-grid ul {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-grid a:hover {
  color: #fff;
}

.footer-bottom {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
}

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

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

  .compact-rank,
  .category-overview-grid,
  .detail-content {
    grid-template-columns: 1fr;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-slides {
    min-height: 840px;
  }

  .hero-poster {
    min-height: 380px;
  }
}

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

  .menu-toggle {
    display: inline-grid;
    place-items: center;
    margin-left: auto;
  }

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

  .hero-inner {
    padding-top: 58px;
  }

  .hero-copy h1,
  .hero-copy h2 {
    font-size: clamp(38px, 12vw, 62px);
  }

  .hero-slides {
    min-height: 760px;
  }

  .hero-search,
  .section-heading,
  .category-hero {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-search {
    border-radius: 24px;
  }

  .hero-search button {
    width: 100%;
  }

  .category-grid,
  .movie-grid,
  .compact-grid,
  .footer-grid,
  .filter-panel,
  .detail-hero {
    grid-template-columns: 1fr;
  }

  .page-hero,
  .detail-hero {
    padding: 30px;
    border-radius: 28px;
  }

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

  .rank-entry {
    grid-template-columns: 1fr;
  }

  .rank-main {
    grid-template-columns: 44px 68px minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .nav-wrap {
    width: min(100% - 20px, 1240px);
  }

  .logo {
    font-size: 18px;
  }

  .hero-inner,
  .section-wrap,
  .page-hero,
  .breadcrumb,
  .detail-hero,
  .player-section,
  .footer-grid,
  .footer-bottom {
    width: min(100% - 20px, 1240px);
  }

  .hero-slide {
    gap: 22px;
  }

  .hero-slides {
    min-height: 700px;
  }

  .hero-poster,
  .hero-poster img,
  .detail-poster,
  .detail-poster img {
    min-height: 320px;
  }

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

  .rank-copy small {
    display: none;
  }
}
