:root {
  --dark-950: #1a1f2e;
  --dark-900: #2d374c;
  --dark-850: #223047;
  --mirror-800: #243b53;
  --realm-500: #d4941f;
  --realm-400: #e8a84d;
  --realm-300: #eec078;
  --text-100: #f3f4f6;
  --text-200: #e5e7eb;
  --text-300: #d1d5db;
  --text-400: #9ca3af;
  --text-500: #6b7280;
  --line: rgba(255, 255, 255, 0.1);
  --glass: rgba(255, 255, 255, 0.06);
  --glass-strong: rgba(255, 255, 255, 0.1);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--text-100);
  background:
    radial-gradient(circle at top left, rgba(232, 168, 77, 0.14), transparent 34rem),
    radial-gradient(circle at 80% 0%, rgba(36, 59, 83, 0.8), transparent 38rem),
    var(--dark-950);
}

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

img {
  background: linear-gradient(135deg, rgba(232, 168, 77, 0.12), rgba(36, 59, 83, 0.5));
}

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

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.container {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(26, 31, 46, 0.82);
  backdrop-filter: blur(18px);
}

.nav-bar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #141824;
  background: linear-gradient(135deg, var(--realm-400), var(--realm-500));
  box-shadow: 0 12px 30px rgba(212, 148, 31, 0.32);
}

.brand-text {
  font-size: 1.35rem;
  letter-spacing: 0.03em;
  background: linear-gradient(90deg, var(--realm-400), var(--realm-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--text-300);
  transition: color 0.25s ease, background 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #fff;
  background: rgba(232, 168, 77, 0.16);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

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

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(26, 31, 46, 0.98), rgba(26, 31, 46, 0.72) 46%, rgba(26, 31, 46, 0.36)),
    linear-gradient(0deg, var(--dark-950), transparent 42%),
    radial-gradient(circle at 70% 40%, rgba(232, 168, 77, 0.14), transparent 24rem);
}

.hero-content {
  position: relative;
  min-height: 740px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: center;
  gap: 56px;
  padding-top: 84px;
  padding-bottom: 96px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--realm-300);
  background: rgba(212, 148, 31, 0.14);
  border: 1px solid rgba(232, 168, 77, 0.22);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.hero-kicker {
  margin: 18px 0 0;
  color: var(--realm-300);
  font-weight: 700;
}

.hero-copy h1,
.hero-copy h2 {
  margin: 18px 0 0;
  font-size: clamp(2.3rem, 7vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero-copy h2 {
  font-size: clamp(2rem, 5vw, 4.6rem);
  color: #fff;
}

.hero-copy p {
  margin: 22px 0 0;
  max-width: 660px;
  color: var(--text-300);
  font-size: 1.08rem;
  line-height: 1.9;
}

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

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

.hero-tags span,
.tag-list span {
  padding: 6px 10px;
  border-radius: 9px;
  color: var(--text-200);
  background: rgba(36, 59, 83, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
}

.hero-search {
  width: min(610px, 100%);
  margin-top: 28px;
  display: flex;
  gap: 10px;
  padding: 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.hero-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  padding: 0 12px;
}

.hero-search button,
.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 14px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.hero-search button,
.btn-primary {
  color: #141824;
  background: linear-gradient(135deg, var(--realm-400), var(--realm-500));
  box-shadow: 0 16px 34px rgba(212, 148, 31, 0.26);
}

.btn-ghost {
  color: var(--text-100);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-search button:hover,
.btn-primary:hover,
.btn-ghost:hover {
  transform: translateY(-2px);
}

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

.hero-panel {
  display: grid;
  gap: 18px;
}

.hero-poster {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow);
}

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

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

.hero-poster span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 68px;
  height: 68px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #111827;
  background: rgba(232, 168, 77, 0.94);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
}

.hero-stat-card,
.glass-panel {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.hero-stat-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-radius: 22px;
}

.hero-stat-card strong {
  font-size: 2.4rem;
  color: var(--realm-400);
}

.hero-stat-card span {
  color: var(--text-300);
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-arrow,
.hero-dot {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

.hero-arrow {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 1.7rem;
}

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

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

.hero-dot.is-active {
  width: 34px;
  background: var(--realm-400);
}

.section-block {
  padding: 72px 0 0;
}

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

.section-heading h2 {
  margin: 10px 0 0;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
}

.section-heading a {
  color: var(--realm-300);
}

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

.category-chip {
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(36, 59, 83, 0.35));
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.25s ease, background 0.25s ease;
}

.category-chip:hover {
  transform: translateY(-4px);
  background: linear-gradient(135deg, rgba(232, 168, 77, 0.2), rgba(36, 59, 83, 0.45));
}

.category-chip span {
  font-weight: 800;
}

.category-chip em {
  color: var(--text-400);
  font-style: normal;
  font-size: 0.85rem;
}

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

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

.movie-card {
  min-width: 0;
}

.movie-card-link {
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.movie-card-link:hover {
  transform: translateY(-6px) scale(1.015);
  border-color: rgba(232, 168, 77, 0.4);
  box-shadow: 0 18px 45px rgba(212, 148, 31, 0.18);
}

.poster-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2 / 3;
}

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

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

.poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.64), transparent 48%);
}

.poster-badge,
.poster-score,
.poster-play {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.poster-badge {
  left: 10px;
  top: 10px;
  padding: 5px 9px;
  color: #fff;
  background: rgba(26, 31, 46, 0.62);
  font-size: 0.75rem;
}

.poster-score {
  right: 10px;
  top: 10px;
  padding: 5px 9px;
  color: #141824;
  background: rgba(232, 168, 77, 0.92);
  font-weight: 800;
  font-size: 0.78rem;
}

.poster-play {
  left: 50%;
  top: 50%;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%) scale(0.92);
  color: #111827;
  background: rgba(232, 168, 77, 0.94);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.movie-card-body {
  padding: 15px;
}

.movie-card-body h3,
.movie-card-body h2 {
  margin: 0;
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 1rem;
  line-height: 1.3;
}

.movie-card-body p {
  margin: 9px 0 0;
  min-height: 3.2em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--text-400);
  font-size: 0.88rem;
  line-height: 1.65;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 11px;
  color: var(--text-500);
  font-size: 0.78rem;
}

.movie-card .tag-list {
  margin-top: 12px;
}

.movie-card .tag-list span {
  padding: 4px 7px;
  font-size: 0.72rem;
}

.split-section {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 24px;
}

.glass-panel {
  padding: 24px;
  border-radius: var(--radius-xl);
}

.small-heading {
  align-items: center;
}

.small-heading h2 {
  font-size: 1.45rem;
}

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

.horizontal-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.25s ease, transform 0.25s ease;
}

.horizontal-card:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.1);
}

.horizontal-card img {
  width: 92px;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
}

.horizontal-card strong {
  display: block;
  color: #fff;
  font-size: 1rem;
}

.horizontal-card p {
  margin: 8px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--text-400);
  font-size: 0.9rem;
  line-height: 1.6;
}

.horizontal-card span {
  color: var(--text-500);
  font-size: 0.78rem;
}

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

.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: end;
  padding: 128px 0 72px;
  border-bottom: 1px solid var(--line);
}

.slim-hero {
  background:
    radial-gradient(circle at 20% 10%, rgba(232, 168, 77, 0.22), transparent 24rem),
    linear-gradient(135deg, rgba(45, 55, 76, 0.94), rgba(26, 31, 46, 0.98));
}

.page-hero h1 {
  margin: 14px 0 0;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  letter-spacing: -0.05em;
}

.page-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--text-300);
  font-size: 1.05rem;
  line-height: 1.85;
}

.category-hero img,
.page-hero-mask {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.category-hero img {
  object-fit: cover;
}

.page-hero-mask {
  background:
    linear-gradient(90deg, rgba(26, 31, 46, 0.98), rgba(26, 31, 46, 0.76), rgba(26, 31, 46, 0.5)),
    linear-gradient(0deg, var(--dark-950), transparent 50%);
}

.category-hero .container {
  position: relative;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  color: var(--text-400);
  margin-bottom: 22px;
  font-size: 0.92rem;
}

.breadcrumb a:hover {
  color: var(--realm-300);
}

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

.category-card a {
  position: relative;
  display: block;
  min-height: 320px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
}

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

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

.category-card a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(26, 31, 46, 0.96), rgba(26, 31, 46, 0.16));
}

.category-card div {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 24px;
}

.category-card span {
  color: var(--realm-300);
  font-size: 0.84rem;
  letter-spacing: 0.05em;
}

.category-card h2 {
  margin: 10px 0 8px;
  font-size: 1.7rem;
}

.category-card p {
  margin: 0;
  color: var(--text-300);
  line-height: 1.75;
}

.category-card strong {
  display: inline-block;
  margin-top: 16px;
  color: var(--realm-300);
}

.filter-panel {
  display: grid;
  gap: 16px;
  margin-bottom: 30px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

.search-box,
.filter-row label {
  display: grid;
  gap: 8px;
  color: var(--text-400);
  font-size: 0.88rem;
}

.search-box input,
.filter-row select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  outline: 0;
  color: #fff;
  background: rgba(26, 31, 46, 0.82);
  border-radius: 14px;
  padding: 13px 14px;
}

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

.empty-state {
  display: none;
  margin: 30px 0 0;
  padding: 28px;
  border-radius: 20px;
  color: var(--text-300);
  text-align: center;
  background: rgba(255, 255, 255, 0.06);
}

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

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

.rank-card a {
  position: relative;
  min-height: 196px;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 18px 18px 58px;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.rank-card a:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 168, 77, 0.38);
}

.rank-number {
  position: absolute;
  left: 16px;
  top: 16px;
  color: rgba(232, 168, 77, 0.4);
  font-size: 1.8rem;
  font-weight: 900;
}

.rank-card img {
  width: 120px;
  height: 160px;
  object-fit: cover;
  border-radius: 15px;
}

.rank-card h2 {
  margin: 2px 0 8px;
  font-size: 1.2rem;
}

.rank-card p {
  margin: 0;
  min-height: 3.3em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--text-400);
  line-height: 1.7;
}

.watch-hero {
  position: relative;
  overflow: hidden;
  padding: 112px 0 68px;
}

.watch-bg,
.watch-mask {
  position: absolute;
  inset: 0;
}

.watch-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(18px) saturate(1.2);
  transform: scale(1.08);
}

.watch-mask {
  background:
    linear-gradient(90deg, rgba(26, 31, 46, 0.96), rgba(26, 31, 46, 0.72)),
    linear-gradient(0deg, var(--dark-950), transparent 50%);
}

.watch-container {
  position: relative;
}

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

.player-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 26px;
  background: #05070c;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.player-card video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.play-cover {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 30px;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.2)),
    rgba(26, 31, 46, 0.25);
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-circle {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #111827;
  background: linear-gradient(135deg, var(--realm-400), var(--realm-500));
  box-shadow: 0 20px 42px rgba(212, 148, 31, 0.34);
}

.play-cover strong {
  max-width: 680px;
  font-size: clamp(1.4rem, 3vw, 2.5rem);
}

.play-cover em {
  max-width: 680px;
  color: var(--text-300);
  font-style: normal;
  line-height: 1.7;
}

.detail-panel {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.detail-panel img {
  width: 118px;
  height: 168px;
  object-fit: cover;
  border-radius: 16px;
}

.detail-panel h1 {
  margin: 12px 0 0;
  font-size: 1.55rem;
  line-height: 1.25;
}

.detail-rating {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 14px 0;
}

.detail-rating strong {
  color: var(--realm-400);
  font-size: 2.1rem;
}

.detail-rating span {
  color: var(--text-400);
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--text-400);
  font-size: 0.86rem;
}

.large-tags {
  margin-top: 14px;
}

.full-width {
  width: 100%;
  margin-top: 16px;
  border: 0;
}

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

.content-main {
  padding: 30px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.content-main h2,
.content-side h2 {
  margin: 0 0 14px;
  font-size: 1.45rem;
}

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

.content-main p {
  margin: 0;
  color: var(--text-300);
  font-size: 1.02rem;
  line-height: 2;
}

.content-side dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.content-side div {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
}

.content-side dt {
  color: var(--text-500);
}

.content-side dd {
  margin: 0;
  color: var(--text-200);
}

.site-footer {
  margin-top: 84px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(17, 21, 32, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 34px;
  padding: 46px 0;
}

.footer-brand p {
  max-width: 430px;
  margin: 18px 0 0;
  color: var(--text-400);
  line-height: 1.8;
}

.footer-links h2 {
  margin: 0 0 16px;
  color: var(--text-200);
  font-size: 1.05rem;
}

.footer-links div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.footer-links a {
  color: var(--text-400);
}

.footer-links a:hover {
  color: var(--realm-300);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0 28px;
  color: var(--text-500);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
}

.is-hidden {
  display: none !important;
}

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

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

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

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

@media (max-width: 920px) {
  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border-radius: 18px;
    background: rgba(26, 31, 46, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow);
  }

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

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

  .hero-content {
    grid-template-columns: 1fr;
    min-height: 760px;
    padding-top: 104px;
  }

  .hero-panel {
    display: none;
  }

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

  .split-section,
  .footer-grid,
  .category-card-grid,
  .rank-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 700px) {
  .container {
    width: min(100% - 24px, 1280px);
  }

  .hero-copy h1,
  .hero-copy h2 {
    letter-spacing: -0.035em;
  }

  .hero-search {
    flex-direction: column;
  }

  .hero-search input {
    min-height: 44px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

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

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

  .movie-card-body {
    padding: 12px;
  }

  .movie-card-body h3,
  .movie-card-body h2 {
    font-size: 0.92rem;
  }

  .detail-panel {
    grid-template-columns: 94px minmax(0, 1fr);
  }

  .detail-panel img {
    width: 94px;
    height: 134px;
  }

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

@media (max-width: 440px) {
  .movie-grid,
  .compact-grid,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .rank-card a {
    grid-template-columns: 88px minmax(0, 1fr);
    padding-left: 46px;
  }

  .rank-card img {
    width: 88px;
    height: 122px;
  }
}
