:root {
  --color-bg: #f8fafc;
  --color-card: #ffffff;
  --color-text: #111827;
  --color-muted: #6b7280;
  --color-border: #e5e7eb;
  --color-primary: #059669;
  --color-primary-dark: #047857;
  --color-primary-soft: #d1fae5;
  --color-accent: #0f766e;
  --shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 30px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.22);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 45%, #f8fafc 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

body.is-menu-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  width: min(100% - 32px, var(--container));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-weight: 800;
  font-size: 20px;
  color: var(--color-primary);
}

.site-logo__icon,
.footer-brand__logo span {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, #10b981, #0ea5e9);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.35);
}

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

.nav-link {
  position: relative;
  font-size: 14px;
  font-weight: 700;
  color: #374151;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 3px;
  border-radius: 999px;
  background: var(--color-primary);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--color-primary);
}

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

.header-search {
  position: relative;
  width: 250px;
  flex-shrink: 0;
}

.header-search__input {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 10px 16px;
  background: #ffffff;
  color: var(--color-text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search__input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}

.header-search__results {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  max-height: 440px;
  overflow: auto;
  display: none;
  padding: 8px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}

.header-search__results.is-open {
  display: block;
}

.search-result {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 10px;
  padding: 8px;
  border-radius: 12px;
  transition: background 0.2s ease;
}

.search-result:hover {
  background: #ecfdf5;
}

.search-result img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 10px;
  background: linear-gradient(135deg, #047857, #0891b2);
}

.search-result strong,
.search-result small {
  display: block;
}

.search-result strong {
  font-size: 14px;
  line-height: 1.35;
}

.search-result small {
  margin-top: 2px;
  color: var(--color-muted);
  font-size: 12px;
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 0;
  border-radius: 12px;
  background: #ecfdf5;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--color-primary-dark);
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  padding: 16px;
  border-top: 1px solid var(--color-border);
  background: #ffffff;
}

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

.mobile-nav__search {
  position: relative;
  margin-bottom: 12px;
}

.mobile-nav__link {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  color: #374151;
  font-weight: 700;
}

.mobile-nav__link.is-active {
  color: var(--color-primary);
}

.hero-carousel {
  position: relative;
  min-height: clamp(520px, 72vh, 760px);
  overflow: hidden;
  background: #020617;
}

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

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

.hero-slide__image,
.hero-slide__image img {
  width: 100%;
  height: 100%;
}

.hero-slide__image img {
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 8s ease;
}

.hero-slide.is-active .hero-slide__image img {
  transform: scale(1.12);
}

.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 74% 42%, rgba(16, 185, 129, 0.28), transparent 28%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.95) 0%, rgba(2, 6, 23, 0.68) 44%, rgba(2, 6, 23, 0.18) 100%),
    linear-gradient(0deg, rgba(2, 6, 23, 0.92) 0%, rgba(2, 6, 23, 0.05) 52%);
}

.hero-slide__content {
  position: relative;
  z-index: 2;
  width: min(100% - 32px, var(--container));
  min-height: clamp(520px, 72vh, 760px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: #ffffff;
}

.hero-slide__badge,
.detail-hero__category,
.page-hero span,
.section-heading__eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  background: rgba(16, 185, 129, 0.88);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.26);
}

.hero-slide h1 {
  max-width: 760px;
  margin: 22px 0 18px;
  font-size: clamp(42px, 7vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero-slide p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2.1vw, 25px);
}

.hero-slide__tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-slide__tags span,
.detail-tags span {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 7px 12px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 700;
}

.hero-slide__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: #ffffff;
  background: linear-gradient(135deg, #10b981, #0891b2);
  box-shadow: 0 14px 30px rgba(16, 185, 129, 0.32);
}

.button--ghost {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

.button--outline {
  color: var(--color-primary-dark);
  border: 1px solid rgba(5, 150, 105, 0.24);
  background: #ecfdf5;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(2, 6, 23, 0.36);
  backdrop-filter: blur(10px);
  font-size: 34px;
  cursor: pointer;
}

.hero-arrow--prev {
  left: 22px;
}

.hero-arrow--next {
  right: 22px;
}

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

.hero-dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
  width: 34px;
  background: #10b981;
}

.content-section {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  padding: 64px 0;
}

.content-section--raised {
  position: relative;
  z-index: 5;
  margin-top: -42px;
}

.content-section--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: start;
}

.section-heading {
  display: flex;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 12px 0 0;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.16;
  letter-spacing: -0.03em;
}

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

.section-heading__line {
  flex: 1;
  height: 4px;
  min-width: 80px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-primary), rgba(16, 185, 129, 0));
}

.movie-grid {
  display: grid;
  gap: 20px;
}

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

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

.movie-card {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(229, 231, 235, 0.88);
  border-radius: var(--radius-md);
  background: var(--color-card);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: var(--shadow-md);
}

.movie-card__poster {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #047857, #0f172a);
}

.movie-card__poster img,
.compact-card__poster img,
.ranking-row__poster img,
.detail-hero__poster img,
.category-tile__bg img,
.category-overview-card__covers img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, opacity 0.2s ease;
}

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

.movie-card__shade {
  position: absolute;
  inset: auto 0 0;
  height: 55%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent);
}

.movie-card__type,
.movie-card__year {
  position: absolute;
  z-index: 2;
  padding: 5px 8px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.58);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.movie-card__type {
  left: 10px;
  top: 10px;
}

.movie-card__year {
  right: 10px;
  top: 10px;
}

.movie-card__body {
  display: block;
  padding: 16px;
}

.movie-card__title,
.movie-card__desc,
.movie-card__meta {
  display: block;
}

.movie-card__title {
  min-height: 2.7em;
  font-size: 17px;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.movie-card:hover .movie-card__title {
  color: var(--color-primary);
}

.movie-card__desc {
  min-height: 3.1em;
  margin-top: 8px;
  color: var(--color-muted);
  font-size: 14px;
}

.movie-card__meta {
  margin-top: 12px;
  color: #4b5563;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.movie-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.movie-card__tags span {
  padding: 4px 8px;
  border-radius: 999px;
  color: #047857;
  background: #ecfdf5;
  font-size: 12px;
  font-weight: 700;
}

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

.category-tile,
.category-overview-card {
  position: relative;
  display: block;
  min-height: 210px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #0f172a;
  box-shadow: var(--shadow-md);
}

.category-tile__bg {
  position: absolute;
  inset: 0;
  opacity: 0.48;
}

.category-tile::after,
.category-overview-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.86), rgba(2, 6, 23, 0.15));
}

.category-tile__content {
  position: absolute;
  z-index: 2;
  inset: auto 22px 22px;
  color: #ffffff;
}

.category-tile__content strong,
.category-tile__content small,
.category-tile__content em {
  display: block;
}

.category-tile__content strong {
  font-size: 24px;
}

.category-tile__content small {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.78);
}

.category-tile__content em {
  margin-top: 12px;
  color: #6ee7b7;
  font-style: normal;
  font-weight: 800;
}

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

.ranking-list--full {
  gap: 10px;
}

.ranking-row {
  display: grid;
  grid-template-columns: 52px 82px minmax(0, 1fr) 64px;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-row:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.ranking-row__rank {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, #f97316, #e11d48);
  font-weight: 900;
}

.ranking-row__poster {
  height: 58px;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(135deg, #047857, #0f172a);
}

.ranking-row__content strong,
.ranking-row__content small {
  display: block;
}

.ranking-row__content small {
  margin-top: 3px;
  color: var(--color-muted);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ranking-row__score {
  justify-self: end;
  color: #f97316;
  font-size: 20px;
  font-weight: 900;
}

.spotlight-panel {
  position: sticky;
  top: 92px;
  padding: 28px;
  border-radius: var(--radius-lg);
  color: #ffffff;
  background: radial-gradient(circle at top right, rgba(45, 212, 191, 0.44), transparent 42%), linear-gradient(135deg, #064e3b, #0f172a);
  box-shadow: var(--shadow-lg);
}

.spotlight-panel span {
  color: #6ee7b7;
  font-weight: 800;
}

.spotlight-panel h2 {
  margin: 12px 0;
  font-size: 30px;
  line-height: 1.2;
}

.spotlight-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 26px;
  padding: 14px;
  border: 1px solid var(--color-border);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.filter-bar input {
  flex: 1 1 240px;
  min-width: 180px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 10px 14px;
  outline: none;
}

.filter-bar input:focus {
  border-color: var(--color-primary);
}

.filter-bar button {
  border: 0;
  border-radius: 999px;
  padding: 9px 14px;
  color: #374151;
  background: #f3f4f6;
  font-weight: 800;
  cursor: pointer;
}

.filter-bar button.is-active,
.filter-bar button:hover {
  color: #ffffff;
  background: var(--color-primary);
}

.more-link-wrap {
  margin-top: 34px;
  text-align: center;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 16px;
  color: #ffffff;
  text-align: center;
  background:
    radial-gradient(circle at 25% 20%, rgba(45, 212, 191, 0.28), transparent 28%),
    linear-gradient(135deg, #065f46, #0f172a 60%, #164e63);
}

.page-hero--category {
  background:
    radial-gradient(circle at 70% 20%, rgba(20, 184, 166, 0.32), transparent 30%),
    linear-gradient(135deg, #047857, #0f172a 64%);
}

.page-hero--ranking {
  background:
    radial-gradient(circle at 70% 20%, rgba(249, 115, 22, 0.32), transparent 30%),
    linear-gradient(135deg, #7c2d12, #0f172a 62%);
}

.page-hero h1 {
  margin: 18px auto 12px;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.page-hero p {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.category-overview-card {
  min-height: 280px;
  background: #0f172a;
}

.category-overview-card__covers {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  opacity: 0.58;
}

.category-overview-card__body {
  position: absolute;
  z-index: 2;
  inset: auto 22px 22px;
  color: #ffffff;
  text-align: left;
}

.category-overview-card__body strong,
.category-overview-card__body small,
.category-overview-card__body em {
  display: block;
}

.category-overview-card__body strong {
  font-size: 26px;
}

.category-overview-card__body small {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
}

.category-overview-card__body em {
  margin-top: 14px;
  color: #6ee7b7;
  font-style: normal;
  font-weight: 900;
}

.breadcrumb {
  width: min(100% - 32px, var(--container));
  margin: 28px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--color-muted);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--color-primary-dark);
  font-weight: 800;
}

.detail-hero {
  width: min(100% - 32px, var(--container));
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 34px;
  align-items: stretch;
  padding: 30px;
  border-radius: 34px;
  color: #ffffff;
  background:
    radial-gradient(circle at top right, rgba(45, 212, 191, 0.24), transparent 40%),
    linear-gradient(135deg, #0f172a, #064e3b);
  box-shadow: var(--shadow-lg);
}

.detail-hero__poster {
  overflow: hidden;
  min-height: 420px;
  border-radius: 26px;
  background: linear-gradient(135deg, #047857, #0f172a);
}

.detail-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.detail-hero h1 {
  margin: 18px 0 12px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.detail-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
}

.detail-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 0;
}

.detail-meta div {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.detail-meta dt {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.detail-meta dd {
  margin: 4px 0 0;
  font-weight: 900;
}

.content-section--player {
  padding-bottom: 20px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #000000;
  box-shadow: var(--shadow-lg);
}

.player-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #ffffff;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.18));
  cursor: pointer;
}

.player-overlay.is-hidden {
  display: none;
}

.player-overlay__icon {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 999px;
  background: linear-gradient(135deg, #10b981, #0891b2);
  box-shadow: 0 18px 44px rgba(16, 185, 129, 0.36);
  font-size: 30px;
}

.player-message {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  margin: 0;
  color: #ffffff;
  text-align: center;
  pointer-events: none;
}

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

.detail-article,
.detail-side,
.info-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.detail-article h2,
.detail-side h2,
.info-card h2 {
  margin: 0 0 14px;
  font-size: 26px;
}

.detail-article p {
  margin: 0 0 24px;
  color: #374151;
  font-size: 17px;
}

.detail-tags--light span {
  color: #047857;
  border-color: #bbf7d0;
  background: #ecfdf5;
}

.detail-side {
  align-self: start;
  position: sticky;
  top: 92px;
}

.detail-side ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-side li {
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  color: #374151;
}

.detail-side li:last-child {
  border-bottom: 0;
}

.detail-side a {
  color: var(--color-primary-dark);
  font-weight: 800;
}

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

.compact-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  background: #ffffff;
}

.compact-card__poster {
  height: 66px;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(135deg, #047857, #0f172a);
}

.compact-card strong,
.compact-card small {
  display: block;
}

.compact-card small {
  margin-top: 3px;
  color: var(--color-muted);
}

.site-footer {
  margin-top: 70px;
  color: #ffffff;
  background: linear-gradient(135deg, #0f172a, #020617);
}

.site-footer__inner {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 34px;
  padding: 54px 0 36px;
}

.footer-brand__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 900;
}

.footer-brand p,
.footer-col a,
.site-footer__bottom {
  color: rgba(255, 255, 255, 0.68);
}

.footer-col h3 {
  margin: 0 0 14px;
  color: #6ee7b7;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li + li {
  margin-top: 8px;
}

.footer-col a:hover {
  color: #ffffff;
}

.site-footer__bottom {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__bottom button {
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  color: #ffffff;
  background: rgba(16, 185, 129, 0.8);
  cursor: pointer;
}

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

.poster-wrap.is-missing {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at top left, rgba(16, 185, 129, 0.35), transparent 34%),
    linear-gradient(135deg, #047857, #0f172a);
}

.poster-wrap.is-missing::before {
  content: "高清影像";
  color: rgba(255, 255, 255, 0.76);
  font-weight: 900;
  letter-spacing: 0.18em;
}

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

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

@media (max-width: 920px) {
  .main-nav,
  .site-header__inner > .header-search {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .content-section--split,
  .detail-layout,
  .detail-hero {
    grid-template-columns: 1fr;
  }

  .spotlight-panel,
  .detail-side {
    position: static;
  }

  .detail-hero__poster {
    min-height: 320px;
  }

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

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

@media (max-width: 720px) {
  .site-header__inner {
    min-height: 62px;
  }

  .site-logo__text {
    font-size: 17px;
  }

  .hero-carousel,
  .hero-slide__content {
    min-height: 620px;
  }

  .hero-slide__content {
    justify-content: flex-end;
    padding-bottom: 90px;
  }

  .hero-arrow {
    display: none;
  }

  .content-section {
    padding: 42px 0;
  }

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

  .section-heading__line {
    width: 100%;
    flex: none;
  }

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

  .movie-card__body {
    padding: 12px;
  }

  .movie-card__title {
    font-size: 15px;
  }

  .movie-card__desc {
    font-size: 13px;
  }

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

  .ranking-row {
    grid-template-columns: 42px 68px minmax(0, 1fr);
  }

  .ranking-row__score {
    display: none;
  }

  .detail-hero {
    padding: 18px;
    border-radius: 24px;
  }

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

  .detail-article,
  .detail-side,
  .info-card {
    padding: 22px;
  }

  .site-footer__inner,
  .site-footer__bottom {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
}
