
.profile-linked-accounts {
  margin: 32px auto;
  max-width: 400px;
  width: 100%;
}

.linked-account-primary-card {
  display: block;
  background: var(--profile-card-bg, rgba(17, 17, 17, 0.8));
  border: 1px solid var(--profile-card-border, rgba(255, 255, 255, 0.04));
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: var(--profile-card-shadow, 0 18px 45px rgba(0, 0, 0, 0.50));
  position: relative;
  overflow: hidden;
}

.linked-account-primary-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
  pointer-events: none;
}

.linked-account-primary-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.linked-accounts-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.linked-account-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.linked-account-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: width 0.3s ease, height 0.3s ease;
}

.linked-account-icon:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4) !important;
}

.linked-account-icon:hover::after {
  width: 100%;
  height: 100%;
}

.linked-account-preview-card {
  transition: all 0.3s ease;
}

.linked-account-preview-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
}

.linked-account-icon-preview {
  transition: all 0.3s ease;
}

.linked-account-icon-preview:hover {
  transform: translateY(-2px) scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25) !important;
}

@media (max-width: 768px) {
  .profile-linked-accounts {
    max-width: 100% !important;
    padding: 0 16px;
  }
  
  .linked-account-primary-card {
    padding: 16px !important;
  }
  
  .linked-accounts-icons {
    gap: 10px !important;
  }
  
  .linked-account-icon {
    width: 44px !important;
    height: 44px !important;
    font-size: 18px !important;
  }
}

