/* RP-Bot Animationen V4 — sichtbar, ruhig, ohne die Live-Daten zu ersetzen */
.hero .metrics > div { position:relative !important; isolation:isolate; }
.hero .metrics > div > strong, .hero .metrics > div > small { z-index:3 !important; }
.hero .metrics > div > .rp-v4-aura {
  position:absolute; inset:-1px; border-radius:inherit; pointer-events:none; z-index:0;
  background:radial-gradient(ellipse at 8% 5%,rgba(52,210,255,.15),transparent 56%);
  opacity:.4; animation:rpV4Aura 3.5s ease-in-out infinite alternate;
}
.hero .metrics > div:nth-child(2) > .rp-v4-aura {animation-delay:.5s;}
.hero .metrics > div:nth-child(3) > .rp-v4-aura {animation-delay:1s;}
.hero .metrics > div:nth-child(4) > .rp-v4-aura {animation-delay:1.5s;}
@keyframes rpV4Aura { from {opacity:.18;} to {opacity:.95;} }
.hero .metrics > div > .rp-v4-sweep {
  position:absolute; inset:0; z-index:1; pointer-events:none; border-radius:inherit; overflow:hidden;
}
.hero .metrics > div > .rp-v4-sweep::before {
  content:''; position:absolute; height:170%; width:36%; top:-35%; left:-55%;
  transform:skewX(-20deg);
  background:linear-gradient(90deg,transparent,rgba(198,241,255,.15),transparent);
  animation:rpV4Sweep 6s ease-in-out infinite;
}
.hero .metrics > div:nth-child(2) > .rp-v4-sweep::before {animation-delay:1s;}
.hero .metrics > div:nth-child(3) > .rp-v4-sweep::before {animation-delay:2s;}
.hero .metrics > div:nth-child(4) > .rp-v4-sweep::before {animation-delay:3s;}
@keyframes rpV4Sweep {0%,16%{left:-55%;opacity:0} 23%{opacity:1} 52%,100%{left:135%;opacity:0}}
/* The previous ::after badge is static due to !important declarations in V2.
   Replace it visually with a genuine animated HTML badge. */
.hero .metrics .rpbot-server-metric::after {display:none !important;}
.hero .metrics .rpbot-server-metric > .rp-v4-live {
  position:absolute; top:14px; right:15px; z-index:5; display:flex; align-items:center; gap:7px;
  padding:7px 11px; border:1px solid rgba(104,255,188,.66); border-radius:50px;
  background:rgba(4,57,47,.88); color:#adffd3; font:700 11px/1.2 system-ui,sans-serif;
  letter-spacing:.09em; box-shadow:0 0 13px rgba(66,245,157,.25);
  animation:rpV4BadgePulse 2s ease-in-out infinite;
}
.hero .metrics .rpbot-server-metric > .rp-v4-live .rp-v4-dot {
  display:inline-block; flex:none; width:8px; height:8px; border-radius:50%;
  background:#55fba5; box-shadow:0 0 10px #55fba5;
  animation:rpV4DotPulse 1.5s ease-in-out infinite;
}
@keyframes rpV4BadgePulse {0%,100%{filter:brightness(1);box-shadow:0 0 7px rgba(66,245,157,.2)}50%{filter:brightness(1.33);box-shadow:0 0 19px rgba(66,245,157,.55)}}
@keyframes rpV4DotPulse {0%,100%{opacity:1;transform:scale(1)}50%{opacity:.62;transform:scale(.7)}}
.hero .metrics .rpbot-server-metric > strong {
  transform-origin:center left; animation:rpV4CountBreath 3.5s ease-in-out infinite;
}
@keyframes rpV4CountBreath {0%,100%{filter:brightness(1);transform:scale(1)}50%{filter:brightness(1.3);transform:scale(1.045)}}
@media(max-width:720px){.hero .metrics .rpbot-server-metric > .rp-v4-live{top:10px;right:10px;padding:6px 8px}}
@media(prefers-reduced-motion:reduce){
  .hero .metrics > div > .rp-v4-aura,
  .hero .metrics > div > .rp-v4-sweep::before,
  .hero .metrics .rpbot-server-metric > .rp-v4-live,
  .hero .metrics .rpbot-server-metric > .rp-v4-live .rp-v4-dot,
  .hero .metrics .rpbot-server-metric > strong {animation:none !important;transform:none !important;filter:none !important;}
}
