/* RP-Bot Info — metrics refresh v2 (only the four hero cards) */
.hero .metrics {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
  align-items: stretch !important;
  width: 100%;
  margin-top: 30px !important;
}
.hero .metrics > div {
  box-sizing: border-box;
  position: relative;
  display: grid !important;
  grid-template-columns: 66px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  column-gap: 20px;
  row-gap: 6px;
  padding: 24px 26px !important;
  min-width: 0;
  min-height: 148px;
  width: auto !important;
  margin: 0 !important;
  border: 1px solid rgba(95, 154, 255, .45) !important;
  border-radius: 22px !important;
  background: linear-gradient(136deg, rgba(27, 66, 118, .84), rgba(19, 31, 79, .91) 66%, rgba(34, 36, 104, .86)) !important;
  box-shadow: inset 0 1px 0 rgba(208, 233, 255, .08), 0 14px 36px rgba(0, 7, 26, .24) !important;
  overflow: hidden;
  text-align: left !important;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.hero .metrics > div:hover {
  transform: translateY(-3px);
  border-color: rgba(89, 201, 255, .8) !important;
  box-shadow: 0 18px 42px rgba(0, 10, 35, .34), 0 0 22px rgba(23, 143, 255, .13) !important;
}
.hero .metrics > div::before {
  content: '✦' !important;
  grid-column: 1;
  grid-row: 1 / span 2;
  display: flex !important;
  justify-content: center;
  align-items: center;
  width: 66px;
  height: 66px;
  box-sizing: border-box;
  border: 1px solid rgba(113, 195, 255, .49);
  border-radius: 18px;
  color: #85e8ff;
  font-size: 32px;
  line-height: 1;
  background: linear-gradient(145deg, rgba(38, 122, 193, .34), rgba(36, 64, 130, .38));
  box-shadow: inset 0 0 18px rgba(43, 154, 245, .13);
  position: static !important;
  inset: auto !important;
  transform: none !important;
}
.hero .metrics > div:nth-child(1)::before { content: '◈' !important; color: #75f5d7; }
.hero .metrics > div:nth-child(2)::before { content: '▦' !important; color: #9cd5ff; }
.hero .metrics > div:nth-child(3)::before { content: '⚙' !important; color: #c4aeff; }
.hero .metrics > div:nth-child(4)::before { content: '✦' !important; color: #8af2ff; }
.hero .metrics > div strong,
.hero .metrics > div small {
  grid-column: 2;
  position: relative;
  z-index: 1;
  padding: 0 !important;
  margin: 0 !important;
  text-align: left !important;
  min-width: 0;
}
.hero .metrics > div strong {
  grid-row: 1;
  display: block;
  color: #f7fbff !important;
  font-weight: 800 !important;
  font-size: clamp(19px, 2vw, 26px) !important;
  line-height: 1.13 !important;
  letter-spacing: -.4px;
  text-shadow: none !important;
}
.hero .metrics > div small {
  grid-row: 2;
  display: block;
  color: #c6d7f1 !important;
  font-weight: 400;
  font-size: 14px !important;
  line-height: 1.5 !important;
}
/* Server count gets the visual priority; its number remains filled by existing JS. */
.hero .metrics > div.rpbot-server-metric {
  border-color: rgba(65, 217, 255, .72) !important;
  background: linear-gradient(125deg, rgba(10, 97, 146, .72), rgba(13, 43, 92, .91) 58%, rgba(45, 51, 141, .85)) !important;
  box-shadow: inset 0 1px 0 rgba(214, 247, 255, .13), 0 13px 32px rgba(0, 19, 62, .29), 0 0 22px rgba(0, 186, 255, .14) !important;
}
.hero .metrics .rpbot-server-metric strong {
  font-size: clamp(34px, 4vw, 48px) !important;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 18px rgba(95, 203, 255, .35) !important;
}
.hero .metrics .rpbot-server-metric::after {
  content: '● LIVE' !important;
  position: absolute !important;
  top: 16px !important;
  right: 17px !important;
  left: auto !important;
  bottom: auto !important;
  width: auto !important;
  height: auto !important;
  padding: 4px 9px !important;
  border: 1px solid rgba(85, 239, 172, .45);
  border-radius: 999px;
  color: #9bf8c4;
  background: rgba(5, 68, 58, .45);
  font: 700 10px/1.3 system-ui, sans-serif !important;
  letter-spacing: .08em;
  box-shadow: none !important;
  transform: none !important;
}
@media (max-width: 720px) {
  .hero .metrics { grid-template-columns: 1fr !important; gap: 13px !important; }
  .hero .metrics > div { min-height: 125px; padding: 20px !important; grid-template-columns: 55px minmax(0,1fr); column-gap: 16px; }
  .hero .metrics > div::before { width: 55px; height: 55px; font-size: 27px; border-radius: 15px; }
  .hero .metrics .rpbot-server-metric::after { top: 12px !important; right: 12px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .hero .metrics > div { transition: none; }
  .hero .metrics > div:hover { transform: none; }
}
