/* ============================================
   FILE: coding-profiles.css
   PURPOSE: Coding platform profile cards
   ============================================ */

.coding-profiles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

/* ── Card ── */
.profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 18px;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

/* Bottom shimmer on hover */
.profile-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.profile-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card), var(--glow-intense);
}

.profile-card:hover::after { transform: scaleX(1); }

/* ── Icon ── */
.profile-icon {
  font-size: 2.2rem;
  color: var(--accent-primary);
  transition: var(--transition);
  filter: drop-shadow(0 0 8px var(--accent-dim));
}

.profile-card:hover .profile-icon {
  transform: scale(1.15);
  filter: drop-shadow(0 0 15px var(--accent-dim));
}

/* ── Name ── */
.profile-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: var(--text-bright);
}

/* ── Username ── */
.profile-username {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  background: var(--bg-elevated);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-color);
}

/* ── Tagline ── */
.profile-tagline {
  font-size: 0.78rem;
  color: var(--text-faint);
  line-height: 1.5;
  font-family: var(--font-mono);
}

/* ── Button ── */
.profile-card .btn {
  margin-top: auto;
  font-size: 0.75rem;
  padding: 8px 16px;
  width: 100%;
  justify-content: center;
}