:root {
  color-scheme: light;
  --site-rose: #e11d48;
  --site-amber: #d97706;
  --site-emerald: #059669;
  --site-cyan: #0891b2;
  --site-ink: #111827;
  --site-soft: #fff7ed;
}

body {
  min-height: 100vh;
  background: linear-gradient(135deg, #fff1f2 0%, #fffbeb 48%, #ecfdf5 100%);
  color: var(--site-ink);
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1 0 auto;
}

.site-logo-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--site-rose), var(--site-amber), var(--site-emerald));
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(225, 29, 72, 0.28);
}

.hero-carousel {
  background: #111827;
}

.hero-slide {
  opacity: 0;
  pointer-events: none;
}

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

.hero-dot.is-active {
  width: 2rem;
  background: #ffffff;
}

.cover-wrap {
  background: radial-gradient(circle at top left, rgba(251, 191, 36, 0.42), transparent 42%), linear-gradient(135deg, #fff1f2, #fffbeb, #ecfdf5);
}

.cover-wrap img {
  display: block;
}

.movie-card {
  isolation: isolate;
}

.movie-card h3 {
  min-height: 3rem;
}

.movie-card:hover .movie-card-shine {
  opacity: 1;
  transform: translateX(70%);
}

.movie-card-shine {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-70%);
  transition: opacity 0.3s ease, transform 0.85s ease;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.32) 45%, transparent 65%);
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.video-stage {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  background: #020617;
  box-shadow: 0 25px 70px rgba(15, 23, 42, 0.45);
}

.video-stage video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #020617;
}

.play-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.72));
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 5;
}

.play-layer.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.play-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5.25rem;
  height: 5.25rem;
  border-radius: 9999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--site-rose), var(--site-amber));
  box-shadow: 0 20px 55px rgba(225, 29, 72, 0.42);
  transform: scale(1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.play-layer:hover .play-button {
  transform: scale(1.08);
  box-shadow: 0 25px 70px rgba(217, 119, 6, 0.52);
}

.play-triangle {
  width: 0;
  height: 0;
  margin-left: 0.35rem;
  border-top: 1rem solid transparent;
  border-bottom: 1rem solid transparent;
  border-left: 1.45rem solid #ffffff;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #be123c;
  background: #fff1f2;
  border: 1px solid #ffe4e6;
}

.search-result-grid:empty::after {
  content: "暂无匹配内容";
  display: block;
  padding: 2rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.78);
  color: #6b7280;
  text-align: center;
}

@media (max-width: 767px) {
  .hero-carousel {
    height: 520px;
  }

  .site-logo-text {
    font-size: 1.15rem;
  }

  .play-button {
    width: 4.25rem;
    height: 4.25rem;
  }
}
