/* 首页 · 西奥多直播 */
.home-page {
  --home-ink: #0e0f16;
  --home-fog: #f0f1f5;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.home-stage {
  background:
    radial-gradient(900px 320px at 8% 0%, rgba(122, 103, 238, 0.07), transparent 55%),
    radial-gradient(700px 280px at 100% 40%, rgba(18, 19, 26, 0.04), transparent 50%),
    var(--home-fog);
  padding: 72px 0 96px;
  flex: 1;
}

.home-stage__inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.home-stage__head {
  margin: 0 0 48px;
  max-width: 28em;
  animation: home-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes home-rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

.home-stage__eyebrow {
  display: block;
  margin-bottom: 10px;
  font-size: 1.35rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7a67ee;
  font-weight: 500;
}

.home-stage__title {
  margin: 0 0 12px;
  font-family: var(--xr-display, 'ZCOOL XiaoWei', serif);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 400;
  color: var(--xr-ink, #12131a);
  letter-spacing: 0.04em;
}

.home-stage__text {
  margin: 0;
  font-size: clamp(1.45rem, 1.8vw, 1.7rem);
  line-height: 1.7;
  color: #5b6170;
}

.home-cast {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 36px);
}

.home-cast__item {
  opacity: 0;
  animation: home-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.home-cast__item:nth-child(1) { animation-delay: 0.12s; }
.home-cast__item:nth-child(2) { animation-delay: 0.24s; }
.home-cast__item:nth-child(3) { animation-delay: 0.36s; }

.home-cast__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.home-cast__frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #1a1b24;
}

.home-cast__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-cast__link:hover .home-cast__frame img,
.home-cast__link:focus-visible .home-cast__frame img {
  transform: scale(1.05);
}

.home-cast__veil {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(0deg, rgba(10, 11, 18, 0.72), transparent);
  pointer-events: none;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.home-cast__link:hover .home-cast__veil {
  opacity: 1;
}

.home-cast__meta {
  margin-top: 18px;
}

.home-cast__name {
  margin: 0;
  font-size: clamp(1.7rem, 2vw, 2rem);
  font-weight: 500;
  color: var(--xr-ink, #12131a);
  letter-spacing: 0.02em;
}

.home-cast__hint {
  margin: 6px 0 0;
  font-size: 1.35rem;
  color: #8a90a0;
  transition: color 0.25s ease;
}

.home-cast__link:hover .home-cast__hint {
  color: #7a67ee;
}

@media (max-width: 900px) {
  .home-cast {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .home-stage {
    padding: 48px 0 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-stage__head,
  .home-cast__item,
  .home-cast__frame img {
    animation: none !important;
    transition: none !important;
  }

  .home-cast__item {
    opacity: 1;
  }
}
