/* RG Pulse Enhancement CSS v1 — additive only, no overrides */

/* ── Card entrance animations ─────────────────────────── */
.rg-pulse-card-enter {
  opacity: 0;
  transform: translateY(16px);
}
.rg-pulse-card-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* ── Featured card accent ─────────────────────────────── */
.rg-pulse-card-featured {
  border-left: 3px solid #7c3aed;
  background: rgba(124, 58, 237, 0.03);
}
.rg-pulse-card-featured:hover {
  background: rgba(124, 58, 237, 0.06);
}
.rg-pulse-featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  color: #7c3aed;
  background: rgba(124, 58, 237, 0.1);
  padding: 3px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── Enhanced stats grid ──────────────────────────────── */
.rg-pulse-stats-enhanced {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 14px 0 6px;
}
.rg-pulse-stat-card {
  background: rgba(30, 30, 50, 0.6);
  border: 1px solid rgba(165, 180, 252, 0.1);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: border-color 0.2s;
}
.rg-pulse-stat-card:hover {
  border-color: rgba(165, 180, 252, 0.2);
}
.rg-pulse-stat-card-icon {
  width: 28px;
  height: 28px;
  color: #a5b4fc;
  margin-bottom: 2px;
}
.rg-pulse-stat-card-num {
  font-size: 22px;
  font-weight: 700;
  color: #e2e8f0;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.rg-pulse-stat-card-label {
  font-size: 11px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* ── Online indicator strip ───────────────────────────── */
.rg-pulse-online-strip {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0 2px;
}
.rg-pulse-online-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  animation: rgOnlinePulse 2s ease-in-out infinite;
}
@keyframes rgOnlinePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.rg-pulse-online-text {
  font-size: 12px;
  color: #22c55e;
  font-weight: 500;
}

/* ── Skeleton loading cards ───────────────────────────── */
.rg-pulse-skeleton-feed {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 80px;
}
.rg-pulse-skeleton-card {
  background: rgba(30, 30, 50, 0.6);
  border: 1px solid rgba(165, 180, 252, 0.1);
  border-radius: 12px;
  padding: 20px;
}
.rg-pulse-skeleton-bar {
  background: rgba(165, 180, 252, 0.06);
  border-radius: 4px;
  animation: rgSkeletonShimmer 1.5s ease-in-out infinite;
}
@keyframes rgSkeletonShimmer {
  0% { opacity: 0.6; }
  50% { opacity: 0.25; }
  100% { opacity: 0.6; }
}

/* ── Subtitle under hero ──────────────────────────────── */
.rg-pulse-hero-subtitle {
  font-size: 14px;
  color: #94a3b8;
  margin-top: 4px;
  font-weight: 400;
  line-height: 1.4;
}

/* ── Active trending filter ───────────────────────────── */
.rg-pulse-trending-pill.rg-pulse-trending-active {
  border-color: rgba(165, 180, 252, 0.4);
  color: #e2e8f0;
  background: rgba(165, 180, 252, 0.12);
}

/* ── Mobile responsive ────────────────────────────────── */
@media (max-width: 768px) {
  .rg-pulse-stats-enhanced {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin: 10px 0 4px;
  }
  .rg-pulse-stat-card {
    padding: 12px 14px;
  }
  .rg-pulse-stat-card-num {
    font-size: 20px;
  }
  .rg-pulse-skeleton-feed {
    padding-top: 60px;
  }
}
@media (max-width: 480px) {
  .rg-pulse-stats-enhanced {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
  .rg-pulse-stat-card {
    padding: 10px 12px;
  }
  .rg-pulse-stat-card-num {
    font-size: 18px;
  }
  .rg-pulse-stat-card-label {
    font-size: 10px;
  }
  .rg-pulse-skeleton-feed {
    padding-top: 50px;
  }
}
