/* =============================================================
   心灯祈福 · 首页 / 3D 塔 / 点灯弹窗 / 支付弹窗
   ============================================================= */
.home-hero {
  text-align: center;
  padding: 28px 0 8px;
}

.home-hero h1 {
  font-size: 34px;
  color: var(--gold);
  letter-spacing: 4px;
  text-shadow: 0 0 24px rgba(255, 180, 92, 0.55);
}

.home-hero .slogan {
  margin-top: 8px;
  color: var(--gold-light);
  font-size: 15px;
  letter-spacing: 3px;
}

.tower-wrap {
  position: relative;
  margin: 6px auto 0;
  width: 100%;
  max-width: 820px;
  height: 500px;
}

/* 塔底暖色光晕（水面倒影氛围） */
.tower-wrap::after {
  content: '';
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 4px;
  height: 90px;
  background: radial-gradient(ellipse at center, rgba(255, 180, 92, 0.28) 0%, rgba(42, 127, 184, 0.12) 45%, transparent 72%);
  pointer-events: none;
  z-index: 1;
}

#tower-canvas {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 18px;
  background: radial-gradient(ellipse at 50% 26%, #17264e 0%, #0a1226 68%);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
}

.tower-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-sub);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

.home-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 14px;
  color: var(--text-sub);
  font-size: 14px;
}

.home-stats b {
  color: var(--gold);
  font-size: 20px;
  margin-right: 4px;
}

.home-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 22px;
  flex-wrap: wrap;
}

/* 点灯弹窗表单 */
.form-item {
  margin-bottom: 14px;
}

.form-item label {
  display: block;
  color: var(--text-sub);
  font-size: 13px;
  margin-bottom: 6px;
}

.option-grid {
  display: grid;
  gap: 10px;
}

.option-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.option-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 6px;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s;
  background: rgba(10, 18, 38, 0.6);
}

.option-card .name {
  font-size: 14px;
  color: var(--text-main);
}

.option-card .price {
  font-size: 13px;
  color: var(--gold);
  margin-top: 4px;
}

.option-card .desc {
  font-size: 11px;
  color: var(--text-sub);
  margin-top: 2px;
}

.option-card.active {
  border-color: var(--gold);
  background: rgba(255, 180, 92, 0.12);
  box-shadow: 0 0 14px rgba(255, 180, 92, 0.25);
}

.char-count {
  text-align: right;
  font-size: 12px;
  color: var(--text-sub);
  margin-top: 4px;
}

.agree-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-sub);
}

.agree-row input {
  width: auto;
}

/* 支付弹窗 */
.pay-channel {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 10px;
  cursor: pointer;
}

.pay-channel.active {
  border-color: var(--gold);
  background: rgba(255, 180, 92, 0.1);
}

.pay-amount {
  text-align: center;
  font-size: 28px;
  color: var(--gold);
  margin: 10px 0;
}

.pay-countdown {
  text-align: center;
  color: var(--text-sub);
  font-size: 13px;
  margin-bottom: 8px;
}

.qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 14px;
}

.qr-box canvas,
.qr-placeholder {
  width: 170px;
  height: 170px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.qr-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 13px;
}

.crypto-addr {
  word-break: break-all;
  background: rgba(10, 18, 38, 0.8);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  font-size: 13px;
  color: var(--gold-light);
}
