/* HUD pills */
.hud{
  position:absolute;
  top:14px;
  left:14px;
  right:14px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  z-index:10;
  pointer-events:none;
}

.pill{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  transform: translateZ(0);
  animation: pillPop .9s cubic-bezier(.2,.9,.2,1) both;
}

.pill-left{ max-width: 65%; }
.pill-right{ max-width: 55%; justify-content:flex-end; text-align:right; }

.pill-text{
  font-weight: 700;
  letter-spacing: .2px;
  font-size: 13px;
  color: rgba(255,255,255,.92);
  text-shadow: 0 6px 20px rgba(0,0,0,.15);
  white-space: nowrap;
  overflow:hidden;
  text-overflow: ellipsis;
}

@keyframes pillPop{
  from{ transform: translateY(-10px) scale(.96); opacity:0; }
  to{ transform: translateY(0) scale(1); opacity:1; }
}

/* animated sparkles */
.sparkle{
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: conic-gradient(from 180deg, var(--sun), var(--mint), var(--pink), var(--sky), var(--sun));
  filter: drop-shadow(0 0 10px rgba(255,209,102,.35));
  animation: sparkleSpin 2.2s linear infinite;
}

@keyframes sparkleSpin{
  from{ transform: rotate(0deg); }
  to{ transform: rotate(360deg); }
}

.pulseDot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(46,229,157,.55);
  animation: dotPulse 1.2s ease-in-out infinite;
}
@keyframes dotPulse{
  0%{ box-shadow: 0 0 0 0 rgba(46,229,157,.55); transform: scale(.9); }
  60%{ box-shadow: 0 0 0 10px rgba(46,229,157,0); transform: scale(1.1); }
  100%{ box-shadow: 0 0 0 0 rgba(46,229,157,0); transform: scale(.95); }
}

/* Center card */
.card{
  width: min(92%, 420px);
  border-radius: 26px;
  position:relative;
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 55px rgba(0,0,0,.22);
  overflow:hidden;
}

.cardGlow{
  position:absolute;
  inset:-40px;
  background:
    radial-gradient(260px 200px at 25% 25%, rgba(255,77,157,.40), transparent 60%),
    radial-gradient(260px 200px at 75% 35%, rgba(46,229,157,.28), transparent 60%),
    radial-gradient(260px 220px at 55% 80%, rgba(255,209,102,.25), transparent 60%);
  filter: blur(18px);
  opacity:.9;
  animation: glowWobble 6s ease-in-out infinite;
}

@keyframes glowWobble{
  0%{ transform: translate(0,0) scale(1); }
  50%{ transform: translate(10px,-6px) scale(1.03); }
  100%{ transform: translate(0,0) scale(1); }
}

.cardInner{
  position:relative;
  padding: 18px 18px 16px;
  display:flex;
  flex-direction:column;
  gap: 10px;
}

.bigEmoji{
  font-size: 42px;
  line-height: 1;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.25));
  animation: bob 1.8s ease-in-out infinite;
}
@keyframes bob{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-6px); }
}

.headline{
  font-weight: 800;
  font-size: 20px;
  letter-spacing: .2px;
}

.sub{
  font-weight: 500;
  color: rgba(255,255,255,.86);
  line-height: 1.35;
  font-size: 14px;
}

.ctaRow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  margin-top: 8px;
}

.tapCta{
  pointer-events:none;
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 10px 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(110,231,255,.22), rgba(255,77,157,.18));
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
}
.tapIcon{ font-size:18px; }
.tapLabel{
  font-weight: 800;
  letter-spacing: .2px;
}

.miniNote{
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,.88);
  background: rgba(0,0,0,.16);
  border: 1px solid rgba(255,255,255,.12);
  padding: 8px 10px;
  border-radius: 999px;
  white-space: nowrap;
  animation: noteBreathe 2.4s ease-in-out infinite;
}
@keyframes noteBreathe{
  0%,100%{ transform: scale(1); opacity:.9; }
  50%{ transform: scale(1.04); opacity:1; }
}

/* Bottom */
.bottom{
  position:absolute;
  left:0; right:0;
  bottom:0;
  height: 92px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.22));
  z-index: 9;
  pointer-events:none;
}

.bottomTap{
  display:flex;
  align-items:center;
  gap:10px;
  opacity:.9;
  font-weight: 800;
  letter-spacing: .2px;
  animation: bottomPulse 1.25s ease-in-out infinite;
}

.bottomDot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 0 14px rgba(255,255,255,.25);
}

@keyframes bottomPulse{
  0%,100%{ transform: translateY(0); opacity:.75; }
  50%{ transform: translateY(-4px); opacity:1; }
}
/* ============================
   ✈️ PAPER PLANE
============================ */

.paper-plane{
  position:absolute;
  width:120px;
  height:80px;
  background: linear-gradient(135deg,#fff,#ddd);
  clip-path: polygon(0 50%,100% 0,70% 50%,100% 100%);
  top:48%;
  left:62%;
  transform:translate(-50%,-50%) scale(1);
  transition: transform 1.2s ease;
}

.paper-plane.fly-to-dart{
  transform: translate(-280px, -50px) scale(.65);
  transition: transform 1.05s ease-in-out;
}


/* ============================
   🎯 DART TARGET
============================ */

.dart{
  position:absolute;
  width:220px;
  height:220px;
  left:60px;
  right:auto;
  border-radius:50%;
  background:
    radial-gradient(circle,#ff3b3b 0 20%,#fff 20% 40%,#ff3b3b 40% 60%,#fff 60% 80%,#ff3b3b 80%);
  top:50%;
  right:80px;
  transform:translateY(-50%) scale(0);
  animation: dartIn 1.4s ease forwards;
}

@keyframes dartIn{
  to{ transform:translateY(-50%) scale(1); }
}

.dart span{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:64px;
  font-weight:900;
  color:white;
  text-shadow:0 4px 20px rgba(0,0,0,.4);
}

/* ============================
   💥 IMPACT
============================ */

.impact{
  position:absolute;
  width:40px;
  height:40px;
  background:#fff;
  border-radius:50%;
  top:50%;
  right:190px;
  animation: impact 0.6s ease forwards;
}

@keyframes impact{
  from{ transform:scale(0); opacity:1; }
  to{ transform:scale(4); opacity:0; }
}

/* ============================
   🎆 FINAL TEXT
============================ */

.final-text{
  position:absolute;
  top:6%;
  left:53%;
  transform:translateX(-50%);
  font-size:48px;
  white-space:nowrap;
  font-family:"Baloo 2","Poppins",sans-serif;
  color:white;
  animation: fadeIn 2s ease forwards;
}

@keyframes fadeIn{
  from{ opacity:0; }
  to{ opacity:1; }
}

.letter-text{
  font-size:16px;
  line-height:1.4;
  color:#222;
  text-align:center;
  font-weight:600;
  font-family: var(--font);
  opacity:0;
  animation: letterFade 1.2s ease forwards;
  animation-delay: .6s;
}

@keyframes letterFade{
  to{ opacity:1; }
}

