/* 極簡導航頁 */
.welcome {
  max-width: none;              /* 背景鋪滿整個視窗，內容本身已置中 */
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 24px calc(28px + env(safe-area-inset-bottom));
  overflow: hidden;
  background:
    radial-gradient(120% 60% at 50% 0%, var(--bg-2) 0%, transparent 70%),
    var(--bg);
}

/* 背景緩慢流動的光暈 */
.glow {
  position: absolute;
  inset: -20% -40%;
  background:
    radial-gradient(35% 30% at 30% 35%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
    radial-gradient(30% 25% at 70% 60%, rgba(90, 140, 255, 0.16), transparent 70%);
  animation: drift 14s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes drift {
  to { transform: translate3d(6%, -4%, 0) scale(1.08); }
}

.hero {
  position: relative;
  text-align: center;
  margin-bottom: 44px;
}

.brand {
  margin: 0;
  font-size: 64px;              /* 實際字級由 app.js 依寬度調整 */
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.1;
  white-space: nowrap;
  background: linear-gradient(180deg, #fff 20%, var(--accent) 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.brand.is-ready { opacity: 1; transform: none; }

.tagline {
  margin: 12px 0 0;
  color: var(--text-dim);
  font-size: 15px;
  min-height: 1.5em;
}

.action {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.enter {
  width: min(100%, 280px);
  min-height: 54px;
  font-size: 18px;
  box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--accent) 70%, transparent);
}

.status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 14px;
  color: var(--text-dim);
  text-align: center;
}

.countdown {
  margin: 0;
  font-size: 13px;
  color: var(--text-dim);
}

.foot {
  position: relative;
  margin-top: auto;
  padding-top: 48px;
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
}
.foot p { margin: 4px 0; }

.age {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.badge {
  display: inline-block;
  padding: 0 6px;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-weight: 700;
  font-size: 11px;
  line-height: 18px;
}
