.page-home {
  --home-transition-fast: 180ms ease;
}

/* ===== 首页 Hero ===== */
.page-home .home-hero {
  position: relative;
  background: var(--c-space);
  color: var(--c-rice);
  padding: 56px 0 88px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 36px));
  overflow: hidden;
}

.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .home-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
}

.page-home .home-hero__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.page-home .home-hero__particles circle {
  animation: page-home-drift 14s ease-in-out infinite alternate;
}

.page-home .home-hero__particles circle:nth-child(odd) {
  animation-duration: 18s;
}

.page-home .home-hero__particles circle:nth-child(3n) {
  animation-duration: 10s;
  animation-delay: -3s;
}

@keyframes page-home-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(14px, -12px, 0); }
}

.page-home .home-hero__layout {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 40px;
}

.page-home .home-hero__main {
  max-width: 760px;
}

.page-home .home-hero .section-label,
.page-home .home-scene .section-label,
.page-home .home-bookmark .section-label {
  color: var(--c-rice);
}

.page-home .home-hero h1 {
  font-size: clamp(36px, 8vw, var(--fs-hero));
  font-weight: 900;
  line-height: 1.08;
  color: var(--c-rice);
  margin: 20px 0 16px;
  letter-spacing: -0.02em;
}

.page-home .home-hero__lead {
  font-size: var(--fs-base);
  line-height: 1.75;
  color: rgba(245, 241, 232, 0.86);
  margin-bottom: 28px;
  max-width: 520px;
}

.page-home .home-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-home .home-hero__panel {
  background: var(--c-rice);
  color: var(--c-ink);
  padding: 28px 24px 32px;
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), 0 100%);
  box-shadow: 18px 24px 48px rgba(6, 10, 32, 0.45);
  min-width: 0;
}

.page-home .home-hero__panel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--c-rock);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
}

.page-home .home-hero__live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--c-space);
  font-weight: 700;
}

.page-home .home-hero__panel-title {
  font-size: var(--fs-md);
  font-weight: 800;
  margin: 20px 0 12px;
  color: var(--c-ink);
}

.page-home .home-hero__timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(10, 24, 48, 0.1);
}

.page-home .home-hero__timeline li {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: stretch;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(10, 24, 48, 0.08);
  transition: background-color var(--home-transition-fast);
}

.page-home .home-hero__timeline li:hover {
  background-color: rgba(217, 125, 74, 0.08);
}

.page-home .home-hero__timeline .mono {
  font-size: var(--fs-sm);
  color: var(--c-terracotta);
  font-weight: 700;
}

.page-home .home-hero__timeline b {
  color: var(--c-moss);
  font-size: var(--fs-xs);
  font-weight: 700;
  align-self: center;
}

.page-home .home-hero__panel-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 16px;
  padding-top: 8px;
  font-size: var(--fs-sm);
  color: var(--c-ink);
  border-top: 1px dashed rgba(10, 24, 48, 0.18);
}

/* ===== 场景直播 ===== */
.page-home .home-scene {
  background: var(--c-ink);
  color: var(--c-rice);
  padding: 88px 0;
  scroll-margin-top: 120px;
}

.page-home .home-scene__grid {
  display: grid;
  gap: 40px;
}

.page-home .home-scene__info {
  max-width: 620px;
}

.page-home .home-scene h2 {
  font-size: var(--fs-xl);
  font-weight: 900;
  line-height: 1.2;
  margin: 16px 0 12px;
  color: var(--c-rice);
}

.page-home .home-scene__desc {
  color: rgba(245, 241, 232, 0.8);
  line-height: 1.75;
  margin-bottom: 20px;
}

.page-home .home-scene__list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .home-scene__list li {
  position: relative;
  padding-left: 18px;
  color: rgba(245, 241, 232, 0.86);
  line-height: 1.5;
}

.page-home .home-scene__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 7px;
  height: 7px;
  background: var(--c-orange);
  transform: rotate(45deg);
}

.page-home .home-scene__visual {
  min-width: 0;
}

.page-home .home-scene__card {
  background: var(--c-space);
  border: 1px solid rgba(168, 176, 186, 0.2);
  padding: 16px;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.page-home .home-scene__card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding: 0 4px;
  font-size: var(--fs-sm);
}

.page-home .home-scene__card-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--c-neon);
  font-weight: 700;
}

.page-home .home-scene__live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-neon);
  display: inline-block;
  animation: page-home-live-pulse 1.8s ease-out infinite;
}

@keyframes page-home-live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(198, 255, 77, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(198, 255, 77, 0); }
  100% { box-shadow: 0 0 0 0 rgba(198, 255, 77, 0); }
}

.page-home .home-scene__card img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 4px;
}

.page-home .home-scene__lines {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 14px;
}

.page-home .home-scene__line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: var(--c-rice);
  color: var(--c-ink);
  font-size: var(--fs-sm);
  font-weight: 500;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: background-color var(--home-transition-fast), color var(--home-transition-fast);
}

.page-home .home-scene__line[data-active="true"] {
  background: var(--c-orange);
  color: var(--c-rice);
  border-color: var(--c-orange);
}

/* ===== 积分榜 ===== */
.page-home .home-standings {
  background: var(--c-rice);
  color: var(--c-ink);
  padding: 88px 0;
}

.page-home .home-standings__head {
  max-width: 820px;
}

.page-home .home-standings h2 {
  font-size: var(--fs-xl);
  font-weight: 900;
  margin: 16px 0 12px;
}

.page-home .home-standings__summary {
  max-width: 640px;
  line-height: 1.7;
  color: #17233d;
  margin-bottom: 36px;
}

.page-home .home-standings__grid {
  display: grid;
  gap: 32px;
}

.page-home .home-standings__table {
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: 0 14px 32px rgba(10, 24, 48, 0.1);
}

.page-home .home-standings table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: var(--c-rice);
}

.page-home .home-standings th {
  background: var(--c-space);
  color: var(--c-rice);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: left;
  padding: 12px 14px;
}

.page-home .home-standings td {
  padding: 14px;
  font-size: var(--fs-sm);
  border-bottom: 1px solid rgba(10, 24, 48, 0.08);
  color: var(--c-ink);
}

.page-home .home-standings tbody tr {
  transition: background-color var(--home-transition-fast);
}

.page-home .home-standings tbody tr:hover {
  background: rgba(217, 125, 74, 0.09);
}

.page-home .home-standings__score {
  color: var(--c-orange);
  font-weight: 700;
}

.page-home .home-standings__trend {
  position: relative;
  display: flex;
  gap: 4px;
  color: var(--c-moss);
  font-weight: 700;
}

.page-home .home-standings__trend .home-standings__trend-detail {
  display: block;
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 8;
  white-space: nowrap;
  background: var(--c-ink);
  color: var(--c-rice);
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 400;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity var(--home-transition-fast), transform var(--home-transition-fast);
  pointer-events: none;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.page-home .home-standings__trend:hover .home-standings__trend-detail {
  opacity: 1;
  transform: translateY(0);
}

.page-home .home-standings__aside {
  min-width: 0;
}

.page-home .home-standings__aside img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 12px;
  display: block;
}

.page-home .home-standings__caption {
  font-size: var(--fs-sm);
  color: #4a5568;
  margin-top: 12px;
}

.page-home .home-standings__foot {
  margin-top: 32px;
  display: flex;
  justify-content: flex-end;
}

/* ===== 收藏模块 ===== */
.page-home .home-bookmark {
  background: var(--c-space);
  color: var(--c-rice);
  padding: 88px 0;
}

.page-home .home-bookmark__grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.page-home .home-bookmark__visual {
  min-width: 0;
}

.page-home .home-bookmark__visual img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 14px;
  display: block;
  border: 1px solid rgba(168, 176, 186, 0.2);
}

.page-home .home-bookmark__content {
  max-width: 620px;
}

.page-home .home-bookmark h2 {
  font-size: var(--fs-xl);
  font-weight: 900;
  margin: 16px 0 12px;
}

.page-home .home-bookmark__desc {
  color: rgba(245, 241, 232, 0.82);
  line-height: 1.75;
  margin-bottom: 20px;
}

.page-home .home-bookmark__list {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .home-bookmark__list li {
  position: relative;
  padding-left: 26px;
  line-height: 1.6;
  color: rgba(245, 241, 232, 0.9);
}

.page-home .home-bookmark__list li::before {
  content: '☆';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--c-orange);
}

/* ===== 反馈区 ===== */
.page-home .home-feedback {
  background: var(--c-rice);
  color: var(--c-ink);
  padding: 88px 0;
}

.page-home .home-feedback__head {
  max-width: 760px;
  margin-bottom: 40px;
}

.page-home .home-feedback h2 {
  font-size: var(--fs-xl);
  font-weight: 900;
  margin: 16px 0 12px;
}

.page-home .home-feedback__intro {
  color: #17233d;
  line-height: 1.7;
}

.page-home .home-feedback__steps {
  display: grid;
  gap: 16px;
  margin-bottom: 36px;
}

.page-home .home-feedback__step {
  background: var(--c-rice);
  border: 1px solid rgba(10, 24, 48, 0.12);
  border-left: 4px solid var(--c-orange);
  padding: 20px 20px 22px 24px;
  transition: border-color var(--home-transition-fast), box-shadow var(--home-transition-fast);
}

.page-home .home-feedback__step:hover {
  border-color: var(--c-orange);
  box-shadow: 0 10px 24px rgba(10, 24, 48, 0.08);
}

.page-home .home-feedback__num {
  display: inline-block;
  color: var(--c-orange);
  font-size: var(--fs-md);
  font-weight: 700;
  margin-bottom: 8px;
}

.page-home .home-feedback__step h3 {
  font-size: var(--fs-base);
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--c-ink);
}

.page-home .home-feedback__step p {
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: #2b3446;
  margin: 0;
}

.page-home .home-feedback__foot {
  display: flex;
  justify-content: flex-start;
}

/* ===== 信任区 ===== */
.page-home .home-trust {
  background: var(--c-ink);
  color: var(--c-rice);
  padding: 80px 0;
}

.page-home .home-trust__inner {
  max-width: 960px;
  text-align: center;
}

.page-home .home-trust__statement {
  font-size: var(--fs-base);
  line-height: 1.85;
  color: rgba(245, 241, 232, 0.86);
  margin-bottom: 40px;
}

.page-home .home-trust__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 16px;
  margin-bottom: 40px;
}

.page-home .home-trust__stat {
  border-top: 1px solid rgba(168, 176, 186, 0.25);
  padding-top: 16px;
}

.page-home .home-trust__num {
  display: block;
  font-size: var(--fs-xl);
  font-weight: 800;
  color: var(--c-neon);
  line-height: 1.2;
}

.page-home .home-trust__label {
  display: block;
  font-size: var(--fs-sm);
  color: rgba(245, 241, 232, 0.7);
  margin-top: 6px;
}

.page-home .home-trust__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ===== 响应式布局 ===== */
@media (min-width: 768px) {
  .page-home .home-standings__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
    align-items: start;
  }

  .page-home .home-feedback__steps {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .page-home .home-trust__stats {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .page-home .home-hero__layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: end;
    gap: 64px;
  }

  .page-home .home-scene__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
  }

  .page-home .home-bookmark__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-hero__particles circle,
  .page-home .home-scene__live-dot {
    animation: none;
  }
}
