/* =========================================================
   AniLog — полоса статистики
   ========================================================= */

/* ---------- Статистика ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: clamp(68px, 8vw, 102px);
}

.stat-card {
  position: relative;
  display: flex;
  min-height: 132px;
  align-items: flex-start;
  gap: 15px;
  overflow: hidden;
  padding: 21px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.056), rgba(255, 255, 255, 0.016)),
    rgba(14, 15, 24, 0.34);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition:
    transform 0.35s var(--ease-out),
    border-color 0.3s ease,
    box-shadow 0.35s ease;
  animation: rise-in 0.65s var(--ease-out) both;
}

.stat-card:nth-child(1) { animation-delay: 0.12s; }
.stat-card:nth-child(2) { animation-delay: 0.18s; }
.stat-card:nth-child(3) { animation-delay: 0.24s; }
.stat-card:nth-child(4) { animation-delay: 0.3s; }

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  width: 44px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.65;
}

.stat-card:hover {
  border-color: rgba(var(--accent-rgb), 0.26);
  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.22),
    0 0 40px rgba(var(--accent-rgb), 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

.stat-card__icon {
  display: grid;
  width: 43px;
  height: 43px;
  flex-shrink: 0;
  place-items: center;
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  border-radius: 13px;
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--accent);
}

.stat-card__icon .icon {
  width: 19px;
  height: 19px;
}

.stat-card__content {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.stat-card__label {
  margin: 0;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.35;
}

.stat-card__value {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin: 6px 0 3px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.75vw, 2.3rem);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1;
}

.stat-card__suffix {
  color: var(--muted-2);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
}

.stat-card__hint {
  margin: 0;
  color: var(--muted-2);
  font-size: 10.5px;
  line-height: 1.4;
}

.stat-card__glow {
  position: absolute;
  right: -44px;
  bottom: -58px;
  width: 135px;
  height: 135px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.14), transparent 68%);
  pointer-events: none;
}
