:root {
  color-scheme: dark;
  --bg: #090b12;
  --panel: rgba(18, 24, 38, 0.88);
  --panel-strong: #151b2b;
  --panel-soft: rgba(255, 255, 255, 0.06);
  --text: #f8fafc;
  --muted: #9ca3af;
  --line: rgba(255, 255, 255, 0.10);
  --red: #ef4444;
  --orange: #f97316;
  --gold: #fbbf24;
  --blue: #38bdf8;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  background:
    radial-gradient(circle at 12% 8%, rgba(239, 68, 68, 0.18), transparent 28rem),
    radial-gradient(circle at 88% 18%, rgba(249, 115, 22, 0.13), transparent 24rem),
    linear-gradient(180deg, #111827 0%, #05070d 46%, #0b0f19 100%);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(90deg, rgba(9, 12, 20, 0.96), rgba(22, 27, 40, 0.96), rgba(9, 12, 20, 0.96));
  border-bottom: 1px solid var(--line);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1220px, calc(100% - 32px));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: fit-content;
  font-weight: 900;
  letter-spacing: -0.04em;
}

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

.brand-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 14px;
  color: white;
  background: linear-gradient(135deg, var(--red), var(--orange));
  box-shadow: 0 10px 28px rgba(239, 68, 68, 0.38);
}

.brand-text {
  font-size: 24px;
  background: linear-gradient(90deg, #f87171, #fb923c, #facc15);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

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

.nav-link {
  color: #d1d5db;
  padding: 9px 12px;
  border-radius: 999px;
  transition: 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

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

.header-search input,
.mobile-search input,
.filter-search input {
  min-width: 220px;
  color: white;
  background: rgba(31, 41, 55, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.13);
  outline: none;
  border-radius: 999px;
  padding: 11px 15px;
  transition: 0.2s ease;
}

.header-search input:focus,
.mobile-search input:focus,
.filter-search input:focus {
  border-color: rgba(248, 113, 113, 0.9);
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.16);
}

.header-search button,
.mobile-search button,
.hero-actions a,
.hero-actions button,
.filter-buttons button,
.player-start,
.primary-button,
.secondary-button {
  border: 0;
  cursor: pointer;
  color: white;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red), var(--orange));
  padding: 11px 18px;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(239, 68, 68, 0.24);
  transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease;
}

.header-search button:hover,
.mobile-search button:hover,
.hero-actions a:hover,
.hero-actions button:hover,
.filter-buttons button:hover,
.player-start:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-1px) scale(1.02);
  filter: brightness(1.08);
}

.mobile-menu-button {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.quick-channel {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 10px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
}

.quick-channel a {
  color: #cbd5e1;
  font-size: 13px;
  white-space: nowrap;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-panel {
  display: none;
  border-top: 1px solid var(--line);
  padding: 14px 16px 18px;
  background: rgba(9, 12, 20, 0.98);
}

.mobile-panel.open {
  display: block;
}

.mobile-search {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.mobile-search input {
  min-width: 0;
  flex: 1;
}

.mobile-panel nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.hero {
  position: relative;
  height: min(760px, calc(100vh - 68px));
  min-height: 560px;
  overflow: hidden;
  background: #06080f;
}

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

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: saturate(1.05) contrast(1.02);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(249, 115, 22, 0.25), transparent 26rem),
    linear-gradient(90deg, rgba(3, 5, 10, 0.93) 0%, rgba(3, 5, 10, 0.70) 44%, rgba(3, 5, 10, 0.25) 100%),
    linear-gradient(0deg, #05070d 0%, transparent 52%);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(1220px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  padding-bottom: 74px;
}

.hero-copy {
  width: min(760px, 100%);
}

.hero-kicker,
.page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fed7aa;
  background: rgba(239, 68, 68, 0.16);
  border: 1px solid rgba(248, 113, 113, 0.30);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 800;
}

.hero h1 {
  margin: 22px 0 14px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.96;
  letter-spacing: -0.07em;
}

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-meta span,
.tag-row span,
.detail-tags span {
  color: #f3f4f6;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
}

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

.hero-actions .secondary-button,
.secondary-button {
  background: rgba(255, 255, 255, 0.10);
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-search-card {
  position: absolute;
  z-index: 5;
  right: max(16px, calc((100vw - 1220px) / 2));
  bottom: 72px;
  width: min(360px, calc(100% - 32px));
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  background: rgba(17, 24, 39, 0.70);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

.hero-search-card strong {
  display: block;
  font-size: 18px;
  margin-bottom: 10px;
}

.hero-search-card p {
  margin: 0 0 15px;
  color: var(--muted);
  line-height: 1.6;
}

.hero-search-card form {
  display: flex;
  gap: 8px;
}

.hero-search-card input {
  min-width: 0;
  flex: 1;
  color: white;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 11px 14px;
  outline: none;
}

.hero-search-card button {
  border: 0;
  color: white;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red), var(--orange));
  padding: 0 16px;
  font-weight: 800;
}

.hero-dots {
  position: absolute;
  z-index: 6;
  left: max(16px, calc((100vw - 1220px) / 2));
  bottom: 28px;
  display: flex;
  gap: 9px;
}

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

.hero-dots button.active {
  width: 36px;
  background: linear-gradient(90deg, var(--red), var(--orange));
}

.main-content,
.page-content {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0;
}

.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 18% 0%, rgba(239, 68, 68, 0.26), transparent 30rem),
    radial-gradient(circle at 88% 20%, rgba(56, 189, 248, 0.16), transparent 26rem),
    linear-gradient(135deg, rgba(17, 24, 39, 0.92), rgba(3, 7, 18, 0.96));
}

.page-hero-inner {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0;
}

.page-hero h1 {
  max-width: 920px;
  margin: 18px 0 14px;
  font-size: clamp(36px, 5vw, 58px);
  letter-spacing: -0.06em;
  line-height: 1.06;
}

.page-hero p {
  max-width: 820px;
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.8;
  margin: 0;
}

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.04em;
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.section-link {
  color: #fca5a5;
  font-weight: 800;
  white-space: nowrap;
}

.content-section {
  margin-bottom: 62px;
}

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

.movie-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(17, 24, 39, 0.78);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.25);
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  border-color: rgba(248, 113, 113, 0.38);
  background: rgba(23, 31, 48, 0.95);
}

.poster {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #111827, #030712);
}

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

.movie-card:hover .poster img,
.hot-item:hover .hot-thumb img,
.category-card:hover img {
  transform: scale(1.08);
}

.quality,
.card-year,
.rank-badge {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  color: white;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 8px;
  background: rgba(0, 0, 0, 0.70);
  backdrop-filter: blur(8px);
}

.quality {
  top: 9px;
  left: 9px;
  background: linear-gradient(135deg, var(--red), var(--orange));
}

.card-year {
  right: 9px;
  bottom: 9px;
}

.rank-badge {
  top: 9px;
  right: 9px;
  min-width: 28px;
  text-align: center;
  background: rgba(251, 191, 36, 0.92);
  color: #111827;
}

.card-body {
  padding: 14px;
}

.card-title {
  display: -webkit-box;
  min-height: 44px;
  color: white;
  font-weight: 900;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-title:hover {
  color: #fca5a5;
}

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

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 10px;
  color: #cbd5e1;
  font-size: 12px;
}

.card-meta span {
  padding: 3px 7px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

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

.scroll-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 220px;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-color: rgba(239, 68, 68, 0.75) rgba(255, 255, 255, 0.08);
}

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

.hot-item {
  display: grid;
  grid-template-columns: 48px 118px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(17, 24, 39, 0.76);
  transition: 0.22s ease;
}

.hot-item:hover {
  border-color: rgba(251, 146, 60, 0.35);
  background: rgba(23, 31, 48, 0.95);
}

.hot-index {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 15px;
  color: white;
  font-weight: 900;
  background: linear-gradient(135deg, var(--red), var(--orange));
}

.hot-thumb {
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 16 / 10;
  background: #111827;
}

.hot-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.hot-info a {
  display: block;
  color: white;
  font-weight: 900;
  margin-bottom: 6px;
}

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

.hot-info span {
  color: #fca5a5;
  font-size: 12px;
  font-weight: 800;
}

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

.category-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  transition: transform 0.35s ease;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.88));
}

.category-card-content {
  position: relative;
  z-index: 2;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

.category-card h3 {
  margin: 0 0 8px;
  font-size: 24px;
}

.category-card p {
  margin: 0 0 16px;
  color: #d1d5db;
  line-height: 1.6;
}

.category-card span {
  color: #fca5a5;
  font-weight: 900;
}

.filter-panel {
  display: grid;
  gap: 16px;
  margin: 0 0 28px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(17, 24, 39, 0.76);
}

.filter-search {
  display: grid;
  gap: 8px;
  color: #e5e7eb;
  font-weight: 900;
}

.filter-search input {
  width: 100%;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.filter-buttons button {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 9px 13px;
}

.filter-buttons button.active {
  background: linear-gradient(135deg, var(--red), var(--orange));
}

.no-results {
  display: none;
  padding: 28px;
  text-align: center;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(17, 24, 39, 0.76);
}

.no-results.visible {
  display: block;
}

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

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: #000;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

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

.player-start {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  padding: 16px 24px;
  z-index: 3;
}

.player-start:hover {
  transform: translate(-50%, -50%) scale(1.03);
}

.player-start.hidden {
  opacity: 0;
  pointer-events: none;
}

.detail-card,
.side-card,
.prose-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(17, 24, 39, 0.78);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.26);
}

.detail-card,
.prose-card {
  padding: 24px;
}

.detail-title {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -0.05em;
  line-height: 1.12;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  color: #d1d5db;
}

.detail-meta span {
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(255, 255, 255, 0.08);
}

.detail-lead {
  color: #e5e7eb;
  font-size: 18px;
  line-height: 1.75;
  margin: 0 0 18px;
}

.prose-card h2,
.side-card h2 {
  margin: 0 0 16px;
  font-size: 24px;
}

.prose-card p {
  color: #d1d5db;
  line-height: 1.9;
  margin: 0 0 14px;
}

.side-card {
  padding: 18px;
}

.side-poster {
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 2 / 3;
  margin-bottom: 16px;
  background: #111827;
}

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

.side-list {
  display: grid;
  gap: 12px;
}

.side-mini {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.05);
}

.side-mini img {
  width: 76px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
}

.side-mini strong {
  display: -webkit-box;
  color: white;
  font-size: 14px;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.side-mini span {
  display: block;
  color: #fca5a5;
  margin-top: 5px;
  font-size: 12px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: #cbd5e1;
  font-size: 14px;
}

.breadcrumbs a {
  color: #fca5a5;
}

.rank-table {
  display: grid;
  gap: 12px;
}

.rank-row {
  display: grid;
  grid-template-columns: 52px 108px 1fr 120px;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(17, 24, 39, 0.76);
}

.rank-row img {
  width: 108px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 13px;
}

.rank-row-index {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 15px;
  color: white;
  font-weight: 900;
  background: linear-gradient(135deg, var(--red), var(--orange));
}

.rank-row h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.rank-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.rank-score {
  color: #fbbf24;
  font-weight: 900;
  text-align: right;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(3, 7, 18, 0.92);
}

.footer-inner {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0 26px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 28px;
}

.footer-brand p {
  color: var(--muted);
  line-height: 1.8;
  margin: 14px 0 0;
}

.footer-links strong {
  display: block;
  margin-bottom: 12px;
  color: white;
}

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

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

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

.footer-bottom {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  color: #6b7280;
  font-size: 13px;
}

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

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

@media (max-width: 980px) {
  .desktop-nav,
  .header-search,
  .quick-channel {
    display: none;
  }

  .mobile-menu-button {
    display: inline-grid;
    place-items: center;
  }

  .header-inner {
    height: 64px;
  }

  .hero {
    min-height: 690px;
    height: auto;
  }

  .hero-content {
    min-height: 690px;
    align-items: center;
    padding: 92px 0 200px;
  }

  .hero-search-card {
    left: 16px;
    right: 16px;
    bottom: 56px;
    width: auto;
  }

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

  .hot-list {
    grid-template-columns: 1fr;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .brand-text {
    font-size: 20px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .main-content,
  .page-content,
  .page-hero-inner {
    width: min(100% - 24px, 1220px);
  }

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

  .scroll-row {
    grid-auto-columns: 178px;
  }

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

  .section-heading {
    display: block;
  }

  .section-link {
    display: inline-block;
    margin-top: 10px;
  }

  .hot-item {
    grid-template-columns: 38px 88px 1fr;
    gap: 10px;
  }

  .hot-index {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }

  .rank-row {
    grid-template-columns: 42px 84px 1fr;
  }

  .rank-score {
    grid-column: 3;
    text-align: left;
  }

  .card-body {
    padding: 12px;
  }

  .detail-card,
  .prose-card,
  .side-card {
    padding: 18px;
  }
}
