/* index.css —— 首页:入口卡片 + 动态渐变光斑背景 */

/* ---- 背景:两团缓慢漂移的青/粉光斑(抖音品牌感) ---- */
.bg-orbs {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.32;
  will-change: transform;
}
.orb-cyan {
  width: 46vmax;
  height: 46vmax;
  top: -12vmax;
  left: -10vmax;
  background: #25f4ee;
  animation: orb-drift-a 19s ease-in-out infinite alternate;
}
.orb-pink {
  width: 42vmax;
  height: 42vmax;
  bottom: -14vmax;
  right: -8vmax;
  background: #fe2c55;
  animation: orb-drift-b 23s ease-in-out infinite alternate;
}
@keyframes orb-drift-a {
  to { transform: translate(9vmax, 7vmax) scale(1.12); }
}
@keyframes orb-drift-b {
  to { transform: translate(-8vmax, -9vmax) scale(0.92); }
}

/* 页面整体:垂直水平居中 */
.page {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
}

/* ---- 主卡片 ---- */
.card {
  width: min(420px, 100%);
  padding: 36px 28px 26px;
  border-radius: var(--r-lg);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.brand { text-align: center; margin-bottom: 26px; }
.logo {
  display: inline-grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 19px;
  background: var(--grad);
  box-shadow: var(--shadow-pop);
  margin-bottom: 14px;
}
.logo svg { width: 30px; height: 30px; }
.brand-name {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 2px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-sub {
  margin-top: 7px;
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--text-3);
}

/* ---- 表单区 ---- */
.field { display: block; margin-bottom: 16px; }
.field-label {
  display: block;
  padding-left: 4px;
  margin-bottom: 8px;
  font-size: 12px;
  color: var(--text-3);
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 18px;
  font-size: 12px;
  color: var(--text-3);
}
.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--glass-brd);
}

.join-row { display: flex; gap: 10px; }
.join-row .code-input { flex: 1; }
.join-row .btn { min-width: 108px; }

/* ---- 特性标签 & 页脚提示 ---- */
.features {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px dashed var(--glass-brd);
  list-style: none;
}
.features li {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: var(--text-2);
  white-space: nowrap;
}
.tip {
  margin-top: 18px;
  text-align: center;
  font-size: 12px;
  color: var(--text-3);
}
