.profile-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 0.6s ease-out;
}

.card-header {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  padding: 2rem;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
}

.avatar {
  width: 120px;
  height: 120px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.3),
    rgba(255, 255, 255, 0.1)
  );
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: white;
  border: 4px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.card-header h2 {
  color: white;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.card-header .subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
}

.card-body {
  padding: 2rem;
}

.info-section {
  margin-bottom: 2rem;
}

.info-section h3 {
  color: var(--dark);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-section h3 i {
  color: var(--primary);
}

.info-grid {
  display: grid;
  gap: 1rem;
}

.info-item {
  background: var(--light);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  border-left: 4px solid var(--primary);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.info-item:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15);
}

.info-item .icon-circle {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.info-item .info-content {
  flex: 1;
}

.info-item strong {
  color: var(--gray);
  font-size: 0.85rem;
  font-weight: 500;
  display: block;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-item span {
  color: var(--dark);
  font-size: 1.1rem;
  font-weight: 600;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-box {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.stat-box .stat-value {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.stat-box .stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: white;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.4);
}

.btn i {
  transition: transform 0.3s ease;
}

.btn:hover i {
  transform: translateX(-4px);
}

.actions {
  display: flex;
  justify-content: center;
  padding-top: 1rem;
  border-top: 2px solid var(--border);
}

/* ANIMATIONS */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  header h1 {
    font-size: 2rem;
    flex-direction: column;
    gap: 0.5rem;
  }

  .card-header {
    padding: 1.5rem;
  }

  .avatar {
    width: 100px;
    height: 100px;
    font-size: 3rem;
  }

  .card-header h2 {
    font-size: 1.5rem;
  }

  .card-body {
    padding: 1.5rem;
  }

  .info-item {
    flex-direction: column;
    text-align: center;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}
