/* ── Splash Page ────────────────────────────────────────── */
.splash-page {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: var(--space-xl);
}

/* ── Background particles ───────────────────────────────── */
.splash-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.06;
  animation: particleFloat linear infinite;
}

.p1 { width: 180px; height: 180px; top: -60px; right: -40px; animation-duration: 8s; animation-delay: 0s; }
.p2 { width: 120px; height: 120px; bottom: 10%; left: -30px; animation-duration: 12s; animation-delay: -3s; }
.p3 { width: 60px;  height: 60px;  top: 30%; right: 10%; animation-duration: 6s; animation-delay: -1s; }
.p4 { width: 240px; height: 240px; bottom: -80px; right: -60px; animation-duration: 15s; animation-delay: -6s; opacity: 0.03; }

@keyframes particleFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-20px) scale(1.05); }
}

/* ── Target rings ───────────────────────────────────────── */
.target-rings {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  pointer-events: none;
  opacity: 0.06;
}

.ring {
  position: absolute;
  border: 2px solid var(--accent);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.ring-1 { width: 300px; height: 300px; opacity: 0.4; }
.ring-2 { width: 220px; height: 220px; opacity: 0.6; }
.ring-3 { width: 140px; height: 140px; opacity: 0.8; }
.ring-4 { width: 60px;  height: 60px;  opacity: 1; }
.ring-center {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ── Logo ───────────────────────────────────────────────── */
.splash-logo {
  margin-bottom: var(--space-lg);
}

.dart-icon {
  width: 80px;
  height: 80px;
  filter: drop-shadow(0 0 24px var(--accent-glow));
  animation: dartWobble 3s ease-in-out infinite;
}

@keyframes dartWobble {
  0%, 100% { transform: rotate(-5deg) scale(1); }
  50%       { transform: rotate(5deg) scale(1.05); }
}

/* ── Text ───────────────────────────────────────────────── */
.splash-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  width: 100%;
  max-width: 360px;
  z-index: 10;
  position: relative;
}

.splash-text {
  text-align: center;
}

.splash-title {
  font-size: 52px;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: var(--space-md);
}

.title-family {
  display: block;
  color: var(--text-primary);
}

.title-dart {
  display: block;
  background: linear-gradient(135deg, #FF3131 0%, #FF6B6B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 16px var(--accent-glow));
}

.splash-slogan {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.6;
}

/* ── Actions ────────────────────────────────────────────── */
.splash-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.splash-version {
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-weight: 500;
}

/* ── Install hint ───────────────────────────────────────── */
.install-hint {
  position: absolute;
  bottom: calc(var(--space-xl) + env(safe-area-inset-bottom, 0));
}

/* Animations for content blocks */
.animate-fade-in-down { opacity: 0; animation: fadeInDown 0.7s 0.2s ease forwards; }
.animate-fade-in      { opacity: 0; animation: fadeIn    0.7s 0.6s ease forwards; }
.animate-fade-in-up   { opacity: 0; animation: fadeInUp  0.7s 1s   ease forwards; }

/* Shake animation for wrong password */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-8px); }
  40%       { transform: translateX(8px); }
  60%       { transform: translateX(-6px); }
  80%       { transform: translateX(4px); }
}

