:root {
  --bg: #020617;
  --bg-soft: #0f172a;
  --bg-card: rgba(15, 23, 42, 0.78);
  --border: rgba(148, 163, 184, 0.16);
  --text: #f8fafc;
  --muted: #94a3b8;
  --dim: #64748b;
  --primary: #10b981;
  --primary-strong: #059669;
  --primary-soft: rgba(16, 185, 129, 0.16);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  --radius: 22px;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(16, 185, 129, 0.12), transparent 34rem),
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.08), transparent 30rem),
    var(--bg);
  min-height: 100vh;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  background: rgba(2, 6, 23, 0.9);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
}

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

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

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #04120d;
  background: linear-gradient(135deg, #34d399, #a7f3d0);
  box-shadow: 0 0 34px rgba(16, 185, 129, 0.42);
}

.brand-name {
  font-size: 21px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #cbd5e1;
  font-size: 14px;
}

.nav-link {
  position: relative;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 99px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

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

.nav-link-muted {
  color: #94a3b8;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.76);
  color: #ffffff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: #e2e8f0;
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 14px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.96);
}

.mobile-nav.open {
  display: grid;
  gap: 8px;
}

.mobile-link {
  padding: 11px 12px;
  border-radius: 12px;
  color: #cbd5e1;
}

.mobile-link:hover,
.mobile-link.active {
  color: #ffffff;
  background: rgba(16, 185, 129, 0.12);
}

.hero-section {
  position: relative;
  min-height: 650px;
  padding-top: 66px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

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

.hero-mask {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.96) 0%, rgba(2, 6, 23, 0.7) 44%, rgba(2, 6, 23, 0.1) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(2, 6, 23, 0.28) 44%, rgba(2, 6, 23, 0.42) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 110px 0 82px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 36px;
  align-items: end;
}

.hero-content {
  max-width: 680px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 13px;
  border-radius: 999px;
  color: #a7f3d0;
  background: var(--primary-soft);
  border: 1px solid rgba(52, 211, 153, 0.24);
  font-size: 13px;
  font-weight: 700;
}

.hero-content h1,
.page-hero h1,
.detail-info h1 {
  margin: 18px 0 18px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.hero-content p,
.page-hero p,
.detail-one-line {
  color: #d1d5db;
  font-size: 18px;
  line-height: 1.8;
  margin: 0;
}

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

.hero-tags {
  margin: 24px 0 30px;
}

.hero-tags a,
.hero-tags span,
.detail-meta span,
.tag-list span,
.rank-tags span {
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 13px;
}

.hero-tags a:hover {
  color: #ffffff;
  border-color: rgba(52, 211, 153, 0.48);
}

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

.primary-btn,
.ghost-btn,
.rank-action,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 12px;
  padding: 0 20px;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.primary-btn {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 18px 38px rgba(16, 185, 129, 0.24);
}

.primary-btn:hover,
.rank-action:hover {
  background: var(--primary-strong);
  transform: translateY(-2px);
}

.ghost-btn,
.text-link {
  color: #e2e8f0;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.46);
}

.ghost-btn:hover,
.text-link:hover {
  border-color: rgba(52, 211, 153, 0.42);
  transform: translateY(-2px);
}

.hero-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(2, 6, 23, 0.56);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-panel-title {
  font-weight: 800;
  margin-bottom: 14px;
  color: #ffffff;
}

.hero-mini-grid {
  display: grid;
  gap: 12px;
}

.hero-mini {
  display: grid;
  grid-template-columns: 74px 1fr;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.68);
  border: 1px solid transparent;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.hero-mini:hover {
  transform: translateX(4px);
  background: rgba(15, 23, 42, 0.94);
  border-color: rgba(52, 211, 153, 0.34);
}

.hero-mini img {
  width: 74px;
  height: 54px;
  object-fit: cover;
  border-radius: 12px;
}

.hero-mini span {
  color: #f8fafc;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

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

.search-band {
  margin-top: -34px;
  position: relative;
  z-index: 5;
}

.search-card,
.filter-tools {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  gap: 22px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  background: rgba(15, 23, 42, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.search-card h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.search-card p {
  margin: 0;
  color: var(--muted);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.72);
}

.search-box.wide {
  width: 100%;
}

.search-box span {
  color: #a7f3d0;
  font-weight: 800;
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #ffffff;
}

.search-box input::placeholder {
  color: #64748b;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 62px 0 24px;
}

.section-heading h2 {
  position: relative;
  margin: 0;
  padding-left: 16px;
  font-size: 28px;
  letter-spacing: -0.02em;
}

.section-heading h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 99px;
  background: var(--primary);
}

.section-heading a {
  color: #a7f3d0;
  font-weight: 700;
}

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

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

.category-movie-grid {
  margin-top: 24px;
}

.movie-card {
  min-width: 0;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(15, 23, 42, 0.62);
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(52, 211, 153, 0.38);
  background: rgba(15, 23, 42, 0.86);
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #0f172a;
}

.movie-card-small .poster-link {
  aspect-ratio: 3 / 4;
}

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

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

.poster-glow {
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), transparent);
}

.play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: rgba(16, 185, 129, 0.92);
  transform: translate(-50%, -50%) scale(0.72);
  opacity: 0;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

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

.poster-meta {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  color: #e2e8f0;
  background: rgba(2, 6, 23, 0.78);
  font-size: 12px;
}

.movie-info {
  padding: 14px;
}

.movie-title {
  display: block;
  color: #ffffff;
  font-weight: 800;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.movie-card:hover .movie-title {
  color: #6ee7b7;
}

.movie-subline {
  gap: 8px;
  margin-top: 8px;
  color: #94a3b8;
  font-size: 12px;
}

.movie-subline a {
  color: #a7f3d0;
}

.movie-desc {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  min-height: 42px;
  margin: 10px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.category-card {
  position: relative;
  min-height: 210px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  box-shadow: var(--shadow);
}

.category-card img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.category-card:hover img {
  transform: scale(1.08);
}

.category-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.94), rgba(2, 6, 23, 0.18));
}

.category-card div {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
}

.category-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
}

.category-card p {
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

.editor-section {
  border: 1px solid var(--border);
  border-radius: 28px;
  margin-top: 64px;
  padding: 0 28px 28px;
  background: rgba(15, 23, 42, 0.46);
}

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

.editor-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  background: rgba(2, 6, 23, 0.42);
  border: 1px solid rgba(148, 163, 184, 0.12);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.editor-card:hover {
  transform: translateY(-4px);
  border-color: rgba(52, 211, 153, 0.34);
}

.editor-card img {
  width: 120px;
  height: 90px;
  object-fit: cover;
  border-radius: 14px;
}

.editor-card strong {
  display: block;
  color: #ffffff;
  margin-bottom: 8px;
}

.editor-card p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.editor-card span {
  color: var(--dim);
  font-size: 12px;
}

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

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

.rank-item {
  display: grid;
  grid-template-columns: 76px 48px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.74);
  border: 1px solid rgba(148, 163, 184, 0.12);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.rank-item:hover {
  transform: translateX(4px);
  border-color: rgba(52, 211, 153, 0.36);
}

.rank-cover img {
  width: 76px;
  height: 88px;
  border-radius: 12px;
  object-fit: cover;
}

.rank-number {
  color: #6ee7b7;
  font-size: 22px;
  font-weight: 900;
  text-align: center;
}

.rank-title {
  color: #ffffff;
  font-weight: 800;
}

.rank-body p {
  margin: 6px 0 9px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.rank-tags span {
  padding: 4px 8px;
  font-size: 12px;
}

.rank-action {
  min-height: 36px;
  padding: 0 14px;
  color: #ffffff;
  background: rgba(16, 185, 129, 0.86);
}

.page-main {
  padding-top: 66px;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.98));
}

.slim-hero,
.category-hero {
  padding: 72px 0 54px;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: clamp(34px, 5vw, 56px);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumb a {
  color: #a7f3d0;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 20px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.category-overview-cover img {
  width: 190px;
  height: 230px;
  object-fit: cover;
  border-radius: 18px;
}

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

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

.category-samples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 18px;
}

.category-samples a {
  padding: 6px 10px;
  border-radius: 999px;
  color: #cbd5e1;
  background: rgba(2, 6, 23, 0.54);
  font-size: 12px;
}

.filter-bar {
  padding: 36px 0 10px;
}

.filter-tools {
  grid-template-columns: minmax(280px, 1fr) minmax(300px, 1.3fr);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.filter-chips button {
  min-height: 38px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0 14px;
  color: #cbd5e1;
  background: rgba(2, 6, 23, 0.46);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-chips button:hover,
.filter-chips button.active {
  color: #ffffff;
  background: var(--primary-soft);
  border-color: rgba(52, 211, 153, 0.38);
}

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

.full-rank-list {
  margin-top: 24px;
}

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

.detail-mask {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.62)),
    linear-gradient(0deg, var(--bg), rgba(2, 6, 23, 0.24));
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  padding: 54px 0 56px;
}

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

.detail-poster img {
  width: 280px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.detail-info h1 {
  max-width: 820px;
  font-size: clamp(34px, 5vw, 58px);
}

.detail-one-line {
  max-width: 820px;
}

.detail-meta {
  margin: 22px 0 12px;
}

.tag-list {
  margin: 18px 0 28px;
}

.tag-list span {
  background: rgba(16, 185, 129, 0.12);
  color: #a7f3d0;
}

.player-section {
  margin-top: 52px;
}

.player-section h2,
.detail-text h2 {
  margin: 0 0 18px;
  font-size: 28px;
}

.player-shell {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: #000000;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: var(--shadow);
}

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

.player-cover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 0;
  color: #ffffff;
  background: #000000;
  cursor: pointer;
  transition: opacity 0.24s ease, visibility 0.24s ease;
  z-index: 3;
}

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

.player-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.62);
}

.player-cover-mask {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(16, 185, 129, 0.18), rgba(2, 6, 23, 0.62));
}

.big-play {
  position: absolute;
  width: 92px;
  height: 92px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 6px;
  background: rgba(16, 185, 129, 0.92);
  box-shadow: 0 0 0 18px rgba(16, 185, 129, 0.16), 0 28px 58px rgba(0, 0, 0, 0.35);
  font-size: 38px;
}

.detail-text {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 42px;
}

.detail-text article {
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.62);
}

.detail-text p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.95;
}

.site-footer {
  margin-top: 76px;
  border-top: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.72);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 38px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.footer-brand {
  color: #ffffff;
  margin-bottom: 14px;
}

.site-footer p {
  max-width: 520px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: #cbd5e1;
}

.footer-links a:hover {
  color: #6ee7b7;
}

.copyright {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 26px;
  color: var(--dim);
  font-size: 13px;
}

.movie-card.is-hidden,
.rank-item.is-hidden {
  display: none;
}

@media (max-width: 1100px) {
  .desktop-nav {
    gap: 13px;
    font-size: 13px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    align-items: center;
  }

  .hero-panel {
    max-width: 620px;
  }

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

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

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

  .editor-grid,
  .home-rank-list,
  .detail-text,
  .category-overview-grid {
    grid-template-columns: 1fr;
  }
}

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

  .menu-toggle {
    display: inline-flex;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-inner {
    padding: 82px 0 50px;
  }

  .hero-content h1,
  .page-hero h1,
  .detail-info h1 {
    font-size: 38px;
  }

  .hero-content p,
  .page-hero p,
  .detail-one-line {
    font-size: 16px;
  }

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

  .filter-chips {
    justify-content: flex-start;
  }

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

  .editor-card,
  .rank-item,
  .category-overview-card,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .rank-item {
    align-items: start;
  }

  .rank-cover img,
  .editor-card img,
  .category-overview-cover img,
  .detail-poster img {
    width: 100%;
    height: auto;
  }

  .rank-action {
    width: fit-content;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .header-inner,
  .mobile-nav,
  .content-wrap,
  .hero-inner,
  .footer-inner,
  .copyright {
    width: min(100% - 24px, 1180px);
  }

  .brand-name {
    font-size: 18px;
  }

  .hero-content h1,
  .page-hero h1,
  .detail-info h1 {
    font-size: 32px;
  }

  .hero-actions {
    display: grid;
  }

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

  .category-card {
    min-height: 190px;
  }

  .category-card img {
    min-height: 190px;
  }

  .editor-section {
    padding: 0 16px 18px;
  }

  .rank-number {
    text-align: left;
  }

  .big-play {
    width: 72px;
    height: 72px;
    font-size: 30px;
  }
}
