:root {
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-850: #111827;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --white: #ffffff;
  --amber: #f59e0b;
  --amber-strong: #fbbf24;
  --orange: #f97316;
  --cyan: #22d3ee;
  --emerald: #34d399;
  --rose: #fb7185;
  --card: rgba(30, 41, 59, 0.58);
  --card-strong: rgba(15, 23, 42, 0.9);
  --border: rgba(148, 163, 184, 0.16);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% -10%, rgba(245, 158, 11, 0.18), transparent 32rem),
    radial-gradient(circle at 92% 2%, rgba(34, 211, 238, 0.14), transparent 28rem),
    linear-gradient(180deg, var(--slate-950), #080c18 46%, var(--slate-950));
  color: var(--slate-300);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(2, 6, 23, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
}

.nav-wrap {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 16px 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  position: relative;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--amber-strong);
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #111827;
  background: linear-gradient(135deg, var(--amber-strong), var(--orange));
  box-shadow: 0 0 26px rgba(245, 158, 11, 0.35);
  font-size: 0.86rem;
}

.nav-links {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--slate-300);
  font-weight: 650;
}

.nav-links a,
.mobile-links a,
.site-footer a {
  transition: color 0.25s ease, transform 0.25s ease;
}

.nav-links a:hover,
.mobile-links a:hover,
.site-footer a:hover {
  color: var(--amber-strong);
}

.nav-toggle {
  display: none;
  justify-self: end;
  border: 0;
  background: rgba(30, 41, 59, 0.8);
  color: var(--white);
  border-radius: 12px;
  width: 42px;
  height: 42px;
  cursor: pointer;
}

.mobile-links {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.96);
}

.hero {
  position: relative;
  height: min(72vh, 640px);
  min-height: 500px;
  overflow: hidden;
  background: var(--slate-900);
  box-shadow: var(--shadow);
}

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

.hero-slide {
  opacity: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: opacity 0.7s ease, transform 1.1s ease;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.98), rgba(15, 23, 42, 0.88) 42%, rgba(15, 23, 42, 0.15) 100%),
    linear-gradient(0deg, rgba(2, 6, 23, 0.88), transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 760px;
  margin-left: max(16px, calc((100vw - 1200px) / 2));
  padding-right: 24px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--amber-strong);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.hero h2 {
  margin: 0 0 18px;
  color: var(--white);
  font-size: clamp(2.4rem, 6vw, 5.8rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
  max-width: 780px;
}

.hero-meta,
.card-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: var(--slate-300);
}

.hero-meta span,
.detail-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(30, 41, 59, 0.76);
  border: 1px solid var(--border);
}

.hero p:not(.eyebrow) {
  max-width: 680px;
  margin: 20px 0 30px;
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: var(--slate-300);
}

.hero-actions,
.center-action {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.primary-btn {
  background: linear-gradient(135deg, var(--amber-strong), var(--orange));
  color: #111827;
  box-shadow: 0 14px 34px rgba(245, 158, 11, 0.3);
}

.ghost-btn {
  color: var(--white);
  background: rgba(15, 23, 42, 0.58);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.primary-btn:hover,
.ghost-btn:hover {
  transform: translateY(-2px) scale(1.02);
}

.hero-arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.55);
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.hero-prev {
  left: 22px;
}

.hero-next {
  right: 22px;
}

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

.hero-dot {
  width: 42px;
  height: 5px;
  border: 0;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.5);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
  width: 64px;
  background: var(--amber-strong);
}

.page-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.page-top {
  padding-top: 46px;
}

.intro-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  margin-top: 42px;
  margin-bottom: 64px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.74), rgba(15, 23, 42, 0.76));
  box-shadow: var(--shadow);
}

.intro-panel h2,
.archive-head h1,
.section-title h2,
.detail-content h2,
.player-info h1 {
  margin: 0;
  color: var(--white);
  letter-spacing: -0.03em;
}

.intro-panel h2,
.archive-head h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.intro-panel p:last-child,
.archive-head p {
  max-width: 850px;
  margin-bottom: 0;
  color: var(--slate-300);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
}

.section-title h2 {
  font-size: clamp(1.55rem, 3vw, 2.3rem);
}

.section-title i {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.55), transparent);
}

.section-icon {
  color: var(--amber-strong);
}

.section-title.orange .section-icon {
  color: var(--orange);
}

.section-title.cyan .section-icon {
  color: var(--cyan);
}

.section-title.emerald .section-icon {
  color: var(--emerald);
}

.section-title.rose .section-icon {
  color: var(--rose);
}

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

.archive-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
}

.movie-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-5px) scale(1.01);
  border-color: rgba(245, 158, 11, 0.55);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.32);
}

.card-cover {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--slate-800);
}

.card-cover img,
.latest-item img,
.ranking-item img,
.rank-card img,
.mini-card img,
.poster-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.movie-card:hover .card-cover img,
.latest-item:hover img,
.ranking-item:hover img,
.rank-card:hover img,
.mini-card:hover img {
  transform: scale(1.08);
}

.card-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.84), transparent 58%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.movie-card:hover .card-cover::after {
  opacity: 1;
}

.card-play {
  position: absolute;
  z-index: 3;
  inset: 50% auto auto 50%;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.92);
  color: #111827;
  font-weight: 900;
  transform: translate(-50%, -50%) scale(0.82);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.card-score {
  position: absolute;
  z-index: 3;
  top: 10px;
  right: 10px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.78);
  color: var(--amber-strong);
  font-size: 0.82rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.card-body {
  padding: 14px;
}

.card-body h3 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 1rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-body h3 a:hover {
  color: var(--amber-strong);
}

.card-meta {
  gap: 8px;
  margin-bottom: 8px;
  color: var(--slate-400);
  font-size: 0.78rem;
}

.card-body p {
  min-height: 3.5em;
  margin: 0 0 10px;
  color: var(--slate-400);
  font-size: 0.88rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 8px;
  border-radius: 8px;
  background: rgba(51, 65, 85, 0.78);
  color: var(--slate-300);
  font-size: 0.75rem;
}

.rail-wrap {
  position: relative;
  margin-bottom: 64px;
}

.movie-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 188px;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 4px 18px;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.movie-rail::-webkit-scrollbar {
  display: none;
}

.rail-btn {
  position: absolute;
  z-index: 5;
  top: 42%;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.88);
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
}

.rail-left {
  left: -12px;
}

.rail-right {
  right: -12px;
}

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

.category-card,
.category-overview-card a {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.84), rgba(15, 23, 42, 0.68));
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.category-card:hover,
.category-overview-card a:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.48);
}

.category-card strong,
.category-overview-card h2 {
  color: var(--white);
  font-size: 1.25rem;
  margin: 0 0 8px;
}

.category-card p,
.category-overview-card p {
  color: var(--slate-400);
  margin: 0 0 12px;
  font-size: 0.92rem;
}

.category-card div,
.category-overview-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.category-card span,
.category-overview-card span {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.13);
  color: var(--cyan);
  font-size: 0.72rem;
}

.latest-panel,
.ranking-panel {
  padding: 28px;
  margin-bottom: 64px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.56), rgba(15, 23, 42, 0.76));
}

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

.latest-item,
.ranking-item,
.rank-card a {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 16px;
  align-items: center;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 18px;
  background: rgba(30, 41, 59, 0.48);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.latest-item:hover,
.ranking-item:hover,
.rank-card a:hover {
  border-color: rgba(251, 113, 133, 0.36);
  background: rgba(30, 41, 59, 0.78);
  transform: translateX(4px);
}

.latest-item img {
  aspect-ratio: 16 / 10;
  border-radius: 12px;
}

.latest-item span,
.ranking-item span,
.rank-card span {
  min-width: 0;
}

.latest-item strong,
.ranking-item strong,
.rank-card strong {
  display: block;
  color: var(--white);
  font-size: 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.latest-item em,
.ranking-item em,
.rank-card em,
.rank-card small {
  display: block;
  color: var(--slate-400);
  font-style: normal;
  font-size: 0.86rem;
}

.latest-item small,
.rank-card small {
  display: -webkit-box;
  margin-top: 4px;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.ranking-item {
  grid-template-columns: 42px 72px 1fr;
}

.ranking-item b,
.rank-card b {
  color: var(--amber-strong);
  font-size: 1.1rem;
}

.ranking-item img {
  aspect-ratio: 2 / 3;
  border-radius: 10px;
}

.center-action {
  justify-content: center;
  margin-top: 24px;
}

.archive-head {
  margin: 0 0 28px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.16), transparent 34rem),
    linear-gradient(135deg, rgba(30, 41, 59, 0.72), rgba(15, 23, 42, 0.82));
  box-shadow: var(--shadow);
}

.search-panel {
  margin: 0 0 28px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.72);
}

.search-panel label {
  display: grid;
  gap: 8px;
  color: var(--white);
  font-weight: 800;
}

.search-panel input {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.72);
  color: var(--white);
  outline: none;
}

.search-panel input:focus {
  border-color: var(--amber-strong);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.empty-state {
  margin: 0 0 64px;
  padding: 26px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(30, 41, 59, 0.42);
  color: var(--slate-300);
}

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

.ranking-full {
  display: grid;
  gap: 12px;
  margin-bottom: 64px;
}

.rank-card a {
  grid-template-columns: 52px 88px 1fr;
}

.rank-card img {
  aspect-ratio: 2 / 3;
  border-radius: 12px;
}

.detail-page {
  padding-top: 36px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 20px;
  color: var(--slate-400);
  font-size: 0.92rem;
}

.breadcrumb a:hover {
  color: var(--amber-strong);
}

.player-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.8fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.78));
  box-shadow: var(--shadow);
}

.video-wrap {
  position: relative;
  min-height: 360px;
  background: #000000;
}

.video-wrap video {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: contain;
  background: #000000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.55), rgba(2, 6, 23, 0.12));
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-trigger {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--amber-strong), var(--orange));
  color: #111827;
  font-size: 2rem;
  font-weight: 900;
  box-shadow: 0 16px 42px rgba(245, 158, 11, 0.35);
  transform: translateX(3px);
}

.player-info {
  padding: clamp(24px, 4vw, 42px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.player-info h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 18px;
}

.player-info p:last-child {
  margin: 0;
  color: var(--slate-300);
}

.detail-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  margin: 34px 0 64px;
}

.poster-panel,
.detail-content,
.related-section {
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.64);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.2);
}

.poster-panel {
  align-self: start;
  padding: 16px;
  display: grid;
  gap: 16px;
}

.poster-panel img {
  aspect-ratio: 2 / 3;
  border-radius: 18px;
}

.detail-content {
  padding: clamp(22px, 4vw, 36px);
}

.detail-content h2 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 1.65rem;
}

.detail-content h2:not(:first-child) {
  margin-top: 32px;
}

.detail-meta {
  margin-bottom: 16px;
}

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

.detail-content p {
  margin: 0;
  color: var(--slate-300);
  font-size: 1.02rem;
}

.related-section {
  padding: 26px;
  margin-bottom: 68px;
}

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

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

.site-footer h3 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 1rem;
}

.site-footer p,
.site-footer li {
  color: var(--slate-400);
  font-size: 0.92rem;
}

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

.footer-bottom {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 30px;
  border-top: 1px solid var(--border);
  color: var(--slate-400);
  font-size: 0.9rem;
}

[hidden] {
  display: none !important;
}

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

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

  .player-card,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .poster-panel {
    grid-template-columns: 180px 1fr;
    align-items: center;
  }
}

@media (max-width: 820px) {
  .nav-wrap {
    grid-template-columns: auto auto;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .hero {
    min-height: 560px;
    height: 78vh;
  }

  .hero-content {
    margin-left: 16px;
    justify-content: flex-end;
    padding-bottom: 86px;
  }

  .hero-arrow {
    display: none;
  }

  .intro-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .ranking-list,
  .category-overview-grid {
    grid-template-columns: 1fr;
  }

  .player-card {
    border-radius: 20px;
  }

  .video-wrap,
  .video-wrap video {
    min-height: 260px;
  }
}

@media (max-width: 560px) {
  .page-shell,
  .nav-wrap,
  .footer-grid,
  .footer-bottom {
    width: min(100% - 22px, 1200px);
  }

  .brand {
    font-size: 1rem;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .hero {
    min-height: 520px;
  }

  .hero h1,
  .hero h2 {
    font-size: clamp(2.1rem, 12vw, 3.4rem);
  }

  .hero-meta span {
    font-size: 0.82rem;
  }

  .hero-dot {
    width: 28px;
  }

  .hero-dot.is-active {
    width: 44px;
  }

  .intro-panel,
  .latest-panel,
  .ranking-panel,
  .archive-head,
  .related-section {
    padding: 20px;
    border-radius: 20px;
  }

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

  .card-body {
    padding: 12px;
  }

  .card-body p {
    display: none;
  }

  .latest-item,
  .ranking-item,
  .rank-card a {
    grid-template-columns: 82px 1fr;
  }

  .ranking-item b,
  .rank-card b {
    display: none;
  }

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