/* Status badges — gamification tiers */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  position: relative;
  overflow: visible;
  white-space: nowrap;
}

.status-badge .status-icon { font-size: 12px; }

/* Rookie */
.status-rookie {
  background: linear-gradient(135deg, rgba(59,130,246,0.25), rgba(14,165,233,0.15));
  border: 1px solid rgba(59,130,246,0.4);
  color: #93c5fd;
  box-shadow: 0 0 8px rgba(59,130,246,0.2);
}

/* Fighter */
.status-fighter {
  background: linear-gradient(135deg, rgba(148,163,184,0.3), rgba(100,116,139,0.2));
  border: 1px solid rgba(203,213,225,0.5);
  color: #e2e8f0;
  box-shadow: 0 0 10px rgba(148,163,184,0.3);
  animation: statusShimmer 3s ease-in-out infinite;
}

/* Wave */
.status-wave {
  background: linear-gradient(135deg, rgba(14,165,233,0.35), rgba(6,182,212,0.2));
  border: 1px solid rgba(34,211,238,0.5);
  color: #67e8f9;
  box-shadow: 0 0 12px rgba(14,165,233,0.35);
  animation: waveGlow 2.5s ease-in-out infinite;
}

@keyframes waveGlow {
  0%, 100% { box-shadow: 0 0 12px rgba(14,165,233,0.35); }
  50% { box-shadow: 0 0 20px rgba(34,211,238,0.5); }
}

/* Champion */
.status-champion {
  background: linear-gradient(135deg, rgba(251,191,36,0.35), rgba(245,158,11,0.2));
  border: 1px solid rgba(251,191,36,0.6);
  color: #fde68a;
  box-shadow: 0 0 14px rgba(251,191,36,0.4);
  animation: championPulse 2s ease-in-out infinite;
}

@keyframes championPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); box-shadow: 0 0 22px rgba(251,191,36,0.55); }
}

/* Legend */
.status-legend {
  background: linear-gradient(135deg, rgba(168,85,247,0.4), rgba(139,92,246,0.25));
  border: 1px solid rgba(192,132,252,0.6);
  color: #e9d5ff;
  box-shadow: 0 0 16px rgba(168,85,247,0.45);
  animation: legendFlare 2s ease-in-out infinite;
}

@keyframes legendFlare {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.2); box-shadow: 0 0 24px rgba(168,85,247,0.6); }
}

/* Olympic star */
.status-olympic {
  background: linear-gradient(135deg, #ef4444, #fbbf24, #22c55e, #3b82f6, #a855f7);
  background-size: 300% 300%;
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
  text-shadow: 0 0 8px rgba(0,0,0,0.5);
  animation: olympicRainbow 4s linear infinite, olympicPulse 2s ease-in-out infinite;
}

@keyframes olympicRainbow {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

@keyframes olympicPulse {
  0%, 100% { box-shadow: 0 0 16px rgba(255,255,255,0.3); }
  50% { box-shadow: 0 0 28px rgba(251,191,36,0.6); }
}

/* COACH — diamond purple neon smoke */
.status-coach-diamond {
  background: linear-gradient(135deg,
    rgba(139,92,246,0.5) 0%,
    rgba(168,85,247,0.35) 30%,
    rgba(99,102,241,0.4) 60%,
    rgba(192,132,252,0.45) 100%);
  border: 1px solid rgba(216,180,254,0.7);
  color: #f3e8ff;
  text-shadow: 0 0 10px rgba(168,85,247,0.8);
  box-shadow:
    0 0 20px rgba(139,92,246,0.5),
    0 0 40px rgba(88,28,135,0.3),
    inset 0 0 12px rgba(255,255,255,0.1);
  animation: coachDiamond 3s ease-in-out infinite;
  z-index: 1;
}

.status-coach-diamond::before,
.status-coach-diamond::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

.status-coach-diamond::before {
  width: 140%;
  height: 200%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse,
    rgba(88,28,135,0.6) 0%,
    rgba(59,7,100,0.4) 30%,
    transparent 70%);
  animation: coachSmoke1 4s ease-in-out infinite;
}

.status-coach-diamond::after {
  width: 120%;
  height: 180%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse,
    rgba(168,85,247,0.35) 0%,
    rgba(30,10,50,0.5) 40%,
    transparent 65%);
  animation: coachSmoke2 5s ease-in-out infinite reverse;
}

@keyframes coachDiamond {
  0%, 100% {
    box-shadow: 0 0 20px rgba(139,92,246,0.5), 0 0 40px rgba(88,28,135,0.3);
    filter: brightness(1);
  }
  50% {
    box-shadow: 0 0 30px rgba(192,132,252,0.7), 0 0 60px rgba(88,28,135,0.5), 0 0 80px rgba(59,7,100,0.3);
    filter: brightness(1.15);
  }
}

@keyframes coachSmoke1 {
  0%, 100% { transform: translate(-50%, -50%) scale(1) rotate(0deg); opacity: 0.7; }
  33% { transform: translate(-45%, -55%) scale(1.2) rotate(5deg); opacity: 1; }
  66% { transform: translate(-55%, -48%) scale(1.1) rotate(-5deg); opacity: 0.8; }
}

@keyframes coachSmoke2 {
  0%, 100% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.5; }
  50% { transform: translate(-50%, -60%) scale(1.3); opacity: 0.9; }
}

.status-coach-wrap {
  position: relative;
  display: inline-block;
  padding: 8px 4px;
}

.status-coach-wrap .smoke-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(139,92,246,0.6);
  pointer-events: none;
  animation: smokeParticle 3s ease-out infinite;
}

.status-coach-wrap .smoke-particle:nth-child(1) { left: 10%; bottom: 0; animation-delay: 0s; }
.status-coach-wrap .smoke-particle:nth-child(2) { left: 50%; bottom: 0; animation-delay: 1s; }
.status-coach-wrap .smoke-particle:nth-child(3) { left: 80%; bottom: 0; animation-delay: 2s; }

@keyframes smokeParticle {
  0% { transform: translateY(0) scale(1); opacity: 0.8; }
  100% { transform: translateY(-30px) scale(2); opacity: 0; }
}

@keyframes statusShimmer {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

.power-meter {
  margin-top: 8px;
}
.power-meter-label {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}
.power-bar {
  height: 8px;
  background: rgba(0,0,0,0.3);
  border-radius: 4px;
  overflow: hidden;
}
.power-bar-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, #0ea5e9, #a855f7, #f472b6);
  transition: width 0.5s;
}

.status-showcase {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.coach-card-glow {
  position: relative;
  overflow: visible !important;
}
.coach-card-glow::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(139,92,246,0.4), rgba(59,7,100,0.2), rgba(168,85,247,0.3));
  z-index: -1;
  animation: coachCardGlow 3s ease-in-out infinite;
}
@keyframes coachCardGlow {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
